Merge pull request #394 from danielinux/nxp_custom_dcd_objs

Added new config option NXP_CUSTOM_DCD_OBJS
pull/395/head
Marco Oliverio 2023-11-28 10:07:34 +01:00 committed by GitHub
commit e73fcf3e20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -783,6 +783,7 @@ endif
ifeq ($(NXP_CUSTOM_DCD),1)
CFLAGS+=-DNXP_CUSTOM_DCD
OBJS+=$(NXP_CUSTOM_DCD_OBJS)
endif
CFLAGS+=-DWOLFBOOT_ARCH_$(ARCH)

View File

@ -570,7 +570,7 @@ const BOOT_DATA_T __attribute__((section(".boot_data"))) boot_data = {
extern void isr_reset(void);
extern const uint32_t __dcd_data_start;
extern const uint8_t __dcd_data_start;
const uint32_t dcd_data_addr = (uint32_t) &__dcd_data_start;
#ifndef NXP_CUSTOM_DCD

View File

@ -11,6 +11,7 @@ ifeq ($(ARCH),)
MCUXPRESSO_CMSIS?=$(PWD)/CMSIS_5/CMSIS
FREEDOM_E_SDK?=$(HOME)/src/freedom-e-sdk
NXP_CUSTOM_DCD=0
NXP_CUSTOM_DCD_OBJS=""
STM32CUBE?=$(HOME)/STM32Cube/Repository/STM32Cube_FW_WB_V1.3.0
CYPRESS_PDL?=$(HOME)/src/psoc6pdl
CYPRESS_TARGET_LIB?=$(HOME)/src/TARGET_CY8CKIT-062S2-43012
@ -97,4 +98,4 @@ CONFIG_VARS:= ARCH TARGET SIGN HASH MCUXSDK MCUXPRESSO MCUXPRESSO_CPU MCUXPRESSO
WOLFBOOT_UNIVERSAL_KEYSTORE \
XMSS_PARAMS \
ELF \
NXP_CUSTOM_DCD
NXP_CUSTOM_DCD NXP_CUSTOM_DCD_OBJS