bootloader_config.h: Don't redefine BL_TARGET_FLASH

BL_TARGET_FLASH can be specified on the command-line too, do not
redefine it unconditionally, but guard it with an ifdef. This should
eliminate the warnings seen during compilation, and as such, fixes #1.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
This commit is contained in:
Gergely Nagy
2016-12-05 16:40:54 +01:00
parent fbe5a96f0e
commit b3ab9c84ec

View File

@@ -58,7 +58,9 @@
#if !defined(BL_CONFIG_USB_MSC)
#define BL_CONFIG_USB_MSC (0)
#endif
#if !defined(BL_TARGET_FLASH)
#define BL_TARGET_FLASH (1)
#endif
//@}
#if !defined(BL_TARGET_FLASH) && !defined(BL_TARGET_RAM)