From 5a6d10c21f85698bbbfbefe886d7adf41e419c22 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 17 Mar 2020 15:50:42 -0400 Subject: [PATCH] hiding SPI from MRE users --- .../boards/kinetis/config/controllers/algo/rusefi_generated.h | 1 + firmware/config/boards/microrusefi/prepend.txt | 1 + firmware/controllers/generated/rusefi_generated.h | 1 + firmware/integration/rusefi_config.txt | 1 + firmware/tunerstudio/rusefi.input | 2 +- firmware/tunerstudio/rusefi_microrusefi.ini | 3 +-- 6 files changed, 6 insertions(+), 3 deletions(-) diff --git a/firmware/config/boards/kinetis/config/controllers/algo/rusefi_generated.h b/firmware/config/boards/kinetis/config/controllers/algo/rusefi_generated.h index d89f3b95d3..822b103402 100644 --- a/firmware/config/boards/kinetis/config/controllers/algo/rusefi_generated.h +++ b/firmware/config/boards/kinetis/config/controllers/algo/rusefi_generated.h @@ -2044,6 +2044,7 @@ #define ts_show_hip9011 true #define ts_show_joystick true #define ts_show_lcd true +#define ts_show_spi true #define TS_SIGNATURE "rusEFI v1.2020.3" #define tunerStudioSerialSpeed_offset 728 #define tunerStudioSerialSpeed_offset_hex 2d8 diff --git a/firmware/config/boards/microrusefi/prepend.txt b/firmware/config/boards/microrusefi/prepend.txt index c5f12627e7..37dfd008a3 100644 --- a/firmware/config/boards/microrusefi/prepend.txt +++ b/firmware/config/boards/microrusefi/prepend.txt @@ -7,3 +7,4 @@ #define ts_show_gps false #define ts_show_etb_pins false #define ts_show_analog_divider false +#define ts_show_spi false diff --git a/firmware/controllers/generated/rusefi_generated.h b/firmware/controllers/generated/rusefi_generated.h index d1b1375170..b5a08cd53a 100644 --- a/firmware/controllers/generated/rusefi_generated.h +++ b/firmware/controllers/generated/rusefi_generated.h @@ -2044,6 +2044,7 @@ #define ts_show_hip9011 true #define ts_show_joystick true #define ts_show_lcd true +#define ts_show_spi true #define TS_SIGNATURE "rusEFI v1.2020.3" #define tunerStudioSerialSpeed_offset 728 #define tunerStudioSerialSpeed_offset_hex 2d8 diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 7ecf6ec1d0..3019fadbc0 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1455,3 +1455,4 @@ end_struct #define ts_show_egt true #define ts_show_gps true #define ts_show_analog_divider true +#define ts_show_spi true \ No newline at end of file diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index a5622ea191..a1a06a3156 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1313,7 +1313,7 @@ menuDialog = main subMenu = lcdScreen, "LCD" @@if_ts_show_lcd subMenu = joystickPanel, "Joystick" @@if_ts_show_joystick - subMenu = spiFunction, "SPI" + subMenu = spiFunction, "SPI"@@if_ts_show_spi subMenu = monitoringSettings, "rusEfi console" subMenu = std_separator diff --git a/firmware/tunerstudio/rusefi_microrusefi.ini b/firmware/tunerstudio/rusefi_microrusefi.ini index 761e2ccbb6..5601a69daa 100644 --- a/firmware/tunerstudio/rusefi_microrusefi.ini +++ b/firmware/tunerstudio/rusefi_microrusefi.ini @@ -85,7 +85,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Mar 17 13:38:00 EDT 2020 +; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Mar 17 13:53:13 EDT 2020 pageSize = 20000 page = 1 @@ -2439,7 +2439,6 @@ menuDialog = main subMenu = engineTypeDialog, "Popular vehicles" subMenu = std_separator - subMenu = spiFunction, "SPI" subMenu = monitoringSettings, "rusEfi console" subMenu = std_separator