Seems to be working for me using Pico SDK 2.1.1There was no problem having a .program <name> within the pio file that differed from the <source-file-name>.pio. However, after updating the SDK to 2.0, the header is no longer generated
My 'dma_channel_irq.pio' generates 'dma_channel_irq.pio.h'. That has '.program pio_serialiser', and all the stuff in 'dma_channel_irq.pio.h' has 'pio_serialiser_' prefixes.
It was also the same and built successfully using Pico SDK 1.5.1
Did you have a mis-match in your '% c-sdk {' where you are using the filename when you should be using the program name ?
Statistics: Posted by hippy — Fri Jul 25, 2025 12:26 pm