Skip to content

Commit 64a6d29

Browse files
cowsedAarC10
andauthored
Airbrakes Test Flight Code (#385)
Co-authored-by: Aaron Chan <aarchan108@gmail.com> Co-authored-by: Aaron <30483634+AarC10@users.noreply.github.com>
1 parent 7b805d4 commit 64a6d29

27 files changed

Lines changed: 1760 additions & 246 deletions

app/other/airbraker/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ add_dependencies(app ac_types)
1818
# Options for LUT Generator
1919
set(LUT_SCRIPT_PATH ${CMAKE_SOURCE_DIR}/tools/lut_to_c.py)
2020
set(LUT_DEFS_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/lut_generated/quantile_lut_data.h)
21-
set(LUT_INPUT_PATH ${CMAKE_SOURCE_DIR}/data/quantile_luts/omen_lut.csv)
21+
set(LUT_INPUT_PATH ${CMAKE_SOURCE_DIR}/data/controller_descriptions/john_2026-03-28t16-00-32.json)
2222

2323

2424
# LUT Generator implementation
@@ -30,7 +30,7 @@ make_directory(${LUT_DEFS_OUTPUT_DIR})
3030
add_custom_command(
3131
OUTPUT ${LUT_DEFS_OUTPUT_PATH} ${LUT_DEFS_OUTPUT_DIR}
3232
COMMAND ${PYTHON_EXECUTABLE} ${LUT_SCRIPT_PATH} ${LUT_INPUT_PATH} > ${LUT_DEFS_OUTPUT_PATH}
33-
DEPENDS ${LOWER_PATH} ${UPPER_PATH} ${LUT_SCRIPT_PATH}
33+
DEPENDS ${LUT_INPUT_PATH} ${LUT_SCRIPT_PATH}
3434
VERBATIM
3535
COMMENT "Generating Quantile LUT C Defines"
3636
)

app/other/airbraker/boards/controls_module.overlay

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@
3838
};
3939
// hole/buffer so that we can use 64KB erases for this guy
4040
flight_storage@10000{
41-
// DT_SIZE_K(16320)> left after this.
4241
// We don't need all of it (yet) and it would take forever to erase
43-
reg = <0x10000 DT_SIZE_M(2)>;
42+
reg = <0x10000 DT_SIZE_K(3072)>;
4443
label = "flight_storage";
4544
};
4645
};

app/other/airbraker/boards/native_sim.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
label = "parameter_storage";
8686
};
8787
flight_storage@20000{
88-
reg = <0x20000 DT_SIZE_M(2)>;
88+
reg = <0x20000 DT_SIZE_K(3072)>;
8989
label = "flight_storage";
9090
};
9191
};

app/other/airbraker/boards/sw_board.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
flight_storage@10000{
5151
// DT_SIZE_K(16320) (~15.9 MB) left after this.
5252
// We don't need all of it (yet) and it would take forever to erase
53-
reg = <0x10000 DT_SIZE_M(2)>;
53+
reg = <0x10000 DT_SIZE_K(3072)>;
5454
label = "flight_storage";
5555
};
5656
};

0 commit comments

Comments
 (0)