From 2f8aba541392010ece24e0753eb87e5fe1c6bc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sat, 21 Jan 2017 15:23:06 +0000 Subject: [PATCH] fix flash configuration for FireBee --- BaS_gcc/exe/basflash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BaS_gcc/exe/basflash.c b/BaS_gcc/exe/basflash.c index ae3fe6b..98e0c27 100644 --- a/BaS_gcc/exe/basflash.c +++ b/BaS_gcc/exe/basflash.c @@ -202,6 +202,7 @@ typedef struct romram char *name; } ROMRAM; +#if defined(MACHINE_FIREBEE) static const struct romram flash_areas[] = { { 0xe0600000, 0x00e00000, "EmuTOS" }, /* EmuTOS */ @@ -209,6 +210,7 @@ static const struct romram flash_areas[] = { 0xe0700000, 0x00e00000, "FPGA" }, /* FPGA config */ }; static const int num_flash_areas = sizeof(flash_areas) / sizeof(struct romram); +#endif #define FLASH_ADDRESS 0xe0000000