Modify and add tests to support simulation of non-0xff erased flash devices. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
16 lines
249 B
Plaintext
16 lines
249 B
Plaintext
/*
|
|
* Copyright (c) 2020 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&flashcontroller0 {
|
|
erase-value = < 0x00 >;
|
|
};
|
|
|
|
&flash0 {
|
|
erase-block-size = <1024>;
|
|
write-block-size = <4>;
|
|
reg = <0x00000000 DT_SIZE_K(1024)>;
|
|
};
|