#

##

##

##

##

##

##

    µVision Build Log
    Tool Versions:
    IDE-Version: ¦ÌVision V5.43.1.0
    Copyright (C) 2025 ARM Ltd and ARM Germany GmbH. All rights reserved.
    License Information: LS Mushui, 1, LIC=NQQMA-1N3GT-30GNC-71PK8-06QJT-WGQ3X

    Tool Versions:
    Toolchain:       MDK-ARM Plus  Version: 5.43.0.0
    Toolchain Path:  C:\Users\LSMushui\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin
    C Compiler:      ArmClang.exe V6.24
    Assembler:       Armasm.exe V6.24
    Linker/Locator:  ArmLink.exe V6.24
    Library Manager: ArmAr.exe V6.24
    Hex Converter:   FromElf.exe V6.24
    CPU DLL:         SARMCM3.DLL V5.43.0.0
    Dialog DLL:      DCM.DLL V1.17.5.0
    Target DLL:      CMSIS_AGDI.dll V1.33.24.0
    Dialog DLL:      TCM.DLL V1.56.6.0

    Project:
    C:\Users\LSMushui\Desktop\Simba-RMUL-2027\Simba-ELCT-FrameWork\MDK-ARM\Simba-ELCT-FrameWork.uvprojx
    Project File Date:  04/12/2026

    Output:
    *** Using Compiler 'V6.24', folder: 'C:\Users\LSMushui\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin'
    Rebuild target 'Simba-ELCT-FrameWork'
    compiling stm32f4xx_it.c...
    compiling can.c...
    compiling gpio.c...
    assembling startup_stm32f407xx.s...
    compiling usart.c...
    compiling i2c.c...
    compiling main.c...
    compiling stm32f4xx_hal_timebase_tim.c...
    compiling stm32f4xx_hal_tim_ex.c...
    compiling tim.c...
    compiling stm32f4xx_hal_msp.c...
    compiling stm32f4xx_hal_pcd.c...
    compiling dma.c...
    compiling spi.c...
    compiling stm32f4xx_hal_pcd_ex.c...
    compiling crc.c...
    compiling freertos.c...
    compiling stm32f4xx_hal_rcc_ex.c...
    compiling adc.c...
    compiling rtc.c...
    compiling stm32f4xx_hal_rcc.c...
    compiling stm32f4xx_hal_flash.c...
    compiling stm32f4xx_ll_usb.c...
    compiling stm32f4xx_hal_flash_ramfunc.c...
    compiling stm32f4xx_hal_tim.c...
    compiling stm32f4xx_hal.c...
    compiling stm32f4xx_hal_pwr_ex.c...
    compiling stm32f4xx_hal_pwr.c...
    compiling stm32f4xx_hal_exti.c...
    compiling stm32f4xx_hal_flash_ex.c...
    compiling stm32f4xx_hal_cortex.c...
    compiling stm32f4xx_hal_dma.c...
    compiling stm32f4xx_hal_gpio.c...
    compiling stm32f4xx_hal_adc_ex.c...
    compiling stm32f4xx_hal_dma_ex.c...
    compiling stm32f4xx_hal_adc.c...
    compiling stm32f4xx_ll_adc.c...
    compiling stm32f4xx_hal_crc.c...
    compiling stm32f4xx_hal_i2c_ex.c...
    compiling system_stm32f4xx.c...
    compiling stm32f4xx_hal_can.c...
    compiling stm32f4xx_hal_rtc.c...
    compiling stm32f4xx_hal_rtc_ex.c...
    compiling croutine.c...
    compiling list.c...
    compiling stm32f4xx_hal_uart.c...
    compiling stm32f4xx_hal_spi.c...
    compiling event_groups.c...
    compiling stm32f4xx_hal_i2c.c...
    compiling timers.c...
    compiling queue.c...
    compiling cmsis_os.c...
    compiling stream_buffer.c...
    compiling tasks.c...
    compiling heap_4.c...
    compiling usbd_cdc_if.c...
    compiling port.c...
    compiling usbd_core.c...
    ../bsp/boards/bsp_buzzer.c(1): warning: In file included from...
    ../bsp/boards\bsp_buzzer.h(4): error: unknown type name 'uint16_t'
        4 | extern void buzzer_on(uint16_t psc, uint16_t pwm);
          |                       ^
    ../bsp/boards\bsp_buzzer.h(4): error: unknown type name 'uint16_t'
        4 | extern void buzzer_on(uint16_t psc, uint16_t pwm);
          |                                     ^
    ../bsp/boards\bsp_buzzer.h(6): error: unknown type name 'uint16_t'
        6 | extern void buzzer_note(uint16_t note,float volume);
          |                         ^
    3 errors generated.
    compiling bsp_buzzer.c...
    ../bsp/boards/bsp_adc.c(1): warning: In file included from...
    ../bsp/boards\bsp_adc.h(5): error: unknown type name 'fp32'
        5 | extern fp32 get_temprate(void);
          |        ^
    ../bsp/boards\bsp_adc.h(6): error: unknown type name 'fp32'
        6 | extern fp32 get_battery_voltage(void);
          |        ^
    ../bsp/boards\bsp_adc.h(7): error: unknown type name 'uint8_t'
        7 | extern uint8_t get_hardware_version(void);
          |        ^
    ../bsp/boards/bsp_adc.c(8): error: unknown type name 'fp32'
        8 | volatile fp32 voltage_vrefint_proportion = 8.0586080586080586080586080586081e-4f;
          |          ^
    ../bsp/boards/bsp_adc.c(39): error: unknown type name 'fp32'
       39 | fp32 get_temprate(void)
          | ^
    ../bsp/boards/bsp_adc.c(42): error: use of undeclared identifier 'fp32'
       42 |     fp32 temperate;
          |     ^
    ../bsp/boards/bsp_adc.c(45): error: use of undeclared identifier 'temperate'
       45 |     temperate = (fp32)adcx * voltage_vrefint_proportion;
          |     ^
    ../bsp/boards/bsp_adc.c(45): error: use of undeclared identifier 'fp32'
       45 |     temperate = (fp32)adcx * voltage_vrefint_proportion;
          |                  ^
    ../bsp/boards/bsp_adc.c(46): error: use of undeclared identifier 'temperate'
       46 |     temperate = (temperate - 0.76f) * 400.0f + 25.0f;
          |     ^
    ../bsp/boards/bsp_adc.c(46): error: use of undeclared identifier 'temperate'
       46 |     temperate = (temperate - 0.76f) * 400.0f + 25.0f;
          |                  ^
    ../bsp/boards/bsp_adc.c(48): error: use of undeclared identifier 'temperate'
       48 |     return temperate;
          |            ^
    ../bsp/boards/bsp_adc.c(52): error: unknown type name 'fp32'
       52 | fp32 get_battery_voltage(void)
          | ^
    ../bsp/boards/bsp_adc.c(54): error: use of undeclared identifier 'fp32'
       54 |     fp32 voltage;
          |     ^
    ../bsp/boards/bsp_adc.c(58): error: use of undeclared identifier 'voltage'
       58 |     voltage =  (fp32)adcx * voltage_vrefint_proportion * 10.090909090909090909090909090909f;
          |     ^
    ../bsp/boards/bsp_adc.c(58): error: use of undeclared identifier 'fp32'
       58 |     voltage =  (fp32)adcx * voltage_vrefint_proportion * 10.090909090909090909090909090909f;
          |                 ^
    ../bsp/boards/bsp_adc.c(60): error: use of undeclared identifier 'voltage'
       60 |     return voltage;
          |            ^
    16 errors generated.
    compiling bsp_adc.c...
    compiling usbd_ioreq.c...
    compiling usb_device.c...
    compiling bsp_can.c...
    ../bsp/boards/bsp_crc32.c(1): warning: In file included from...
    ../bsp/boards\bsp_crc32.h(4): error: unknown type name 'uint32_t'
        4 | extern uint32_t get_crc32_check_sum(uint32_t *data, uint32_t len);
          |        ^
    ../bsp/boards\bsp_crc32.h(4): error: unknown type name 'uint32_t'
        4 | extern uint32_t get_crc32_check_sum(uint32_t *data, uint32_t len);
          |                                     ^
    ../bsp/boards\bsp_crc32.h(4): error: unknown type name 'uint32_t'
        4 | extern uint32_t get_crc32_check_sum(uint32_t *data, uint32_t len);
          |                                                     ^
    ../bsp/boards\bsp_crc32.h(5): error: unknown type name 'bool_t'
        5 | extern bool_t  verify_crc32_check_sum(uint32_t *data, uint32_t len);
          |        ^
    ../bsp/boards\bsp_crc32.h(5): error: unknown type name 'uint32_t'
        5 | extern bool_t  verify_crc32_check_sum(uint32_t *data, uint32_t len);
          |                                       ^
    ../bsp/boards\bsp_crc32.h(5): error: unknown type name 'uint32_t'
        5 | extern bool_t  verify_crc32_check_sum(uint32_t *data, uint32_t len);
          |                                                       ^
    ../bsp/boards\bsp_crc32.h(6): error: unknown type name 'uint32_t'
        6 | extern void append_crc32_check_sum(uint32_t *data, uint32_t len);
          |                                    ^
    ../bsp/boards\bsp_crc32.h(6): error: unknown type name 'uint32_t'
        6 | extern void append_crc32_check_sum(uint32_t *data, uint32_t len);
          |                                                    ^
    ../bsp/boards/bsp_crc32.c(10): error: unknown type name 'bool_t'
       10 | bool_t verify_crc32_check_sum(uint32_t *data, uint32_t len)
          | ^
    9 errors generated.
    compiling bsp_crc32.c...
    compiling usbd_desc.c...
    compiling usbd_conf.c...
    compiling usbd_cdc.c...
    compiling usbd_ctlreq.c...
    ../bsp/boards/bsp_imu_pwm.c(1): warning: In file included from...
    ../bsp/boards\bsp_imu_pwm.h(4): error: unknown type name 'uint16_t'
        4 | extern void imu_pwm_set(uint16_t pwm);
          |                         ^
    1 error generated.
    compiling bsp_imu_pwm.c...
    ../bsp/boards/bsp_delay.c(1): warning: In file included from...
    ../bsp/boards\bsp_delay.h(5): error: unknown type name 'uint16_t'
        5 | extern void delay_us(uint16_t nus);
          |                      ^
    ../bsp/boards\bsp_delay.h(6): error: unknown type name 'uint16_t'
        6 | extern void delay_ms(uint16_t nms);
          |                      ^
    2 errors generated.
    compiling bsp_delay.c...
    ../bsp/boards/bsp_fric.c(1): warning: In file included from...
    ../bsp/boards\bsp_fric.h(9): error: unknown type name 'uint16_t'
        9 | extern void fric1_on(uint16_t cmd);
          |                      ^
    ../bsp/boards\bsp_fric.h(10): error: unknown type name 'uint16_t'
       10 | extern void fric2_on(uint16_t cmd);
          |                      ^
    2 errors generated.
    compiling bsp_fric.c...
    ../bsp/boards/bsp_i2c.c(1): warning: In file included from...
    ../bsp/boards\bsp_i2c.h(11): error: unknown type name 'bool_t'
       11 | extern bool_t bsp_I2C_check_ack(I2C_TypeDef *I2C, uint16_t I2C_address);
          |        ^
    ../bsp/boards/bsp_i2c.c(44): error: unknown type name 'bool_t'
       44 | bool_t bsp_I2C_check_ack(I2C_TypeDef *I2C, uint16_t I2C_address)
          | ^
    2 errors generated.
    compiling bsp_i2c.c...
    ../bsp/boards/bsp_flash.c(1): warning: In file included from...
    ../bsp/boards\bsp_flash.h(48): error: unknown type name 'uint32_t'
       48 | extern void flash_erase_address(uint32_t address, uint16_t len);
          |                                 ^
    ../bsp/boards\bsp_flash.h(48): error: unknown type name 'uint16_t'
       48 | extern void flash_erase_address(uint32_t address, uint16_t len);
          |                                                   ^
    ../bsp/boards\bsp_flash.h(64): error: unknown type name 'int8_t'
       64 | extern int8_t flash_write_single_address(uint32_t start_address, uint32_t *buf, uint32_t len);
          |        ^
    ../bsp/boards\bsp_flash.h(64): error: unknown type name 'uint32_t'
       64 | extern int8_t flash_write_single_address(uint32_t start_address, uint32_t *buf, uint32_t len);
          |                                          ^
    ../bsp/boards\bsp_flash.h(64): error: unknown type name 'uint32_t'
       64 | extern int8_t flash_write_single_address(uint32_t start_address, uint32_t *buf, uint32_t len);
          |                                                                  ^
    ../bsp/boards\bsp_flash.h(64): error: unknown type name 'uint32_t'
       64 | extern int8_t flash_write_single_address(uint32_t start_address, uint32_t *buf, uint32_t len);
          |                                                                                 ^
    ../bsp/boards\bsp_flash.h(83): error: unknown type name 'int8_t'
       83 | extern int8_t flash_write_muli_address(uint32_t start_address, uint32_t end_address, uint32_t *buf, uint32_t len);
          |        ^
    ../bsp/boards\bsp_flash.h(83): error: unknown type name 'uint32_t'
       83 | extern int8_t flash_write_muli_address(uint32_t start_address, uint32_t end_address, uint32_t *buf, uint32_t len);
          |                                        ^
    ../bsp/boards\bsp_flash.h(83): error: unknown type name 'uint32_t'
       83 | extern int8_t flash_write_muli_address(uint32_t start_address, uint32_t end_address, uint32_t *buf, uint32_t len);
          |                                                                ^
    ../bsp/boards\bsp_flash.h(83): error: unknown type name 'uint32_t'
       83 | extern int8_t flash_write_muli_address(uint32_t start_address, uint32_t end_address, uint32_t *buf, uint32_t len);
          |                                                                                      ^
    ../bsp/boards\bsp_flash.h(83): error: unknown type name 'uint32_t'
       83 | extern int8_t flash_write_muli_address(uint32_t start_address, uint32_t end_address, uint32_t *buf, uint32_t len);
          |                                                                                                     ^
    ../bsp/boards\bsp_flash.h(99): error: unknown type name 'uint32_t'
       99 | extern void flash_read(uint32_t address, uint32_t *buf, uint32_t len);
          |                        ^
    ../bsp/boards\bsp_flash.h(99): error: unknown type name 'uint32_t'
       99 | extern void flash_read(uint32_t address, uint32_t *buf, uint32_t len);
          |                                          ^
    ../bsp/boards\bsp_flash.h(99): error: unknown type name 'uint32_t'
       99 | extern void flash_read(uint32_t address, uint32_t *buf, uint32_t len);
          |                                                         ^
    ../bsp/boards\bsp_flash.h(111): error: unknown type name 'uint32_t'
      111 | extern uint32_t ger_sector(uint32_t address);
          |        ^
    ../bsp/boards\bsp_flash.h(111): error: unknown type name 'uint32_t'
      111 | extern uint32_t ger_sector(uint32_t address);
          |                            ^
    ../bsp/boards\bsp_flash.h(122): error: unknown type name 'uint32_t'
      122 | extern uint32_t get_next_flash_address(uint32_t address);
          |        ^
    ../bsp/boards\bsp_flash.h(122): error: unknown type name 'uint32_t'
      122 | extern uint32_t get_next_flash_address(uint32_t address);
          |                                        ^
    18 errors generated.
    compiling bsp_flash.c...
    compiling bsp_laser.c...
    ../bsp/boards/bsp_led.c(1): warning: In file included from...
    ../bsp/boards\bsp_led.h(14): error: unknown type name 'uint32_t'
       14 | extern void aRGB_led_show(uint32_t aRGB);
          |                           ^
    1 error generated.
    compiling bsp_led.c...
    ../bsp/boards/bsp_rc.c(1): warning: In file included from...
    ../bsp/boards\bsp_rc.h(4): error: unknown type name 'uint8_t'
        4 | extern void RC_Init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
          |                     ^
    ../bsp/boards\bsp_rc.h(4): error: unknown type name 'uint8_t'
        4 | extern void RC_Init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
          |                                       ^
    ../bsp/boards\bsp_rc.h(4): error: unknown type name 'uint16_t'
        4 | extern void RC_Init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
          |                                                         ^
    ../bsp/boards\bsp_rc.h(6): error: unknown type name 'uint16_t'
        6 | extern void RC_restart(uint16_t dma_buf_num);
          |                        ^
    4 errors generated.
    compiling bsp_rc.c...
    ../bsp/boards/bsp_pwm.c(1): warning: In file included from...
    ../bsp/boards\bsp_pwm.h(4): error: unknown type name 'uint16_t'
        4 | extern void servo_pwm_set(uint16_t pwm, uint8_t i);
          |                           ^
    ../bsp/boards\bsp_pwm.h(4): error: unknown type name 'uint8_t'
        4 | extern void servo_pwm_set(uint16_t pwm, uint8_t i);
          |                                         ^
    ../bsp/boards\bsp_pwm.h(5): error: unknown type name 'uint16_t'
        5 | extern void pump_pwm_set(uint16_t pwm, uint8_t i);
          |                          ^
    ../bsp/boards\bsp_pwm.h(5): error: unknown type name 'uint8_t'
        5 | extern void pump_pwm_set(uint16_t pwm, uint8_t i);
          |                                        ^
    4 errors generated.
    compiling bsp_pwm.c...
    compiling bsp_uart.c...
    ../bsp/boards/bsp_usart.c(1): warning: In file included from...
    ../bsp/boards\bsp_usart.h(4): error: unknown type name 'uint8_t'
        4 | extern void usart6_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
          |                         ^
    ../bsp/boards\bsp_usart.h(4): error: unknown type name 'uint8_t'
        4 | extern void usart6_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
          |                                           ^
    ../bsp/boards\bsp_usart.h(4): error: unknown type name 'uint16_t'
        4 | extern void usart6_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
          |                                                             ^
    ../bsp/boards\bsp_usart.h(6): error: unknown type name 'uint8_t'
        6 | extern void usart1_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
          |                         ^
    ../bsp/boards\bsp_usart.h(6): error: unknown type name 'uint8_t'
        6 | extern void usart1_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
          |                                           ^
    ../bsp/boards\bsp_usart.h(6): error: unknown type name 'uint16_t'
        6 | extern void usart1_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
          |                                                             ^
    ../bsp/boards\bsp_usart.h(8): error: unknown type name 'uint8_t'
        8 | extern void usart1_tx_dma_enable(uint8_t *data, uint16_t len);
          |                                  ^
    ../bsp/boards\bsp_usart.h(8): error: unknown type name 'uint16_t'
        8 | extern void usart1_tx_dma_enable(uint8_t *data, uint16_t len);
          |                                                 ^
    8 errors generated.
    compiling bsp_usart.c...
    ../bsp/boards/bsp_rng.c(1): warning: In file included from...
    ../bsp/boards\bsp_rng.h(4): error: unknown type name 'uint32_t'
        4 | extern uint32_t RNG_get_random_num(void);
          |        ^
    ../bsp/boards\bsp_rng.h(5): error: unknown type name 'int32_t'
        5 | extern int32_t RNG_get_random_rangle(int min, int max);
          |        ^
    ../bsp/boards/bsp_rng.c(4): error: unknown type name 'RNG_HandleTypeDef'; did you mean 'RTC_HandleTypeDef'?
        4 | extern RNG_HandleTypeDef hrng;
          |        ^~~~~~~~~~~~~~~~~
          |        RTC_HandleTypeDef
    ../Drivers/STM32F4xx_HAL_Driver/Inc\stm32f4xx_hal_rtc.h(197): note: 'RTC_HandleTypeDef' declared here
      197 | } RTC_HandleTypeDef;
          |   ^
    ../bsp/boards/bsp_rng.c(9): error: call to undeclared function 'HAL_RNG_GenerateRandomNumber'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        9 |     HAL_RNG_GenerateRandomNumber(&hrng, &rng);
          |     ^
    4 errors generated.
    compiling bsp_rng.c...
    compiling bsp_spi.c...
    "Simba-ELCT-FrameWork\Simba-ELCT-FrameWork.axf" - 74 Error(s), 0 Warning(s).

    Software Packages used:

    Package Vendor: ARM
                    https://www.keil.com/pack/ARM.CMSIS.6.2.0.pack
                    ARM::CMSIS@6.2.0
                    CMSIS (Common Microcontroller Software Interface Standard)
       * Component: CORE Version: 6.1.1

    Package Vendor: Keil
                    https://www.keil.com/pack/Keil.STM32F4xx_DFP.3.1.1.pack
                    Keil::STM32F4xx_DFP@3.1.1
                    STMicroelectronics STM32F4 Series Device Support

    Collection of Component include folders:
      ./RTE/_Simba-ELCT-FrameWork
      C:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include

    Collection of Component Files used:

       * Component: ARM::CMSIS:CORE@6.1.1
    Target not created.
    Build Time Elapsed:  00:00:03