diff --git a/firmware/config/boards/cypress/prepend.txt b/firmware/config/boards/cypress/prepend.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/firmware/config/boards/proteus/prepend.txt b/firmware/config/boards/proteus/prepend.txt index 3fd77ce938..fa1f4b8774 100644 --- a/firmware/config/boards/proteus/prepend.txt +++ b/firmware/config/boards/proteus/prepend.txt @@ -27,9 +27,3 @@ #define CLT_TIMING_CURVE_SIZE 3 #define IAT_IGN_CORR_COUNT 4 - -! f4 does not like this #define LUA_SCRIPT_SIZE 32000 -! TODO what we need is a way to define one LUA_SCRIPT_SIZE for F4 and different one for F7 -! todo: maybe some integration between meta_info and prepend? -#define LUA_SCRIPT_SIZE 13500 - diff --git a/firmware/config/boards/proteus/prepend_proteus_f4.txt b/firmware/config/boards/proteus/prepend_proteus_f4.txt new file mode 100644 index 0000000000..db189682aa --- /dev/null +++ b/firmware/config/boards/proteus/prepend_proteus_f4.txt @@ -0,0 +1 @@ +#define LUA_SCRIPT_SIZE 13500 \ No newline at end of file diff --git a/firmware/config/boards/proteus/prepend_proteus_f7.txt b/firmware/config/boards/proteus/prepend_proteus_f7.txt new file mode 100644 index 0000000000..3dae7942d2 --- /dev/null +++ b/firmware/config/boards/proteus/prepend_proteus_f7.txt @@ -0,0 +1 @@ +#define LUA_SCRIPT_SIZE 32000 \ No newline at end of file