diff --git a/board.mk b/board.mk index 82d8222..f8b24c3 100644 --- a/board.mk +++ b/board.mk @@ -1,4 +1,5 @@ BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp \ + $(BOARD_DIR)/board_storage.cpp \ $(BOARD_DIR)/default_tune.cpp \ @@ -14,3 +15,9 @@ DDEFS += -DRAM_UNUSED_SIZE=100 # good old PD14 is still the default value # todo https://github.com/rusefi/fw-custom-mega/issues/1 # DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::I15 + + +# USE_OPT += -Wl,--defsym=FLASH_SIZE=768k + +#Serial flash support +#include $(PROJECT_DIR)/hw_layer/drivers/flash/sst26f_jedec.mk diff --git a/board_storage.cpp b/board_storage.cpp new file mode 100644 index 0000000..e8418c0 --- /dev/null +++ b/board_storage.cpp @@ -0,0 +1,5 @@ +#include "pch.h" + +void boardInitMfs() { + +} \ No newline at end of file