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

SDK • Re: Another cmake question - sorry

$
0
0
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



Viewing all articles
Browse latest Browse all 5324

Trending Articles