Fixed compile flags for psoc6

pull/44/head
Daniele Lacamera 2020-05-08 16:25:28 +02:00 committed by David Garske
parent 75638394b1
commit 49845bb72d
2 changed files with 54 additions and 53 deletions

View File

@ -152,6 +152,7 @@ ifeq ($(TARGET),stm32wb)
endif
ifeq ($(TARGET),psoc6)
CORTEX_M0=1
PKA_EXTRA_OBJS+= $(CYPRESS_PDL)/drivers/source/cy_flash.o \
$(CYPRESS_PDL)/drivers/source/cy_ipc_pipe.o \
$(CYPRESS_PDL)/drivers/source/cy_ipc_sema.o \

View File

@ -1,7 +1,7 @@
MEMORY
{
FLASH (rx) : ORIGIN = 0x10000000, LENGTH = ##WOLFBOOT_PARTITION_BOOT_ADDRESS##
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
RAM (rwx) : ORIGIN = 0x08000000, LENGTH = 64K
}
SECTIONS