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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user