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:
		
							parent
							
								
									e8eac9614d
								
							
						
					
					
						commit
						4b5349c236
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue