mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 08:40:20 +00:00
arm/rp2040: fix compile warning on boot2 build
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 <anchao@xiaomi.com>
This commit is contained in:
parent
5c047f634f
commit
1b245664ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue