Skip to content

Commit 1e17ac2

Browse files
keith-packardstephanosio
authored andcommitted
modules/hal_rpi_pico: Switch boot_stage2 to picolibc
Signed-off-by: Keith Packard <[email protected]>
1 parent 846854e commit 1e17ac2

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)