The RP2040’s PIO state machines are unique to the RP2040. Today, we will use CLion to build an instance of the pioasm application, which runs on a personal computer. The pioasm application is used to assemble PIO assembler source code that is used to drive the RP2040’s PIO state machines. We will write some PIO assembler code and process it with pioasm. The file produced by pioasm is ultimately loaded into the PIO state machine’s execution memory. We will write the C code that will place the assembled PIO state machine code into executable memory and start the execution of the code within the state machine.