Skip to content

Commit 353c6fb

Browse files
committed
modules/hal_rpi_pico: Switch boot_stage2 to picolibc
Now that rpi_pico can use picolibc, let's switch to it. Signed-off-by: Keith Packard <keithp@keithp.com>
1 parent 5815419 commit 353c6fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/hal_rpi_pico/bootloader/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ target_include_directories(boot_stage2 PUBLIC
4545

4646
target_link_options(boot_stage2 PRIVATE
4747
"-nostartfiles"
48-
"--specs=nosys.specs"
49-
"LINKER:--script=${boot_stage_dir}/boot_stage2.ld"
48+
"--specs=picolibc.specs"
49+
"-T${boot_stage_dir}/boot_stage2.ld"
5050
)
5151

5252
# The second stage bootloader is compiled without kconfig definitions.

0 commit comments

Comments
 (0)