fw-custom-mega/board.mk

26 lines
806 B
Makefile
Raw Permalink Normal View History

2024-03-12 16:24:28 -07:00
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp \
$(BOARD_DIR)/board_storage.cpp \
2024-03-12 16:24:28 -07:00
$(BOARD_DIR)/default_tune.cpp \
2023-12-04 06:47:45 -08:00
2023-12-20 06:25:54 -08:00
BOARDINC += $(BOARD_DIR)/generated/controllers/generated
# defines SHORT_BOARD_NAME
include $(BOARD_DIR)/meta-info.env
2023-12-04 06:47:45 -08:00
2023-12-16 17:25:36 -08:00
# reduce memory usage monitoring
DDEFS += -DRAM_UNUSED_SIZE=100
2023-12-16 17:18:00 -08:00
2023-12-04 06:47:45 -08:00
# assign critical LED to a non-existent pin if you do not have it on your board
2023-12-04 07:38:10 -08:00
# good old PD14 is still the default value
# todo https://github.com/rusefi/fw-custom-mega/issues/1
2023-12-16 17:18:00 -08:00
# DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::I15
# USE_OPT += -Wl,--defsym=FLASH_SIZE=768k
# This board uses ChibiOS MFS driver on external SPI flash
include $(PROJECT_DIR)/hw_layer/ports/stm32/use_higher_level_flash_api.mk
#Serial flash driver
include $(PROJECT_DIR)/hw_layer/drivers/flash/sst26f_jedec.mk