Skip to content

Commit

Permalink
sdk_ng: Add patch to fix build failure
Browse files Browse the repository at this point in the history
Add patch to fix mcxw71 examples build failure
Add patch to fix RT700 examples build failure
Add patch to fix RT1180 examples build failure
Add patch to fix i.mx95 examples build failure
Add patch to fix RT1170 examples build failure

Signed-off-by: Zhaoxiang Jin <[email protected]>
  • Loading branch information
ZhaoxiangJin committed Jan 25, 2025
1 parent 8cbe4e8 commit b92aa64
Show file tree
Hide file tree
Showing 34 changed files with 292 additions and 1,365 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.clock)
mcux_component_version(2.2.1)

mcux_add_source( SOURCES fsl_clock.c fsl_clock.h )
mcux_add_include( INCLUDES . )
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.romapi_soc)
mcux_component_version(1.2.0)

mcux_add_source(
SOURCES
romapi/fsl_flash_api.h
romapi/fsl_kb_api.h
romapi/fsl_lpspi_flash.h
romapi/fsl_nboot.h
romapi/fsl_romapi.c
)

mcux_add_include(
INCLUDES ./romapi
)
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

config MCUX_COMPONENT_driver.memory
bool "Use driver memory"
default y
select MCUX_COMPONENT_driver.common

if MCUX_COMPONENT_driver.memory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

config MCUX_COMPONENT_driver.romapi
bool "Use driver ROM API"
default y
select MCUX_COMPONENT_driver.common

if MCUX_COMPONENT_driver.romapi
Expand Down
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.clock)
mcux_component_version(2.4.0)
mcux_add_source( SOURCES fsl_clock.c fsl_clock.h )
mcux_add_include( INCLUDES . )
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.dsp)
mcux_component_version(2.0.0)
mcux_add_source( SOURCES fsl_dsp.c fsl_dsp.h )
mcux_add_include( INCLUDES . )
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.edma_soc)
mcux_component_version(1.0.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,9 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.ezhv)
mcux_component_version(2.1.0)
mcux_add_source( SOURCES fsl_ezhv.c fsl_ezhv.h )
mcux_add_include( INCLUDES . )
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.inputmux_connections)
mcux_component_version(2.0.0)
mcux_add_source( SOURCES fsl_inputmux_connections.h )
mcux_add_include( INCLUDES . )
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.iopctl_soc)
mcux_component_version(2.0.2)
mcux_add_source( SOURCES fsl_iopctl.h )
mcux_add_include( INCLUDES . )
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.mipi_dsi_soc)
mcux_component_version(2.0.0)
mcux_add_source( SOURCES fsl_soc_mipi_dsi.h )
mcux_add_include( INCLUDES . )
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.power)
mcux_component_version(2.4.0)
mcux_add_source( SOURCES fsl_power.c fsl_power.h )
mcux_add_include( INCLUDES . )
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.reset)
mcux_component_version(2.1.0)
mcux_add_source( SOURCES fsl_reset.c fsl_reset.h )
mcux_add_include( INCLUDES . )
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_MCUX_COMPONENT_driver.romapi)
mcux_component_version(2.1.0)
mcux_add_source(
SOURCES ./romapi/bootloader/fsl_romapi.h
./romapi/bootloader/fsl_romapi.c
./romapi/otp/fsl_romapi_otp.h
./romapi/otp/fsl_romapi_otp.c
./romapi/nboot/fsl_romapi_nboot.h
./romapi/nboot/fsl_romapi_nboot.c
./romapi/iap/fsl_romapi_iap.h
./romapi/iap/fsl_romapi_iap.c
./romapi/iap/fsl_sbloader_v3.h
)

mcux_add_include(
INCLUDES ./romapi
./romapi/bootloader
./romapi/nboot
./romapi/iap
./romapi/otp
)

endif()
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@

config MCUX_COMPONENT_driver.power
bool "Use driver power"
depends on MCUX_HW_CORE_CM33
depends on MCUX_HW_CORE_CM33
default y
Loading

0 comments on commit b92aa64

Please sign in to comment.