Skip to content

Commit d1287ed

Browse files
Flavio Ceolincfriedt
authored andcommitted
arch: native: Fix undefined symbols
CONFIG_FLASH_SIZE and CONFIG_FLASH_BASE_ADDRESS symbols were not defined in native_sim even though it has a flash controller and flash defined. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 7601db8 commit d1287ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ config XIP
241241
option increases both the code and data footprint of the image.
242242

243243

244-
if ARC || ARM || ARM64 || X86 || RISCV || RX
244+
if ARC || ARM || ARM64 || X86 || RISCV || RX || ARCH_POSIX
245245

246246
# Workaround for not being able to have commas in macro arguments
247247
DT_CHOSEN_Z_FLASH := zephyr,flash
@@ -264,7 +264,7 @@ config FLASH_BASE_ADDRESS
264264
normally set by the board's defconfig file and the user should generally
265265
avoid modifying it via the menu configuration.
266266

267-
endif # ARM || ARM64 || ARC || X86 || RISCV || RX
267+
endif # ARM || ARM64 || ARC || X86 || RISCV || RX || ARCH_POSIX
268268

269269
if ARCH_HAS_TRUSTED_EXECUTION
270270

0 commit comments

Comments
 (0)