From b5aa653b3f5997311d37a223556876e58584ed32 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 13 Nov 2015 12:19:23 +1100 Subject: [PATCH] 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. --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index eb2e024..07a84c9 100644 --- a/common.mk +++ b/common.mk @@ -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