Thanks. I need to get out of the IDE straight-jacket. It's fine for blinking LEDs but becomes a handicap in more serious work.
I've followed the excellent guide to setting up cmake to the point of getting a hello_world elf and UF2.
Now I'm trying to build what I have in IDE which uses EarlHower's excellent rp2040-pico. I find I'm having to add a lot of individual includes which suggests I'm doing it wrongly.
can you put me straight?
TIA.
I've followed the excellent guide to setting up cmake to the point of getting a hello_world elf and UF2.
Now I'm trying to build what I have in IDE which uses EarlHower's excellent rp2040-pico. I find I'm having to add a lot of individual includes which suggests I'm doing it wrongly.
Code:
pico_sdk_init()include_directories(~/.arduino15/packages/rp2040/hardware/rp2040/3.7.2/libraries/Wire/src)include_directories(~/.arduino15/packages/rp2040/hardware/rp2040/3.7.2/cores/rp2040/)include_directories(~/.arduino15/packages/rp2040/hardware/rp2040/3.7.2/variants/rpipico)include_directories(~/.arduino15/packages/rp2040/hardware/rp2040/3.7.2/pico-sdk/src/rp2_common/cmsis/stub/CMSIS/Device/RaspberryPi/RP2040/Include/)
TIA.
Statistics: Posted by pie_face — Thu Sep 05, 2024 6:34 am