Skip to content

Commit

Permalink
axe "fancy" content
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Dec 8, 2024
1 parent d4361d1 commit ef673d5
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 217 deletions.
2 changes: 0 additions & 2 deletions firmware/gen_config_board.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ java \
-jar ../java_tools/ConfigDefinition.jar \
-readfile OUTPUTS_SECTION_FROM_FILE generated/output_channels.ini \
-readfile DATALOG_SECTION_FROM_FILE generated/data_logs.ini \
-readfile LIVE_DATA_MENU_FROM_FILE generated/fancy_menu.ini \
-readfile LIVE_DATA_PANELS_FROM_FILE generated/fancy_content.ini \
-triggerInputFolder ../unit_tests \
-with_c_defines false \
-field_lookup_file generated/value_lookup_generated.cpp generated/value_lookup_generated.md \
Expand Down
4 changes: 0 additions & 4 deletions firmware/tunerstudio/tunerstudio.template.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2016,8 +2016,6 @@ menuDialog = main
subMenu = helpGeneral, "FOME Info"

menu = "&View"
@@LIVE_DATA_MENU_FROM_FILE@@


[ControllerCommands]
; commandName = command1, command2, commandn...
Expand Down Expand Up @@ -2182,8 +2180,6 @@ cmd_set_engine_type_8888_test = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS
cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_SET_DEFAULT_ENGINE_16_hex@@\x00\x00"

[UserDefined]
@@LIVE_DATA_PANELS_FROM_FILE@@

dialog = scriptTable1TblSettings, "", yAxis
field = "Name", scriptTableName1
panel = scriptTable1Tbl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ public class LiveDataProcessor {

private final StringBuilder baseAddressCHeader = new StringBuilder();

private final StringBuilder fancyNewStuff = new StringBuilder();

private final StringBuilder fancyNewMenu = new StringBuilder();

private final StringBuilder fragmentsContent = new StringBuilder(header);

private final String extraPrepend = System.getProperty("LiveDataProcessor.extra_prepend");
Expand Down Expand Up @@ -72,14 +68,6 @@ public static void main(String[] args) throws IOException {
fw.write(header);
fw.write("#define TS_TOTAL_OUTPUT_SIZE " + sensorTsPosition);
}

try (FileWriter fw = new FileWriter(tsOutputsDestination + "fancy_content.ini")) {
fw.write(liveDataProcessor.fancyNewStuff.toString());
}

try (FileWriter fw = new FileWriter(tsOutputsDestination + "fancy_menu.ini")) {
fw.write(liveDataProcessor.fancyNewMenu.toString());
}
}

interface EntryHandler {
Expand All @@ -106,9 +94,6 @@ private int handleYaml(Map<String, Object> data) throws IOException {
state.setDefinitionInputFile(folder + File.separator + name + ".txt");
state.setWithC_Defines(withCDefines);

FragmentDialogConsumer fragmentDialogConsumer = new FragmentDialogConsumer(name);
state.addDestination(fragmentDialogConsumer);

if (extraPrepend != null)
state.addPrepend(extraPrepend);
state.addPrepend(prepend);
Expand Down Expand Up @@ -156,10 +141,6 @@ private int handleYaml(Map<String, Object> data) throws IOException {

state.doJob();

fancyNewStuff.append(fragmentDialogConsumer.getContent());

fancyNewMenu.append(fragmentDialogConsumer.menuLine());

log.info("Done with " + name + " at " + outputChannelWriter.getSize());
};

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit ef673d5

Please sign in to comment.