1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 03:20:00 +03:00

Adding board scratch space.

- Including ability to define custom defaults as char[] that is baked into the build
- removed unnecessary size of custom defaults header parsing (defines provided by build process or in board.h for devs).
This commit is contained in:
blckmn 2022-10-23 12:43:31 +11:00
parent ea45f9a5b9
commit b6b76d1b88
9 changed files with 31 additions and 55 deletions

View file

@ -17,6 +17,7 @@
# The target to build, see VALID_TARGETS below
TARGET ?= STM32F405
BOARD ?=
# Compile-time options
OPTIONS ?=
@ -100,6 +101,11 @@ FEATURES =
FEATURE_CUT_LEVEL_SUPPLIED := $(FEATURE_CUT_LEVEL)
FEATURE_CUT_LEVEL =
ifneq ($(BOARD),)
# silently ignore if the file is not present. Allows for target defaults.
-include $(ROOT)/src/main/board/$(BOARD)/board.mk
endif
include $(ROOT)/make/targets.mk
REVISION := norevision