20:36:52 **** Incremental Build of configuration Debug for project Master_FT25 ****
make -j8 all 
arm-none-eabi-gcc "../Core/Src/can-halal.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H7A3xx -c -I../Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/can-halal.d" -MT"Core/Src/can-halal.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Core/Src/can-halal.o"
arm-none-eabi-gcc "../Core/Src/can.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H7A3xx -c -I../Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/can.d" -MT"Core/Src/can.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Core/Src/can.o"
arm-none-eabi-gcc "../Core/Src/imd_monitoring.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H7A3xx -c -I../Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/imd_monitoring.d" -MT"Core/Src/imd_monitoring.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Core/Src/imd_monitoring.o"
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H7A3xx -c -I../Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
arm-none-eabi-gcc "../Core/Src/shunt_monitoring.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H7A3xx -c -I../Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/shunt_monitoring.d" -MT"Core/Src/shunt_monitoring.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Core/Src/shunt_monitoring.o"
arm-none-eabi-gcc "../Core/Src/soc_estimation.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H7A3xx -c -I../Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/soc_estimation.d" -MT"Core/Src/soc_estimation.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Core/Src/soc_estimation.o"
arm-none-eabi-gcc "../Core/Src/status_led.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H7A3xx -c -I../Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/status_led.d" -MT"Core/Src/status_led.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Core/Src/status_led.o"
arm-none-eabi-gcc "../Core/Src/stm32h7xx_hal_msp.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H7A3xx -c -I../Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/stm32h7xx_hal_msp.d" -MT"Core/Src/stm32h7xx_hal_msp.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Core/Src/stm32h7xx_hal_msp.o"
In file included from ../Core/Src/can-halal.c:1:
../Core/Inc/can-halal.h:26:10: error: #error "Please configure the number of filters in CubeMX, and then add a compiler define for FTCAN_NUM_FILTERS"
   26 |         #error "Please configure the number of filters in CubeMX, and then add a compiler define for FTCAN_NUM_FILTERS"
      |          ^~~~~
In file included from ../Core/Src/can.c:9:
../Core/Inc/can-halal.h:26:10: error: #error "Please configure the number of filters in CubeMX, and then add a compiler define for FTCAN_NUM_FILTERS"
   26 |         #error "Please configure the number of filters in CubeMX, and then add a compiler define for FTCAN_NUM_FILTERS"
      |          ^~~~~
../Core/Src/can.c: In function 'can_send_status':
../Core/Src/can.c:27:36: error: 'min_voltage' undeclared (first use in this function)
   27 |   ftcan_marshal_unsigned(&data[2], min_voltage, 2);
      |                                    ^~~~~~~~~~~
../Core/Src/can.c:27:36: note: each undeclared identifier is reported only once for each function it appears in
../Core/Src/can.c:28:34: error: 'max_temp' undeclared (first use in this function)
   28 |   ftcan_marshal_signed(&data[4], max_temp, 2);
      |                                  ^~~~~~~~
../Core/Src/can-halal.c: In function 'ftcan_add_filter':
In file included from ../Core/Src/shunt_monitoring.c:9:
../Core/Inc/can-halal.h:26:10: error: #error "Please configure the number of filters in CubeMX, and then add a compiler define for FTCAN_NUM_FILTERS"
   26 |         #error "Please configure the number of filters in CubeMX, and then add a compiler define for FTCAN_NUM_FILTERS"
      |          ^~~~~
../Core/Src/can-halal.c:155:28: error: 'FTCAN_NUM_FILTERS' undeclared (first use in this function)
  155 |   if (filter.FilterIndex > FTCAN_NUM_FILTERS + 1) {
      |                            ^~~~~~~~~~~~~~~~~
../Core/Src/can-halal.c:155:28: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Core/Src/subdir.mk:58: Core/Src/shunt_monitoring.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Core/Src/subdir.mk:58: Core/Src/can-halal.o] Error 1
../Core/Src/status_led.c:7:2: warning: #warning enable the second LED [-Wcpp]
    7 | #warning enable the second LED
      |  ^~~~~~~
../Core/Src/soc_estimation.c: In function 'soc_update':
../Core/Src/soc_estimation.c:50:31: error: 'min_voltage' undeclared (first use in this function)
   50 |     current_soc = soc_for_ocv(min_voltage);
      |                               ^~~~~~~~~~~
../Core/Src/soc_estimation.c:50:31: note: each undeclared identifier is reported only once for each function it appears in
../Core/Src/main.c: In function 'update_tsal_signals':
../Core/Src/main.c:124:39: error: 'PRECHARGE_CLOSED_GPIO_Port' undeclared (first use in this function); did you mean 'PRECHARGE_CTRL_GPIO_Port'?
  124 |   precharge_closed = HAL_GPIO_ReadPin(PRECHARGE_CLOSED_GPIO_Port,
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                       PRECHARGE_CTRL_GPIO_Port
../Core/Src/main.c:124:39: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Core/Src/subdir.mk:58: Core/Src/soc_estimation.o] Error 1
../Core/Src/can.c: In function 'ftcan_msg_received_cb':
../Core/Src/can.c:57:5: warning: implicit declaration of function 'slaves_handle_status' [-Wimplicit-function-declaration]
   57 |     slaves_handle_status(data);
      |     ^~~~~~~~~~~~~~~~~~~~
../Core/Src/main.c:125:39: error: 'PRECHARGE_CLOSED_Pin' undeclared (first use in this function); did you mean 'PRECHARGE_CTRL_Pin'?
  125 |                                       PRECHARGE_CLOSED_Pin) == GPIO_PIN_SET;
      |                                       ^~~~~~~~~~~~~~~~~~~~
      |                                       PRECHARGE_CTRL_Pin
../Core/Src/can.c:62:5: warning: implicit declaration of function 'slaves_handle_panic' [-Wimplicit-function-declaration]
   62 |     slaves_handle_panic(data);
      |     ^~~~~~~~~~~~~~~~~~~
../Core/Src/main.c: In function 'main':
../Core/Src/main.c:170:3: warning: implicit declaration of function 'slaves_init' [-Wimplicit-function-declaration]
  170 |   slaves_init();
      |   ^~~~~~~~~~~
make: *** [Core/Src/subdir.mk:58: Core/Src/main.o] Error 1
../Core/Src/can.c:65:5: warning: implicit declaration of function 'slaves_handle_log' [-Wimplicit-function-declaration]
   65 |     slaves_handle_log(data);
      |     ^~~~~~~~~~~~~~~~~
make: *** [Core/Src/subdir.mk:58: Core/Src/can.o] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.
