forked from zephyrproject-rtos/hal_nxp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mcux-sdk: add rt1180 build environment support
Signed-off-by: Lucien-Zhao <[email protected]>
- Loading branch information
1 parent
c7a9f4b
commit c04612f
Showing
85 changed files
with
8,323 additions
and
2 deletions.
There are no files selected for viewing
1,353 changes: 1,353 additions & 0 deletions
1,353
mcux/mcux-sdk/devices/MIMXRT1181/all_lib_device.cmake
Large diffs are not rendered by default.
Oops, something went wrong.
379 changes: 379 additions & 0 deletions
379
mcux/mcux-sdk/devices/MIMXRT1181/all_lib_device_MIMXRT1181.cmake
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
mcux/mcux-sdk/devices/MIMXRT1181/device_system_MIMXRT1181.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
11
mcux/mcux-sdk/devices/MIMXRT1181/drivers/cm33/driver_cache_xcache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
14 changes: 14 additions & 0 deletions
14
mcux/mcux-sdk/devices/MIMXRT1181/drivers/cm33/driver_cache_xcache.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_clock.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_dcdc_soc.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
15
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_edma_soc.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_ele_base_api.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_gpc_3.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
13
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_iomuxc.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
13
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_memory.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_pmu_1.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
12
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_reset.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
mcux/mcux-sdk/devices/MIMXRT1181/drivers/driver_soc_src.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Oops, something went wrong.