soc: lpc: mcxn: fix the flash_fill() fail.
- Fix flash_fill() for lpc55 and mcxnx4. - Set FLASH_FILL_BUFFER_SIZE to the minimal size of data which can be written to a device (by default is only 32). - Fix the [flash_map.test_flash_area_erase_and_flatten] failed test of tests/subsys/storage/flash_map. Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
This commit is contained in:
parent
6b4beb9494
commit
fdfebdd15b
@ -38,6 +38,10 @@ config LPC55XXX_SRAM_CLOCKS
|
||||
config LPC55XXX_USB_RAM
|
||||
default y
|
||||
|
||||
# Set to the minimal size of data which can be written.
|
||||
config FLASH_FILL_BUFFER_SIZE
|
||||
default 512
|
||||
|
||||
if SOC_LPC55S06
|
||||
|
||||
config LPC55XXX_USB_RAM
|
||||
|
||||
@ -20,4 +20,8 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default 16000 if MCUX_LPTMR_TIMER
|
||||
default 150000000 if CORTEX_M_SYSTICK
|
||||
|
||||
# Set to the minimal size of data which can be written.
|
||||
config FLASH_FILL_BUFFER_SIZE
|
||||
default 128
|
||||
|
||||
endif # SOC_SERIES_MCXNX4X
|
||||
|
||||
Loading…
Reference in New Issue
Block a user