Skip to content

Commit 0a35ca8

Browse files
EmilioCBennordicjm
authored andcommitted
hwmv2: lpc: updated overlay and conf files in samples and tests
Fixup for LPC54114 and LPC55S69 Signed-off-by: Emilio Benavente <[email protected]> Signed-off-by: David Leach <[email protected]>
1 parent 79c8bd0 commit 0a35ca8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+52
-48
lines changed

modules/hal_nxp/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ if(CONFIG_HAS_MCUX OR CONFIG_HAS_IMX_HAL OR CONFIG_HAS_NXP_S32_HAL)
1616
zephyr_compile_definitions_ifdef(CONFIG_CAN_MCUX_FLEXCAN
1717
FLEXCAN_WAIT_TIMEOUT=${CONFIG_CAN_MCUX_FLEXCAN_WAIT_TIMEOUT})
1818

19-
zephyr_compile_definitions_ifdef(CONFIG_ENTROPY_MCUX_CAAM CACHE_MODE_WRITE_THROUGH)
19+
if(CONFIG_CPU_HAS_DCACHE)
20+
zephyr_compile_definitions_ifdef(CONFIG_ENTROPY_MCUX_CAAM CACHE_MODE_WRITE_THROUGH)
21+
endif()
2022

21-
zephyr_compile_definitions_ifdef(CONFIG_USB_DEVICE_DRIVER DATA_SECTION_IS_CACHEABLE=1)
23+
if(CONFIG_NOCACHE_MEMORY)
24+
zephyr_compile_definitions_ifdef(CONFIG_USB_DEVICE_DRIVER DATA_SECTION_IS_CACHEABLE=1)
25+
endif()
2226
endif()

modules/trusted-firmware-m/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ if (CONFIG_BUILD_WITH_TFM)
226226

227227
string(REPLACE "toolchain" "toolchain_ns" TFM_TOOLCHAIN_NS_FILE ${TFM_TOOLCHAIN_FILE})
228228

229-
if(CONFIG_BOARD_LPCXPRESSO55S69_CPU0)
229+
if(CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU0)
230230
# Supply path to NXP HAL sources used for TF-M build
231231
set(TFM_PLATFORM_NXP_HAL_FILE_PATH ${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/platform/ext/target/nxp/)
232232
list(APPEND TFM_CMAKE_ARGS -DTFM_PLATFORM_NXP_HAL_FILE_PATH=${TFM_PLATFORM_NXP_HAL_FILE_PATH})

modules/trusted-firmware-m/Kconfig.tfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config ZEPHYR_TRUSTED_FIRMWARE_M_MODULE
99

1010
config TFM_BOARD
1111
string
12-
default "nxp/lpcxpresso55s69" if BOARD_LPCXPRESSO55S69_CPU0
12+
default "nxp/lpcxpresso55s69" if BOARD_LPCXPRESSO55S69_LPC55S69_CPU0
1313
default "arm/mps2/an521" if BOARD_MPS2_AN521_CPU0_NS
1414
default "arm/mps3/an547" if BOARD_MPS3_AN547
1515
default "stm/b_u585i_iot02a" if BOARD_B_U585I_IOT02A

samples/drivers/ipm/ipm_mcux/README.rst

Lines changed: 6 additions & 6 deletions

samples/drivers/ipm/ipm_mcux/remote/sample.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ sample:
55
tests:
66
sample.ipm.ipm_mcux.remote:
77
platform_allow:
8-
- lpcxpresso54114_m0
9-
- lpcxpresso55s69_cpu1
8+
- lpcxpresso54114/lpc54114/m0
9+
- lpcxpresso55s69/lpc55s69/cpu1
1010
integration_platforms:
11-
- lpcxpresso54114_m0
11+
- lpcxpresso54114/lpc54114/m0
1212
tags: ipm
1313
harness: remote

samples/drivers/ipm/ipm_mcux/sample.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ sample:
55
tests:
66
sample.ipm.ipm_mcux:
77
platform_allow:
8-
- lpcxpresso54114_m4
9-
- lpcxpresso55s69_cpu0
8+
- lpcxpresso54114/lpc54114/m4
9+
- lpcxpresso55s69/lpc55s69/cpu0
1010
integration_platforms:
11-
- lpcxpresso54114_m4
11+
- lpcxpresso54114/lpc54114/m4
1212
tags: ipm
1313
harness: console
1414
sysbuild: true

samples/drivers/mbox/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if(("${BOARD}" STREQUAL "nrf5340dk") OR
1717
("${BOARD}" STREQUAL "mimxrt1170_evkb") OR
1818
("${BOARD}" STREQUAL "mimxrt1170_evk") OR
1919
("${BOARD}" STREQUAL "mimxrt1160_evk") OR
20-
("${BOARD}" STREQUAL "lpcxpresso55s69_cpu0"))
20+
("${BOARD}" STREQUAL "lpcxpresso55s69"))
2121
message(STATUS "${BOARD} compile as Main in this sample")
2222
else()
2323
message(FATAL_ERROR "${BOARD} is not supported for this sample")

samples/drivers/mbox/remote/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if(("${BOARD}" STREQUAL "nrf5340dk") OR
1414
("${BOARD}" STREQUAL "mimxrt1170_evkb") OR
1515
("${BOARD}" STREQUAL "mimxrt1170_evk") OR
1616
("${BOARD}" STREQUAL "mimxrt1160_evk") OR
17-
("${BOARD}" STREQUAL "lpcxpresso55s69_cpu1") OR
17+
("${BOARD}" STREQUAL "lpcxpresso55s69") OR
1818
("${BOARD}" STREQUAL "adp_xc7k"))
1919
message(STATUS "${BOARD} compile as remote in this sample")
2020
else()

0 commit comments

Comments
 (0)