arch.mk: rp2350

pull/524/head
Daniele Lacamera 2024-11-14 16:05:22 +01:00 committed by Daniele Lacamera
parent 0791d76d65
commit 10ddb3e847
2 changed files with 16 additions and 2 deletions

14
arch.mk
View File

@ -221,6 +221,20 @@ ifeq ($(ARCH),ARM)
SPI_TARGET=stm32
endif
ifeq ($(TARGET),rp2350)
CORTEX_M33=1
CFLAGS+=-Ihal
ARCH_FLASH_OFFSET=0x10000000
WOLFBOOT_ORIGIN=0x10000000
ifeq ($(TZEN),1)
LSCRIPT_IN=hal/$(TARGET).ld
else
LSCRIPT_IN=hal/$(TARGET)-ns.ld
endif
SPI_TARGET=raspberrypi_pico
CFLAGS+=-DPICO_SDK_PATH=$(PICO_SDK_PATH)
endif
ifeq ($(TARGET),sama5d3)
CORTEX_A5=1
UPDATE_OBJS:=src/update_ram.o

View File

@ -527,7 +527,7 @@ void (* const IV[])(void) =
/* Fill with extra unused handlers */
#if defined(TARGET_stm32l5) || defined(TARGET_stm32u5) || \
defined(TARGET_stm32h7)
defined(TARGET_stm32h7) || defined(TARGET_rp2350)
isr_empty,
isr_empty,
isr_empty,