mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-02-06 21:18:25 +08:00
af39a0bc25
Fixes #1164 and thus also #1150, #1149, #1147 and #898. * Move to latest version of SPIFFS * Add SPIFFS porting layer for NodeMCU * Add option to delete output if it doesn't fit * Change FLASHSIZE to be in bits by default: default 4mb 32mb * Add SPIFFS_MAX_FILESYSTEM_SIZE override * Add notes on SPIFFS_FIXED_LOCATION * Add 1M boundary * Include the current version of the LICENSE
12 lines
414 B
Makefile
12 lines
414 B
Makefile
SRCS=\
|
|
main.c \
|
|
../../app/spiffs/spiffs_cache.c ../../app/spiffs/spiffs_check.c ../../app/spiffs/spiffs_gc.c ../../app/spiffs/spiffs_hydrogen.c ../../app/spiffs/spiffs_nucleus.c
|
|
|
|
CFLAGS=-g -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -I. -I../../app/spiffs -DNODEMCU_SPIFFS_NO_INCLUDE --include spiffs_typedefs.h
|
|
|
|
spiffsimg: $(SRCS)
|
|
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
|
|
|
clean:
|
|
rm -f spiffsimg
|