disable unused parameter warning in build configuration, update HAL includes
This commit is contained in:
parent
05b5e8c3c6
commit
7b976812ac
|
@ -2,8 +2,6 @@
|
|||
#define INC_CAN_H
|
||||
|
||||
#include "stm32h7xx_hal.h"
|
||||
#include "stm32h7xx_hal_fdcan.h"
|
||||
#include "stm32h7xx_hal_def.h"
|
||||
|
||||
#include "ts_state_machine.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "status_led.h"
|
||||
|
||||
#include "stm32h7xx_hal.h"
|
||||
#include "stm32h7xx_hal_gpio.h"
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "can-halal.h"
|
||||
|
||||
#include "stm32h7xx_hal.h"
|
||||
#include "stm32h7xx_hal_gpio.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "status_led.h"
|
||||
#include "main.h"
|
||||
#include "stm32h7xx_hal_gpio.h"
|
||||
#include "stm32h7xx_hal.h"
|
||||
#include "ts_state_machine.h"
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include "main.h"
|
||||
#include "shunt_monitoring.h"
|
||||
#include "stm32h7xx_hal.h"
|
||||
#include "stm32h7xx_hal_gpio.h"
|
||||
#include "status_led.h"
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "util.h"
|
||||
#include "main.h"
|
||||
#include "stm32h7xx_hal_gpio.h"
|
||||
#include "stm32h7xx_hal.h"
|
||||
|
||||
void set_error_led() {
|
||||
#warning "check callers of this function"
|
||||
|
|
|
@ -41,6 +41,7 @@ asDefinitionsFile:
|
|||
cFlags:
|
||||
- -Wall
|
||||
- -Wextra
|
||||
- -Wno-unused-parameter
|
||||
- -fdata-sections
|
||||
- -ffunction-sections
|
||||
- -std=gnu2x
|
||||
|
|
Loading…
Reference in New Issue