-
Notifications
You must be signed in to change notification settings - Fork 6
/
board.mk
30 lines (19 loc) · 899 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
26
27
28
29
30
BOARDINC += $(BOARD_DIR)/generated/controllers/generated
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp \
$(BOARD_DIR)/default_tune.cpp \
# defines SHORT_BOARD_NAME
include $(BOARD_DIR)/meta-info.env
# one day when we are grown ups and can coordinate a real life test we shall revisit https://github.com/rusefi/rusefi/issues/6008
DDEFS += -DDISABLE_PIN_STATE_VALIDATION=TRUE
# reduce memory usage monitoring
DDEFS += -DRAM_UNUSED_SIZE=100
# assign critical LED to a non-existent pin
DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::I15
# MAJOR HACK? SOMETHING IS FUNNY HERE?!
DDEFS += -DDISABLE_PIN_STATE_VALIDATION=TRUE
# temporary or not? (pps noise stuff)
DDEFS += -DETB_INTERMITTENT_LIMIT=60001
DDEFS += -DSTM32_ADC_USE_ADC3=TRUE
# todo: make knock pin software-selectable?
# todo: DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE