diff options
author | Ingo Albrecht <prom@berlin.ccc.de> | 2010-07-19 08:56:25 +0200 |
---|---|---|
committer | Ingo Albrecht <prom@berlin.ccc.de> | 2010-07-20 14:41:21 +0200 |
commit | 3f891b75c683b43ac65a7f36d58b2de40fae1942 (patch) | |
tree | ea984132f4e40c57b94e15ac180c1e79d2413185 /src/target/firmware/Makefile.inc | |
parent | 23359954b9da256d5727072cb90c12272309ba4d (diff) |
firmware: better flash protection
Diffstat (limited to 'src/target/firmware/Makefile.inc')
-rw-r--r-- | src/target/firmware/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/firmware/Makefile.inc b/src/target/firmware/Makefile.inc index 9c569865..30240343 100644 --- a/src/target/firmware/Makefile.inc +++ b/src/target/firmware/Makefile.inc @@ -25,6 +25,9 @@ CFLAGS += -g$(DEBUGF) # Uncomment this line if you want to write to flash. #CFLAGS += -DCONFIG_FLASH_WRITE +# Uncomment this line if you want to write to flash, including the bootloader. +#CFLAGS += -DCONFIG_FLASH_WRITE_LOADER + # some older toolchains don't support this, ignore it for now #ASFLAGS=-Wa,-adhlns=$(<:.S=.lst),--g$(DEBUGF) $(INCLUDES) -D__ASSEMBLY__ ASFLAGS=-Wa,-adhlns=$(<:.S=.lst) $(INCLUDES) -D__ASSEMBLY__ |