Makefile CPPFLAGS: Don't need FLASH_SIZE defined any more

To determine flash size from inside a program, better to look via the
SPI flash header at this stage.
This commit is contained in:
Angus Gratton 2015-11-13 12:19:23 +11:00
parent 92eb02f17a
commit b5aa653b3f

View file

@ -129,7 +129,7 @@ else
endif
GITSHORTREV=\"$(shell cd $(ROOT); git rev-parse --short -q HEAD)\"
CPPFLAGS += -DGITSHORTREV=$(GITSHORTREV) -DFLASH_SIZE=$(FLASH_SIZE)
CPPFLAGS += -DGITSHORTREV=$(GITSHORTREV)
ifeq ($(OTA),0)
LINKER_SCRIPTS = $(ROOT)ld/nonota.ld