Skip to content

Commit 27f3c4b

Browse files
imi415Rbb666
authored andcommitted
bsp: nxp/mcx/mcxa/frdm-mcxa156: Kconfig: Remove ARCH_ARM_CORTEX_SECURE
MCXA156 does not support CMSE (Secure Extension). Remove it from Kconfig. Minor: Fixed a typo in Kconfig which makes Kconfig fail on case-sensitive operating system. Signed-off-by: Yilin Sun <[email protected]>
1 parent a162815 commit 27f3c4b

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

bsp/nxp/mcx/mcxa/frdm-mcxa156/.config

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ CONFIG_RT_USING_CPU_FFS=y
204204
CONFIG_ARCH_ARM=y
205205
CONFIG_ARCH_ARM_CORTEX_M=y
206206
CONFIG_ARCH_ARM_CORTEX_FPU=y
207-
CONFIG_ARCH_ARM_CORTEX_SECURE=y
208207
CONFIG_ARCH_ARM_CORTEX_M33=y
209208

210209
#
@@ -810,6 +809,12 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y
810809
# CONFIG_PKG_USING_NRFX is not set
811810
# CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set
812811
# CONFIG_PKG_USING_MM32 is not set
812+
813+
#
814+
# WCH HAL & SDK Drivers
815+
#
816+
# CONFIG_PKG_USING_CH32V307_SDK is not set
817+
# end of WCH HAL & SDK Drivers
813818
# end of HAL & SDK Drivers
814819

815820
#

bsp/nxp/mcx/mcxa/frdm-mcxa156/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ PKGS_DIR := packages
99
config SOC_MCX
1010
bool
1111
select ARCH_ARM_CORTEX_M33
12-
select ARCH_ARM_CORTEX_SECURE
1312
default y
1413

1514
source "$(RTT_DIR)/Kconfig"
1615
osource "$PKGS_DIR/Kconfig"
17-
rsource "../libraries/Kconfig"
16+
rsource "../Libraries/Kconfig"
1817
rsource "board/Kconfig"

bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126
#define ARCH_ARM
127127
#define ARCH_ARM_CORTEX_M
128128
#define ARCH_ARM_CORTEX_FPU
129-
#define ARCH_ARM_CORTEX_SECURE
130129
#define ARCH_ARM_CORTEX_M33
131130

132131
/* RT-Thread Components */
@@ -322,6 +321,10 @@
322321
/* Kendryte SDK */
323322

324323
/* end of Kendryte SDK */
324+
325+
/* WCH HAL & SDK Drivers */
326+
327+
/* end of WCH HAL & SDK Drivers */
325328
/* end of HAL & SDK Drivers */
326329

327330
/* sensors drivers */

0 commit comments

Comments
 (0)