Commit f80f109
committed
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
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
247 | 254 | | |
248 | 255 | | |
249 | 256 | | |
| |||
0 commit comments