progress
This commit is contained in:
parent
96118d65ac
commit
81cfe8205f
2
board.mk
2
board.mk
|
@ -2,7 +2,9 @@ BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
|
||||||
|
|
||||||
BOARDINC += $(BOARD_DIR)/generated/controllers/generated
|
BOARDINC += $(BOARD_DIR)/generated/controllers/generated
|
||||||
|
|
||||||
|
# todo: do we even need this DFIRMWARE_ID?
|
||||||
DDEFS += -DFIRMWARE_ID=\"XXX\"
|
DDEFS += -DFIRMWARE_ID=\"XXX\"
|
||||||
|
# todo: use meta-info.txt
|
||||||
SHORT_BOARD_NAME=XXX
|
SHORT_BOARD_NAME=XXX
|
||||||
|
|
||||||
# reduce memory usage monitoring
|
# reduce memory usage monitoring
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
export META_OUTPUT_ROOT_FOLDER=../../../generated/
|
|
||||||
|
|
||||||
cd ext/rusefi/firmware/
|
|
||||||
|
|
||||||
bash gen_config_board.sh ../../.. XXX
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# while recommended best option is to rely on GitHub Actions we can also code-generate locally using this script
|
||||||
|
# open issue is GitHub Action should be invoking this script in order to reduce existing code duplication
|
||||||
|
#
|
||||||
|
|
||||||
|
export META_OUTPUT_ROOT_FOLDER=../../../generated/
|
||||||
|
|
||||||
|
cd ext/rusefi/firmware/
|
||||||
|
|
||||||
|
# todo: use meta-info.txt
|
||||||
|
bash gen_config_board.sh ../../.. XXX
|
|
@ -0,0 +1,2 @@
|
||||||
|
# todo: find a way for build-firmware.yaml to consume this file? maybe the other way around?
|
||||||
|
shortBoardName=XXX
|
Loading…
Reference in New Issue