Skip to content

Commit

Permalink
sdk_ng: Add patch to make RT1180 examples build pass
Browse files Browse the repository at this point in the history
Signed-off-by: Zhaoxiang Jin <[email protected]>
  • Loading branch information
ZhaoxiangJin committed Jan 24, 2025
1 parent 4022ba8 commit 2ed8bf1
Show file tree
Hide file tree
Showing 15 changed files with 143 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
include(./CMakeLists_anadig_pmu_1.txt)
include(./CMakeLists_clock.txt)
include(./CMakeLists_dcdc_3.txt)
include(./CMakeLists_ecat.txt)
include(./CMakeLists_edma_soc.txt)
include(./CMakeLists_ele_base_api.txt)
include(./CMakeLists_gpc_3.txt)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if (CONFIG_MCUX_COMPONENT_driver.anadig_pmu_1)
mcux_component_version(2.1.2)

mcux_add_source(
SOURCES fsl_pmu.h
fsl_pmu.c
)

mcux_add_include(
INCLUDES .
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if (CONFIG_MCUX_COMPONENT_driver.clock)
mcux_component_version(2.1.4)

mcux_add_source(
SOURCES fsl_clock.h
fsl_clock.c
)

mcux_add_include(
INCLUDES .
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if (CONFIG_MCUX_COMPONENT_driver.dcdc_3)
mcux_component_version(2.0.1)

mcux_add_source(
SOURCES fsl_dcdc.c
fsl_dcdc.h
)

mcux_add_include(
INCLUDES .
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if (CONFIG_MCUX_COMPONENT_driver.edma_soc)
mcux_component_version(2.1.0)

mcux_add_source(
SOURCES fsl_edma_soc.c
fsl_edma_soc.h
)

mcux_add_include(
INCLUDES .
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if (CONFIG_MCUX_COMPONENT_driver.ele_base_api)
mcux_component_version(1.0.0)

mcux_add_source(
SOURCES fsl_ele_base_api.c
fsl_ele_base_api.h
)

mcux_add_include(
INCLUDES .
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if (CONFIG_MCUX_COMPONENT_driver.gpc_3)
mcux_component_version(2.1.0)

mcux_add_source(
SOURCES fsl_gpc.c
fsl_gpc.h
)

mcux_add_include(
INCLUDES .
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
if (CONFIG_MCUX_COMPONENT_driver.iomuxc)
mcux_component_version(2.0.0)

mcux_add_source(
SOURCES fsl_iomuxc.h
)

mcux_add_include(
INCLUDES .
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if (CONFIG_MCUX_COMPONENT_driver.memory)
mcux_component_version(2.0.0)

mcux_add_source(
SOURCES fsl_memory.c
fsl_memory.h
)

mcux_add_include(
INCLUDES .
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
if (CONFIG_MCUX_COMPONENT_driver.misc)
mcux_component_version(2.0.0)

mcux_add_source(
SOURCES fsl_misc.h
)

mcux_add_include(
INCLUDES .
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if (CONFIG_MCUX_COMPONENT_driver.romapi)
mcux_component_version(1.1.2)

mcux_add_source(
SOURCES ./romapi/fsl_romapi.c
./romapi/fsl_romapi.h
)

mcux_add_include(
INCLUDES ./romapi
)

endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
if (CONFIG_MCUX_COMPONENT_driver.src_3)
mcux_component_version(2.0.1)

mcux_add_source(
SOURCES fsl_soc_src.c
fsl_soc_src.h
)

mcux_add_include(
INCLUDES .
)
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
config MCUX_COMPONENT_driver.anadig_pmu_1
bool "Use driver pmu"
# select MCUX_COMPONENT_driver.common
default y

if MCUX_COMPONENT_driver.anadig_pmu_1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
config MCUX_COMPONENT_driver.clock
bool "Use driver clock"
# select MCUX_COMPONENT_driver.common
default y

if MCUX_COMPONENT_driver.clock

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
bool "Use driver ele_base_api"
select MCUX_COMPONENT_driver.common
select MCUX_COMPONENT_driver.s3mu
default y

if MCUX_COMPONENT_driver.ele_base_api

Expand Down

0 comments on commit 2ed8bf1

Please sign in to comment.