Need help, is there an environment variable for the RPi Pico ?

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Need help, is there an environment variable for the RPi Pico ?

Post by /RaspberryPi »

Hey all, sorry if it's the wrong sub, there aren't really any dedicated subs for the Pico. So I'd like to make a project """portable""" for multiple embedded devices, so I'd like to be able to do device specific stuff. Is there an environment variable that I can use in C such as #ifdef PLATFORM_PICO // of course it doesn't exist but you get the idea ? Thanks !

submitted by /u/Dathussssss
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”