Skip to content

Commit f80f109

Browse files
hal/nxp: s32K344: flash_c40: add C40 features, IP aliases; init ret
- fsl_c40_flash.c: Initialize `ret` in FLASH_Erase() to `kStatus_FLASH_Success` to avoid potential use-before-set warnings on some toolchains/static analyzers (no functional change). - S32K344_features.h: Define C40 array geometry for S32K344 using unsigned constants: * FSL_FEATURE_FLASH_C40_BLOCK_SIZE_CODE (1 MiB) * FSL_FEATURE_FLASH_C40_BLOCK_COUNT_CODE (4) * FSL_FEATURE_FLASH_C40_BLOCK_SIZE_DATA (256 KiB) Note: erase/program granularities are controller-level and handled by driver. - S32K344_glue_mcux.h: Provide conditional aliases mapping FLASH↔IP_FLASH and PFLASH↔IP_PFLASH to harmonize SDK naming and improve build portability. Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
1 parent b374adf commit f80f109

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mcux/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,13 @@ Patch List:
244244
- PR: https://github.com/zephyrproject-rtos/hal_nxp/pull/597
245245
- This patch is in hal_nxp but is not in mcux-sdk-ng 25.09.00.
246246

247+
- hal/nxp: s32K344: flash_c40: add C40 features, IP aliases
248+
- Commit: https://github.com/zephyrproject-rtos/hal_nxp/pull/618/commits/64395f565184964bbf21e247df6ca88dc4d7cf83
249+
- This patch is in hal_nxp but is not in mcux-sdk-ng 25.09.00.
250+
This patch was merged after PR https://github.com/zephyrproject-rtos/hal_nxp/pull/618/commits was created.
251+
Also since the additions about C40 Flash geometry in S32K344_features.h and defining local Flash Aliases in
252+
S32K344_glue_mcux.h, are for S32K344 SoC so they are not present in the mcusdk-core repo.
253+
247254
Note:
248255
- The SAI driver should not be updated during hal_nxp updates, since the latest SAI driver will cause runtime issues
249256
on MCXN947 for Zephyr I2S-related test cases.

0 commit comments

Comments
 (0)