board: delete unused macros and tags (MISRA 2.4, 2.5) (#2525)

This commit is contained in:
Adeeb Shihadeh
2026-11-28 12:25:51 -06:00
committed by firestar5683
parent a1af3b8dae
commit 3f8477d841
3 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include "board/drivers/drivers.h"
typedef struct reg {
typedef struct {
volatile uint32_t *address;
uint32_t value;
uint32_t check_mask;
-2
View File
@@ -41,8 +41,6 @@ separate IRQs for RX and TX.
#define INTERRUPT_TIMER_IRQ TIM6_DAC_IRQn
#define INTERRUPT_TIMER TIM6
#define IND_WDG IWDG1
#define PROVISION_CHUNK_ADDRESS 0x080FFFE0U
#define DEVICE_SERIAL_NUMBER_ADDRESS 0x080FFFC0U
-2
View File
@@ -36,7 +36,6 @@ extern uint8_t global_critical_depth;
#define FAULT_INTERRUPT_RATE_CAN_3 (1UL << 4)
#define FAULT_INTERRUPT_RATE_TACH (1UL << 5)
#define FAULT_INTERRUPT_RATE_INTERRUPTS (1UL << 7)
#define FAULT_INTERRUPT_RATE_SPI_DMA (1UL << 8)
#define FAULT_SELF_TEST_CPU (1UL << 9)
#define FAULT_SELF_TEST_RAM (1UL << 10)
#define FAULT_SELF_TEST_FLASH (1UL << 11)
@@ -47,7 +46,6 @@ extern uint8_t global_critical_depth;
#define FAULT_CLOCK (1UL << 16)
#define FAULT_INTERRUPT_MISSING (1UL << 17)
#define FAULT_REGISTER_DIVERGENT (1UL << 18)
#define FAULT_INTERRUPT_RATE_CLOCK_SOURCE (1UL << 20)
#define FAULT_INTERRUPT_RATE_TICK (1UL << 21)
#define FAULT_INTERRUPT_RATE_EXTI (1UL << 22)
#define FAULT_INTERRUPT_RATE_SPI (1UL << 23)