Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Jan 10, 2024
1 parent 96118d6 commit 81cfe82
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
2 changes: 2 additions & 0 deletions board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp

BOARDINC += $(BOARD_DIR)/generated/controllers/generated

# todo: do we even need this DFIRMWARE_ID?
DDEFS += -DFIRMWARE_ID=\"XXX\"
# todo: use meta-info.txt
SHORT_BOARD_NAME=XXX

# reduce memory usage monitoring
Expand Down
7 changes: 0 additions & 7 deletions generate-meta-data.sh

This file was deleted.

13 changes: 13 additions & 0 deletions manual-generate-meta-data.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions meta-info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# todo: find a way for build-firmware.yaml to consume this file? maybe the other way around?
shortBoardName=XXX

0 comments on commit 81cfe82

Please sign in to comment.