Build Panda diagnostic firmware

This commit is contained in:
firestar5683
2026-11-02 21:05:14 +00:00
parent 7125680cd3
commit c802cb51a3
45 changed files with 74 additions and 69 deletions
+62 -60
View File
@@ -5810,7 +5810,7 @@ const ::capnp::_::RawSchema s_f2fd0b8b0ac9adbb = {
};
#endif // !CAPNP_LITE
CAPNP_DEFINE_ENUM(FaultStatus_f2fd0b8b0ac9adbb, f2fd0b8b0ac9adbb);
static const ::capnp::_::AlignedData<182> b_cd55c07f69249798 = {
static const ::capnp::_::AlignedData<184> b_cd55c07f69249798 = {
{ 0, 0, 0, 0, 5, 0, 6, 0,
152, 151, 36, 105, 127, 192, 85, 205,
21, 0, 0, 0, 2, 0, 0, 0,
@@ -5820,7 +5820,7 @@ static const ::capnp::_::AlignedData<182> b_cd55c07f69249798 = {
21, 0, 0, 0, 250, 0, 0, 0,
33, 0, 0, 0, 7, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
29, 0, 0, 0, 143, 2, 0, 0,
29, 0, 0, 0, 215, 2, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
108, 111, 103, 46, 99, 97, 112, 110,
@@ -5828,87 +5828,96 @@ static const ::capnp::_::AlignedData<182> b_cd55c07f69249798 = {
116, 97, 116, 101, 46, 70, 97, 117,
108, 116, 84, 121, 112, 101, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
108, 0, 0, 0, 1, 0, 2, 0,
120, 0, 0, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0, 0, 0,
61, 1, 0, 0, 138, 0, 0, 0,
97, 1, 0, 0, 138, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0,
61, 1, 0, 0, 186, 0, 0, 0,
97, 1, 0, 0, 186, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 0, 0, 0, 0,
61, 1, 0, 0, 146, 0, 0, 0,
97, 1, 0,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, 0, 0,
24, 0, 0, 0, 0, 0, 0, 0,
69, 1, 0, 0, 154, 0, 0, 0,
65, 1, 0, 0, 34, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
25, 0, 0, 0, 0, 0, 0, 0,
69, 1, 0, 0, 138, 0, 0, 0,
57, 1, 0, 0, 138, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
26, 0, 0, 0, 0, 0, 0, 0,
69, 1, 0, 0, 178, 0, 0, 0,
57, 1, 0, 0, 178, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
27, 0, 0, 0, 0, 0, 0, 0,
57, 1, 0, 0, 178, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
28, 0, 0, 0, 0, 0, 0, 0,
57, 1, 0, 0, 34, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
29, 0, 0, 0, 0, 0, 0, 0,
49, 1, 0, 0, 50, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
114, 101, 108, 97, 121, 77, 97, 108,
102, 117, 110, 99, 116, 105, 111, 110,
@@ -5938,33 +5947,23 @@ static const ::capnp::_::AlignedData<182> b_cd55c07f69249798 = {
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 83, 112, 105,
68, 109, 97, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 83, 112, 105,
67, 115, 0, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 85, 97, 114,
116, 49, 0, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 85, 97, 114,
116, 50, 0, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 85, 97, 114,
116, 51, 0, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 85, 97, 114,
116, 53, 0, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 85, 97, 114,
116, 68, 109, 97, 0, 0, 0, 0,
115, 101, 108, 102, 84, 101, 115, 116,
67, 112, 117, 0, 0, 0, 0, 0,
115, 101, 108, 102, 84, 101, 115, 116,
82, 97, 109, 0, 0, 0, 0, 0,
115, 101, 108, 102, 84, 101, 115, 116,
70, 108, 97, 115, 104, 0, 0, 0,
101, 99, 99, 0, 0, 0, 0, 0,
111, 117, 116, 112, 117, 116, 82, 101,
97, 100, 98, 97, 99, 107, 0, 0,
100, 109, 97, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 85, 115, 98,
0, 0, 0, 0, 0, 0, 0, 0,
99, 108, 111, 99, 107, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 84, 105, 109,
49, 0, 0, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 84, 105, 109,
51, 0, 0, 0, 0, 0, 0, 0,
116, 77, 105, 115, 115, 105, 110, 103,
0, 0, 0, 0, 0, 0, 0, 0,
114, 101, 103, 105, 115, 116, 101, 114,
68, 105, 118, 101, 114, 103, 101, 110,
116, 0, 0, 0, 0, 0, 0, 0,
@@ -5984,22 +5983,25 @@ static const ::capnp::_::AlignedData<182> b_cd55c07f69249798 = {
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 83, 112, 105,
0, 0, 0, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 85, 97, 114,
116, 55, 0, 0, 0, 0, 0, 0,
97, 100, 99, 0, 0, 0, 0, 0,
115, 105, 114, 101, 110, 77, 97, 108,
102, 117, 110, 99, 116, 105, 111, 110,
0, 0, 0, 0, 0, 0, 0, 0,
104, 101, 97, 114, 116, 98, 101, 97,
116, 76, 111, 111, 112, 87, 97, 116,
99, 104, 100, 111, 103, 0, 0, 0, }
99, 104, 100, 111, 103, 0, 0, 0,
105, 110, 116, 101, 114, 114, 117, 112,
116, 82, 97, 116, 101, 83, 111, 117,
110, 100, 68, 109, 97, 0, 0, 0,
109, 112, 117, 0, 0, 0, 0, 0,
116, 105, 109, 101, 114, 0, 0, 0, }
};
::capnp::word const* const bp_cd55c07f69249798 = b_cd55c07f69249798.words;
#if !CAPNP_LITE
static const uint16_t m_cd55c07f69249798[] = {26, 2, 3, 4, 20, 22, 6, 7, 19, 23, 9, 8, 5, 21, 16, 17, 10, 11, 12, 13, 24, 14, 15, 18, 0, 25, 1};
static const uint16_t m_cd55c07f69249798[] = {24, 16, 14, 12, 26, 17, 2, 3, 4, 20, 22, 6, 7, 19, 27, 23, 8, 5, 21, 15, 28, 13, 18, 0, 9, 11, 10, 25, 29, 1};
const ::capnp::_::RawSchema s_cd55c07f69249798 = {
0xcd55c07f69249798, b_cd55c07f69249798.words, 182, nullptr, m_cd55c07f69249798,
0, 27, nullptr, nullptr, nullptr, { &s_cd55c07f69249798, nullptr, nullptr, 0, 0, nullptr }, false
0xcd55c07f69249798, b_cd55c07f69249798.words, 184, nullptr, m_cd55c07f69249798,
0, 30, nullptr, nullptr, nullptr, { &s_cd55c07f69249798, nullptr, nullptr, 0, 0, nullptr }, false
};
#endif // !CAPNP_LITE
CAPNP_DEFINE_ENUM(FaultType_cd55c07f69249798, cd55c07f69249798);
+12 -9
View File
@@ -291,24 +291,27 @@ enum class FaultType_cd55c07f69249798: uint16_t {
INTERRUPT_RATE_GMLAN_D_E_P_R_E_C_A_T_E_D,
INTERRUPT_RATE_INTERRUPTS,
INTERRUPT_RATE_SPI_DMA,
INTERRUPT_RATE_SPI_CS,
INTERRUPT_RATE_UART1,
INTERRUPT_RATE_UART2,
INTERRUPT_RATE_UART3,
INTERRUPT_RATE_UART5,
INTERRUPT_RATE_UART_DMA,
SELF_TEST_CPU,
SELF_TEST_RAM,
SELF_TEST_FLASH,
ECC,
OUTPUT_READBACK,
DMA,
INTERRUPT_RATE_USB,
INTERRUPT_RATE_TIM1,
INTERRUPT_RATE_TIM3,
CLOCK,
INTERRUPT_MISSING,
REGISTER_DIVERGENT,
INTERRUPT_RATE_KLINE_INIT,
INTERRUPT_RATE_CLOCK_SOURCE,
INTERRUPT_RATE_TICK,
INTERRUPT_RATE_EXTI,
INTERRUPT_RATE_SPI,
INTERRUPT_RATE_UART7,
ADC,
SIREN_MALFUNCTION,
HEARTBEAT_LOOP_WATCHDOG,
INTERRUPT_RATE_SOUND_DMA,
MPU,
TIMER,
};
CAPNP_DECLARE_ENUM(FaultType, cd55c07f69249798);
CAPNP_DECLARE_SCHEMA(8a58adf93e5b3751);
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.