From 2508453aaad21861156a55f9a740193b55a0786e Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 15 May 2024 22:15:25 -0400 Subject: [PATCH] extra --- board.mk | 3 ++- extra_generated.h | 20 ++++++++++++++++++++ firmware/livedata_board_extra.h | 3 +++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 extra_generated.h create mode 100644 firmware/livedata_board_extra.h diff --git a/board.mk b/board.mk index efcf9771..6e2e741a 100644 --- a/board.mk +++ b/board.mk @@ -2,7 +2,8 @@ BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp \ $(BOARD_DIR)/default_tune.cpp \ -BOARDINC += $(BOARD_DIR)/generated/controllers/generated +BOARDINC += $(BOARD_DIR)/generated/controllers/generated \ + $(BOARD_DIR)/firmware # defines SHORT_BOARD_NAME include $(BOARD_DIR)/meta-info.env diff --git a/extra_generated.h b/extra_generated.h new file mode 100644 index 00000000..c8f0544f --- /dev/null +++ b/extra_generated.h @@ -0,0 +1,20 @@ +// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) ../../../extra.txt Wed May 15 21:50:20 EDT 2024 +// by class com.rusefi.output.CHeaderConsumer +// begin +#pragma once +#include "rusefi_types.h" +// start of board_extra_s +struct board_extra_s { + /** + * offset 0 + */ + int extraField = (int)0; + /** + * offset 4 + */ + uint8_t unusedAtTheExtraEnd[92]; +}; +static_assert(sizeof(board_extra_s) == 96); + +// end +// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) ../../../extra.txt Wed May 15 21:50:20 EDT 2024 diff --git a/firmware/livedata_board_extra.h b/firmware/livedata_board_extra.h new file mode 100644 index 00000000..e1ab1aa5 --- /dev/null +++ b/firmware/livedata_board_extra.h @@ -0,0 +1,3 @@ +#include "pch.h" + +#include "../extra_generated.h" \ No newline at end of file