Skip to content

Commit b88ad3d

Browse files
Support original Pico with ROM B0 (#693)
The SDK disabled float/double support for some functions by default on the original B0 ROMs. Manually re-enable it. Fixes #689
1 parent be9e257 commit b88ad3d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

lib/libpico.a

32.1 KB
Binary file not shown.

tools/libpico/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ target_compile_definitions(pico PUBLIC
2626
LWIP_IGMP=1
2727
LWIP_CHECKSUM_CTRL_PER_NETIF=1
2828
CYW43_WARN=//
29+
PICO_FLOAT_SUPPORT_ROM_V1=1
30+
PICO_DOUBLE_SUPPORT_ROM_V1=1
31+
PICO_RP2040_B0_SUPPORTED=1
32+
PICO_RP2040_B1_SUPPORTED=1
33+
PICO_RP2040_B2_SUPPORTED=1
2934
)
3035

3136
target_compile_options(pico PUBLIC

0 commit comments

Comments
 (0)