logging of live data structs was: data points #3614

better solution for total model buffer size
This commit is contained in:
Andrey 2022-04-16 20:34:17 -04:00
parent f3dd20b9f2
commit 15d3172bb7
3 changed files with 13 additions and 12 deletions

View File

@ -243,6 +243,18 @@ jobs:
sudo apt-get install zip
sudo apt-get install dosfstools
- name: Generate Live Documentation
if: ${{ env.skip != 'true' }}
working-directory: ./firmware/
run: bash gen_live_documentation.sh
# live_data_ids.h is generated above so order of operations is important here!
- name: Generate Enum Strings
if: ${{ env.skip != 'true' }}
working-directory: ./firmware/
run: bash gen_enum_to_string.sh
# depends on gen_live_documentation.sh for instance TS_TOTAL_OUTPUT_SIZE
- name: Generate Default config
if: ${{ env.skip != 'true' }}
# todo: why do we even need this 'gen_config_default.sh' here?!
@ -269,17 +281,6 @@ jobs:
bash gen_config_board.sh ${{matrix.folder}} ${{matrix.build-target}} ${{matrix.ini-file}}
fi
- name: Generate Live Documentation
if: ${{ env.skip != 'true' }}
working-directory: ./firmware/
run: bash gen_live_documentation.sh
# live_data_ids.h is generated above so order of operations is important here!
- name: Generate Enum Strings
if: ${{ env.skip != 'true' }}
working-directory: ./firmware/
run: bash gen_enum_to_string.sh
# Build machines don't have arm-none-eabi gcc, so let's download it and put it on the path
- name: Download & Install GCC
if: ${{ env.skip != 'true' }}

View File

@ -11,4 +11,5 @@ COMMON_GEN_CONFIG="
-triggerFolder ../unit_tests \
-with_c_defines false \
-initialize_to_zero false \
-prepend console/binary/generated/total_live_data_generated.h \
-definition integration/rusefi_config.txt"

View File

@ -85,7 +85,6 @@
! this is here so that rusEFI console can access it, too
!
#define TS_OUTPUT_SIZE 640
#define TS_TOTAL_OUTPUT_SIZE 1000
!
! this is used to confirm that firmware and TunerStudio are using the same rusefi.ini version