Skip to content

Commit ca45e4b

Browse files
authored
ports/rp2: Fix flash size check in CMakeLists.txt.
Signed-off-by: Dryw Wade <dryw.wade@sparkfun.com>
1 parent 05342b0 commit ca45e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/rp2/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ target_link_options(${MICROPY_TARGET} PRIVATE
528528
-Wl,--wrap=runtime_init_clocks
529529
)
530530

531-
if(PICO_FLASH_SIZE_BYTES GREATER 0)
531+
if(DEFINED PICO_FLASH_SIZE_BYTES)
532532
target_link_options(${MICROPY_TARGET} PRIVATE
533533
-Wl,--defsym=__micropy_flash_size__=${PICO_FLASH_SIZE_BYTES}
534534
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy