Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

SDK • Re: Did pio .program <name> and pio <source-file-name>.pio requirements change from SDK 1.5 to 2.0?

$
0
0
There 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
Seems to be working for me using Pico SDK 2.1.1

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



Viewing all articles
Browse latest Browse all 8093

Trending Articles