mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2024-12-05 00:55:43 +01:00
Simulate flash for native posix
This commit is contained in:
parent
df102e0002
commit
a905091666
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
build/
|
||||
|
||||
flash.bin
|
||||
# Random seed file created by test scripts and sample programs
|
||||
seedfile
|
||||
|
||||
|
@ -15,7 +15,7 @@ if(DEFINED NATIVE_POSIX)
|
||||
endif ()
|
||||
target_include_directories(app PUBLIC ${exposure-notification_SOURCE_DIR}/include)
|
||||
|
||||
FILE(GLOB app_sources ../src/*.c* ${exposure-notification_SOURCE_DIR}/src/*.c*)
|
||||
FILE(GLOB app_sources ../src/*.c* ../src/ens/*.c* ${exposure-notification_SOURCE_DIR}/src/*.c*)
|
||||
else()
|
||||
FILE(GLOB app_sources ../src/*.c*)
|
||||
endif()
|
||||
|
@ -17,7 +17,8 @@ CONFIG_DISPLAY=y
|
||||
CONFIG_DISPLAY_LOG_LEVEL_ERR=y
|
||||
|
||||
CONFIG_BT=n
|
||||
CONFIG_FLASH=n
|
||||
# TODO: Add configuration for flash emulation
|
||||
# CONFIG_FLASH=n
|
||||
CONFIG_FLASH_SIMULATOR=y
|
||||
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=32768
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=8192
|
||||
# CONFIG_HEAP_MEM_POOL_SIZE=32768
|
||||
|
12
zephyr/native_posix_64.overlay
Normal file
12
zephyr/native_posix_64.overlay
Normal file
@ -0,0 +1,12 @@
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partition@0 {
|
||||
label = "ens_storage";
|
||||
reg = <0x0 0x00004000>;
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user