Skip to content

Commit

Permalink
mcux-sdk: add rt1180 build environment support
Browse files Browse the repository at this point in the history
Signed-off-by: Lucien-Zhao <[email protected]>
  • Loading branch information
lucien-nxp committed Aug 7, 2024
1 parent d5190c3 commit 9e8d43e
Show file tree
Hide file tree
Showing 85 changed files with 8,323 additions and 2 deletions.
1,353 changes: 1,353 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/all_lib_device.cmake

Large diffs are not rendered by default.

379 changes: 379 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/all_lib_device_MIMXRT1181.cmake

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/device_system_MIMXRT1181.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Description: device_system; user_visible: False
include_guard(GLOBAL)
message("device_system component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/system_MIMXRT1182.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(device_CMSIS)
61 changes: 61 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Copyright 2024 NXP
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause

# driver_clock
config MCUX_USE_driver_clock
bool "Clock Driver"
select MCUX_USE_driver_common
select MCUX_USE_driver_pmu_1
help
Clock Driver

# driver_dcdc_soc
config MCUX_USE_driver_dcdc_soc
bool "DCDC SOC Driver"
select MCUX_USE_driver_common
help
DCDC SOC Driver

# driver_gpc_3
config MCUX_USE_driver_gpc_3
bool "GPC Driver"
select MCUX_USE_driver_common
help
GPC Driver

# driver_iomuxc
config MCUX_USE_driver_iomuxc
bool "IOMUXC Driver"
select MCUX_USE_driver_common
help
IOMUXC Driver

# driver_memory
config MCUX_USE_driver_memory
bool "Memory Driver"
select MCUX_USE_driver_common
help
MEMORY Driver

# driver_pmu_1
config MCUX_USE_driver_pmu_1
bool "PMU Driver"
select MCUX_USE_driver_common
help
PMU Driver

# driver_romapi
config MCUX_USE_driver_romapi
bool "ROMAPI Driver"
select MCUX_USE_driver_common
help
ROMAPI Driver

# driver_soc_src
config MCUX_USE_driver_soc_src
bool "SOC SRC Driver"
select MCUX_USE_driver_common
help
SOC SRC Driver
16 changes: 16 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/cm33/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2023 NXP
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause

# driver_cache_armv8_m33

config MCUX_HAS_driver_cache_armv8_m33
bool

config MCUX_USE_driver_cache_armv8_m33
depends on MCUX_HAS_driver_cache_armv8_m33
bool "CACHE Driver"
select MCUX_USE_driver_common
help
CACHE Driver
11 changes: 11 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/cm33/driver_cache_xcache
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2023 NXP
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause

# driver_cache_armv8_m33
config MCUX_USE_driver_cache_armv8_m33
bool "CACHE LMEM Driver"
select MCUX_USE_driver_common
help
CACHE ARMV8-M33 Driver
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Description: CACHE LMEM Driver; user_visible: True
include_guard(GLOBAL)
message("driver_cache_lmem component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_cache.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_common)
14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_clock.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Description: Clock Driver; user_visible: True
include_guard(GLOBAL)
message("driver_clock component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_clock.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_pmu_1)
14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_dcdc_soc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Description: DCDC SOC Driver; user_visible: True
include_guard(GLOBAL)
message("driver_dcdc_soc component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_dcdc.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_common)
15 changes: 15 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_edma_soc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#Description: EDMA SOC Driver; user_visible: True
include_guard(GLOBAL)
message("driver_edma_soc component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_edma_soc.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_common)
include(driver_edma4)
14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_ele_base_api.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Description: ELE BASE API Driver; user_visible: True
include_guard(GLOBAL)
message("driver_ele_base_api component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_ele_base_api.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_common)
14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_gpc_3.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Description: GPC Driver; user_visible: True
include_guard(GLOBAL)
message("driver_gpc_3 component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_gpc.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_common)
13 changes: 13 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_iomuxc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#Description: IOMUXC Driver; user_visible: True
include_guard(GLOBAL)
message("driver_iomuxc component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_common)
13 changes: 13 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_memory.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#Description: Memory Driver; user_visible: True
include_guard(GLOBAL)
message("driver_memory component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_common)
14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_pmu_1.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Description: PMU Driver; user_visible: True
include_guard(GLOBAL)
message("driver_pmu_1 component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_pmu.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_common)
12 changes: 12 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_reset.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#Description: Reset Driver; user_visible: False
include_guard(GLOBAL)
message("driver_reset component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_soc_src.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Description: SOC SRC Driver; user_visible: True
include_guard(GLOBAL)
message("driver_soc_src component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_soc_src.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(driver_common)
Loading

0 comments on commit 9e8d43e

Please sign in to comment.