Skip to content

mcux: kw45 Soc and Board Support #502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dts/nxp/mcx/MCXW716CMFTA-pinctrl.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 NXP
* Copyright 2025 NXP
* SPDX-License-Identifier: Apache-2.0
*
* NOTE: Autogenerated file by gen_soc_headers.py
Expand All @@ -12,7 +12,7 @@
#define KINETIS_MUX(port, pin, mux) \
(((((port) - 'A') & 0xF) << 28) | \
(((pin) & 0x3F) << 22) | \
(((mux) & 0x7) << 8))
(((mux) & 0xF) << 8))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain this change?


#define PTA0 KINETIS_MUX('A',0,1) /* PTA_0 */
#define WUU0_P0_PTA0 KINETIS_MUX('A',0,1) /* PTA_0 */
Expand Down
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file contributed to upstream sdk repo?

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()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file contributed to upstream sdk repo?

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()
2 changes: 1 addition & 1 deletion mcux/middleware/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if(CONFIG_BT OR CONFIG_NET_L2_IEEE802154 OR CONFIG_NET_L2_OPENTHREAD)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mcux-sdk-middleware-connectivity-framework)
include(connectivity_framework)
if(CONFIG_SOC_SERIES_MCXW)
if(CONFIG_SOC_SERIES_MCXW OR CONFIG_SOC_SERIES_KINETIS_KW45)
zephyr_include_directories(${CMAKE_CURRENT_LIST_DIR}/mcux-sdk-middleware-multicore/mcmgr/src)

zephyr_library_sources(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if(CONFIG_SOC_SERIES_RW6XX)
endif()
endif()

if(CONFIG_SOC_SERIES_MCXW)
if(CONFIG_SOC_SERIES_MCXW OR CONFIG_SOC_SERIES_KINETIS_KW45)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform.c
${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ics.c
Expand Down