Something like
Code:
target_compile_definitions(your_lib_name PRIVATE PICO_HEAP_SIZE=$<IF:$<STREQUAL:PICO_PLATFORM,rp2040>,0x2000,0x4000>)
Statistics: Posted by kilograham — Thu Aug 22, 2024 11:12 pm