diff --git a/CHANGELOG.md b/CHANGELOG.md
index 253359a..356e2a8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,27 +1,91 @@
+#### 6.2.4: KW45/K32W1x/MCXW71/RX61x SDK 2.16.100
+
+This release does not contain the changes from 6.2.3 release.
+
+This release contains changes from 6.2.2 release.
+Experimental Features only:
+ - Power down on application power domain : Some tests have shown some failure. Power consumption higher than Deep Sleep.
+ => This feature is not fully supported in this release
+ - XTAL32K less board with FRO32K support : Some additional stress tests are under progress.
+ - FRO32K notifications callback is for debug only and shall not be used for production. User shall not execute long processing (such as PRINTF) as it is executed in ISR context.
+Main Change:
+- armgcc support for Cmake sdk2 support and VS code integration
+
+Minor changes:
+- [NBU]
+ - Optimize some critical sections on nbu firmware
+- [Platform]
+ - Optimize ``PLATFORM_RemoteActiveReq()`` execution time.
+
+#### 6.2.3: KW47 EAR1.0
+
+Initial Connectivity Framework enablement for KW47 EAR1.0 support.
+
+New features: OpenNBU feature : nbu_ble project is available and modify and build
+Supported features:
+ - Deep sleep mode
+Unsuported features:
+ - Power down mode
+ - FRO32K support (XTAL32K less boards)
+
+Main changes:
+- [NBU]
+ - LPTMR2 available and TimerManager initialization with Compile Macro: ``gPlatformUseLptmr_d``
+ - NBU can now have access to GPIOD
+ - SW RNG and SW SecLib ported to NBU (Software implementation only)
+- [RNG]
+ - Obsoleted API removed : ``FWK_RNG_DEPRECATED_API``
+ - RNG can be built without SecLib for NBU, using ``gRngUseSecLib_d`` in fwk_config.h
+ - Some API updates:
+ - ``RNG_IsReseedneeded()`` renamed to ``RNG_IsReseedNeeded``,
+ - ``RNG_TriggerReseed()`` renamed to ``RNG_NotifyReseedNeeded()``,
+ - ``RNG_SetSeed()`` and ``RNG_SetExternalSeed()`` return status code.
+ - Optimized Linear Congruential modulus computation to reduce cycle count.
+
+Minor changes:
+- [NVM]
+ - Optimize ``NvIsRecordErased()`` procedure for faster garbage collection
+ - MISRA fix : Remove externs and weaks from NVM module - Make RNG and timer manager dependencies conditional
+- [Platform]
+ - Allow the debugger to wakeup the KW47/MCXW72 target
+
#### 6.2.2: KW45/K32W1 MR6 SDK 2.16.000
-##### Major changes
+Experimental Features only:
+ - Power down on application power domain : Some tests have shown some failure. Power consumption higher than Deep Sleep.
+ => This feature is not fully supported in this release
+ - XTAL32K less board with FRO32K support : Some additional stress tests are under progress.
+ - FRO32K notifications callback is for debug only and shall not be used for production. User shall not execute long processing (such as PRINTF) as it is executed in ISR context.
+##### Changes
+- [Board] Support for freedom board FRDM-MCX W7X
- [HWparams]
- - Support for location of HWParameters and Application Factory Data IFR in IFR1.
-- [RNG]: API updates
- - New APIs RNG_SetSeed(), RNG_SetExternalSeed(), RNG_TriggerReseed(), RNG_IsReseedneeded() to manage seed on both core :
- - When needed RNG_TriggerReseed() will be called and change the return status of RNG_IsReseedneeded(), the user will have to choose when calling RNG_SetSeed() or RNG_SetExternalSeed() in his application typically Idle
-- [NVS] Wear statistics counters added
+ - Support for location of HWParameters and Application Factory Data IFR in IFR1
+ - Default is still to use HWparams in Flash to keep backward compatibility
+- [RNG]: API updates:
+ - New APIS RNG_IsReseedneeded(), RNG_SetSeed() to provide See to PRNG on NBU/App core - See BluetoothLEHost_ProcessIdleTask() in app_conn.c
+ - New APIs RNG_SetExternalSeed() : User can provide external seed. Typically used on NBU firmrware for App core to set a seed to RNG.
+ RNG_TriggerReseed() : Not required on App core. Used on NBU only.
+- [NVS] Wear statistics counters added - Fix nvs_file_stat() function
+- [NVM] fix Nv_Shutdown() API
+- [SecLib] New feature AES MMO supported for Zigbee
-#### 6.2.2: RW61x RFP4
-- [OTA]
- - Add support for RW61x OTA with remap.
- - Required modifications to prevent direct access to flash logical addresses when remap is active.
- - Image trailers expected at different offset with remap enabled (see gPlatformMcuBootUseRemap_d in fwk_config.h)
- - fixed image state assessment procedure when in RunCandidate.
+#### 6.2.2: RW61x RFP4 SDK 2.16.000
+
+- [Platform] Support Zigbee stack
+- [OTA] Add support for RW61x OTA with remap feature.
+ - Required modifications to prevent direct access to flash logical addresses when remap is active.
+ - Image trailers expected at different offset with remap enabled (see gPlatformMcuBootUseRemap_d in fwk_config.h)
+ - fixed image state assessment procedure when in RunCandidate.
- [NVS] Wear statistics counters added
+- [SecLib] New feature AES MMO supported for Zigbee
+- [Misra] various fixes
#### 6.2.1: KW45/K32W1 MR5 SDK 2.15.000
Experimental Features only:
- Power down on application power domain : Some tests have shown some failure. This feature is not fully supported in this release
- - XTAL32K less board with FRO32K support : Some additional stress tests are under progress. Timing variation of the timebase are beeing analysed
+ - XTAL32K less board with FRO32K support : Some additional stress tests are under progress. Timing variation of the timebase are being analyzed
##### Major changes
- [RNG]: API updates
@@ -37,11 +101,11 @@ Experimental Features only:
- Rename the framework platform folder from kw45_k32w1 to connected_mcu to support other platform from the same family
- fwk_platform_intflash
- Moved from fwk_platform files to the new fwk_platform_intflash files the internal flash dependant API
- - [NBU]
- - BOARD_LL_32MHz_WAKEUP_ADVANCE_HSLOT changed from 2 to 3 by default
- - BOARD_RADIO_DOMAIN_WAKE_UP_DELAY changed from 0x10 to 0x0F
- - [gcc linker]
- - Exclude k32w1_nbu_ble_15_4_dyn.bin from .data section
+- [NBU]
+ - BOARD_LL_32MHz_WAKEUP_ADVANCE_HSLOT changed from 2 to 3 by default
+ - BOARD_RADIO_DOMAIN_WAKE_UP_DELAY changed from 0x10 to 0x0F
+- [gcc linker]
+ - Exclude k32w1_nbu_ble_15_4_dyn.bin from .data section
###### Minor Changes
- [Platform]
@@ -119,7 +183,7 @@ Experimental Features only:
- New PLATFORM_EnableEccFaultsAPI_d compile flag: Enable APIs for interception of ECC Fault in bus fault handler
- New gInterceptEccBusFaults_d compile flag: Provide FaultRecovery() demo code for bus fault handler to Intercept bus fault from Flash Ecc error
- [LOC]
- - Incorrect behavior for set_dtest_page (DqTEST11 overriden)
+ - Incorrect behavior for set_dtest_page (DqTEST11 overridden)
- Fix SW1 button wake able on Localization board
- Fix yellow led not properly initialized
- Format localization pin_mux.c/h files
@@ -133,7 +197,7 @@ Experimental Features only:
- [OTA]
- Prevent bus fault in case of ECC error when reading back OTA_CFR update status (disable by default)
- [SecLib]
- - Shared mutex for RNG and SecLib as they share same hardware ressource
+ - Shared mutex for RNG and SecLib as they share same hardware resource
- [Key storage]
- Fix to ignore the garbage at the end of buffers
- Detect when buffers are too small in KS_AddKey() functions
@@ -156,7 +220,7 @@ Experimental Features only:
- Flag is used to indicate NBU that Application domain goes to power down mode. Keep this flag to 0 if only Deep sleep is supported
- This flag will be set to 1 if Application domain goes to power down mode
- Re-introduce PWR_AllowDeviceToSleep()/PWR_DisallowDeviceToSleep(), PWR_IsDeviceAllowedToSleep() API
- - Implement tick compensation mechanism for idle hook in a dedicated freertos utils file fwk_freertos_utils.[ch], new fnctions: FWK_PreIdleHookTickCompensation() and FWK_PostIdleHookTickCompensation
+ - Implement tick compensation mechanism for idle hook in a dedicated freertos utils file fwk_freertos_utils.[ch], new functions: FWK_PreIdleHookTickCompensation() and FWK_PostIdleHookTickCompensation
- Rework timestamping on K4W1
- PLATFORM_GetMaxTimeStamp() based on TSTMR
- Rename PLATFORM_GetTimestamp() to PLATFORM_GetTimeStamp()
@@ -186,11 +250,11 @@ Experimental Features only:
- Support Localization boards, Only BUTTON0 supported
- New compile flag BOARD_LOCALIZATION_REVISION_SUPPORT
- New pin_mux.[ch] files
- - Offer the possibility to override CDAC and ISEL 32MHz settings before the initialization of the crystal in bord_platform.h
+ - Offer the possibility to override CDAC and ISEL 32MHz settings before the initialization of the crystal in board_platform.h
- new BOARD_32MHZ_XTAL_CDAC_VALUE, BOARD_32MHZ_XTAL_ISEL_VALUE
- BOARD_32MHZ_XTAL_TRIM_DEFAULT obsoleted
- [NVM file system]
- - Look ahead in pending save queue - Avoid consuming sapce to save outdated record
+ - Look ahead in pending save queue - Avoid consuming space to save outdated record
- Fix NVM gNvDualImageSupport feature in NvIsRecordCopied
- [Inter Core]
- Change PLATFORM_NbuApiReq() API return parameters granularity from uint32 to uint8
@@ -240,7 +304,7 @@ Experimental Features only:
- Bug fixes:
- Move PWR LowPower callback to PLATFORM layers
- Fix wrong compensation of SysTicks
- - Reinit system clocks when exiting power down mode: BOARD_ExitPowerDownCb(), restaure 96Mhz clock is set before going to low power
+ - Reinit system clocks when exiting power down mode: BOARD_ExitPowerDownCb(), restore 96MHz clock is set before going to low power
- Call Timermanager lowpower entry exit callbacks from PLATFORM_EnterLowPower()
- Update PLATFORM_ShutdownRadio() function to force NBU for Deep power down mode
- K32W1:
@@ -358,4 +422,4 @@ Experimental Features only:
- [linker script] update SMU2 shared memory region layout with NBU: increase sqram_btblebuf_size to support 24 connections. Shared memory region moved to the end
- [SecLib] SecLib_DeriveBluetoothSKD() API update to support if EdgeLock key shall be regenerated
-#### 6.0.11: KW45/K32W1 PRC3.1
+#### 6.0.11: KW45/K32W1 PRC3.1
\ No newline at end of file
diff --git a/Common/devices/rw61x/gcc/RW61x_flash.ld b/Common/devices/rw61x/gcc/RW61x_flash.ld
index 49962e9..fa7cd34 100644
--- a/Common/devices/rw61x/gcc/RW61x_flash.ld
+++ b/Common/devices/rw61x/gcc/RW61x_flash.ld
@@ -54,10 +54,6 @@ fw_ble_cand_start = fw_ble_act_start + ble_fw_size;
fw_15d5_act_start = fw_ble_cand_start + ble_fw_size;
fw_15d4_cand_start = fw_15d5_act_start + z154_fw_size;
-PROVIDE(fw_cpu1 = fw_wifi_act_start);
-PROVIDE(fw_cpu2_ble = fw_ble_act_start);
-PROVIDE(fw_cpu2_combo = fw_15d5_act_start);
-
m_app_start = m_boot_flash_conf_sector_end + 1;
m_app_stated_size = (fw_storage_start - m_app_start - m_flash_sector_size);
m_app_end = m_app_start + m_app_stated_size - 1;
diff --git a/FSCI/Source/FsciCommands.c b/FSCI/Source/FsciCommands.c
index e47e942..6e43d32 100644
--- a/FSCI/Source/FsciCommands.c
+++ b/FSCI/Source/FsciCommands.c
@@ -1119,6 +1119,8 @@ bool_t FSCI_ReadNbuVer(clientPacket_t *pData, uint32_t fsciInterface)
do
{
+ uint8_t tag_lg;
+
/* Pointer on NbuInfo structure received from NBU :
* potentially to be released when used */
@@ -1137,24 +1139,34 @@ bool_t FSCI_ReadNbuVer(clientPacket_t *pData, uint32_t fsciInterface)
FSCI_Error((uint8_t)gFsciOutOfMessages_c, fsciInterface);
break;
}
+
nbu_info.repo_tag[MAX_TAG_SZ - 1] = '\0';
- uint8_t tag_lg = (uint8_t)strlen(&nbu_info.repo_tag[0]);
size = 0;
+
FLib_MemCpy(&pPkt->structured.payload[0], &nbu_info, 3);
size += 3;
+
pPkt->structured.payload[size] = MAX_SHA_SZ;
size++;
+
FLib_MemCpy(&pPkt->structured.payload[size], &nbu_info.repo_digest, MAX_SHA_SZ);
size += MAX_SHA_SZ;
+
+ tag_lg = (uint8_t)strlen(&nbu_info.repo_tag[0]);
pPkt->structured.payload[size] = tag_lg;
+ size++;
if (tag_lg > 0)
{
FLib_MemCpy(&pPkt->structured.payload[size], &nbu_info.repo_tag, tag_lg);
}
+ size += tag_lg;
+
+ FLib_MemCpy(&pPkt->structured.payload[size], &nbu_info.versionBuildNo, 1);
+ size += 1;
pPkt->structured.header.len = (uint8_t)size;
- /* A new buffer was allocated. Fill with aditional information */
+ /* A new buffer was allocated. Fill with additional information */
pPkt->structured.header.opGroup = gFSCI_CnfOpcodeGroup_c;
pPkt->structured.header.opCode = mFsciGetNbuVersion_c;
FSCI_transmitFormatedPacket(pPkt, fsciInterface);
diff --git a/ModuleInfo/ModuleInfo.c b/ModuleInfo/ModuleInfo.c
index 4b5520a..134c316 100644
--- a/ModuleInfo/ModuleInfo.c
+++ b/ModuleInfo/ModuleInfo.c
@@ -22,7 +22,7 @@
/*! \cond DOXY_SKIP_TAG */
#define gFwkVerMajor_c 6
#define gFwkVerMinor_c 2
-#define gFwkVerPatch_c 2
+#define gFwkVerPatch_c 4
#define gFwkBuildNo_c 0
#define gFwkModuleId_c 0xA3
/*! \endcond */
diff --git a/SecLib/SecLib.c b/SecLib/SecLib.c
index 0e38de3..3a71a5e 100644
--- a/SecLib/SecLib.c
+++ b/SecLib/SecLib.c
@@ -861,7 +861,8 @@ uint32_t AES_128_CBC_Decrypt_And_Depad(
const uint8_t *pInput, uint32_t inputLen, uint8_t *pInitVector, const uint8_t *pKey, uint8_t *pOutput)
{
uint32_t newLen = inputLen;
-#if (defined(FSL_FEATURE_SOC_LTC_COUNT) && (FSL_FEATURE_SOC_LTC_COUNT > 0))
+#if (defined(FSL_FEATURE_SOC_LTC_COUNT) && (FSL_FEATURE_SOC_LTC_COUNT > 0)) && (defined(LTC_KEY_REGISTER_READABLE)) && \
+ (LTC_KEY_REGISTER_READABLE == 1)
SECLIB_MUTEX_LOCK();
(void)LTC_AES_DecryptCbc(LTC0, pInput, pOutput, inputLen, pInitVector, pKey, AES_BLOCK_SIZE, kLTC_DecryptKey);
SECLIB_MUTEX_UNLOCK();
@@ -2219,7 +2220,7 @@ static ecdhPublicKey_t mReversedPublicKey;
static ecdhPrivateKey_t mReversedPrivateKey;
#endif /* mDbgRevertKeys_d */
-/* ECDH Sample Data Bluetooth specificaton V5.0 :
+/* ECDH Sample Data Bluetooth specification V5.0 :
7.1.2.1 P-256 Data Set 1
Private A: 3f49f6d4 a3c55f38 74c9b3e3 d2103f50 4aff607b eb40b799 5899b8a6 cd3c1abd
Private B: 55188b3d 32f6bb9a 900afcfb eed4e72a 59cb9ac2 f19d7cfb 6b4fdd49 f47fc5fd
@@ -2258,9 +2259,9 @@ secResultType_t ECDH_P256_GenerateKeys(ecdhPublicKey_t *pOutPublicKey, ecdhPriva
{
#if mDbgRevertKeys_d
if (gSecEcp256Success_c !=
- ECP256_GenerateNewKeys(&mReversedPublicKey, &mReversedPrivateKey, pMultiplicationBuffer))
+ ECP256_GenerateKeyPair(&mReversedPublicKey, &mReversedPrivateKey, pMultiplicationBuffer))
#else /* !mDbgRevertKeys_d */
- if (gSecEcp256Success_c != ECP256_GenerateNewKeys(pOutPublicKey, pOutPrivateKey, pMultiplicationBuffer))
+ if (gSecEcp256Success_c != ECP256_GenerateKeyPair(pOutPublicKey, pOutPrivateKey, pMultiplicationBuffer))
#endif /* mDbgRevertKeys_d */
{
result = gSecError_c;
diff --git a/SecLib/SecLib_ecp256.h b/SecLib/SecLib_ecp256.h
index a4bcad2..6559b49 100644
--- a/SecLib/SecLib_ecp256.h
+++ b/SecLib/SecLib_ecp256.h
@@ -426,7 +426,7 @@ secEcdsaStatus_t ECDSA_VerifyMessageSignature(const uint8_t pSignature[SEC_ECP2
* \remarks
*
********************************************************************************** */
-secEcp256Status_t ECP256_GenerateNewKeys(ecp256Point_t *pOutPublicKey,
+secEcp256Status_t ECP256_GenerateKeyPair(ecp256Point_t *pOutPublicKey,
big_int256_t * pOutPrivateKey,
void * pMultiplicationBuffer);
diff --git a/SecLib/lib_crypto_m33.a b/SecLib/lib_crypto_m33.a
index 6b1d15f..7fab915 100644
Binary files a/SecLib/lib_crypto_m33.a and b/SecLib/lib_crypto_m33.a differ
diff --git a/boards/kw45_k32w1/KW45B41Z83_LOC/clock_config.c b/boards/kw45_k32w1/KW45B41Z83_LOC/clock_config.c
new file mode 100644
index 0000000..cbd9a86
--- /dev/null
+++ b/boards/kw45_k32w1/KW45B41Z83_LOC/clock_config.c
@@ -0,0 +1,342 @@
+/*
+ * Copyright 2022-2023 NXP
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/***********************************************************************************************************************
+ * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
+ * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
+ **********************************************************************************************************************/
+/*
+ * How to setup clock using clock driver functions:
+ *
+ * 1. Call CLOCK_InitXXX() to configure corresponding SCG clock source.
+ * Note: The clock could not be set when it is being used as system clock.
+ * In default out of reset, the CPU is clocked from FIRC,
+ * so before setting FIRC, change to use another avaliable clock source.
+ *
+ * 2. Call CLOCK_SetXtal0Freq() to set XTAL0 frequency based on board settings.
+ *
+ * 3. Call CLOCK_SetXxxModeSysClkConfig() to set SCG mode for Xxx run mode.
+ * Wait until the system clock source is changed to target source.
+ *
+ */
+
+/* clang-format off */
+/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+!!GlobalInfo
+product: Clocks v11.0
+processor: KW45B41Z83xxxA
+package_id: KW45B41Z83AFTA
+mcu_data: ksdk2_0
+processor_version: 0.13.7
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
+/* clang-format on */
+
+#include "fsl_ccm32k.h"
+#include "fsl_spc.h"
+#include "clock_config.h"
+
+/*******************************************************************************
+ * Definitions
+ ******************************************************************************/
+
+/*******************************************************************************
+ * Variables
+ ******************************************************************************/
+
+/*******************************************************************************
+ * Code
+ ******************************************************************************/
+/*FUNCTION**********************************************************************
+ *
+ * Function Name : CLOCK_CONFIG_SetScgOutSel
+ * Description : Set the SCG clock out select (CLKOUTSEL).
+ * Param setting : The selected clock source.
+ *
+ *END**************************************************************************/
+static void CLOCK_CONFIG_SetScgOutSel(clock_clkout_src_t setting)
+{
+ SCG0->CLKOUTCNFG = SCG_CLKOUTCNFG_CLKOUTSEL(setting);
+}
+
+/*FUNCTION**********************************************************************
+ *
+ * Function Name : CLOCK_CONFIG_FircSafeConfig
+ * Description : This function is used to safely configure FIRC clock.
+ * In default out of reset, the CPU is clocked from FIRC.
+ * Before setting FIRC, change to use SIRC as system clock,
+ * then configure FIRC.
+ * Param fircConfig : FIRC configuration.
+ *
+ *END**************************************************************************/
+static void CLOCK_CONFIG_FircSafeConfig(const scg_firc_config_t *fircConfig)
+{
+ scg_sys_clk_config_t curConfig;
+ scg_sys_clk_config_t sysClkSafeConfigSource = {
+ .divSlow = (uint32_t)kSCG_SysClkDivBy4, /* Slow clock divider */
+ .divCore = (uint32_t)kSCG_SysClkDivBy1, /* Core clock divider */
+ .src = (uint32_t)kSCG_SysClkSrcSirc, /* System clock source */
+ };
+ /* Change to use SIRC as system clock source to prepare to change FIRCCFG register */
+ CLOCK_SetRunModeSysClkConfig(&sysClkSafeConfigSource);
+ /* Wait for clock source switch finished */
+ do
+ {
+ CLOCK_GetCurSysClkConfig(&curConfig);
+ } while (curConfig.src != sysClkSafeConfigSource.src);
+
+ /* Init Firc */
+ (void)CLOCK_InitFirc(fircConfig);
+}
+
+/*******************************************************************************
+ ************************ BOARD_InitBootClocks function ************************
+ ******************************************************************************/
+void BOARD_InitBootClocks(void)
+{
+ BOARD_BootClockRUN();
+}
+
+/*******************************************************************************
+ ********************** Configuration BOARD_BootClockRUN ***********************
+ ******************************************************************************/
+/* clang-format off */
+/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+!!Configuration
+name: BOARD_BootClockRUN
+called_from_default_init: true
+outputs:
+- {id: BUS_CLK.outFreq, value: 48 MHz}
+- {id: CPU_CLK.outFreq, value: 48 MHz}
+- {id: FIRC_CLK.outFreq, value: 96 MHz}
+- {id: FRO16K_CLK.outFreq, value: 16 kHz}
+- {id: RADIO_FRO192M_CLK.outFreq, value: 32 MHz}
+- {id: RADIO_FRO192M_FRODIV_CLK.outFreq, value: 16 MHz}
+- {id: ROSC_CLK.outFreq, value: 32.768 kHz}
+- {id: SCG.FIRC_EXT_REF_TRIM_CLK.outFreq, value: 1 MHz}
+- {id: SCGCLKOUT_CLK.outFreq, value: 16 MHz}
+- {id: SIRC_CLK.outFreq, value: 6 MHz}
+- {id: SLOW_CLK.outFreq, value: 16 MHz}
+- {id: SOSC_CLK.outFreq, value: 32 MHz}
+- {id: System_clock.outFreq, value: 48 MHz}
+settings:
+- {id: CCM32K.CCM32K_32K_SEL.sel, value: CCM32K.OSC_32K}
+- {id: CCM32K_FRO32K_CTRL_FRO_EN_CFG, value: Disabled}
+- {id: CCM32K_OSC32K_CTRL_OSC_EN_CFG, value: Enabled}
+- {id: SCG.DIVCORE.scale, value: '2', locked: true}
+- {id: SCG.DIVSLOW.scale, value: '3', locked: true}
+- {id: SCG.FIRC_TRIMDIV.scale, value: '32'}
+- {id: SCG_FIRCCSR_TRIM_CFG, value: Autotrimming}
+- {id: SCG_SOSCCSR_SOSCEN_CFG, value: Enabled}
+sources:
+- {id: CCM32K.OSC_32K.outFreq, value: 32.768 kHz, enabled: true}
+- {id: SCG.SOSC.outFreq, value: 32 MHz, enabled: true}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
+/* clang-format on */
+
+/*******************************************************************************
+ * Variables for BOARD_BootClockRUN configuration
+ ******************************************************************************/
+static const scg_firc_trim_config_t FircTrimConfig_BOARD_BootClockRUN =
+{
+ .trimMode = kSCG_FircTrimUpdate, /* FIRC trim is enabled and trim value update is enabled */
+ .trimSrc = kSCG_FircTrimSrcSysOsc, /* Trim source is System OSC */
+ .trimDiv = 31U, /* Divided by 32 */
+ .trimCoar = 0U, /* Trim value, see Reference Manual for more information */
+ .trimFine = 0U, /* Trim value, see Reference Manual for more information */
+};
+const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN =
+{
+ .divSlow = (uint32_t)kSCG_SysClkDivBy3, /* Slow Clock Divider: divided by 3 */
+ .divBus = (uint32_t)kSCG_SysClkDivBy1, /* Bus Clock Divider: divided by 1 */
+ .divCore = (uint32_t)kSCG_SysClkDivBy2, /* Core Clock Divider: divided by 2 */
+ .src = (uint32_t)kSCG_SysClkSrcFirc, /* Fast IRC is selected as System Clock Source */
+};
+const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockRUN =
+{
+ .freq = 32000000U, /* System Oscillator frequency: 32000000Hz */
+ .monitorMode = kSCG_SysOscMonitorDisable, /* System OSC Clock Monitor is disabled */
+ .enableMode = kSCG_SoscEnable, /* System OSC Enable */
+};
+const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN =
+{
+ .enableMode = kSCG_SircDisableInSleep, /* Slow IRC is disabled in sleep modes */
+};
+const scg_firc_config_t g_scgFircConfig_BOARD_BootClockRUN =
+{
+ .enableMode = kSCG_FircEnable, /* Fast IRC is enabled */
+ .range = kSCG_FircRange96M, /* 96 Mhz FIRC clock selected */
+ .trimConfig = &FircTrimConfig_BOARD_BootClockRUN,
+};
+
+/*******************************************************************************
+ * Code for BOARD_BootClockRUN configuration
+ ******************************************************************************/
+void BOARD_BootClockRUN(void)
+{
+ scg_sys_clk_config_t curConfig;
+ spc_active_mode_core_ldo_option_t ldoOption;
+
+ /* Unlock FIRC, SIRC, ROSC and SOSC control status registers */
+ CLOCK_UnlockFircControlStatusReg();
+ CLOCK_UnlockSircControlStatusReg();
+ CLOCK_UnlockRoscControlStatusReg();
+ CLOCK_UnlockSysOscControlStatusReg();
+
+ /* Monitor is disabled */
+ CLOCK_SetRoscMonitorMode(kSCG_RoscMonitorDisable);
+
+ CLOCK_SetXtal32Freq(BOARD_BOOTCLOCKRUN_ROSC_CLOCK);
+
+ /* Init FIRC */
+ CLOCK_CONFIG_FircSafeConfig(&g_scgFircConfig_BOARD_BootClockRUN);
+ /* Set SCG to FIRC mode */
+ CLOCK_SetRunModeSysClkConfig(&g_sysClkConfig_BOARD_BootClockRUN);
+ /* Wait for clock source switch finished */
+ do
+ {
+ CLOCK_GetCurSysClkConfig(&curConfig);
+ } while (curConfig.src != g_sysClkConfig_BOARD_BootClockRUN.src);
+ /* Initializes SOSC according to board configuration */
+ (void)CLOCK_InitSysOsc(&g_scgSysOscConfig_BOARD_BootClockRUN);
+ /* Set the XTAL0 frequency based on board settings */
+ CLOCK_SetXtal0Freq(g_scgSysOscConfig_BOARD_BootClockRUN.freq);
+ /* Init SIRC */
+ (void)CLOCK_InitSirc(&g_scgSircConfig_BOARD_BootClockRUN);
+ /* Set SystemCoreClock variable */
+ SystemCoreClock = BOARD_BOOTCLOCKRUN_CORE_CLOCK;
+
+ /* Configure Flash to support higher voltage level and frequency */
+ FMU0->FCTRL = (FMU0->FCTRL & ~((uint32_t)FMU_FCTRL_RWSC_MASK)) | (FMU_FCTRL_RWSC(0x1U));
+ /* Configure SRAM to support lower voltage level */
+ SPC_SetSRAMOperateVoltage(SPC0, kSPC_SRAM_OperatVoltage1P0V);
+ /* Decrease voltage to new level */
+ ldoOption.CoreLDOVoltage = kSPC_CoreLDO_MidDriveVoltage;
+ ldoOption.CoreLDODriveStrength = kSPC_CoreLDO_NormalDriveStrength;
+ (void)SPC_SetActiveModeCoreLDORegulatorConfig(SPC0, &ldoOption);
+
+ /* Set SCG CLKOUT selection. */
+ CLOCK_CONFIG_SetScgOutSel(kClockClkoutSelScgSlow);
+}
+/*******************************************************************************
+ ********************* Configuration BOARD_BootClockHSRUN **********************
+ ******************************************************************************/
+/* clang-format off */
+/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+!!Configuration
+name: BOARD_BootClockHSRUN
+outputs:
+- {id: BUS_CLK.outFreq, value: 96 MHz}
+- {id: CPU_CLK.outFreq, value: 96 MHz}
+- {id: FIRC_CLK.outFreq, value: 96 MHz}
+- {id: FRO16K_CLK.outFreq, value: 16 kHz}
+- {id: RADIO_FRO192M_CLK.outFreq, value: 32 MHz}
+- {id: RADIO_FRO192M_FRODIV_CLK.outFreq, value: 16 MHz}
+- {id: ROSC_CLK.outFreq, value: 32.768 kHz}
+- {id: SCG.FIRC_EXT_REF_TRIM_CLK.outFreq, value: 1 MHz}
+- {id: SCGCLKOUT_CLK.outFreq, value: 24 MHz}
+- {id: SIRC_CLK.outFreq, value: 6 MHz}
+- {id: SLOW_CLK.outFreq, value: 24 MHz}
+- {id: SOSC_CLK.outFreq, value: 32 MHz}
+- {id: System_clock.outFreq, value: 96 MHz}
+settings:
+- {id: VDDCore, value: voltage_1v1}
+- {id: CCM32K.CCM32K_32K_SEL.sel, value: CCM32K.OSC_32K}
+- {id: CCM32K_OSC32K_CTRL_OSC_EN_CFG, value: Enabled}
+- {id: SCG.DIVCORE.scale, value: '1', locked: true}
+- {id: SCG.DIVSLOW.scale, value: '4', locked: true}
+- {id: SCG.FIRC_TRIMDIV.scale, value: '32', locked: true}
+- {id: SCG_FIRCCSR_TRIM_CFG, value: Autotrimming}
+- {id: SCG_SOSCCSR_SOSCEN_CFG, value: Enabled}
+sources:
+- {id: CCM32K.OSC_32K.outFreq, value: 32.768 kHz, enabled: true}
+- {id: SCG.SOSC.outFreq, value: 32 MHz, enabled: true}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
+/* clang-format on */
+
+/*******************************************************************************
+ * Variables for BOARD_BootClockHSRUN configuration
+ ******************************************************************************/
+static const scg_firc_trim_config_t FircTrimConfig_BOARD_BootClockHSRUN =
+{
+ .trimMode = kSCG_FircTrimUpdate, /* FIRC trim is enabled and trim value update is enabled */
+ .trimSrc = kSCG_FircTrimSrcSysOsc, /* Trim source is System OSC */
+ .trimDiv = 31U, /* Divided by 32 */
+ .trimCoar = 0U, /* Trim value, see Reference Manual for more information */
+ .trimFine = 0U, /* Trim value, see Reference Manual for more information */
+};
+const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockHSRUN =
+{
+ .divSlow = (uint32_t)kSCG_SysClkDivBy4, /* Slow Clock Divider: divided by 4 */
+ .divBus = (uint32_t)kSCG_SysClkDivBy1, /* Bus Clock Divider: divided by 1 */
+ .divCore = (uint32_t)kSCG_SysClkDivBy1, /* Core Clock Divider: divided by 1 */
+ .src = (uint32_t)kSCG_SysClkSrcFirc, /* Fast IRC is selected as System Clock Source */
+};
+const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockHSRUN =
+{
+ .freq = 32000000U, /* System Oscillator frequency: 32000000Hz */
+ .monitorMode = kSCG_SysOscMonitorDisable, /* System OSC Clock Monitor is disabled */
+ .enableMode = kSCG_SoscEnable, /* System OSC Enable */
+};
+const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockHSRUN =
+{
+ .enableMode = kSCG_SircDisableInSleep, /* Slow IRC is disabled in sleep modes */
+};
+const scg_firc_config_t g_scgFircConfig_BOARD_BootClockHSRUN =
+{
+ .enableMode = kSCG_FircEnable, /* Fast IRC is enabled */
+ .range = kSCG_FircRange96M, /* 96 Mhz FIRC clock selected */
+ .trimConfig = &FircTrimConfig_BOARD_BootClockHSRUN,
+};
+
+/*******************************************************************************
+ * Code for BOARD_BootClockHSRUN configuration
+ ******************************************************************************/
+void BOARD_BootClockHSRUN(void)
+{
+ scg_sys_clk_config_t curConfig;
+ spc_active_mode_core_ldo_option_t ldoOption;
+
+ /* Unlock FIRC, SIRC, ROSC and SOSC control status registers */
+ CLOCK_UnlockFircControlStatusReg();
+ CLOCK_UnlockSircControlStatusReg();
+ CLOCK_UnlockRoscControlStatusReg();
+ CLOCK_UnlockSysOscControlStatusReg();
+
+ /* Increase voltage to new level */
+ ldoOption.CoreLDOVoltage = kSPC_CoreLDO_NormalVoltage;
+ ldoOption.CoreLDODriveStrength = kSPC_CoreLDO_NormalDriveStrength;
+ (void)SPC_SetActiveModeCoreLDORegulatorConfig(SPC0, &ldoOption);
+ /* Configure Flash to support higher voltage level and frequency */
+ FMU0->FCTRL = (FMU0->FCTRL & ~((uint32_t)FMU_FCTRL_RWSC_MASK)) | (FMU_FCTRL_RWSC(0x2U));
+ /* Configure SRAM to support higher voltage level */
+ SPC_SetSRAMOperateVoltage(SPC0, kSPC_SRAM_OperatVoltage1P1V);
+
+ /* Monitor is disabled */
+ CLOCK_SetRoscMonitorMode(kSCG_RoscMonitorDisable);
+
+ CLOCK_SetXtal32Freq(BOARD_BOOTCLOCKHSRUN_ROSC_CLOCK);
+
+ /* Init FIRC */
+ CLOCK_CONFIG_FircSafeConfig(&g_scgFircConfig_BOARD_BootClockHSRUN);
+ /* Set SCG to FIRC mode */
+ CLOCK_SetRunModeSysClkConfig(&g_sysClkConfig_BOARD_BootClockHSRUN);
+ /* Wait for clock source switch finished */
+ do
+ {
+ CLOCK_GetCurSysClkConfig(&curConfig);
+ } while (curConfig.src != g_sysClkConfig_BOARD_BootClockHSRUN.src);
+ /* Initializes SOSC according to board configuration */
+ (void)CLOCK_InitSysOsc(&g_scgSysOscConfig_BOARD_BootClockHSRUN);
+ /* Set the XTAL0 frequency based on board settings */
+ CLOCK_SetXtal0Freq(g_scgSysOscConfig_BOARD_BootClockHSRUN.freq);
+ /* Init SIRC */
+ (void)CLOCK_InitSirc(&g_scgSircConfig_BOARD_BootClockHSRUN);
+ /* Set SystemCoreClock variable */
+ SystemCoreClock = BOARD_BOOTCLOCKHSRUN_CORE_CLOCK;
+ /* Set SCG CLKOUT selection. */
+ CLOCK_CONFIG_SetScgOutSel(kClockClkoutSelScgSlow);
+}
diff --git a/boards/kw45_k32w1/KW45B41Z83_LOC/clock_config.h b/boards/kw45_k32w1/KW45B41Z83_LOC/clock_config.h
new file mode 100644
index 0000000..e9ac322
--- /dev/null
+++ b/boards/kw45_k32w1/KW45B41Z83_LOC/clock_config.h
@@ -0,0 +1,119 @@
+/*
+ * Copyright 2022-2023 NXP
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+/***********************************************************************************************************************
+ * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
+ * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
+ **********************************************************************************************************************/
+
+#ifndef _CLOCK_CONFIG_H_
+#define _CLOCK_CONFIG_H_
+
+#include "fsl_common.h"
+
+/*******************************************************************************
+ * Definitions
+ ******************************************************************************/
+#define BOARD_XTAL0_CLK_HZ 32000000U /*!< Board xtal0 frequency in Hz */
+
+/*******************************************************************************
+ ************************ BOARD_InitBootClocks function ************************
+ ******************************************************************************/
+
+#if defined(__cplusplus)
+extern "C" {
+#endif /* __cplusplus*/
+
+/*!
+ * @brief This function executes default configuration of clocks.
+ *
+ */
+void BOARD_InitBootClocks(void);
+
+#if defined(__cplusplus)
+}
+#endif /* __cplusplus*/
+
+/*******************************************************************************
+ ********************** Configuration BOARD_BootClockRUN ***********************
+ ******************************************************************************/
+/*******************************************************************************
+ * Definitions for BOARD_BootClockRUN configuration
+ ******************************************************************************/
+#define BOARD_BOOTCLOCKRUN_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */
+#define BOARD_BOOTCLOCKRUN_ROSC_CLOCK 32768U /*!< ROSC clock frequency: 32768Hz */
+
+/*! @brief SCG set for BOARD_BootClockRUN configuration.
+ */
+extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN;
+/*! @brief System OSC set for BOARD_BootClockRUN configuration.
+ */
+extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockRUN;
+/*! @brief SIRC set for BOARD_BootClockRUN configuration.
+ */
+extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN;
+/*! @brief FIRC set for BOARD_BootClockRUN configuration.
+ */
+extern const scg_firc_config_t g_scgFircConfig_BOARD_BootClockRUN;
+
+/*******************************************************************************
+ * API for BOARD_BootClockRUN configuration
+ ******************************************************************************/
+#if defined(__cplusplus)
+extern "C" {
+#endif /* __cplusplus*/
+
+/*!
+ * @brief This function executes configuration of clocks.
+ *
+ */
+void BOARD_BootClockRUN(void);
+
+#if defined(__cplusplus)
+}
+#endif /* __cplusplus*/
+
+/*******************************************************************************
+ ********************* Configuration BOARD_BootClockHSRUN **********************
+ ******************************************************************************/
+/*******************************************************************************
+ * Definitions for BOARD_BootClockHSRUN configuration
+ ******************************************************************************/
+#define BOARD_BOOTCLOCKHSRUN_CORE_CLOCK 96000000U /*!< Core clock frequency: 96000000Hz */
+#define BOARD_BOOTCLOCKHSRUN_ROSC_CLOCK 32768U /*!< ROSC clock frequency: 32768Hz */
+
+/*! @brief SCG set for BOARD_BootClockHSRUN configuration.
+ */
+extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockHSRUN;
+/*! @brief System OSC set for BOARD_BootClockHSRUN configuration.
+ */
+extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockHSRUN;
+/*! @brief SIRC set for BOARD_BootClockHSRUN configuration.
+ */
+extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockHSRUN;
+/*! @brief FIRC set for BOARD_BootClockHSRUN configuration.
+ */
+extern const scg_firc_config_t g_scgFircConfig_BOARD_BootClockHSRUN;
+
+/*******************************************************************************
+ * API for BOARD_BootClockHSRUN configuration
+ ******************************************************************************/
+#if defined(__cplusplus)
+extern "C" {
+#endif /* __cplusplus*/
+
+/*!
+ * @brief This function executes configuration of clocks.
+ *
+ */
+void BOARD_BootClockHSRUN(void);
+
+#if defined(__cplusplus)
+}
+#endif /* __cplusplus*/
+
+#endif /* _CLOCK_CONFIG_H_ */
+
diff --git a/boards/kw45_k32w1/KW45B41Z83_LOC/pin_mux.c b/boards/kw45_k32w1/KW45B41Z83_LOC/pin_mux.c
new file mode 100644
index 0000000..edbee9f
--- /dev/null
+++ b/boards/kw45_k32w1/KW45B41Z83_LOC/pin_mux.c
@@ -0,0 +1,1269 @@
+/*
+ * Copyright 2023-2024 NXP
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+/***********************************************************************************************************************
+ * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
+ * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
+ **********************************************************************************************************************/
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+!!GlobalInfo
+product: Pins v15.0
+processor: KW45B41Z83xxxA
+package_id: KW45B41Z83AFTA
+mcu_data: ksdk2_0
+processor_version: 0.15.5
+pin_labels:
+- {pin_num: '38', pin_signal: PTC1/WUU0_P8/LPSPI1_PCS3/CAN0_RX/I3C0_SCL/TPM1_CH1/LPI2C1_SDA/FLEXIO0_D17, label: SW2, identifier: SW2}
+- {pin_num: '45', pin_signal: PTC7/WUU0_P12/NMI_b/RF_NOT_ALLOWED/TRGMUX0_IN3/TRGMUX0_OUT3/SFA0_CLK/TPM1_CLKIN/TPM2_CLKIN/CLKOUT/FLEXIO0_D23, label: SW3, identifier: SW3}
+- {pin_num: '10', pin_signal: ADC0_A10/CMP0_IN0/PTA4/WUU0_P2/RF_XTAL_OUT_ENABLE/RF_GPO_9/TPM0_CLKIN/TRACE_SWO/FLEXIO0_D4/BOOT_CONFIG, label: SW4, identifier: SW4}
+- {pin_num: '37', pin_signal: PTC0/WUU0_P7/LPSPI1_PCS2/CAN0_TX/I3C0_SDA/TPM1_CH0/LPI2C1_SCL/FLEXIO0_D16, label: LED1_R, identifier: LED1_R}
+- {pin_num: '44', pin_signal: ADC0_A8/PTC6/WUU0_P11/LPSPI1_PCS1/TPM1_CH5/FLEXIO0_D22, label: LED2_Y, identifier: LED2_Y}
+- {pin_num: '46', pin_signal: ADC0_B10/PTB0/WUU0_P13/LPSPI1_PCS0/TPM1_CH0/FLEXIO0_D26, label: LPSPI1_PCS0, identifier: LPSPI1_PCS0}
+- {pin_num: '2', pin_signal: PTB4/WUU0_P15/LPSPI1_PCS3/LPUART1_CTS_b/LPI2C1_SDA/I3C0_SDA/TRGMUX0_IN0/FLEXIO0_D30, label: LPSPI1_PCS3, identifier: LPSPI1_PCS3}
+- {pin_num: '13', pin_signal: CMP1_IN1/PTA18/LPSPI0_SOUT/LPUART0_CTS_b/LPI2C0_SDA/TPM0_CH3/RF_GPO_0/LPUART0_RX, label: BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_GPIO,
+ identifier: RF_GPO_0}
+- {pin_num: '14', pin_signal: CMP1_IN0/PTA19/WUU0_P4/LPSPI0_SCK/LPUART0_RTS_b/LPI2C0_SCL/TPM0_CH2/RF_GPO_1, label: BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_GPIO,
+ identifier: RF_GPO_1}
+- {pin_num: '17', pin_signal: ADC0_A14/CMP0_IN3/PTA20/LPSPI0_PCS2/LPUART0_TX/EWM0_IN/TPM0_CH1/RF_GPO_2/FLEXIO0_D7, label: BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_GPIO,
+ identifier: RF_GPO_2}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+#include "fsl_common.h"
+#include "fsl_port.h"
+#include "fsl_gpio.h"
+#include "pin_mux.h"
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinButton0:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINBUTTON0_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '38', peripheral: GPIOC, signal: 'GPIO, 1', pin_signal: PTC1/WUU0_P8/LPSPI1_PCS3/CAN0_RX/I3C0_SCL/TPM1_CH1/LPI2C1_SDA/FLEXIO0_D17, pull_select: up,
+ pull_enable: enable, slew_rate: fast, passive_filter: disable, open_drain: enable, drive_strength: low, drive_strength_1: normal}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinButton0
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinButton0(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ const port_pin_config_t SW2 = {/* Internal pull-up resistor is enabled */
+ (uint16_t)kPORT_PullUp,
+ /* High internal pull resistor value is selected. */
+ (uint16_t)kPORT_HighPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is enabled */
+ (uint16_t)kPORT_OpenDrainEnable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTC1 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTC1 (pin 38) is configured as PTC1 */
+ PORT_SetPinConfig(BOARD_INITPINBUTTON0_SW2_PORT, BOARD_INITPINBUTTON0_SW2_PIN, &SW2);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinButton1:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINBUTTON1_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '45', peripheral: GPIOC, signal: 'GPIO, 7', pin_signal: PTC7/WUU0_P12/NMI_b/RF_NOT_ALLOWED/TRGMUX0_IN3/TRGMUX0_OUT3/SFA0_CLK/TPM1_CLKIN/TPM2_CLKIN/CLKOUT/FLEXIO0_D23,
+ pull_select: up, pull_enable: enable, slew_rate: slow, open_drain: enable, drive_strength: low}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinButton1
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinButton1(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ const port_pin_config_t SW3 = {/* Internal pull-up resistor is enabled */
+ (uint16_t)kPORT_PullUp,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Slow slew rate is configured */
+ (uint16_t)kPORT_SlowSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is enabled */
+ (uint16_t)kPORT_OpenDrainEnable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTC7 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTC7 (pin 45) is configured as PTC7 */
+ PORT_SetPinConfig(BOARD_INITPINBUTTON1_SW3_PORT, BOARD_INITPINBUTTON1_SW3_PIN, &SW3);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinSWO:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINSWO_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '10', peripheral: GPIOA, signal: 'GPIO, 4', pin_signal: ADC0_A10/CMP0_IN0/PTA4/WUU0_P2/RF_XTAL_OUT_ENABLE/RF_GPO_9/TPM0_CLKIN/TRACE_SWO/FLEXIO0_D4/BOOT_CONFIG,
+ pull_select: up, pull_enable: enable, slew_rate: slow, open_drain: enable, drive_strength: low}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinSWO
+ * Description : Configures pin routing to route SWO to GPIO (only one pin alternate (alt5) is available for SWO on KW45)
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinSWO(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ const port_pin_config_t SWO = {/* Internal pull-down resistor is enabled */
+ (uint16_t)kPORT_PullDown,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as TRACE_SWO */
+ (uint16_t)kPORT_MuxAlt5,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTA4 (pin 10) is configured as TRACE_SWO */
+ PORT_SetPinConfig(BOARD_INITPINSWO_PORT, BOARD_INITPINSWO_PIN, &SWO);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLED1:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLED1_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '37', peripheral: GPIOC, signal: 'GPIO, 0', pin_signal: PTC0/WUU0_P7/LPSPI1_PCS2/CAN0_TX/I3C0_SDA/TPM1_CH0/LPI2C1_SCL/FLEXIO0_D16, pull_select: down,
+ pull_enable: disable, pull_value: low, slew_rate: slow, passive_filter: disable, open_drain: disable, drive_strength: low, drive_strength_1: normal}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLED1
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLED1(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ const port_pin_config_t LED1_R = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Slow slew rate is configured */
+ (uint16_t)kPORT_SlowSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTC0 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTC0 (pin 37) is configured as PTC0 */
+ PORT_SetPinConfig(BOARD_INITPINLED1_LED1_PORT, BOARD_INITPINLED1_LED1_PIN, &LED1_R);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLED2:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLED2_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '44', peripheral: GPIOC, signal: 'GPIO, 6', pin_signal: ADC0_A8/PTC6/WUU0_P11/LPSPI1_PCS1/TPM1_CH5/FLEXIO0_D22, pull_select: down, pull_enable: disable,
+ slew_rate: slow, open_drain: disable, drive_strength: low}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLED2
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLED2(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ const port_pin_config_t LED2_Y = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Slow slew rate is configured */
+ (uint16_t)kPORT_SlowSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTC6 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTC6 (pin 44) is configured as PTC6 */
+ PORT_SetPinConfig(BOARD_INITPINLED2_LED2_Y_PORT, BOARD_INITPINLED2_LED2_Y_PIN, &LED2_Y);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLED3:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLED3_, coreID: cm33, enableClock: 'true'}
+- pin_list: []
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLED3
+ * Description : NOT SUPPORTED.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLED3(void)
+{
+ assert(0);
+ return;
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLED4:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLED4_, coreID: cm33, enableClock: 'true'}
+- pin_list: []
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLED4
+ * Description : NOT SUPPORTED.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLED4(void)
+{
+ assert(0);
+ return;
+}
+
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLPUART0_RX:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLPUART0_RX_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '11', peripheral: LPUART0, signal: RX, pin_signal: ADC0_A12/PTA16/RF_NOT_ALLOWED/LPSPI0_PCS0/EWM0_OUT_b/LPI2C0_SCLS/TPM0_CH4/LPUART0_RX/RF_GPO_8/FLEXIO0_D5}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLPUART0_RX
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLPUART0_RX(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ /* PORTA16 (pin 11) is configured as LPUART0_RX */
+ PORT_SetPinMux(PORTA, 16U, kPORT_MuxAlt6);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLPUART0_TX:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLPUART0_TX_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '12', peripheral: LPUART0, signal: TX, pin_signal: ADC0_A13/PTA17/WUU0_P3/RF_NOT_ALLOWED/LPSPI0_SIN/EWM0_IN/LPI2C0_SDAS/TPM0_CH5/LPUART0_TX/RF_GPO_7/RF_GPO_8/FLEXIO0_D6}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLPUART0_TX
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLPUART0_TX(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ /* PORTA17 (pin 12) is configured as LPUART0_TX */
+ PORT_SetPinMux(PORTA, 17U, kPORT_MuxAlt6);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLPUART1_RX:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLPUART1_RX_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '39', peripheral: LPUART1, signal: RX, pin_signal: PTC2/WUU0_P9/LPSPI1_SOUT/LPUART1_RX/LPI2C1_SCLS/TPM1_CH2/I3C0_PUR/FLEXIO0_D18}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLPUART1_RX
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLPUART1_RX(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ /* PORTC2 (pin 39) is configured as LPUART1_RX */
+ PORT_SetPinMux(PORTC, 2U, kPORT_MuxAlt3);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLPUART1_TX:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLPUART1_TX_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '40', peripheral: LPUART1, signal: TX, pin_signal: PTC3/LPSPI1_SCK/LPUART1_TX/LPI2C1_SDAS/TPM1_CH3/FLEXIO0_D19}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLPUART1_TX
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLPUART1_TX(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ /* PORTC3 (pin 40) is configured as LPUART1_TX */
+ PORT_SetPinMux(PORTC, 3U, kPORT_MuxAlt3);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLPUART0_RX:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLPUART0_RX_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '11', peripheral: ADC0, signal: 'A, 12', pin_signal: ADC0_A12/PTA16/RF_NOT_ALLOWED/LPSPI0_PCS0/EWM0_OUT_b/LPI2C0_SCLS/TPM0_CH4/LPUART0_RX/RF_GPO_8/FLEXIO0_D5}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLPUART0_RX
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLPUART0_RX(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ /* PORTA16 (pin 11) is configured as ADC0_A12 */
+ PORT_SetPinMux(PORTA, 16U, kPORT_PinDisabledOrAnalog);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLPUART0_TX:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLPUART0_TX_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '12', peripheral: ADC0, signal: 'A, 13', pin_signal: ADC0_A13/PTA17/WUU0_P3/RF_NOT_ALLOWED/LPSPI0_SIN/EWM0_IN/LPI2C0_SDAS/TPM0_CH5/LPUART0_TX/RF_GPO_7/RF_GPO_8/FLEXIO0_D6}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLPUART0_TX
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLPUART0_TX(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ /* PORTA17 (pin 12) is configured as ADC0_A13 */
+ PORT_SetPinMux(PORTA, 17U, kPORT_PinDisabledOrAnalog);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLPUART1_RX:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLPUART1_RX_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '39', peripheral: n/a, signal: disabled, pin_signal: PTC2/WUU0_P9/LPSPI1_SOUT/LPUART1_RX/LPI2C1_SCLS/TPM1_CH2/I3C0_PUR/FLEXIO0_D18}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLPUART1_RX
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLPUART1_RX(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ /* PORTC2 (pin 39) is disabled */
+ PORT_SetPinMux(PORTC, 2U, kPORT_PinDisabledOrAnalog);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLPUART1_TX:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLPUART1_TX_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '40', peripheral: n/a, signal: disabled, pin_signal: PTC3/LPSPI1_SCK/LPUART1_TX/LPI2C1_SDAS/TPM1_CH3/FLEXIO0_D19}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLPUART1_TX
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLPUART1_TX(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ /* PORTC3 (pin 40) is disabled */
+ PORT_SetPinMux(PORTC, 3U, kPORT_PinDisabledOrAnalog);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinButton1:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINBUTTON1_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '45', peripheral: n/a, signal: disabled, pin_signal: PTC7/WUU0_P12/NMI_b/RF_NOT_ALLOWED/TRGMUX0_IN3/TRGMUX0_OUT3/SFA0_CLK/TPM1_CLKIN/TPM2_CLKIN/CLKOUT/FLEXIO0_D23}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinButton1
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinButton1(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ /* PORTC7 (pin 45) is disabled */
+ PORT_SetPinMux(BOARD_UNINITPINBUTTON1_SW3_PORT, BOARD_UNINITPINBUTTON1_SW3_PIN, kPORT_PinDisabledOrAnalog);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinButton0:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINBUTTON0_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '38', peripheral: n/a, signal: disabled, pin_signal: PTC1/WUU0_P8/LPSPI1_PCS3/CAN0_RX/I3C0_SCL/TPM1_CH1/LPI2C1_SDA/FLEXIO0_D17}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinButton0
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinButton0(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ /* PORTC1 (pin 38) is disabled */
+ PORT_SetPinMux(BOARD_UNINITPINBUTTON0_SW2_PORT, BOARD_UNINITPINBUTTON0_SW2_PIN, kPORT_PinDisabledOrAnalog);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinSWO:
+- options: {callFromInitBoot: 'false', coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '10', peripheral: GPIOA, signal: 'GPIO, 4', pin_signal: ADC0_A10/CMP0_IN0/PTA4/WUU0_P2/RF_XTAL_OUT_ENABLE/RF_GPO_9/TPM0_CLKIN/TRACE_SWO/FLEXIO0_D4/BOOT_CONFIG,
+ pull_select: up, pull_enable: enable, slew_rate: slow, open_drain: enable, drive_strength: low}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinButtonBootConfig
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinSWO(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ /* PORTA4 (pin 10) is configured as disabled */
+ PORT_SetPinMux(BOARD_UNINITPINSWO_PORT, BOARD_UNINITPINSWO_PIN, kPORT_PinDisabledOrAnalog);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLED1:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLED1_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '37', peripheral: n/a, signal: disabled, pin_signal: PTC0/WUU0_P7/LPSPI1_PCS2/CAN0_TX/I3C0_SDA/TPM1_CH0/LPI2C1_SCL/FLEXIO0_D16}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLED1
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLED1(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ /* PORTC0 (pin 37) is disabled */
+ PORT_SetPinMux(BOARD_UNINITPINLED1_LED1_R_PORT, BOARD_UNINITPINLED1_LED1_R_PIN, kPORT_PinDisabledOrAnalog);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLED2:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLED2_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '44', peripheral: ADC0, signal: 'A, 8', pin_signal: ADC0_A8/PTC6/WUU0_P11/LPSPI1_PCS1/TPM1_CH5/FLEXIO0_D22}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLED2
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLED2(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortC);
+
+ /* PORTC6 (pin 44) is configured as ADC0_A8 */
+ PORT_SetPinMux(BOARD_UNINITPINLED2_LED2_Y_PORT, BOARD_UNINITPINLED2_LED2_Y_PIN, kPORT_PinDisabledOrAnalog);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLED3:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLED3_, coreID: cm33, enableClock: 'true'}
+- pin_list: []
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLED3
+ * Description : NOT SUPPORTED.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLED3(void)
+{
+ assert(0);
+ return;
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLED4:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLED4_, coreID: cm33, enableClock: 'true'}
+- pin_list: []
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLED4
+ * Description : NOT SUPPORTED.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLED4(void)
+{
+ assert(0);
+ return;
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitExtFlashPins:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITEXTFLASHPINS_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '46', peripheral: GPIOB, signal: 'GPIO, 0', pin_signal: ADC0_B10/PTB0/WUU0_P13/LPSPI1_PCS0/TPM1_CH0/FLEXIO0_D26, direction: OUTPUT, gpio_init_state: 'true',
+ pull_select: up, pull_enable: enable, slew_rate: fast, open_drain: disable, drive_strength: high}
+ - {pin_num: '47', peripheral: LPSPI1, signal: IN, pin_signal: ADC0_B11/PTB1/LPSPI1_SIN/TPM1_CH1/FLEXIO0_D27, pull_select: down, pull_enable: disable, slew_rate: fast,
+ open_drain: disable, drive_strength: high}
+ - {pin_num: '48', peripheral: LPSPI1, signal: SCK, pin_signal: ADC0_B12/PTB2/LPSPI1_SCK/LPUART1_TX/TPM1_CH2/FLEXIO0_D28, pull_select: down, pull_enable: disable,
+ slew_rate: fast, open_drain: disable, drive_strength: high}
+ - {pin_num: '1', peripheral: LPSPI1, signal: OUT, pin_signal: ADC0_B13/PTB3/WUU0_P14/LPSPI1_SOUT/LPUART1_RX/TPM1_CH3/FLEXIO0_D29, pull_select: down, pull_enable: disable,
+ slew_rate: fast, open_drain: disable, drive_strength: high}
+ - {pin_num: '2', peripheral: GPIOB, signal: 'GPIO, 4', pin_signal: PTB4/WUU0_P15/LPSPI1_PCS3/LPUART1_CTS_b/LPI2C1_SDA/I3C0_SDA/TRGMUX0_IN0/FLEXIO0_D30, direction: OUTPUT,
+ gpio_init_state: 'true', pull_select: down, pull_enable: disable, pull_value: low, slew_rate: fast, passive_filter: disable, open_drain: disable, drive_strength: low,
+ drive_strength_1: normal}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitExtFlashPins
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitExtFlashPins(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_GpioB);
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortB);
+
+ gpio_pin_config_t LPSPI1_PCS0_config = {
+ .pinDirection = kGPIO_DigitalOutput,
+ .outputLogic = 1U
+ };
+ /* Initialize GPIO functionality on pin PTB0 (pin 46) */
+ GPIO_PinInit(BOARD_INITEXTFLASHPINS_LPSPI1_PCS0_GPIO, BOARD_INITEXTFLASHPINS_LPSPI1_PCS0_PIN, &LPSPI1_PCS0_config);
+
+ gpio_pin_config_t LPSPI1_PCS3_config = {
+ .pinDirection = kGPIO_DigitalOutput,
+ .outputLogic = 1U
+ };
+ /* Initialize GPIO functionality on pin PTB4 (pin 2) */
+ GPIO_PinInit(BOARD_INITEXTFLASHPINS_LPSPI1_PCS3_GPIO, BOARD_INITEXTFLASHPINS_LPSPI1_PCS3_PIN, &LPSPI1_PCS3_config);
+
+ const port_pin_config_t LPSPI1_PCS0 = {/* Internal pull-up resistor is enabled */
+ (uint16_t)kPORT_PullUp,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* High drive strength is configured */
+ (uint16_t)kPORT_HighDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTB0 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB0 (pin 46) is configured as PTB0 */
+ PORT_SetPinConfig(BOARD_INITEXTFLASHPINS_LPSPI1_PCS0_PORT, BOARD_INITEXTFLASHPINS_LPSPI1_PCS0_PIN, &LPSPI1_PCS0);
+
+ const port_pin_config_t portb1_pin47_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* High drive strength is configured */
+ (uint16_t)kPORT_HighDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as LPSPI1_SIN */
+ (uint16_t)kPORT_MuxAlt2,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB1 (pin 47) is configured as LPSPI1_SIN */
+ PORT_SetPinConfig(PORTB, 1U, &portb1_pin47_config);
+
+ const port_pin_config_t portb2_pin48_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* High drive strength is configured */
+ (uint16_t)kPORT_HighDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as LPSPI1_SCK */
+ (uint16_t)kPORT_MuxAlt2,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB2 (pin 48) is configured as LPSPI1_SCK */
+ PORT_SetPinConfig(PORTB, 2U, &portb2_pin48_config);
+
+ const port_pin_config_t portb3_pin1_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* High drive strength is configured */
+ (uint16_t)kPORT_HighDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as LPSPI1_SOUT */
+ (uint16_t)kPORT_MuxAlt2,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB3 (pin 1) is configured as LPSPI1_SOUT */
+ PORT_SetPinConfig(PORTB, 3U, &portb3_pin1_config);
+
+ const port_pin_config_t LPSPI1_PCS3 = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTB4 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB4 (pin 2) is configured as PTB4 */
+ PORT_SetPinConfig(BOARD_INITEXTFLASHPINS_LPSPI1_PCS3_PORT, BOARD_INITEXTFLASHPINS_LPSPI1_PCS3_PIN, &LPSPI1_PCS3);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_DeinitExtFlashPins:
+- options: {callFromInitBoot: 'false', prefix: BOARD_DEINITEXTFLASHPINS_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '46', peripheral: GPIOB, signal: 'GPIO, 0', pin_signal: ADC0_B10/PTB0/WUU0_P13/LPSPI1_PCS0/TPM1_CH0/FLEXIO0_D26, direction: OUTPUT, gpio_init_state: 'false',
+ pull_select: down, pull_enable: disable, slew_rate: fast, open_drain: disable, drive_strength: low}
+ - {pin_num: '47', peripheral: GPIOB, signal: 'GPIO, 1', pin_signal: ADC0_B11/PTB1/LPSPI1_SIN/TPM1_CH1/FLEXIO0_D27, pull_select: down, pull_enable: disable, slew_rate: fast,
+ open_drain: disable, drive_strength: low}
+ - {pin_num: '48', peripheral: GPIOB, signal: 'GPIO, 2', pin_signal: ADC0_B12/PTB2/LPSPI1_SCK/LPUART1_TX/TPM1_CH2/FLEXIO0_D28, pull_select: down, pull_enable: disable,
+ slew_rate: fast, open_drain: disable, drive_strength: low}
+ - {pin_num: '1', peripheral: GPIOB, signal: 'GPIO, 3', pin_signal: ADC0_B13/PTB3/WUU0_P14/LPSPI1_SOUT/LPUART1_RX/TPM1_CH3/FLEXIO0_D29, pull_select: down, pull_enable: disable,
+ slew_rate: fast, open_drain: disable, drive_strength: low}
+ - {pin_num: '2', peripheral: GPIOB, signal: 'GPIO, 4', pin_signal: PTB4/WUU0_P15/LPSPI1_PCS3/LPUART1_CTS_b/LPI2C1_SDA/I3C0_SDA/TRGMUX0_IN0/FLEXIO0_D30, direction: OUTPUT,
+ gpio_init_state: 'false', pull_select: down, pull_enable: disable, pull_value: low, slew_rate: fast, passive_filter: disable, open_drain: disable, drive_strength: low,
+ drive_strength_1: normal}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_DeinitExtFlashPins
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_DeinitExtFlashPins(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_GpioB);
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortB);
+
+ gpio_pin_config_t LPSPI1_PCS0_config = {
+ .pinDirection = kGPIO_DigitalOutput,
+ .outputLogic = 0U
+ };
+ /* Initialize GPIO functionality on pin PTB0 (pin 46) */
+ GPIO_PinInit(BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS0_GPIO, BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS0_PIN, &LPSPI1_PCS0_config);
+
+ gpio_pin_config_t LPSPI1_PCS3_config = {
+ .pinDirection = kGPIO_DigitalOutput,
+ .outputLogic = 0U
+ };
+ /* Initialize GPIO functionality on pin PTB4 (pin 2) */
+ GPIO_PinInit(BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS3_GPIO, BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS3_PIN, &LPSPI1_PCS3_config);
+
+ const port_pin_config_t LPSPI1_PCS0 = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTB0 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB0 (pin 46) is configured as PTB0 */
+ PORT_SetPinConfig(BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS0_PORT, BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS0_PIN, &LPSPI1_PCS0);
+
+ const port_pin_config_t portb1_pin47_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTB1 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB1 (pin 47) is configured as PTB1 */
+ PORT_SetPinConfig(PORTB, 1U, &portb1_pin47_config);
+
+ const port_pin_config_t portb2_pin48_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTB2 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB2 (pin 48) is configured as PTB2 */
+ PORT_SetPinConfig(PORTB, 2U, &portb2_pin48_config);
+
+ const port_pin_config_t portb3_pin1_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTB3 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB3 (pin 1) is configured as PTB3 */
+ PORT_SetPinConfig(PORTB, 3U, &portb3_pin1_config);
+
+ const port_pin_config_t LPSPI1_PCS3 = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTB4 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTB4 (pin 2) is configured as PTB4 */
+ PORT_SetPinConfig(BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS3_PORT, BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS3_PIN, &LPSPI1_PCS3);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLPUART0_RTS:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLPUART0_RTS_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '14', peripheral: LPUART0, signal: RTS, pin_signal: CMP1_IN0/PTA19/WUU0_P4/LPSPI0_SCK/LPUART0_RTS_b/LPI2C0_SCL/TPM0_CH2/RF_GPO_1, eft_interrupt: disable,
+ pull_select: down, pull_enable: disable, pull_value: low, slew_rate: fast, passive_filter: disable, open_drain: disable, drive_strength: low, drive_strength_1: normal}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLPUART0_RTS
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLPUART0_RTS(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ /* EFT detect interrupts configuration on PORTA */
+ PORT_DisableEFTDetectInterrupts(PORTA, 0x080000u);
+
+ const port_pin_config_t porta19_pin14_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as LPUART0_RTS_b */
+ (uint16_t)kPORT_MuxAlt3,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTA19 (pin 14) is configured as LPUART0_RTS_b */
+ PORT_SetPinConfig(PORTA, 19U, &porta19_pin14_config);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitPinLPUART0_CTS:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITPINLPUART0_CTS_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '13', peripheral: LPUART0, signal: CTS, pin_signal: CMP1_IN1/PTA18/LPSPI0_SOUT/LPUART0_CTS_b/LPI2C0_SDA/TPM0_CH3/RF_GPO_0/LPUART0_RX, eft_interrupt: disable,
+ pull_select: down, pull_enable: disable, pull_value: low, slew_rate: fast, passive_filter: disable, open_drain: disable, drive_strength: low, drive_strength_1: normal}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitPinLPUART0_CTS
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitPinLPUART0_CTS(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ /* EFT detect interrupts configuration on PORTA */
+ PORT_DisableEFTDetectInterrupts(PORTA, 0x040000u);
+
+ const port_pin_config_t porta18_pin13_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as LPUART0_CTS_b */
+ (uint16_t)kPORT_MuxAlt3,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTA18 (pin 13) is configured as LPUART0_CTS_b */
+ PORT_SetPinConfig(PORTA, 18U, &porta18_pin13_config);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLPUART0_RTS:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLPUART0_RTS_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '14', peripheral: GPIOA, signal: 'GPIO, 19', pin_signal: CMP1_IN0/PTA19/WUU0_P4/LPSPI0_SCK/LPUART0_RTS_b/LPI2C0_SCL/TPM0_CH2/RF_GPO_1, eft_interrupt: disable,
+ pull_select: down, pull_enable: disable, pull_value: low, slew_rate: fast, passive_filter: disable, open_drain: disable, drive_strength: low, drive_strength_1: normal}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLPUART0_RTS
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLPUART0_RTS(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ /* EFT detect interrupts configuration on PORTA */
+ PORT_DisableEFTDetectInterrupts(PORTA, 0x080000u);
+
+ const port_pin_config_t porta19_pin14_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTA19 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTA19 (pin 14) is configured as PTA19 */
+ PORT_SetPinConfig(PORTA, 19U, &porta19_pin14_config);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_UnInitPinLPUART0_CTS:
+- options: {callFromInitBoot: 'false', prefix: BOARD_UNINITPINLPUART0_CTS_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '13', peripheral: GPIOA, signal: 'GPIO, 18', pin_signal: CMP1_IN1/PTA18/LPSPI0_SOUT/LPUART0_CTS_b/LPI2C0_SDA/TPM0_CH3/RF_GPO_0/LPUART0_RX, eft_interrupt: disable,
+ pull_select: down, pull_enable: disable, pull_value: low, slew_rate: fast, passive_filter: disable, open_drain: disable, drive_strength: low, drive_strength_1: normal}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_UnInitPinLPUART0_CTS
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_UnInitPinLPUART0_CTS(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ /* EFT detect interrupts configuration on PORTA */
+ PORT_DisableEFTDetectInterrupts(PORTA, 0x040000u);
+
+ const port_pin_config_t porta18_pin13_config = {/* Internal pull-up/down resistor is disabled */
+ (uint16_t)kPORT_PullDisable,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* Low drive strength is configured */
+ (uint16_t)kPORT_LowDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as PTA18 */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTA18 (pin 13) is configured as PTA18 */
+ PORT_SetPinConfig(PORTA, 18U, &porta18_pin13_config);
+}
+
+/* clang-format off */
+/*
+ * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+BOARD_InitRFSwitchControlPins:
+- options: {callFromInitBoot: 'false', prefix: BOARD_INITRFSWITCHCONTROLPINS_, coreID: cm33, enableClock: 'true'}
+- pin_list:
+ - {pin_num: '13', peripheral: GPIOA, signal: 'GPIO, 18', pin_signal: CMP1_IN1/PTA18/LPSPI0_SOUT/LPUART0_CTS_b/LPI2C0_SDA/TPM0_CH3/RF_GPO_0/LPUART0_RX, identifier: RF_GPO_0,
+ direction: OUTPUT, gpio_init_state: 'false', pull_select: down, pull_enable: enable, pull_value: low, slew_rate: fast, passive_filter: disable, open_drain: disable,
+ drive_strength: high, drive_strength_1: normal}
+ - {pin_num: '14', peripheral: GPIOA, signal: 'GPIO, 19', pin_signal: CMP1_IN0/PTA19/WUU0_P4/LPSPI0_SCK/LPUART0_RTS_b/LPI2C0_SCL/TPM0_CH2/RF_GPO_1, identifier: RF_GPO_1,
+ direction: OUTPUT, gpio_init_state: 'true', pull_select: down, pull_enable: enable, pull_value: low, slew_rate: fast, passive_filter: disable, open_drain: disable,
+ drive_strength: high, drive_strength_1: normal}
+ - {pin_num: '17', peripheral: GPIOA, signal: 'GPIO, 20', pin_signal: ADC0_A14/CMP0_IN3/PTA20/LPSPI0_PCS2/LPUART0_TX/EWM0_IN/TPM0_CH1/RF_GPO_2/FLEXIO0_D7, identifier: RF_GPO_2,
+ direction: OUTPUT, gpio_init_state: 'false', pull_select: down, pull_enable: enable, slew_rate: fast, open_drain: disable, drive_strength: high}
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
+ */
+/* clang-format on */
+
+/* FUNCTION ************************************************************************************************************
+ *
+ * Function Name : BOARD_InitRFSwitchControlPins
+ * Description : Configures pin routing and optionally pin electrical features.
+ *
+ * END ****************************************************************************************************************/
+void BOARD_InitRFSwitchControlPins(void)
+{
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_GpioA);
+ /* Clock Configuration: Peripheral clocks are enabled; module does not stall low power mode entry */
+ CLOCK_EnableClock(kCLOCK_PortA);
+
+ gpio_pin_config_t RF_SW_CTL_config = {
+ .pinDirection = kGPIO_DigitalOutput,
+ .outputLogic = 0U
+ };
+
+ /* Initialize GPIO functionality on pin PTA18 (pin 13) */
+ GPIO_PinInit(BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_GPIO, BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_PIN, &RF_SW_CTL_config);
+ /* Initialize GPIO functionality on pin PTA20 (pin 17) */
+ GPIO_PinInit(BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_GPIO, BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_PIN, &RF_SW_CTL_config);
+
+ RF_SW_CTL_config.outputLogic = 1U;
+
+ /* Initialize GPIO functionality on pin PTA19 (pin 14) */
+ GPIO_PinInit(BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_GPIO, BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_PIN, &RF_SW_CTL_config);
+
+ const port_pin_config_t RF_SW_CTL = {/* Internal pull-up resistor is enabled */
+ (uint16_t)kPORT_PullDown,
+ /* Low internal pull resistor value is selected. */
+ (uint16_t)kPORT_LowPullResistor,
+ /* Fast slew rate is configured */
+ (uint16_t)kPORT_FastSlewRate,
+ /* Passive input filter is disabled */
+ (uint16_t)kPORT_PassiveFilterDisable,
+ /* Open drain output is disabled */
+ (uint16_t)kPORT_OpenDrainDisable,
+ /* High drive strength is configured */
+ (uint16_t)kPORT_HighDriveStrength,
+ /* Normal drive strength is configured */
+ (uint16_t)kPORT_NormalDriveStrength,
+ /* Pin is configured as RF_GPO */
+ (uint16_t)kPORT_MuxAsGpio,
+ /* Pin Control Register fields [15:0] are not locked */
+ (uint16_t)kPORT_UnlockRegister};
+ /* PORTA18 (pin 13) is configured as RF_GPO_0 */
+ PORT_SetPinConfig(BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_PORT, BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_PIN, &RF_SW_CTL);
+ /* PORTA19 (pin 14) is configured as RF_GPO_1 */
+ PORT_SetPinConfig(BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_PORT, BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_PIN, &RF_SW_CTL);
+ /* PORTA20 (pin 17) is configured as RF_GPO_2 */
+ PORT_SetPinConfig(BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_PORT, BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_PIN, &RF_SW_CTL);
+}
+/***********************************************************************************************************************
+ * EOF
+ **********************************************************************************************************************/
diff --git a/boards/kw45_k32w1/KW45B41Z83_LOC/pin_mux.h b/boards/kw45_k32w1/KW45B41Z83_LOC/pin_mux.h
new file mode 100644
index 0000000..dbfd4ab
--- /dev/null
+++ b/boards/kw45_k32w1/KW45B41Z83_LOC/pin_mux.h
@@ -0,0 +1,419 @@
+/*
+ * Copyright 2023-2024 NXP
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+/***********************************************************************************************************************
+ * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
+ * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
+ **********************************************************************************************************************/
+
+#ifndef _PIN_MUX_H_
+#define _PIN_MUX_H_
+
+/*!
+ * @addtogroup pin_mux
+ * @{
+ */
+
+/***********************************************************************************************************************
+ * API
+ **********************************************************************************************************************/
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+
+/*! @name PORTC1 (number 38), SW2
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITPINBUTTON0_SW2_GPIO GPIOC /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITPINBUTTON0_SW2_GPIO_PIN_MASK (1U << 1U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITPINBUTTON0_SW2_PORT PORTC /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITPINBUTTON0_SW2_PIN 1U /*!<@brief PORT pin number */
+#define BOARD_INITPINBUTTON0_SW2_PIN_MASK (1U << 1U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinButton0(void);
+
+/*! @name PORTC7 (number 45), SW3
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITPINBUTTON1_SW3_GPIO GPIOC /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITPINBUTTON1_SW3_GPIO_PIN_MASK (1U << 7U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITPINBUTTON1_SW3_PORT PORTC /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITPINBUTTON1_SW3_PIN 7U /*!<@brief PORT pin number */
+#define BOARD_INITPINBUTTON1_SW3_PIN_MASK (1U << 7U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinButton1(void);
+
+/*! @name PORTA4 (number 10), SWO
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITPINSWO_GPIO GPIOA /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITPINSWO_GPIO_PIN_MASK (1U << 4U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITPINSWO_PORT PORTA /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITPINSWO_PIN 4U /*!<@brief PORT pin number */
+#define BOARD_INITPINSWO_PIN_MASK (1U << 4U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinSWO(void);
+
+/*! @name PORTC0 (number 37), LED1_R
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITPINLED1_LED1_GPIO GPIOC /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITPINLED1_LED1_GPIO_PIN_MASK (1U << 0U) /*!<@brief GPIO pin mask */
+#define BOARD_MONOCHROME_GPIO_PIN_DEFAULT_STATE 0U /*!<@brief GPIO default state */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITPINLED1_LED1_PORT PORTC /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITPINLED1_LED1_PIN 0U /*!<@brief PORT pin number */
+#define BOARD_INITPINLED1_LED1_PIN_MASK (1U << 0U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinLED1(void);
+
+/*! @name PORTC6 (number 44), LED2_Y
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITPINLED2_LED2_Y_GPIO GPIOC /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITPINLED2_LED2_Y_GPIO_PIN_MASK (1U << 6U) /*!<@brief GPIO pin mask */
+#define BOARD_RGB_RED_GPIO_PIN_DEFAULT_STATE 0U /*!<@brief GPIO default state */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITPINLED2_LED2_Y_PORT PORTC /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITPINLED2_LED2_Y_PIN 6U /*!<@brief PORT pin number */
+#define BOARD_INITPINLED2_LED2_Y_PIN_MASK (1U << 6U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinLED2(void);
+
+#define BOARD_RGB_GREEN_GPIO_PIN_DEFAULT_STATE 0U /*!<@brief GPIO default state */
+/*!
+ * @brief Not supported on this board. Keep for compatibility.
+ *
+ */
+void BOARD_InitPinLED3(void);
+
+#define BOARD_RGB_BLUE_GPIO_PIN_DEFAULT_STATE 0U /*!<@brief GPIO default state */
+/*!
+ * @brief Not supported on this board. Keep for compatibility.
+ *
+ */
+void BOARD_InitPinLED4(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinLPUART0_RX(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinLPUART0_TX(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinLPUART1_RX(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinLPUART1_TX(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinLPUART0_RX(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinLPUART0_TX(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinLPUART1_RX(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinLPUART1_TX(void);
+
+/*! @name PORTC7 (number 45), SW3
+ @{ */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_UNINITPINBUTTON1_SW3_PORT PORTC /*!<@brief PORT peripheral base pointer */
+#define BOARD_UNINITPINBUTTON1_SW3_PIN 7U /*!<@brief PORT pin number */
+#define BOARD_UNINITPINBUTTON1_SW3_PIN_MASK (1U << 7U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinButton1(void);
+
+/*! @name PORTC1 (number 38), SW2
+ @{ */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_UNINITPINBUTTON0_SW2_PORT PORTC /*!<@brief PORT peripheral base pointer */
+#define BOARD_UNINITPINBUTTON0_SW2_PIN 1U /*!<@brief PORT pin number */
+#define BOARD_UNINITPINBUTTON0_SW2_PIN_MASK (1U << 1U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinButton0(void);
+
+/*! @name PORTA4 (number 10), SWO
+ @{ */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_UNINITPINSWO_PORT PORTA /*!<@brief PORT peripheral base pointer */
+#define BOARD_UNINITPINSWO_PIN 4U /*!<@brief PORT pin number */
+#define BOARD_UNINITPINSWO_PIN_MASK (1U << 4U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinSWO(void);
+
+
+/*! @name PORTC0 (number 37), LED1_R
+ @{ */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_UNINITPINLED1_LED1_R_PORT PORTC /*!<@brief PORT peripheral base pointer */
+#define BOARD_UNINITPINLED1_LED1_R_PIN 0U /*!<@brief PORT pin number */
+#define BOARD_UNINITPINLED1_LED1_R_PIN_MASK (1U << 0U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinLED1(void);
+
+/*! @name PORTC6 (number 44), LED2_Y
+ @{ */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_UNINITPINLED2_LED2_Y_PORT PORTC /*!<@brief PORT peripheral base pointer */
+#define BOARD_UNINITPINLED2_LED2_Y_PIN 6U /*!<@brief PORT pin number */
+#define BOARD_UNINITPINLED2_LED2_Y_PIN_MASK (1U << 6U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinLED2(void);
+
+/*!
+ * @brief Not supported on this board. Keep for compatibility.
+ *
+ */
+void BOARD_UnInitPinLED3(void);
+
+/*!
+ * @brief Not supported on this board. Keep for compatibility.
+ *
+ */
+void BOARD_UnInitPinLED4(void);
+
+/*! @name PORTB0 (number 46), LED1/LPSPI1_PCS0
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS0_GPIO GPIOB /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS0_GPIO_PIN_MASK (1U << 0U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS0_PORT PORTB /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS0_PIN 0U /*!<@brief PORT pin number */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS0_PIN_MASK (1U << 0U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*! @name PORTB4 (number 2), LPSPI1_PCS3
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS3_GPIO GPIOB /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS3_GPIO_PIN_MASK (1U << 4U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS3_PORT PORTB /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS3_PIN 4U /*!<@brief PORT pin number */
+#define BOARD_INITEXTFLASHPINS_LPSPI1_PCS3_PIN_MASK (1U << 4U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitExtFlashPins(void);
+
+/*! @name PORTB0 (number 46), LPSPI1_PCS0
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS0_GPIO GPIOB /*!<@brief GPIO peripheral base pointer */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS0_GPIO_PIN_MASK (1U << 0U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS0_PORT PORTB /*!<@brief PORT peripheral base pointer */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS0_PIN 0U /*!<@brief PORT pin number */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS0_PIN_MASK (1U << 0U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*! @name PORTB4 (number 2), LPSPI1_PCS3
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS3_GPIO GPIOB /*!<@brief GPIO peripheral base pointer */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS3_GPIO_PIN_MASK (1U << 4U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS3_PORT PORTB /*!<@brief PORT peripheral base pointer */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS3_PIN 4U /*!<@brief PORT pin number */
+#define BOARD_DEINITEXTFLASHPINS_LPSPI1_PCS3_PIN_MASK (1U << 4U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_DeinitExtFlashPins(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinLPUART0_RTS(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitPinLPUART0_CTS(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinLPUART0_RTS(void);
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_UnInitPinLPUART0_CTS(void);
+
+/*! @name PORTA18 (number 13), BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_GPIO
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_GPIO GPIOA /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_GPIO_PIN_MASK (1U << 18U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_PORT PORTA /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_PIN 18U /*!<@brief PORT pin number */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_0_PIN_MASK (1U << 18U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*! @name PORTA19 (number 14), BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_GPIO
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_GPIO GPIOA /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_GPIO_PIN_MASK (1U << 19U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_PORT PORTA /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_PIN 19U /*!<@brief PORT pin number */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_1_PIN_MASK (1U << 19U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*! @name PORTA20 (number 17), BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_GPIO
+ @{ */
+
+/* Symbols to be used with GPIO driver */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_GPIO GPIOA /*!<@brief GPIO peripheral base pointer */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_GPIO_PIN_MASK (1U << 20U) /*!<@brief GPIO pin mask */
+
+/* Symbols to be used with PORT driver */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_PORT PORTA /*!<@brief PORT peripheral base pointer */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_PIN 20U /*!<@brief PORT pin number */
+#define BOARD_INITRFSWITCHCONTROLPINS_RF_GPO_2_PIN_MASK (1U << 20U) /*!<@brief PORT pin mask */
+ /* @} */
+
+/*!
+ * @brief Configures pin routing and optionally pin electrical features.
+ *
+ */
+void BOARD_InitRFSwitchControlPins(void);
+
+#if defined(__cplusplus)
+}
+#endif
+
+/*!
+ * @}
+ */
+#endif /* _PIN_MUX_H_ */
+
+/***********************************************************************************************************************
+ * EOF
+ **********************************************************************************************************************/
diff --git a/manifests/middleware_nxp_conn_fwk_K32W1480_manifest_v3_14.xml b/manifests/middleware_nxp_conn_fwk_K32W1480_manifest_v3_14.xml
index 72d342b..b628868 100644
--- a/manifests/middleware_nxp_conn_fwk_K32W1480_manifest_v3_14.xml
+++ b/manifests/middleware_nxp_conn_fwk_K32W1480_manifest_v3_14.xml
@@ -586,7 +586,7 @@
-
+
@@ -1246,7 +1246,7 @@
-
+
diff --git a/manifests/middleware_nxp_conn_fwk_KW45B41Z83_manifest_v3_14.xml b/manifests/middleware_nxp_conn_fwk_KW45B41Z83_manifest_v3_14.xml
index c85ac59..e0ffc6f 100644
--- a/manifests/middleware_nxp_conn_fwk_KW45B41Z83_manifest_v3_14.xml
+++ b/manifests/middleware_nxp_conn_fwk_KW45B41Z83_manifest_v3_14.xml
@@ -586,7 +586,7 @@
-
+
@@ -1246,7 +1246,7 @@
-
+
diff --git a/manifests/middleware_nxp_conn_fwk_MCXW716C_manifest_v3_14.xml b/manifests/middleware_nxp_conn_fwk_MCXW716C_manifest_v3_14.xml
index d3bc4a7..1aa26de 100644
--- a/manifests/middleware_nxp_conn_fwk_MCXW716C_manifest_v3_14.xml
+++ b/manifests/middleware_nxp_conn_fwk_MCXW716C_manifest_v3_14.xml
@@ -586,7 +586,7 @@
-
+
@@ -1246,7 +1246,7 @@
-
+
diff --git a/manifests/middleware_nxp_conn_fwk_RW612_manifest_v3_14.xml b/manifests/middleware_nxp_conn_fwk_RW612_manifest_v3_14.xml
index eab2035..bfa835f 100644
--- a/manifests/middleware_nxp_conn_fwk_RW612_manifest_v3_14.xml
+++ b/manifests/middleware_nxp_conn_fwk_RW612_manifest_v3_14.xml
@@ -595,7 +595,7 @@
-
+
@@ -1423,7 +1423,7 @@
-
+
diff --git a/set_middleware_wireless_framework.cmake b/set_middleware_wireless_framework.cmake
index 9d91d56..3f674c2 100644
--- a/set_middleware_wireless_framework.cmake
+++ b/set_middleware_wireless_framework.cmake
@@ -1,10 +1,10 @@
include_guard(GLOBAL)
-if (CONFIG_USE_middleware_wireless_framework_CMake_rw61x_frdmrw612)
-# Add set(CONFIG_USE_middleware_wireless_framework_CMake_rw61x_frdmrw612 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_CMake_connected_mcu_kw45_k32w1)
+# Add set(CONFIG_USE_middleware_wireless_framework_CMake_connected_mcu_kw45_k32w1 true) in config.cmake to use this component
-message("middleware_wireless_framework_CMake_rw61x_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_CMake_connected_mcu_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
endif()
@@ -364,10 +364,10 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_PDUM_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_PDUM_rw61x true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_PDUM_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_PDUM_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_PDUM_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_PDUM_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/PDUM/Include
@@ -506,7 +506,7 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
-Wl,--start-group
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33.a
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33_nodsp.a
-Wl,--end-group
)
endif()
@@ -515,35 +515,32 @@ endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_base_frdmrw612)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_base_frdmrw612 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_base_kw45_k32w1)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_base_kw45_k32w1 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_base_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_base_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/board.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/clock_config.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/hardware_init.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/pin_mux.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/app_services_init.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/hardware_init.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_common_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_common_rw61x true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_common_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_common_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_common_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_common_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_hdlc.c
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_coex.c
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_ot.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ot.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
@@ -554,14 +551,10 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_coex_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu true) in config.cmake to use this component
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_coex.c
-)
+message("middleware_wireless_framework_platform_coex_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/platform/include
@@ -571,43 +564,47 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_internal_flash_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_internal_flash_rw61x true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_internal_flash_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_internal_flash_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_internal_flash_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_internal_flash_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_intflash.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_rng_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_rng_rw61x true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_rng_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_rng_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_rng_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_rng_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_rng.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_rng.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_zb_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_zb_rw61x true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_zb_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_zb_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_zb_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_zb_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_zb.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_zb.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
@@ -618,90 +615,94 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_lp_frdmrw612)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_lp_frdmrw612 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_lp_kw45_k32w1)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_lp_kw45_k32w1 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_lp_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_lp_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612/board_lp.c
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/board_lp.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_dcdc_frdmrw612)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_dcdc_frdmrw612 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_dcdc_kw45_k32w1)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_dcdc_kw45_k32w1 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_dcdc_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_dcdc_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/board_dcdc.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_platform_frdmrw612)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_platform_frdmrw612 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_platform_kw45_k32w1)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_platform_kw45_k32w1 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_platform_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_platform_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_comp_frdmrw612)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_comp_frdmrw612 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_comp_kw45_k32w1)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_comp_kw45_k32w1 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_comp_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_comp_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612/board_comp.c
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/board_comp.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_extflash_frdmrw612)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_extflash_frdmrw612 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_extflash_kw45_k32w1)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_extflash_kw45_k32w1 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_extflash_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_extflash_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/board_extflash.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_lfs_config_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_lfs_config_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_lfs_config_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_lfs_config_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_lfs_config_connected_mcu true) in config.cmake to use this component
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/configs/fwk_lfs_config.c
-)
+message("middleware_wireless_framework_lfs_config_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/configs
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/configs
)
if(CONFIG_USE_COMPONENT_CONFIGURATION)
@@ -717,63 +718,70 @@ endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_fpga_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_fpga_rw61x true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_fpga_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_fpga_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_fpga_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_fpga_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_fpga.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_matter_config_frdmrw612)
-# Add set(CONFIG_USE_middleware_wireless_framework_matter_config_frdmrw612 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_matter_config_kw45_k32w1)
+# Add set(CONFIG_USE_middleware_wireless_framework_matter_config_kw45_k32w1 true) in config.cmake to use this component
-message("middleware_wireless_framework_matter_config_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_matter_config_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/board.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/board_comp.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/board_lp.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board_comp.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board_dcdc.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board_lp.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board_extflash.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612
- ${CMAKE_CURRENT_LIST_DIR}/./Common/devices/frdmrw612/gcc
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1
+ ${CMAKE_CURRENT_LIST_DIR}/./Common/devices/kw45_k32w1/gcc
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_init_config_frdmrw612)
-# Add set(CONFIG_USE_middleware_wireless_framework_init_config_frdmrw612 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_init_config_kw45_k32w1)
+# Add set(CONFIG_USE_middleware_wireless_framework_init_config_kw45_k32w1 true) in config.cmake to use this component
-message("middleware_wireless_framework_init_config_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_init_config_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612/hardware_init.c
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/app_services_init.c
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/hardware_init.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
+ ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_mbedtls_config_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_mbedtls_config_rw61x true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_mbedtls_config_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_mbedtls_config_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_mbedtls_config_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_mbedtls_config_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/configs
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/configs
)
@@ -801,19 +809,19 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_CMake_connected_mcu_kw45_k32w1)
-# Add set(CONFIG_USE_middleware_wireless_framework_CMake_connected_mcu_kw45_k32w1 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_CMake_rw61x_frdmrw612)
+# Add set(CONFIG_USE_middleware_wireless_framework_CMake_rw61x_frdmrw612 true) in config.cmake to use this component
-message("middleware_wireless_framework_CMake_connected_mcu_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_CMake_rw61x_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
endif()
-if (CONFIG_USE_middleware_wireless_framework_PDUM_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_PDUM_connected_mcu true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_PDUM_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_PDUM_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_PDUM_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_PDUM_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/PDUM/Include
@@ -823,32 +831,35 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_base_kw45_k32w1)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_base_kw45_k32w1 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_base_frdmrw612)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_base_frdmrw612 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_base_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_base_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/app_services_init.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/hardware_init.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/board.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/clock_config.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/hardware_init.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/pin_mux.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_common_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_common_connected_mcu true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_common_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_common_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_common_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_common_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ot.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_hdlc.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_coex.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_ot.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
@@ -859,10 +870,14 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_coex_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_coex_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_coex.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/platform/include
@@ -872,47 +887,43 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_internal_flash_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_internal_flash_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_internal_flash_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_platform_internal_flash_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_internal_flash_rw61x true) in config.cmake to use this component
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_intflash.c
-)
+message("middleware_wireless_framework_platform_internal_flash_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_rng_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_rng_connected_mcu true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_rng_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_rng_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_rng_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_rng_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_rng.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_rng.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_zb_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_zb_connected_mcu true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_zb_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_zb_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_zb_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_zb_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_zb.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_zb.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
@@ -923,94 +934,90 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_lp_kw45_k32w1)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_lp_kw45_k32w1 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_lp_frdmrw612)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_lp_frdmrw612 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_lp_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_lp_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/board_lp.c
+ ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612/board_lp.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
+ ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_dcdc_kw45_k32w1)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_dcdc_kw45_k32w1 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_board_dcdc_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_board_dcdc_frdmrw612)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_dcdc_frdmrw612 true) in config.cmake to use this component
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/board_dcdc.c
-)
+message("middleware_wireless_framework_board_dcdc_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
+ ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_platform_kw45_k32w1)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_platform_kw45_k32w1 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_platform_frdmrw612)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_platform_frdmrw612 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_platform_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_platform_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
+ ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_comp_kw45_k32w1)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_comp_kw45_k32w1 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_board_comp_frdmrw612)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_comp_frdmrw612 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_comp_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_board_comp_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/board_comp.c
+ ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612/board_comp.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
+ ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_extflash_kw45_k32w1)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_extflash_kw45_k32w1 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_board_extflash_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_board_extflash_frdmrw612)
+# Add set(CONFIG_USE_middleware_wireless_framework_board_extflash_frdmrw612 true) in config.cmake to use this component
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/board_extflash.c
-)
+message("middleware_wireless_framework_board_extflash_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
+ ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_lfs_config_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_lfs_config_connected_mcu true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_lfs_config_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_lfs_config_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_lfs_config_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_lfs_config_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/configs/fwk_lfs_config.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/configs
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/configs
)
if(CONFIG_USE_COMPONENT_CONFIGURATION)
@@ -1026,70 +1033,63 @@ endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_fpga_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_fpga_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_fpga_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_platform_fpga_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_fpga_rw61x true) in config.cmake to use this component
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_fpga.c
-)
+message("middleware_wireless_framework_platform_fpga_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_matter_config_kw45_k32w1)
-# Add set(CONFIG_USE_middleware_wireless_framework_matter_config_kw45_k32w1 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_matter_config_frdmrw612)
+# Add set(CONFIG_USE_middleware_wireless_framework_matter_config_frdmrw612 true) in config.cmake to use this component
-message("middleware_wireless_framework_matter_config_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_matter_config_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board_comp.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board_dcdc.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board_lp.c
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1/board_extflash.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/board.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/board_comp.c
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612/board_lp.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/./boards/kw45_k32w1
- ${CMAKE_CURRENT_LIST_DIR}/./Common/devices/kw45_k32w1/gcc
+ ${CMAKE_CURRENT_LIST_DIR}/./boards/frdmrw612
+ ${CMAKE_CURRENT_LIST_DIR}/./Common/devices/frdmrw612/gcc
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_init_config_kw45_k32w1)
-# Add set(CONFIG_USE_middleware_wireless_framework_init_config_kw45_k32w1 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_init_config_frdmrw612)
+# Add set(CONFIG_USE_middleware_wireless_framework_init_config_frdmrw612 true) in config.cmake to use this component
-message("middleware_wireless_framework_init_config_kw45_k32w1 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_init_config_frdmrw612 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/app_services_init.c
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1/hardware_init.c
+ ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612/hardware_init.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/kw45_k32w1
+ ${CMAKE_CURRENT_LIST_DIR}/boards/frdmrw612
)
endif()
-if (CONFIG_USE_middleware_wireless_framework_mbedtls_config_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_mbedtls_config_connected_mcu true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_mbedtls_config_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_mbedtls_config_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_mbedtls_config_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_mbedtls_config_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/configs
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/configs
)
@@ -1237,1979 +1237,197 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_base_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_base_MIMXRT1062 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_RNG)
+# Add set(CONFIG_USE_middleware_wireless_framework_RNG true) in config.cmake to use this component
+
+message("middleware_wireless_framework_RNG component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+if(CONFIG_USE_middleware_wireless_framework_platform_rng_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_rng_connected_mcu)
-message("middleware_wireless_framework_board_base_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/RNG/RNG.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/./boards/MIMXRT1062
+ ${CMAKE_CURRENT_LIST_DIR}/RNG/.
)
+else()
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_common_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_common_rt1060 true) in config.cmake to use this component
+message(SEND_ERROR "middleware_wireless_framework_RNG dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-message("middleware_wireless_framework_platform_common_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+endif()
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
-)
+endif()
-endif()
+if (CONFIG_USE_middleware_wireless_framework_OtaSupport)
+# Add set(CONFIG_USE_middleware_wireless_framework_OtaSupport true) in config.cmake to use this component
+message("middleware_wireless_framework_OtaSupport component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if (CONFIG_USE_middleware_wireless_framework_platform_coex_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_coex_rt1060 true) in config.cmake to use this component
+if((CONFIG_USE_middleware_wireless_framework_platform_ota_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_ota_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_extflash_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_extflash_connected_mcu) AND ((CONFIG_USE_middleware_wireless_framework_OtaSupport_Internal AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA)) OR ((CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610))))
-message("middleware_wireless_framework_platform_coex_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source/OtaSupport.c
+ ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source/OtaExternalFlash.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
+ ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Interface
+ ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source
)
+else()
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_internal_flash_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_internal_flash_rt1060 true) in config.cmake to use this component
+message(SEND_ERROR "middleware_wireless_framework_OtaSupport dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-message("middleware_wireless_framework_platform_internal_flash_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+endif()
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
-)
+endif()
-endif()
+if (CONFIG_USE_middleware_wireless_framework_OtaSupport_Internal)
+# Add set(CONFIG_USE_middleware_wireless_framework_OtaSupport_Internal true) in config.cmake to use this component
+message("middleware_wireless_framework_OtaSupport_Internal component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if (CONFIG_USE_middleware_wireless_framework_platform_rng_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_rng_rt1060 true) in config.cmake to use this component
+if((((CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
-message("middleware_wireless_framework_platform_rng_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source/OtaInternalFlash.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Interface
+ ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source
)
+else()
+
+message(SEND_ERROR "middleware_wireless_framework_OtaSupport_Internal dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+
+endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_zb_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_zb_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_sbtsnoop)
+# Add set(CONFIG_USE_middleware_wireless_framework_sbtsnoop true) in config.cmake to use this component
+
+message("middleware_wireless_framework_sbtsnoop component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+if(CONFIG_USE_middleware_wireless_framework_sbtsnoop_ethermind_port OR CONFIG_USE_middleware_wireless_framework_sbtsnoop_nxp_ble_port)
-message("middleware_wireless_framework_platform_zb_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/DBG/sbtsnoop/sbtsnoop.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
+ ${CMAKE_CURRENT_LIST_DIR}/DBG/sbtsnoop/.
)
+else()
+
+message(SEND_ERROR "middleware_wireless_framework_sbtsnoop dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+
+endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_lp_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_lp_MIMXRT1062 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_fwk_debug)
+# Add set(CONFIG_USE_middleware_wireless_framework_fwk_debug true) in config.cmake to use this component
+
+message("middleware_wireless_framework_fwk_debug component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-message("middleware_wireless_framework_board_lp_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if(CONFIG_USE_middleware_wireless_framework_swo_dbg)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1062
+ ${CMAKE_CURRENT_LIST_DIR}/DBG/.
)
+else()
+
+message(SEND_ERROR "middleware_wireless_framework_fwk_debug dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+
+endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_board_dcdc_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_dcdc_MIMXRT1062 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_Sensors)
+# Add set(CONFIG_USE_middleware_wireless_Sensors true) in config.cmake to use this component
+
+message("middleware_wireless_Sensors component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+if(CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu)
-message("middleware_wireless_framework_board_dcdc_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/Sensors/sensors.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1062
+ ${CMAKE_CURRENT_LIST_DIR}/Sensors/.
)
+else()
+
+message(SEND_ERROR "middleware_wireless_Sensors dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
+endif()
-if (CONFIG_USE_middleware_wireless_framework_board_platform_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_platform_MIMXRT1062 true) in config.cmake to use this component
-message("middleware_wireless_framework_board_platform_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_freertos_heap)
+# Add set(CONFIG_USE_middleware_wireless_freertos_heap true) in config.cmake to use this component
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1062
-)
+message("middleware_wireless_freertos_heap component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if(CONFIG_USE_middleware_freertos-kernel)
-endif()
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/Common/rtos/freertos/heap_mem_manager.c
+)
+else()
-if (CONFIG_USE_middleware_wireless_framework_board_comp_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_comp_MIMXRT1062 true) in config.cmake to use this component
+message(SEND_ERROR "middleware_wireless_freertos_heap dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-message("middleware_wireless_framework_board_comp_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+endif()
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1062
-)
+endif()
-endif()
+if (CONFIG_USE_middleware_wireless_framework_freertos_utils)
+# Add set(CONFIG_USE_middleware_wireless_framework_freertos_utils true) in config.cmake to use this component
+message("middleware_wireless_framework_freertos_utils component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if (CONFIG_USE_middleware_wireless_framework_board_extflash_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_extflash_MIMXRT1062 true) in config.cmake to use this component
+if(CONFIG_USE_middleware_freertos-kernel AND (CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu))
-message("middleware_wireless_framework_board_extflash_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/Common/rtos/freertos/fwk_freertos_utils.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1062
+ ${CMAKE_CURRENT_LIST_DIR}/Common/rtos/freertos/.
)
+else()
+
+message(SEND_ERROR "middleware_wireless_framework_freertos_utils dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
+endif()
-if (CONFIG_USE_middleware_wireless_framework_lfs_config_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_lfs_config_rt1060 true) in config.cmake to use this component
-message("middleware_wireless_framework_lfs_config_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_LPM_KW45B41Z83)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_KW45B41Z83 true) in config.cmake to use this component
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060/configs
-)
-
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DLFS_CONFIG=fwk_lfs_config.h
- )
-
-endif()
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_fpga_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_fpga_rt1060 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_fpga_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_matter_config_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_matter_config_MIMXRT1062 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_matter_config_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/./boards/MIMXRT1062
- ${CMAKE_CURRENT_LIST_DIR}/./Common/devices/MIMXRT1062/gcc
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_init_config_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_init_config_MIMXRT1062 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_init_config_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1062
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_mbedtls_config_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_mbedtls_config_rt1060 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_mbedtls_config_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060/configs
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_CMake_rt1060_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_CMake_rt1060_MIMXRT1062 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_CMake_rt1060_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_PDUM_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_PDUM_rt1060 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_PDUM_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/PDUM/Include
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_board_base_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_base_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_board_base_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/./boards/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_common_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_common_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_common_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_coex_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_coex_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_coex_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_internal_flash_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_internal_flash_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_internal_flash_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_rng_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_rng_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_rng_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_zb_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_zb_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_zb_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_board_lp_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_lp_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_board_lp_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_board_dcdc_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_dcdc_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_board_dcdc_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_board_platform_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_platform_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_board_platform_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_board_comp_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_comp_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_board_comp_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_board_extflash_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_board_extflash_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_board_extflash_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_lfs_config_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_lfs_config_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_lfs_config_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176/configs
-)
-
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DLFS_CONFIG=fwk_lfs_config.h
- )
-
-endif()
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_fpga_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_fpga_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_fpga_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_matter_config_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_matter_config_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_matter_config_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/./boards/MIMXRT1176
- ${CMAKE_CURRENT_LIST_DIR}/./Common/devices/MIMXRT1176/gcc
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_init_config_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_init_config_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_init_config_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/boards/MIMXRT1176
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_mbedtls_config_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_mbedtls_config_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_mbedtls_config_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176/configs
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_CMake_MIMXRT1176_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_CMake_MIMXRT1176_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_CMake_MIMXRT1176_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_PDUM_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_PDUM_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_PDUM_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/PDUM/Include
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_common_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_common_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_common_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_coex_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_coex_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_coex_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_internal_flash_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_internal_flash_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_internal_flash_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_rng_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_rng_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_rng_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_zb_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_zb_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_zb_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_lfs_config_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_lfs_config_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_lfs_config_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170/configs
-)
-
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DLFS_CONFIG=fwk_lfs_config.h
- )
-
-endif()
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_fpga_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_fpga_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_fpga_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_mbedtls_config_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_mbedtls_config_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_mbedtls_config_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170/configs
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_CMake_rt1170_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_CMake_rt1170_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_CMake_rt1170_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_PDUM_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_PDUM_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_PDUM_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/PDUM/Include
-)
-
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_RNG)
-# Add set(CONFIG_USE_middleware_wireless_framework_RNG true) in config.cmake to use this component
-
-message("middleware_wireless_framework_RNG component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rng_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_rng_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/RNG/RNG.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/RNG/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_RNG dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_OtaSupport)
-# Add set(CONFIG_USE_middleware_wireless_framework_OtaSupport true) in config.cmake to use this component
-
-message("middleware_wireless_framework_OtaSupport component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_ota_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_ota_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_extflash_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_extflash_connected_mcu) AND ((CONFIG_USE_middleware_wireless_framework_OtaSupport_Internal AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA)) OR ((CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610))))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source/OtaSupport.c
- ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source/OtaExternalFlash.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Interface
- ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_OtaSupport dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_OtaSupport_Internal)
-# Add set(CONFIG_USE_middleware_wireless_framework_OtaSupport_Internal true) in config.cmake to use this component
-
-message("middleware_wireless_framework_OtaSupport_Internal component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((((CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source/OtaInternalFlash.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Interface
- ${CMAKE_CURRENT_LIST_DIR}/OtaSupport/Source
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_OtaSupport_Internal dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_sbtsnoop)
-# Add set(CONFIG_USE_middleware_wireless_framework_sbtsnoop true) in config.cmake to use this component
-
-message("middleware_wireless_framework_sbtsnoop component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_sbtsnoop_ethermind_port OR CONFIG_USE_middleware_wireless_framework_sbtsnoop_nxp_ble_port)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/DBG/sbtsnoop/sbtsnoop.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/DBG/sbtsnoop/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_sbtsnoop dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_fwk_debug)
-# Add set(CONFIG_USE_middleware_wireless_framework_fwk_debug true) in config.cmake to use this component
-
-message("middleware_wireless_framework_fwk_debug component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_swo_dbg)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/DBG/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_fwk_debug dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_Sensors)
-# Add set(CONFIG_USE_middleware_wireless_Sensors true) in config.cmake to use this component
-
-message("middleware_wireless_Sensors component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/Sensors/sensors.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/Sensors/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_Sensors dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_freertos_heap)
-# Add set(CONFIG_USE_middleware_wireless_freertos_heap true) in config.cmake to use this component
-
-message("middleware_wireless_freertos_heap component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_freertos-kernel)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/Common/rtos/freertos/heap_mem_manager.c
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_freertos_heap dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_freertos_utils)
-# Add set(CONFIG_USE_middleware_wireless_framework_freertos_utils true) in config.cmake to use this component
-
-message("middleware_wireless_framework_freertos_utils component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_freertos-kernel AND (CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/Common/rtos/freertos/fwk_freertos_utils.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/Common/rtos/freertos/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_freertos_utils dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_LPM_RW610)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_RW610 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_LPM_RW610 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
-)
-
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DHAL_UART_ADAPTER_LOWPOWER=1
- )
-
-endif()
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_LPM_RW610 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_RW610)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_RW610 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_LPM_systicks_RW610 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
-)
-
-if(CONFIG_USE_middleware_freertos-kernel)
- target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks.c
- )
-endif()
-
-if(CONFIG_USE_middleware_baremetal)
- target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks_bm.c
- )
-endif()
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
-)
-
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DHAL_UART_ADAPTER_LOWPOWER=1
- )
-
-endif()
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_RW610 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_LPM_cli_RW610)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_RW610 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_LPM_cli_RW610 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_LPM_RW610)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_cli.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_LPM_cli_RW610 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_fsabstraction)
-# Add set(CONFIG_USE_middleware_wireless_framework_fsabstraction true) in config.cmake to use this component
-
-message("middleware_wireless_framework_fsabstraction component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_fsabstraction_littlefs)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/FSAbstraction/fwk_fs_abstraction.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/FSAbstraction/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_fsabstraction dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_filecache)
-# Add set(CONFIG_USE_middleware_wireless_framework_filecache true) in config.cmake to use this component
-
-message("middleware_wireless_framework_filecache component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_fsabstraction)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/FileCache/fwk_file_cache.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/FileCache/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_filecache dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_keystorage)
-# Add set(CONFIG_USE_middleware_wireless_framework_keystorage true) in config.cmake to use this component
-
-message("middleware_wireless_framework_keystorage component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_filecache)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/KeyStorage/fwk_key_storage.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/KeyStorage/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_keystorage dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_NVS)
-# Add set(CONFIG_USE_middleware_wireless_framework_NVS true) in config.cmake to use this component
-
-message("middleware_wireless_framework_NVS component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_ota_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_ota_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_extflash_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_extflash_connected_mcu) AND ((CONFIG_USE_middleware_wireless_framework_NVS_Internal AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA)) OR ((CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610))))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/nvs.c
- ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/fwk_nvs_flash.c
- ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/fwk_nvs_stats.c
- ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/fwk_nvs_ExternalFlash.c
- ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/crc8.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Interface
- ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_NVS dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_NVS_Internal)
-# Add set(CONFIG_USE_middleware_wireless_framework_NVS_Internal true) in config.cmake to use this component
-
-message("middleware_wireless_framework_NVS_Internal component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((((CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/NVS/Source/fwk_nvs_InternalFlash.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/NVS/Interface
- ${CMAKE_CURRENT_LIST_DIR}/NVS/Source
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_NVS_Internal dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_fwk_debug AND ((CONFIG_USE_component_timer_manager AND CONFIG_USE_component_ostimer_time_stamp_adapter AND (CONFIG_USE_component_mrt_adapter OR CONFIG_USE_component_ctimer_adapter) AND (CONFIG_USE_component_mflash_rdrw610 OR CONFIG_USE_component_mflash_frdmrw612) AND CONFIG_USE_middleware_mbedtls_port_els_pkc AND (CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610)) OR (CONFIG_USE_driver_trdc AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/configs
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_flash_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_flash_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_flash_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_flash.c
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_extflash.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
- ${CMAKE_CURRENT_LIST_DIR}/platform/Common
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_flash_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_extflash_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_extflash_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_extflash_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_extflash.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
- ${CMAKE_CURRENT_LIST_DIR}/platform/Common
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_extflash_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_sensors_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_sensors.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_sensors_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ota_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ota_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ota_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_ota.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ota_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ics_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ics_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ics_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x AND CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x AND CONFIG_USE_middleware_wireless_framework_SFC)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ics_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_lcl_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lcl_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_lcl_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_driver_trdc AND (CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu))
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_lcl_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_MWS)
-# Add set(CONFIG_USE_middleware_wireless_framework_MWS true) in config.cmake to use this component
-
-message("middleware_wireless_framework_MWS component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_mws_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_mws_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/MWSCoexistence/MWS.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/MWSCoexistence/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_MWS dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_MWS_Intercore)
-# Add set(CONFIG_USE_middleware_wireless_framework_MWS_Intercore true) in config.cmake to use this component
-
-message("middleware_wireless_framework_MWS_Intercore component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_mws_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_mws_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/MWSCoexistence/MWS_Intercore.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/MWSCoexistence/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_MWS_Intercore dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_mws_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_mws_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_mws_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_mws_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ble_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ble_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ble_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_ble.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ble_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_genfsk_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_genfsk_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_genfsk_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_genfsk_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ot_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ot_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ot_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_ot.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ot_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_lowpower_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_lowpower.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_lowpower_timer_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_timer_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_reset_rw61x)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_reset_rw61x true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_reset_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_reset_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m33_nodsp)
-# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m33_nodsp true) in config.cmake to use this component
-
-message("middleware_wireless_framework_sec_lib_mbedtls_m33_nodsp component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_mbedtls_config_rw61x OR CONFIG_USE_middleware_wireless_framework_mbedtls_config_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_mbedTLS.c
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_aes_mmo.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/.
-)
-
-if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
- target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
- -Wl,--start-group
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33_nodsp.a
- -Wl,--end-group
- )
-endif()
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_sec_lib_mbedtls_m33_nodsp dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m33_nodsp)
-# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m33_nodsp true) in config.cmake to use this component
-
-message("middleware_wireless_framework_sec_lib_sss_m33_nodsp component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_sss.c
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_aes_mmo.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/.
-)
-
-if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
- target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
- -Wl,--start-group
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33_nodsp.a
- -Wl,--end-group
- )
-endif()
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_sec_lib_sss_m33_nodsp dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_LPM_KW45B41Z83)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_KW45B41Z83 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_LPM_KW45B41Z83 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
-)
-
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DHAL_UART_ADAPTER_LOWPOWER=1
- )
-
-endif()
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_LPM_KW45B41Z83 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_KW45B41Z83)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_KW45B41Z83 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_LPM_systicks_KW45B41Z83 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
-)
-
-if(CONFIG_USE_middleware_freertos-kernel)
- target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks.c
- )
-endif()
-
-if(CONFIG_USE_middleware_baremetal)
- target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks_bm.c
- )
-endif()
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
-)
-
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DHAL_UART_ADAPTER_LOWPOWER=1
- )
-
-endif()
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_KW45B41Z83 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_LPM_cli_KW45B41Z83)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_KW45B41Z83 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_LPM_cli_KW45B41Z83 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_LPM_KW45B41Z83)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_cli.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_LPM_cli_KW45B41Z83 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_fwk_debug AND ((CONFIG_USE_component_timer_manager AND CONFIG_USE_component_ostimer_time_stamp_adapter AND (CONFIG_USE_component_mrt_adapter OR CONFIG_USE_component_ctimer_adapter) AND (CONFIG_USE_component_mflash_rdrw610 OR CONFIG_USE_component_mflash_frdmrw612) AND CONFIG_USE_middleware_mbedtls_port_els_pkc AND (CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610)) OR (CONFIG_USE_driver_trdc AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/configs
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_flash_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_flash_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_flash_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_extflash.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
- ${CMAKE_CURRENT_LIST_DIR}/platform/Common
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_flash_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_extflash_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_extflash_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_extflash_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_extflash.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
- ${CMAKE_CURRENT_LIST_DIR}/platform/Common
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_extflash_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_sensors_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_sensors.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_sensors_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ota_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ota_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ota_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ota.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ota_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ics_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ics_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ics_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_connected_mcu AND CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu AND CONFIG_USE_middleware_wireless_framework_SFC)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ics.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ics_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_lcl_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lcl_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_lcl_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_driver_trdc AND (CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_lcl.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_lcl_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_mws_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_mws_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_mws_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_mws.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_mws_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ble_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ble_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ble_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ble.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ble_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_genfsk_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_genfsk_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_genfsk_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_genfsk.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_genfsk_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ot_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ot_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ot_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ot.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ot_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_lowpower_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_lowpower.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_lowpower_timer_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_lowpower_timer.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_timer_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_reset_connected_mcu)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_reset_connected_mcu true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_reset_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_reset.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_reset_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m33)
-# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m33 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_sec_lib_mbedtls_m33 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_mbedtls_config_rw61x OR CONFIG_USE_middleware_wireless_framework_mbedtls_config_connected_mcu))
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_mbedTLS.c
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_aes_mmo.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/.
-)
-
-if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
- target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
- -Wl,--start-group
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33.a
- -Wl,--end-group
- )
-endif()
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_sec_lib_mbedtls_m33 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m33)
-# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m33 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_sec_lib_sss_m33 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_sss.c
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_aes_mmo.c
-)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/.
-)
-
-if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
- target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
- -Wl,--start-group
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33.a
- -Wl,--end-group
- )
-endif()
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_sec_lib_sss_m33 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_LPM_MCXW716C)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_MCXW716C true) in config.cmake to use this component
-
-message("middleware_wireless_framework_LPM_MCXW716C component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_KW45B41Z83 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
@@ -3232,17 +1450,17 @@ endif()
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_MCXW716C dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_KW45B41Z83 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_MCXW716C)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_MCXW716C true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_KW45B41Z83)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_KW45B41Z83 true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_systicks_MCXW716C component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_systicks_KW45B41Z83 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
@@ -3277,19 +1495,19 @@ endif()
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_MCXW716C dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_KW45B41Z83 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_cli_MCXW716C)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_MCXW716C true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_cli_KW45B41Z83)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_KW45B41Z83 true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_cli_MCXW716C component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_cli_KW45B41Z83 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_LPM_MCXW716C)
+if(CONFIG_USE_middleware_wireless_framework_LPM_KW45B41Z83)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_cli.c
@@ -3301,415 +1519,531 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_cli_MCXW716C dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_cli_KW45B41Z83 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_K32W1480)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_K32W1480 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_fsabstraction)
+# Add set(CONFIG_USE_middleware_wireless_framework_fsabstraction true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_K32W1480 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_fsabstraction component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
+if(CONFIG_USE_middleware_wireless_framework_fsabstraction_littlefs)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
+ ${CMAKE_CURRENT_LIST_DIR}/FSAbstraction/fwk_fs_abstraction.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
+ ${CMAKE_CURRENT_LIST_DIR}/FSAbstraction/.
)
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
+else()
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DHAL_UART_ADAPTER_LOWPOWER=1
- )
+message(SEND_ERROR "middleware_wireless_framework_fsabstraction dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+
+endif()
endif()
+
+if (CONFIG_USE_middleware_wireless_framework_filecache)
+# Add set(CONFIG_USE_middleware_wireless_framework_filecache true) in config.cmake to use this component
+
+message("middleware_wireless_framework_filecache component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+if(CONFIG_USE_middleware_wireless_framework_fsabstraction)
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/FileCache/fwk_file_cache.c
+)
+
+target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}/FileCache/.
+)
+
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_K32W1480 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_filecache dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_K32W1480)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_K32W1480 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_keystorage)
+# Add set(CONFIG_USE_middleware_wireless_framework_keystorage true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_systicks_K32W1480 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_keystorage component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
+if(CONFIG_USE_middleware_wireless_framework_filecache)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
+ ${CMAKE_CURRENT_LIST_DIR}/KeyStorage/fwk_key_storage.c
)
-if(CONFIG_USE_middleware_freertos-kernel)
- target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks.c
- )
+target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}/KeyStorage/.
+)
+
+else()
+
+message(SEND_ERROR "middleware_wireless_framework_keystorage dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+
endif()
-if(CONFIG_USE_middleware_baremetal)
- target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks_bm.c
- )
endif()
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
-)
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
+if (CONFIG_USE_middleware_wireless_framework_NVS)
+# Add set(CONFIG_USE_middleware_wireless_framework_NVS true) in config.cmake to use this component
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DHAL_UART_ADAPTER_LOWPOWER=1
- )
+message("middleware_wireless_framework_NVS component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-endif()
+if((CONFIG_USE_middleware_wireless_framework_platform_ota_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_ota_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_extflash_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_extflash_connected_mcu) AND ((CONFIG_USE_middleware_wireless_framework_NVS_Internal AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA)) OR ((CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610))))
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/nvs.c
+ ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/fwk_nvs_flash.c
+ ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/fwk_nvs_stats.c
+ ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/fwk_nvs_ExternalFlash.c
+ ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source/crc8.c
+)
+
+target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Interface
+ ${CMAKE_CURRENT_LIST_DIR}/../framework/NVS/Source
+)
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_K32W1480 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_NVS dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_cli_K32W1480)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_K32W1480 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_NVS_Internal)
+# Add set(CONFIG_USE_middleware_wireless_framework_NVS_Internal true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_cli_K32W1480 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_NVS_Internal component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_LPM_K32W1480)
+if((((CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_cli.c
+ ${CMAKE_CURRENT_LIST_DIR}/NVS/Source/fwk_nvs_InternalFlash.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
+ ${CMAKE_CURRENT_LIST_DIR}/NVS/Interface
+ ${CMAKE_CURRENT_LIST_DIR}/NVS/Source
)
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_cli_K32W1480 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_NVS_Internal dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_fwk_debug AND ((CONFIG_USE_component_timer_manager AND CONFIG_USE_component_ostimer_time_stamp_adapter AND (CONFIG_USE_component_mrt_adapter OR CONFIG_USE_component_ctimer_adapter) AND (CONFIG_USE_component_mflash_rdrw610 OR CONFIG_USE_component_mflash_frdmrw612) AND CONFIG_USE_middleware_mbedtls_port_els_pkc AND (CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610)) OR (CONFIG_USE_driver_trdc AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060/fwk_platform.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/platform/include
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060/configs
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/configs
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_flash_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_flash_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_flash_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_flash_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_flash_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_flash_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_platform_rt1060)
+if(CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060/fwk_platform_flash.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_extflash.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
${CMAKE_CURRENT_LIST_DIR}/platform/Common
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_flash_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_flash_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_extflash_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_extflash_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_extflash_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_extflash_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_extflash_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_extflash_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_extflash.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
${CMAKE_CURRENT_LIST_DIR}/platform/Common
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_extflash_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_extflash_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_sensors_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_sensors_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_sensors_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_sensors_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_sensors.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_sensors_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_sensors_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ota_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ota_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_ota_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_ota_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_ota_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_ota_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060/fwk_platform_ota.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ota.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_ota_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_ota_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ics_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ics_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_ics_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_ics_connected_mcu true) in config.cmake to use this component
+
+message("middleware_wireless_framework_platform_ics_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-message("middleware_wireless_framework_platform_ics_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if(CONFIG_USE_middleware_wireless_framework_platform_connected_mcu AND CONFIG_USE_middleware_wireless_framework_platform_sensors_connected_mcu AND CONFIG_USE_middleware_wireless_framework_SFC)
-if(CONFIG_USE_middleware_wireless_framework_platform_rt1060 AND CONFIG_USE_middleware_wireless_framework_platform_sensors_rt1060 AND CONFIG_USE_middleware_wireless_framework_SFC)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ics.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_ics_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_ics_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_lcl_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lcl_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_lcl_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_lcl_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_lcl_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_lcl_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_driver_trdc AND (CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu))
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_lcl.c
+)
+
+target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
+)
+
+else()
+
+message(SEND_ERROR "middleware_wireless_framework_platform_lcl_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+
+endif()
+
+endif()
+
+
+if (CONFIG_USE_middleware_wireless_framework_MWS)
+# Add set(CONFIG_USE_middleware_wireless_framework_MWS true) in config.cmake to use this component
+
+message("middleware_wireless_framework_MWS component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+if(CONFIG_USE_middleware_wireless_framework_platform_mws_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_mws_connected_mcu)
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/MWSCoexistence/MWS.c
+)
+
+target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}/MWSCoexistence/.
+)
+
+else()
+
+message(SEND_ERROR "middleware_wireless_framework_MWS dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+
+endif()
+
+endif()
+
+
+if (CONFIG_USE_middleware_wireless_framework_MWS_Intercore)
+# Add set(CONFIG_USE_middleware_wireless_framework_MWS_Intercore true) in config.cmake to use this component
+
+message("middleware_wireless_framework_MWS_Intercore component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+
+if(CONFIG_USE_middleware_wireless_framework_platform_mws_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_mws_connected_mcu)
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/MWSCoexistence/MWS_Intercore.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/MWSCoexistence/.
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_lcl_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_MWS_Intercore dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_mws_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_mws_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_mws_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_mws_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_mws_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_mws_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_mws.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_mws_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_mws_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ble_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ble_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_ble_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_ble_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_ble_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_ble_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu))
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ble.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_ble_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_ble_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_genfsk_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_genfsk_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_genfsk_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_genfsk_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_genfsk_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_genfsk_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_genfsk.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_genfsk_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_genfsk_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ot_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ot_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_ot_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_ot_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_ot_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_ot_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_ot.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_ot_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_ot_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_lowpower_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_lowpower_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_lowpower.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_lowpower_timer_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_lowpower_timer_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_lowpower_timer.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_timer_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_timer_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_reset_rt1060)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_reset_rt1060 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_reset_connected_mcu)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_reset_connected_mcu true) in config.cmake to use this component
+
+message("middleware_wireless_framework_platform_reset_connected_mcu component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-message("middleware_wireless_framework_platform_reset_rt1060 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if(CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-if(CONFIG_USE_middleware_wireless_framework_platform_rt1060)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu/fwk_platform_reset.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1060
+ ${CMAKE_CURRENT_LIST_DIR}/platform/connected_mcu
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_reset_rt1060 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_reset_connected_mcu dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m7)
-# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m7 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m33)
+# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m33 true) in config.cmake to use this component
-message("middleware_wireless_framework_sec_lib_mbedtls_m7 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_sec_lib_mbedtls_m33 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_mbedtls_config_rw61x OR CONFIG_USE_middleware_wireless_framework_mbedtls_config_connected_mcu))
@@ -3725,24 +2059,24 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
-Wl,--start-group
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m7.a
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33.a
-Wl,--end-group
)
endif()
else()
-message(SEND_ERROR "middleware_wireless_framework_sec_lib_mbedtls_m7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_sec_lib_mbedtls_m33 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m7)
-# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m7 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m33)
+# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m33 true) in config.cmake to use this component
-message("middleware_wireless_framework_sec_lib_sss_m7 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_sec_lib_sss_m33 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
@@ -3758,24 +2092,24 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
-Wl,--start-group
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m7.a
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33.a
-Wl,--end-group
)
endif()
else()
-message(SEND_ERROR "middleware_wireless_framework_sec_lib_sss_m7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_sec_lib_sss_m33 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_MIMXRT1062 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_MCXW716C)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_MCXW716C true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_MCXW716C component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
@@ -3798,17 +2132,17 @@ endif()
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_MIMXRT1062 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_MCXW716C dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_MIMXRT1062 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_MCXW716C)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_MCXW716C true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_systicks_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_systicks_MCXW716C component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
@@ -3843,19 +2177,19 @@ endif()
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_MIMXRT1062 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_MCXW716C dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_cli_MIMXRT1062)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_MIMXRT1062 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_cli_MCXW716C)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_MCXW716C true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_cli_MIMXRT1062 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_cli_MCXW716C component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_LPM_MIMXRT1062)
+if(CONFIG_USE_middleware_wireless_framework_LPM_MCXW716C)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_cli.c
@@ -3867,760 +2201,594 @@ target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_cli_MIMXRT1062 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_fwk_debug AND ((CONFIG_USE_component_timer_manager AND CONFIG_USE_component_ostimer_time_stamp_adapter AND (CONFIG_USE_component_mrt_adapter OR CONFIG_USE_component_ctimer_adapter) AND (CONFIG_USE_component_mflash_rdrw610 OR CONFIG_USE_component_mflash_frdmrw612) AND CONFIG_USE_middleware_mbedtls_port_els_pkc AND (CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610)) OR (CONFIG_USE_driver_trdc AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176/configs
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_flash_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_flash_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_flash_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_MIMXRT1176)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
- ${CMAKE_CURRENT_LIST_DIR}/platform/Common
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_flash_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_extflash_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_extflash_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_extflash_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
- ${CMAKE_CURRENT_LIST_DIR}/platform/Common
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_extflash_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_sensors_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_sensors_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_sensors_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
-)
-
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_sensors_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_cli_MCXW716C dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ota_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ota_MIMXRT1176 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_RW610)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_RW610 true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_ota_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_RW610 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
)
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ota_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ics_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ics_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ics_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_MIMXRT1176 AND CONFIG_USE_middleware_wireless_framework_platform_sensors_MIMXRT1176 AND CONFIG_USE_middleware_wireless_framework_SFC)
-
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
)
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ics_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+if(CONFIG_USE_COMPONENT_CONFIGURATION)
+ message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-endif()
+ target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ -DHAL_UART_ADAPTER_LOWPOWER=1
+ )
endif()
-
-if (CONFIG_USE_middleware_wireless_framework_platform_lcl_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lcl_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_lcl_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_driver_trdc AND (CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu))
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
-)
-
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_lcl_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_RW610 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_mws_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_mws_MIMXRT1176 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_RW610)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_RW610 true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_mws_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_systicks_RW610 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
)
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_mws_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
+if(CONFIG_USE_middleware_freertos-kernel)
+ target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks.c
+ )
endif()
+if(CONFIG_USE_middleware_baremetal)
+ target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks_bm.c
+ )
endif()
-
-if (CONFIG_USE_middleware_wireless_framework_platform_ble_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ble_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_ble_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu))
-
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
)
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ble_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+if(CONFIG_USE_COMPONENT_CONFIGURATION)
+ message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-endif()
+ target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ -DHAL_UART_ADAPTER_LOWPOWER=1
+ )
endif()
-
-if (CONFIG_USE_middleware_wireless_framework_platform_genfsk_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_genfsk_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_genfsk_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
-)
-
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_genfsk_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_RW610 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ot_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ot_MIMXRT1176 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_cli_RW610)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_RW610 true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_ot_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_cli_RW610 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+if(CONFIG_USE_middleware_wireless_framework_LPM_RW610)
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_cli.c
)
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_ot_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_lowpower_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_cli_RW610 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_MIMXRT1176 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_lowpower_timer_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+if(CONFIG_USE_middleware_wireless_framework_fwk_debug AND ((CONFIG_USE_component_timer_manager AND CONFIG_USE_component_ostimer_time_stamp_adapter AND (CONFIG_USE_component_mrt_adapter OR CONFIG_USE_component_ctimer_adapter) AND (CONFIG_USE_component_mflash_rdrw610 OR CONFIG_USE_component_mflash_frdmrw612) AND CONFIG_USE_middleware_mbedtls_port_els_pkc AND (CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610)) OR (CONFIG_USE_driver_trdc AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform.c
)
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_timer_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
-endif()
-
-endif()
-
-
-if (CONFIG_USE_middleware_wireless_framework_platform_reset_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_reset_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_reset_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-
-if(CONFIG_USE_middleware_wireless_framework_platform_MIMXRT1176)
-
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/MIMXRT1176
+ ${CMAKE_CURRENT_LIST_DIR}/platform/include
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/configs
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_reset_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m4)
-# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m4 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_flash_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_flash_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_sec_lib_mbedtls_m4 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_flash_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_mbedtls_config_rw61x OR CONFIG_USE_middleware_wireless_framework_mbedtls_config_connected_mcu))
+if(CONFIG_USE_middleware_wireless_framework_platform_rw61x)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_mbedTLS.c
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_aes_mmo.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_flash.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_extflash.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/.
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
+ ${CMAKE_CURRENT_LIST_DIR}/platform/Common
)
-if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
- target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
- -Wl,--start-group
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m4.a
- -Wl,--end-group
- )
-endif()
-
else()
-message(SEND_ERROR "middleware_wireless_framework_sec_lib_mbedtls_m4 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_flash_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m4)
-# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m4 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_extflash_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_extflash_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_sec_lib_sss_m4 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_extflash_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_sss.c
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_aes_mmo.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_extflash.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/.
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
+ ${CMAKE_CURRENT_LIST_DIR}/platform/Common
)
-if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
- target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
- -Wl,--start-group
- ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m4.a
- -Wl,--end-group
- )
-endif()
-
else()
-message(SEND_ERROR "middleware_wireless_framework_sec_lib_sss_m4 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_extflash_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_MIMXRT1176 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_sensors_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
+if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_sensors.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DHAL_UART_ADAPTER_LOWPOWER=1
- )
-
-endif()
-
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_sensors_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_MIMXRT1176 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_ota_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_ota_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_LPM_systicks_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_ota_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
+if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_ota.c
)
-if(CONFIG_USE_middleware_freertos-kernel)
- target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks.c
- )
-endif()
-
-if(CONFIG_USE_middleware_baremetal)
- target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks_bm.c
- )
-endif()
-
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
-if(CONFIG_USE_COMPONENT_CONFIGURATION)
- message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-
- target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
- -DHAL_UART_ADAPTER_LOWPOWER=1
- )
-
-endif()
-
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_ota_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_LPM_cli_MIMXRT1176)
-# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_MIMXRT1176 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_LPM_cli_MIMXRT1176 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_platform_ics_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_ics_rw61x true) in config.cmake to use this component
-if(CONFIG_USE_middleware_wireless_framework_LPM_MIMXRT1176)
+message("middleware_wireless_framework_platform_ics_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_cli.c
-)
+if(CONFIG_USE_middleware_wireless_framework_platform_rw61x AND CONFIG_USE_middleware_wireless_framework_platform_sensors_rw61x AND CONFIG_USE_middleware_wireless_framework_SFC)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
else()
-message(SEND_ERROR "middleware_wireless_framework_LPM_cli_MIMXRT1176 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_ics_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_platform_lcl_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_lcl_rw61x true) in config.cmake to use this component
-if(CONFIG_USE_middleware_wireless_framework_fwk_debug AND ((CONFIG_USE_component_timer_manager AND CONFIG_USE_component_ostimer_time_stamp_adapter AND (CONFIG_USE_component_mrt_adapter OR CONFIG_USE_component_ctimer_adapter) AND (CONFIG_USE_component_mflash_rdrw610 OR CONFIG_USE_component_mflash_frdmrw612) AND CONFIG_USE_middleware_mbedtls_port_els_pkc AND (CONFIG_DEVICE_ID STREQUAL RW612 OR CONFIG_DEVICE_ID STREQUAL RW610)) OR (CONFIG_USE_driver_trdc AND (CONFIG_DEVICE_ID STREQUAL K32W1480xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z52xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z53xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z82xxxA OR CONFIG_DEVICE_ID STREQUAL KW45B41Z83xxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716CxxxA OR CONFIG_DEVICE_ID STREQUAL MCXW716AxxxA))))
+message("middleware_wireless_framework_platform_lcl_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170/fwk_platform.c
-)
+if(CONFIG_USE_driver_trdc AND (CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu))
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/include
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170/configs
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_lcl_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_flash_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_flash_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_flash_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if (CONFIG_USE_middleware_wireless_framework_platform_mws_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_mws_rw61x true) in config.cmake to use this component
-if(CONFIG_USE_middleware_wireless_framework_platform_rt1170)
+message("middleware_wireless_framework_platform_mws_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170/fwk_platform_flash.c
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170/fwk_platform_extflash.c
-)
+if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
- ${CMAKE_CURRENT_LIST_DIR}/platform/Common
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_flash_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_mws_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_extflash_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_extflash_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_ble_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_ble_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_extflash_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_ble_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170/fwk_platform_extflash.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_ble.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
- ${CMAKE_CURRENT_LIST_DIR}/platform/Common
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_extflash_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_ble_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_sensors_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_sensors_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_genfsk_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_genfsk_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_sensors_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_genfsk_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_sensors_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_genfsk_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ota_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ota_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_ot_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_ot_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_ota_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_ot_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170/fwk_platform_ota.c
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_ot.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_ota_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_ot_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ics_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ics_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x true) in config.cmake to use this component
+
+message("middleware_wireless_framework_platform_lowpower_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-message("middleware_wireless_framework_platform_ics_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
-if(CONFIG_USE_middleware_wireless_framework_platform_rt1170 AND CONFIG_USE_middleware_wireless_framework_platform_sensors_rt1170 AND CONFIG_USE_middleware_wireless_framework_SFC)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x/fwk_platform_lowpower.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_ics_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_lcl_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lcl_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_lcl_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_lowpower_timer_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_driver_trdc AND (CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu))
+if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_lcl_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_timer_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_mws_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_mws_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_platform_reset_rw61x)
+# Add set(CONFIG_USE_middleware_wireless_framework_platform_reset_rw61x true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_mws_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_platform_reset_rw61x component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+if(CONFIG_USE_middleware_wireless_framework_platform_rw61x)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+ ${CMAKE_CURRENT_LIST_DIR}/platform/rw61x
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_mws_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_platform_reset_rw61x dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ble_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ble_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m33_nodsp)
+# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_mbedtls_m33_nodsp true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_ble_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_sec_lib_mbedtls_m33_nodsp component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_coex_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_coex_connected_mcu))
+if((CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_mbedtls_config_rw61x OR CONFIG_USE_middleware_wireless_framework_mbedtls_config_connected_mcu))
+
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_mbedTLS.c
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_aes_mmo.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/.
)
+if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
+ target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ -Wl,--start-group
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33_nodsp.a
+ -Wl,--end-group
+ )
+endif()
+
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_ble_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_sec_lib_mbedtls_m33_nodsp dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_genfsk_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_genfsk_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m33_nodsp)
+# Add set(CONFIG_USE_middleware_wireless_framework_sec_lib_sss_m33_nodsp true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_genfsk_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_sec_lib_sss_m33_nodsp component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_sss.c
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/SecLib_aes_mmo.c
+)
+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/.
)
+if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux))
+ target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ -Wl,--start-group
+ ${CMAKE_CURRENT_LIST_DIR}/SecLib/lib_crypto_m33_nodsp.a
+ -Wl,--end-group
+ )
+endif()
+
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_genfsk_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_sec_lib_sss_m33_nodsp dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_ot_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_ot_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_K32W1480)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_K32W1480 true) in config.cmake to use this component
+
+message("middleware_wireless_framework_LPM_K32W1480 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-message("middleware_wireless_framework_platform_ot_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
)
+if(CONFIG_USE_COMPONENT_CONFIGURATION)
+ message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
+
+ target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ -DHAL_UART_ADAPTER_LOWPOWER=1
+ )
+
+endif()
+
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_ot_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_K32W1480 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_systicks_K32W1480)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_systicks_K32W1480 true) in config.cmake to use this component
-message("middleware_wireless_framework_platform_lowpower_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+message("middleware_wireless_framework_LPM_systicks_K32W1480 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+if((CONFIG_USE_middleware_wireless_framework_platform_lowpower_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_connected_mcu) AND (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_connected_mcu))
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR.c
)
-else()
-
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
-
+if(CONFIG_USE_middleware_freertos-kernel)
+ target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks.c
+ )
endif()
+if(CONFIG_USE_middleware_baremetal)
+ target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_systicks_bm.c
+ )
endif()
+target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
+)
-if (CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_lowpower_timer_rt1170 true) in config.cmake to use this component
-
-message("middleware_wireless_framework_platform_lowpower_timer_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if(CONFIG_USE_COMPONENT_CONFIGURATION)
+ message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
-if(CONFIG_USE_middleware_wireless_framework_platform_rw61x OR CONFIG_USE_middleware_wireless_framework_platform_connected_mcu)
+ target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
+ -DHAL_UART_ADAPTER_LOWPOWER=1
+ )
-target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
-)
+endif()
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_lowpower_timer_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_systicks_K32W1480 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
-if (CONFIG_USE_middleware_wireless_framework_platform_reset_rt1170)
-# Add set(CONFIG_USE_middleware_wireless_framework_platform_reset_rt1170 true) in config.cmake to use this component
+if (CONFIG_USE_middleware_wireless_framework_LPM_cli_K32W1480)
+# Add set(CONFIG_USE_middleware_wireless_framework_LPM_cli_K32W1480 true) in config.cmake to use this component
+
+message("middleware_wireless_framework_LPM_cli_K32W1480 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
-message("middleware_wireless_framework_platform_reset_rt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
+if(CONFIG_USE_middleware_wireless_framework_LPM_K32W1480)
-if(CONFIG_USE_middleware_wireless_framework_platform_rt1170)
+target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/PWR_cli.c
+)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/platform/rt1170
+ ${CMAKE_CURRENT_LIST_DIR}/LowPower/.
)
else()
-message(SEND_ERROR "middleware_wireless_framework_platform_reset_rt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
+message(SEND_ERROR "middleware_wireless_framework_LPM_cli_K32W1480 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()