-
Notifications
You must be signed in to change notification settings - Fork 0
/
board.mk
25 lines (17 loc) · 813 Bytes
/
board.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp \
$(BOARD_DIR)/board_storage.cpp \
$(BOARD_DIR)/default_tune.cpp \
BOARDINC += $(BOARD_DIR)/generated/controllers/generated
# defines SHORT_BOARD_NAME
include $(BOARD_DIR)/meta-info.env
# reduce memory usage monitoring
DDEFS += -DRAM_UNUSED_SIZE=100
# assign critical LED to a non-existent pin if you do not have it on your board
# 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
# 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/sst26f_jedec.mk