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
							
								
									92eb02f17a
								
							
						
					
					
						commit
						b5aa653b3f
					
				
					 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