Skip to content

Commit fc85881

Browse files
committed
fix: add BOARDINC for generated headers in unit test build
1 parent 0eca195 commit fc85881

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ All notable changes to Mazduino firmware are documented here.
2121
### Fixed
2222
- Root `board_configuration.cpp`: removed forward declaration of `customBoardTsAction` which caused undefined reference linker error in CI unit test build
2323
- `EFI_EMBED_INI_MSD=FALSE` on mega100-512: the embedded TunerStudio INI file was contributing approximately 155KB to the firmware binary; disabling it reduced firmware from 488KB to 271KB
24+
- `board_unit_tests.mk`: added `BOARDINC` pointing to `generated/controllers/generated/` so the unit test build can find `rusefi_generated_mazduino.h` (previously the compiler could not find this file because the unit test Makefile does not include `rusefi.mk` which is what adds that path for firmware builds)
2425

2526
## [2025-01-01]
2627

board_unit_tests.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
BOARDINC += $(BOARD_DIR)/generated/controllers/generated
2+
13
TESTS_SRC_CPP += $(BOARD_DIR)/tests/test_example.cpp

0 commit comments

Comments
 (0)