Skip to content

Commit

Permalink
arm/rp2040: fix compile warning on boot2 build
Browse files Browse the repository at this point in the history
ld: warning: boards/arm/rp2040/raspberrypi-pico-w/scripts/raspberrypi-pico-flash.ld contains output sections; did you forget -T?
Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao committed Feb 6, 2023
1 parent 9f72f2d commit 2971810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/src/rp2040/boot2/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $(BOOT_STAGE2).bin: %.bin: %.elf
$(BOOT_STAGE2).elf: $(BOOT2SRC)
$(Q) touch $(PICO_SDK_PATH)/src/common/pico_base/include/pico/version.h
$(Q) touch $(PICO_SDK_PATH)/src/common/pico_base/include/pico/config_autogen.h
$(CC) -nostdlib $(ARCHSCRIPT) $(BOOT2CFLAGS) -o $@ $<
$(CC) -nostdlib -T$(ARCHSCRIPT) $(BOOT2CFLAGS) -o $@ $<
$(DELFILE) $(PICO_SDK_PATH)/src/common/pico_base/include/pico/version.h
$(DELFILE) $(PICO_SDK_PATH)/src/common/pico_base/include/pico/config_autogen.h

Expand Down

0 comments on commit 2971810

Please sign in to comment.