mkspiffs is added to create SPIFFS image from directory with files. Build process changed to flash SPIFFS image if necessary
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			213 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			213 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| PROGRAM=spiffs_example
 | |
| EXTRA_COMPONENTS = extras/spiffs
 | |
| FLASH_SIZE = 32
 | |
| 
 | |
| # spiffs configuration
 | |
| SPIFFS_BASE_ADDR = 0x200000
 | |
| SPIFFS_SIZE = 0x100000
 | |
| 
 | |
| include ../../common.mk
 | |
| 
 | |
| $(eval $(call make_spiffs_image,files))
 |