bsp由于编译出现大量报错,暂时移除

This commit is contained in:
2026-04-24 16:04:55 +08:00
parent 93637d5f48
commit fde07db582
37 changed files with 1014 additions and 1813 deletions

File diff suppressed because one or more lines are too long

View File

@@ -27,173 +27,340 @@ Project File Date: 04/12/2026
<h2>Output:</h2>
*** Using Compiler 'V6.24', folder: 'C:\Users\LSMushui\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'Simba-ELCT-FrameWork'
compiling stm32f4xx_hal_timebase_tim.c...
compiling adc.c...
compiling spi.c...
compiling stm32f4xx_hal_rcc.c...
compiling rtc.c...
compiling tim.c...
compiling crc.c...
compiling stm32f4xx_it.c...
compiling stm32f4xx_hal_rcc_ex.c...
compiling dma.c...
assembling startup_stm32f407xx.s...
compiling stm32f4xx_hal_pcd_ex.c...
compiling stm32f4xx_hal_msp.c...
compiling gpio.c...
compiling can.c...
compiling i2c.c...
compiling gpio.c...
assembling startup_stm32f407xx.s...
compiling usart.c...
compiling freertos.c...
compiling i2c.c...
compiling main.c...
compiling stm32f4xx_hal_flash_ramfunc.c...
compiling stm32f4xx_hal_pcd.c...
compiling stm32f4xx_hal_gpio.c...
compiling stm32f4xx_hal_flash.c...
compiling stm32f4xx_hal_flash_ex.c...
compiling stm32f4xx_hal_timebase_tim.c...
compiling stm32f4xx_hal_tim_ex.c...
compiling stm32f4xx_hal_dma_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_dma.c...
compiling stm32f4xx_hal_flash_ramfunc.c...
compiling stm32f4xx_hal_tim.c...
compiling stm32f4xx_hal_pwr.c...
compiling stm32f4xx_hal_pwr_ex.c...
compiling stm32f4xx_hal_cortex.c...
compiling stm32f4xx_hal_exti.c...
compiling stm32f4xx_hal.c...
compiling stm32f4xx_ll_adc.c...
compiling stm32f4xx_hal_i2c_ex.c...
compiling stm32f4xx_hal_crc.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 timers.c...
compiling stm32f4xx_hal_uart.c...
compiling stm32f4xx_hal_spi.c...
compiling event_groups.c...
compiling stm32f4xx_hal_adc_ex.c...
compiling stm32f4xx_hal_rtc.c...
compiling stm32f4xx_hal_can.c...
compiling system_stm32f4xx.c...
compiling stream_buffer.c...
compiling stm32f4xx_hal_i2c.c...
compiling timers.c...
compiling queue.c...
compiling stm32f4xx_hal_rtc_ex.c...
compiling cmsis_os.c...
compiling stream_buffer.c...
compiling tasks.c...
compiling heap_4.c...
compiling stm32f4xx_hal_spi.c...
compiling stm32f4xx_hal_uart.c...
compiling port.c...
compiling cmsis_os.c...
compiling stm32f4xx_hal_i2c.c...
compiling usb_device.c...
compiling usbd_cdc_if.c...
compiling usbd_desc.c...
compiling port.c...
compiling usbd_core.c...
../bsp/boards/bsp_buzzer.c(1): warning: In file included from...
../bsp/boards\bsp_buzzer.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
../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(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
../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...
../bsp/boards/bsp_can.c(1): warning: In file included from...
../bsp/boards\bsp_can.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
compiling bsp_can.c...
compiling usbd_conf.c...
compiling usbd_ioreq.c...
../bsp/boards/bsp_delay.c(1): warning: In file included from...
../bsp/boards\bsp_delay.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
compiling bsp_delay.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(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
../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...
../bsp/boards/bsp_flash.c(1): warning: In file included from...
../bsp/boards\bsp_flash.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
compiling bsp_flash.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(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
../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_i2c.c(1): warning: In file included from...
../bsp/boards\bsp_i2c.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
compiling bsp_i2c.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(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
../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...
compiling usbd_core.c...
compiling usbd_cdc.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(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
../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_laser.c(1): warning: In file included from...
../bsp/boards\bsp_laser.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
compiling bsp_laser.c...
compiling usbd_ctlreq.c...
../bsp/boards/bsp_pwm.c(1): warning: In file included from...
../bsp/boards\bsp_pwm.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
compiling bsp_pwm.c...
../bsp/boards/bsp_rng.c(1): warning: In file included from...
../bsp/boards\bsp_rng.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
compiling bsp_rng.c...
../bsp/boards/bsp_rc.c(1): warning: In file included from...
../bsp/boards\bsp_rc.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
../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_spi.c(1): warning: In file included from...
../bsp/boards\bsp_spi.h(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
compiling bsp_spi.c...
../bsp/boards/bsp_uart.c(5): warning: In file included from...
../bsp/boards\bsp_uart.h(4): error: 'struct_typedef.h' file not found
4 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
../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(3): error: 'struct_typedef.h' file not found
3 | #include "struct_typedef.h"
| ^~~~~~~~~~~~~~~~~~
1 error generated.
../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...
"Simba-ELCT-FrameWork\Simba-ELCT-FrameWork.axf" - 17 Error(s), 0 Warning(s).
../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).
<h2>Software Packages used:</h2>
@@ -216,7 +383,7 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE@6.1.1
Target not created.
Build Time Elapsed: 00:00:07
Build Time Elapsed: 00:00:03
</pre>
</body>
</html>

View File

@@ -2216,36 +2216,699 @@ I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
F (../Core/Src/system_stm32f4xx.c)(0x68CAA42F)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/system_stm32f4xx.o -MMD)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Include\core_cm4.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x68CAA42E)
I (..\Core\Inc\stm32f4xx_hal_conf.h)(0x69DB4B54)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
F (../Middlewares/Third_Party/FreeRTOS/Source/croutine.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/croutine.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\croutine.h)(0x68CAA3EE)
F (../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/event_groups.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\timers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\event_groups.h)(0x68CAA3EE)
F (../Middlewares/Third_Party/FreeRTOS/Source/list.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/list.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
F (../Middlewares/Third_Party/FreeRTOS/Source/queue.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/queue.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\queue.h)(0x68CAA3EE)
F (../Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/stream_buffer.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\stream_buffer.h)(0x68CAA3EE)
F (../Middlewares/Third_Party/FreeRTOS/Source/tasks.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/tasks.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\timers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\stack_macros.h)(0x68CAA3EE)
F (../Middlewares/Third_Party/FreeRTOS/Source/timers.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/timers.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\queue.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\timers.h)(0x68CAA3EE)
F (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/cmsis_os.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS\cmsis_os.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\timers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\queue.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\semphr.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\event_groups.h)(0x68CAA3EE)
I (..\Drivers\CMSIS\Include\cmsis_gcc.h)(0x68CAA42F)
F (../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/heap_4.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
F (../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F/port.c)(0x68CAA3EE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/port.o -MMD)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h)(0x68CAA3EE)
I (..\Core\Inc\FreeRTOSConfig.h)(0x69D77998)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h)(0x68CAA3EE)
I (..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h)(0x68CAA3EE)
F (../USB_DEVICE/App/usb_device.c)(0x69DB4B53)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/usb_device.o -MMD)
I (..\USB_DEVICE\App\usb_device.h)(0x69DB4B53)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Include\core_cm4.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x68CAA42E)
I (..\Core\Inc\stm32f4xx_hal_conf.h)(0x69DB4B54)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_def.h)(0x68CAA42E)
I (..\USB_DEVICE\Target\usbd_conf.h)(0x69DB4B53)
I (..\Core\Inc\main.h)(0x69DB4B55)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_core.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ioreq.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ctlreq.h)(0x68CAA42E)
I (..\USB_DEVICE\App\usbd_desc.h)(0x69DB4B53)
I (..\Middlewares\ST\STM32_USB_Device_Library\Class\CDC\Inc\usbd_cdc.h)(0x68CAA42E)
I (..\USB_DEVICE\App\usbd_cdc_if.h)(0x69DB4B54)
F (../USB_DEVICE/App/usbd_desc.c)(0x69DB4B54)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/usbd_desc.o -MMD)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_core.h)(0x68CAA42E)
I (..\USB_DEVICE\Target\usbd_conf.h)(0x69DB4B53)
I (..\Core\Inc\main.h)(0x69DB4B55)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x68CAA42E)
I (..\Core\Inc\stm32f4xx_hal_conf.h)(0x69DB4B54)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x68CAA42E)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Include\core_cm4.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_def.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ioreq.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ctlreq.h)(0x68CAA42E)
I (..\USB_DEVICE\App\usbd_desc.h)(0x69DB4B53)
F (../USB_DEVICE/App/usbd_cdc_if.c)(0x69DB4B54)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/usbd_cdc_if.o -MMD)
I (..\USB_DEVICE\App\usbd_cdc_if.h)(0x69DB4B54)
I (..\Middlewares\ST\STM32_USB_Device_Library\Class\CDC\Inc\usbd_cdc.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ioreq.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_def.h)(0x68CAA42E)
I (..\USB_DEVICE\Target\usbd_conf.h)(0x69DB4B53)
I (..\Core\Inc\main.h)(0x69DB4B55)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x68CAA42E)
I (..\Core\Inc\stm32f4xx_hal_conf.h)(0x69DB4B54)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x68CAA42E)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Include\core_cm4.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_core.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ctlreq.h)(0x68CAA42E)
F (../USB_DEVICE/Target/usbd_conf.c)(0x69DB4B53)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/usbd_conf.o -MMD)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Include\core_cm4.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x68CAA42E)
I (..\Core\Inc\stm32f4xx_hal_conf.h)(0x69DB4B54)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_def.h)(0x68CAA42E)
I (..\USB_DEVICE\Target\usbd_conf.h)(0x69DB4B53)
I (..\Core\Inc\main.h)(0x69DB4B55)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_core.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ioreq.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ctlreq.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Class\CDC\Inc\usbd_cdc.h)(0x68CAA42E)
F (../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c)(0x68CAA42E)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/usbd_core.o -MMD)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_core.h)(0x68CAA42E)
I (..\USB_DEVICE\Target\usbd_conf.h)(0x69DB4B53)
I (..\Core\Inc\main.h)(0x69DB4B55)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x68CAA42E)
I (..\Core\Inc\stm32f4xx_hal_conf.h)(0x69DB4B54)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x68CAA42E)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Include\core_cm4.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_def.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ioreq.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ctlreq.h)(0x68CAA42E)
F (../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c)(0x68CAA42E)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/usbd_ctlreq.o -MMD)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ctlreq.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_def.h)(0x68CAA42E)
I (..\USB_DEVICE\Target\usbd_conf.h)(0x69DB4B53)
I (..\Core\Inc\main.h)(0x69DB4B55)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x68CAA42E)
I (..\Core\Inc\stm32f4xx_hal_conf.h)(0x69DB4B54)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x68CAA42E)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Include\core_cm4.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
F (../Core/Src/system_stm32f4xx.c)(0x68CAA42F)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O0 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ioreq.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_core.h)(0x68CAA42E)
F (../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c)(0x68CAA42E)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I ../Application/Task/ -I ../bsp/
-I./RTE/_Simba-ELCT-FrameWork
-IC:/Users/LSMushui/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
-D__UVISION_VERSION="543" -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx
-o simba-elct-framework/usbd_ioreq.o -MMD)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_ioreq.h)(0x68CAA42E)
I (..\Middlewares\ST\STM32_USB_Device_Library\Core\Inc\usbd_def.h)(0x68CAA42E)
I (..\USB_DEVICE\Target\usbd_conf.h)(0x69DB4B53)
I (..\Core\Inc\main.h)(0x69DB4B55)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x68CAA42E)
I (..\Core\Inc\stm32f4xx_hal_conf.h)(0x69DB4B54)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x68CAA42E)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Include\core_cm4.h)(0x68CAA42F)
I (..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x68CAA42F)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x68CAA42E)
I (..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x68CAA42E)

View File

@@ -1,74 +0,0 @@
#include "bsp_adc.h"
#include "main.h"
extern ADC_HandleTypeDef hadc1;
extern ADC_HandleTypeDef hadc2;
extern ADC_HandleTypeDef hadc3;
volatile fp32 voltage_vrefint_proportion = 8.0586080586080586080586080586081e-4f;
static uint16_t adcx_get_chx_value(ADC_HandleTypeDef *ADCx, uint32_t ch)
{
static ADC_ChannelConfTypeDef sConfig = {0};
sConfig.Channel = ch;
sConfig.Rank = 1;
sConfig.SamplingTime = ADC_SAMPLETIME_3CYCLES;//ADC_SAMPLETIME_3CYCLES;
if (HAL_ADC_ConfigChannel(ADCx, &sConfig) != HAL_OK)
{
Error_Handler();
}
HAL_ADC_Start(ADCx);
HAL_ADC_PollForConversion(ADCx, 10);
return (uint16_t)HAL_ADC_GetValue(ADCx);
}
void init_vrefint_reciprocal(void)
{
uint8_t i = 0;
uint32_t total_adc = 0;
for(i = 0; i < 200; i++)
{
total_adc += adcx_get_chx_value(&hadc1, ADC_CHANNEL_VREFINT);
}
voltage_vrefint_proportion = 200 * 1.2f / total_adc;
}
fp32 get_temprate(void)
{
uint16_t adcx = 0;
fp32 temperate;
adcx = adcx_get_chx_value(&hadc1, ADC_CHANNEL_TEMPSENSOR);
temperate = (fp32)adcx * voltage_vrefint_proportion;
temperate = (temperate - 0.76f) * 400.0f + 25.0f;
return temperate;
}
fp32 get_battery_voltage(void)
{
fp32 voltage;
uint16_t adcx = 0;
adcx = adcx_get_chx_value(&hadc3, ADC_CHANNEL_8);
voltage = (fp32)adcx * voltage_vrefint_proportion * 10.090909090909090909090909090909f;
return voltage;
}
uint8_t get_hardware_version(void)
{
uint8_t hardware_version;
hardware_version = HAL_GPIO_ReadPin(HW0_GPIO_Port, HW0_Pin)
| (HAL_GPIO_ReadPin(HW1_GPIO_Port, HW1_Pin)<<1)
| (HAL_GPIO_ReadPin(HW2_GPIO_Port, HW2_Pin)<<2);
return hardware_version;
}

View File

@@ -1,8 +0,0 @@
#ifndef BSP_ADC_H
#define BSP_ADC_H
extern void init_vrefint_reciprocal(void);
extern fp32 get_temprate(void);
extern fp32 get_battery_voltage(void);
extern uint8_t get_hardware_version(void);
#endif

View File

@@ -1,46 +0,0 @@
#include "bsp_buzzer.h"
#include "main.h"
extern TIM_HandleTypeDef htim4;
void buzzer_on(uint16_t psc, uint16_t pwm)
{
__HAL_TIM_PRESCALER(&htim4, psc);
__HAL_TIM_SetCompare(&htim4, TIM_CHANNEL_3, pwm);
}
void buzzer_off(void)
{
__HAL_TIM_SetCompare(&htim4, TIM_CHANNEL_3, 0);
}
/**
* @brief 用蜂鸣器发出音符
* @param note note
* @param volume 音量,范围[0.0\\~1.0],用百分比表示
*/
void buzzer_note(uint16_t note,float volume)
{
if(volume > 1.0f)
{
volume = 1.0f;
}else if(volume < 0.0f)
{
volume = 0.0f;
}
// 禁用定时器
__HAL_TIM_DISABLE(&htim4);
// 重置定时器计数器
htim4.Instance->CNT = 0;
// 设置自动重装载寄存器ARR以控制PWM信号的频率
htim4.Instance->ARR = (8*21000 / note - 1) * 1u;
// 设置比较寄存器CCR3以控制PWM信号的占空比
htim4.Instance->CCR3 = (8*10500 / note - 1) * volume * 1u;
// 重新启用定时器
__HAL_TIM_ENABLE(&htim4);
// 启动PWM信号
HAL_TIM_PWM_Start(&htim4, TIM_CHANNEL_3);
}

View File

@@ -1,8 +0,0 @@
#ifndef BSP_BUZZER_H
#define BSP_BUZZER_H
extern void buzzer_on(uint16_t psc, uint16_t pwm);
extern void buzzer_off(void);
extern void buzzer_note(uint16_t note,float volume);
#endif

View File

@@ -1,45 +0,0 @@
#include "bsp_can.h"
void can_filter_init(void)
{
CAN_FilterTypeDef can_filter_st;
can_filter_st.FilterActivation = ENABLE;
can_filter_st.FilterMode = CAN_FILTERMODE_IDMASK;
can_filter_st.FilterScale = CAN_FILTERSCALE_32BIT;
can_filter_st.FilterIdHigh = 0x0000;
can_filter_st.FilterIdLow = 0x0000;
can_filter_st.FilterMaskIdHigh = 0x0000;
can_filter_st.FilterMaskIdLow = 0x0000;
can_filter_st.FilterBank = 0;
can_filter_st.FilterFIFOAssignment = CAN_RX_FIFO0;
HAL_CAN_ConfigFilter(&hcan1, &can_filter_st);
HAL_CAN_Start(&hcan1);
HAL_CAN_ActivateNotification(&hcan1, CAN_IT_RX_FIFO0_MSG_PENDING);
can_filter_st.SlaveStartFilterBank = 14;
can_filter_st.FilterBank = 14;
HAL_CAN_ConfigFilter(&hcan2, &can_filter_st);
HAL_CAN_Start(&hcan2);
HAL_CAN_ActivateNotification(&hcan2, CAN_IT_RX_FIFO0_MSG_PENDING);
}
/**
* @brief 发送控制数据
* @param[in] can_handle 选择CAN1或CAN2
* @param[in] tx_header CAN发送数据header
* @param[in] tx_data 发送数据
* @return none
*/
void CAN_SendTxMessage(CanCtrlData_s * can_ctrl_data)
{
uint32_t send_mail_box;
uint8_t cnt = 20; // 重复检测次数
uint32_t free_TxMailbox =
HAL_CAN_GetTxMailboxesFreeLevel(can_ctrl_data->hcan); // 检测是否有空闲邮箱
while (free_TxMailbox < 3 && cnt--) { // 等待空闲邮箱数达到3
free_TxMailbox = HAL_CAN_GetTxMailboxesFreeLevel(can_ctrl_data->hcan);
}
HAL_CAN_AddTxMessage(
can_ctrl_data->hcan, &can_ctrl_data->tx_header, can_ctrl_data->tx_data, &send_mail_box);
}

View File

@@ -1,26 +0,0 @@
#ifndef BSP_CAN_H
#define BSP_CAN_H
#include "stm32f4xx_hal.h"
// clang-format off
#define BOARD_DATA_ANY ((uint16_t)0x500)
#define BOARD_DATA_UINT16 ((uint16_t)0x600)
// clang-format on
typedef CAN_HandleTypeDef hcan_t;
typedef struct __CanCtrlData
{
hcan_t * hcan;
CAN_TxHeaderTypeDef tx_header;
uint8_t tx_data[8];
} CanCtrlData_s;
extern hcan_t hcan1;
extern hcan_t hcan2;
extern void can_filter_init(void);
extern void CAN_SendTxMessage(CanCtrlData_s * can_ctrl_data);
#endif

View File

@@ -1,22 +0,0 @@
#include "bsp_crc32.h"
#include "main.h"
extern CRC_HandleTypeDef hcrc;
uint32_t get_crc32_check_sum(uint32_t *data, uint32_t len)
{
return HAL_CRC_Calculate(&hcrc, data, len);
}
bool_t verify_crc32_check_sum(uint32_t *data, uint32_t len)
{
static uint32_t crc32;
crc32 = get_crc32_check_sum(data, len-1);
return (crc32 == data[len-1]);
}
void append_crc32_check_sum(uint32_t *data, uint32_t len)
{
uint32_t crc32;
crc32 = get_crc32_check_sum(data, len-1);
data[len-1] = crc32;
}

View File

@@ -1,7 +0,0 @@
#ifndef BSP_CRC32_H
#define BSP_CRC32_H
extern uint32_t get_crc32_check_sum(uint32_t *data, uint32_t len);
extern bool_t verify_crc32_check_sum(uint32_t *data, uint32_t len);
extern void append_crc32_check_sum(uint32_t *data, uint32_t len);
#endif

View File

@@ -1,76 +0,0 @@
#include "bsp_delay.h"
#include "main.h"
static uint8_t fac_us = 0;
static uint32_t fac_ms = 0;
void delay_init(void)
{
fac_us = SystemCoreClock / 1000000;
fac_ms = SystemCoreClock / 1000;
}
void delay_us(uint16_t nus)
{
uint32_t ticks = 0;
uint32_t told = 0;
uint32_t tnow = 0;
uint32_t tcnt = 0;
uint32_t reload = 0;
reload = SysTick->LOAD;
ticks = nus * fac_us;
told = SysTick->VAL;
while (1)
{
tnow = SysTick->VAL;
if (tnow != told)
{
if (tnow < told)
{
tcnt += told - tnow;
}
else
{
tcnt += reload - tnow + told;
}
told = tnow;
if (tcnt >= ticks)
{
break;
}
}
}
}
void delay_ms(uint16_t nms)
{
uint32_t ticks = 0;
uint32_t told = 0;
uint32_t tnow = 0;
uint32_t tcnt = 0;
uint32_t reload = 0;
reload = SysTick->LOAD;
ticks = nms * fac_ms;
told = SysTick->VAL;
while (1)
{
tnow = SysTick->VAL;
if (tnow != told)
{
if (tnow < told)
{
tcnt += told - tnow;
}
else
{
tcnt += reload - tnow + told;
}
told = tnow;
if (tcnt >= ticks)
{
break;
}
}
}
}

View File

@@ -1,8 +0,0 @@
#ifndef BSP_DELAY_H
#define BSP_DELAY_H
extern void delay_init(void);
extern void delay_us(uint16_t nus);
extern void delay_ms(uint16_t nms);
#endif

View File

@@ -1,298 +0,0 @@
#include "bsp_flash.h"
#include "main.h"
#include "string.h"
/**
* @brief get the sector number of flash
* @param[in] address: flash address
* @retval sector number
*/
/**
* @brief 获取flash的sector号
* @param[in] address: flash 地址
* @retval sector号
*/
static uint32_t ger_sector(uint32_t address);
/**
* @brief erase flash
* @param[in] address: flash address
* @param[in] len: page num
* @retval none
*/
/**
* @brief 擦除flash
* @param[in] address: flash 地址
* @param[in] len: 页数量
* @retval none
*/
void flash_erase_address(uint32_t address, uint16_t len)
{
FLASH_EraseInitTypeDef flash_erase;
uint32_t error;
flash_erase.Sector = ger_sector(address);
flash_erase.TypeErase = FLASH_TYPEERASE_SECTORS;
flash_erase.VoltageRange = FLASH_VOLTAGE_RANGE_3;
flash_erase.NbSectors = len;
HAL_FLASH_Unlock();
HAL_FLASHEx_Erase(&flash_erase, &error);
HAL_FLASH_Lock();
}
/**
* @brief write data to one page of flash
* @param[in] start_address: flash address
* @param[in] buf: data point
* @param[in] len: data num
* @retval success 0, fail -1
*/
/**
* @brief 往一页flash写数据
* @param[in] start_address: flash 地址
* @param[in] buf: 数据指针
* @param[in] len: 数据长度
* @retval success 0, fail -1
*/
int8_t flash_write_single_address(uint32_t start_address, uint32_t *buf, uint32_t len)
{
static uint32_t uw_address;
static uint32_t end_address;
static uint32_t *data_buf;
static uint32_t data_len;
HAL_FLASH_Unlock();
uw_address = start_address;
end_address = get_next_flash_address(start_address);
data_buf = buf;
data_len = 0;
while (uw_address <= end_address)
{
if (HAL_FLASH_Program(FLASH_TYPEPROGRAM_WORD,uw_address, *data_buf) == HAL_OK)
{
uw_address += 4;
data_buf++;
data_len++;
if (data_len == len)
{
break;
}
}
else
{
HAL_FLASH_Lock();
return -1;
}
}
HAL_FLASH_Lock();
return 0;
}
/**
* @brief write data to some pages of flash
* @param[in] start_address: flash start address
* @param[in] end_address: flash end address
* @param[in] buf: data point
* @param[in] len: data num
* @retval success 0, fail -1
*/
/**
* @brief 往几页flash写数据
* @param[in] start_address: flash 开始地址
* @param[in] end_address: flash 结束地址
* @param[in] buf: 数据指针
* @param[in] len: 数据长度
* @retval success 0, fail -1
*/
int8_t flash_write_muli_address(uint32_t start_address, uint32_t end_address, uint32_t *buf, uint32_t len)
{
uint32_t uw_address = 0;
uint32_t *data_buf;
uint32_t data_len;
HAL_FLASH_Unlock();
uw_address = start_address;
data_buf = buf;
data_len = 0;
while (uw_address <= end_address)
{
if (HAL_FLASH_Program(FLASH_TYPEPROGRAM_WORD,uw_address, *data_buf) == HAL_OK)
{
uw_address += 4;
data_buf++;
data_len++;
if (data_len == len)
{
break;
}
}
else
{
HAL_FLASH_Lock();
return -1;
}
}
HAL_FLASH_Lock();
return 0;
}
/**
* @brief read data for flash
* @param[in] address: flash address
* @param[out] buf: data point
* @param[in] len: data num
* @retval none
*/
/**
* @brief 从flash读数据
* @param[in] start_address: flash 地址
* @param[out] buf: 数据指针
* @param[in] len: 数据长度
* @retval none
*/
void flash_read(uint32_t address, uint32_t *buf, uint32_t len)
{
memcpy(buf, (void*)address, len *4);
}
/**
* @brief get the sector number of flash
* @param[in] address: flash address
* @retval sector number
*/
/**
* @brief 获取flash的sector号
* @param[in] address: flash 地址
* @retval sector号
*/
uint32_t ger_sector(uint32_t address)
{
uint32_t sector = 0;
if ((address < ADDR_FLASH_SECTOR_1) && (address >= ADDR_FLASH_SECTOR_0))
{
sector = FLASH_SECTOR_0;
}
else if ((address < ADDR_FLASH_SECTOR_2) && (address >= ADDR_FLASH_SECTOR_1))
{
sector = FLASH_SECTOR_1;
}
else if ((address < ADDR_FLASH_SECTOR_3) && (address >= ADDR_FLASH_SECTOR_2))
{
sector = FLASH_SECTOR_2;
}
else if ((address < ADDR_FLASH_SECTOR_4) && (address >= ADDR_FLASH_SECTOR_3))
{
sector = FLASH_SECTOR_3;
}
else if ((address < ADDR_FLASH_SECTOR_5) && (address >= ADDR_FLASH_SECTOR_4))
{
sector = FLASH_SECTOR_4;
}
else if ((address < ADDR_FLASH_SECTOR_6) && (address >= ADDR_FLASH_SECTOR_5))
{
sector = FLASH_SECTOR_5;
}
else if ((address < ADDR_FLASH_SECTOR_7) && (address >= ADDR_FLASH_SECTOR_6))
{
sector = FLASH_SECTOR_6;
}
else if ((address < ADDR_FLASH_SECTOR_8) && (address >= ADDR_FLASH_SECTOR_7))
{
sector = FLASH_SECTOR_7;
}
else if ((address < ADDR_FLASH_SECTOR_9) && (address >= ADDR_FLASH_SECTOR_8))
{
sector = FLASH_SECTOR_8;
}
else if ((address < ADDR_FLASH_SECTOR_10) && (address >= ADDR_FLASH_SECTOR_9))
{
sector = FLASH_SECTOR_9;
}
else if ((address < ADDR_FLASH_SECTOR_11) && (address >= ADDR_FLASH_SECTOR_10))
{
sector = FLASH_SECTOR_10;
}
else if ((address < ADDR_FLASH_SECTOR_12) && (address >= ADDR_FLASH_SECTOR_11))
{
sector = FLASH_SECTOR_11;
}
else
{
sector = FLASH_SECTOR_11;
}
return sector;
}
/**
* @brief get the next page flash address
* @param[in] address: flash address
* @retval next page flash address
*/
/**
* @brief 获取下一页flash地址
* @param[in] address: flash 地址
* @retval 下一页flash地址
*/
uint32_t get_next_flash_address(uint32_t address)
{
uint32_t sector = 0;
if ((address < ADDR_FLASH_SECTOR_1) && (address >= ADDR_FLASH_SECTOR_0))
{
sector = ADDR_FLASH_SECTOR_1;
}
else if ((address < ADDR_FLASH_SECTOR_2) && (address >= ADDR_FLASH_SECTOR_1))
{
sector = ADDR_FLASH_SECTOR_2;
}
else if ((address < ADDR_FLASH_SECTOR_3) && (address >= ADDR_FLASH_SECTOR_2))
{
sector = ADDR_FLASH_SECTOR_3;
}
else if ((address < ADDR_FLASH_SECTOR_4) && (address >= ADDR_FLASH_SECTOR_3))
{
sector = ADDR_FLASH_SECTOR_4;
}
else if ((address < ADDR_FLASH_SECTOR_5) && (address >= ADDR_FLASH_SECTOR_4))
{
sector = ADDR_FLASH_SECTOR_5;
}
else if ((address < ADDR_FLASH_SECTOR_6) && (address >= ADDR_FLASH_SECTOR_5))
{
sector = ADDR_FLASH_SECTOR_6;
}
else if ((address < ADDR_FLASH_SECTOR_7) && (address >= ADDR_FLASH_SECTOR_6))
{
sector = ADDR_FLASH_SECTOR_7;
}
else if ((address < ADDR_FLASH_SECTOR_8) && (address >= ADDR_FLASH_SECTOR_7))
{
sector = ADDR_FLASH_SECTOR_8;
}
else if ((address < ADDR_FLASH_SECTOR_9) && (address >= ADDR_FLASH_SECTOR_8))
{
sector = ADDR_FLASH_SECTOR_9;
}
else if ((address < ADDR_FLASH_SECTOR_10) && (address >= ADDR_FLASH_SECTOR_9))
{
sector = ADDR_FLASH_SECTOR_10;
}
else if ((address < ADDR_FLASH_SECTOR_11) && (address >= ADDR_FLASH_SECTOR_10))
{
sector = ADDR_FLASH_SECTOR_11;
}
else /*(address < FLASH_END_ADDR) && (address >= ADDR_FLASH_SECTOR_23))*/
{
sector = FLASH_END_ADDR;
}
return sector;
}

View File

@@ -1,124 +0,0 @@
#ifndef BSP_FLASH_H
#define BSP_FLASH_H
/* Base address of the Flash sectors */
#define ADDR_FLASH_SECTOR_0 ((uint32_t)0x08000000) /* Base address of Sector 0, 16 Kbytes */
#define ADDR_FLASH_SECTOR_1 ((uint32_t)0x08004000) /* Base address of Sector 1, 16 Kbytes */
#define ADDR_FLASH_SECTOR_2 ((uint32_t)0x08008000) /* Base address of Sector 2, 16 Kbytes */
#define ADDR_FLASH_SECTOR_3 ((uint32_t)0x0800C000) /* Base address of Sector 3, 16 Kbytes */
#define ADDR_FLASH_SECTOR_4 ((uint32_t)0x08010000) /* Base address of Sector 4, 64 Kbytes */
#define ADDR_FLASH_SECTOR_5 ((uint32_t)0x08020000) /* Base address of Sector 5, 128 Kbytes */
#define ADDR_FLASH_SECTOR_6 ((uint32_t)0x08040000) /* Base address of Sector 6, 128 Kbytes */
#define ADDR_FLASH_SECTOR_7 ((uint32_t)0x08060000) /* Base address of Sector 7, 128 Kbytes */
#define ADDR_FLASH_SECTOR_8 ((uint32_t)0x08080000) /* Base address of Sector 8, 128 Kbytes */
#define ADDR_FLASH_SECTOR_9 ((uint32_t)0x080A0000) /* Base address of Sector 9, 128 Kbytes */
#define ADDR_FLASH_SECTOR_10 ((uint32_t)0x080C0000) /* Base address of Sector 10, 128 Kbytes */
#define ADDR_FLASH_SECTOR_11 ((uint32_t)0x080E0000) /* Base address of Sector 11, 128 Kbytes */
#define FLASH_END_ADDR ((uint32_t)0x08100000) /* Base address of Sector 23, 128 Kbytes */
#define ADDR_FLASH_SECTOR_12 ((uint32_t)0x08100000) /* Base address of Sector 12, 16 Kbytes */
#define ADDR_FLASH_SECTOR_13 ((uint32_t)0x08104000) /* Base address of Sector 13, 16 Kbytes */
#define ADDR_FLASH_SECTOR_14 ((uint32_t)0x08108000) /* Base address of Sector 14, 16 Kbytes */
#define ADDR_FLASH_SECTOR_15 ((uint32_t)0x0810C000) /* Base address of Sector 15, 16 Kbytes */
#define ADDR_FLASH_SECTOR_16 ((uint32_t)0x08110000) /* Base address of Sector 16, 64 Kbytes */
#define ADDR_FLASH_SECTOR_17 ((uint32_t)0x08120000) /* Base address of Sector 17, 128 Kbytes */
#define ADDR_FLASH_SECTOR_18 ((uint32_t)0x08140000) /* Base address of Sector 18, 128 Kbytes */
#define ADDR_FLASH_SECTOR_19 ((uint32_t)0x08160000) /* Base address of Sector 19, 128 Kbytes */
#define ADDR_FLASH_SECTOR_20 ((uint32_t)0x08180000) /* Base address of Sector 20, 128 Kbytes */
#define ADDR_FLASH_SECTOR_21 ((uint32_t)0x081A0000) /* Base address of Sector 21, 128 Kbytes */
#define ADDR_FLASH_SECTOR_22 ((uint32_t)0x081C0000) /* Base address of Sector 22, 128 Kbytes */
#define ADDR_FLASH_SECTOR_23 ((uint32_t)0x081E0000) /* Base address of Sector 23, 128 Kbytes */
/**
* @brief erase flash
* @param[in] address: flash address
* @param[in] len: page num
* @retval none
*/
/**
* @brief 擦除flash
* @param[in] address: flash 地址
* @param[in] len: 页数量
* @retval none
*/
extern void flash_erase_address(uint32_t address, uint16_t len);
/**
* @brief write data to one page of flash
* @param[in] start_address: flash address
* @param[in] buf: data point
* @param[in] len: data num
* @retval success 0, fail -1
*/
/**
* @brief 往一页flash写数据
* @param[in] start_address: flash 地址
* @param[in] buf: 数据指针
* @param[in] len: 数据长度
* @retval success 0, fail -1
*/
extern int8_t flash_write_single_address(uint32_t start_address, uint32_t *buf, uint32_t len);
/**
* @brief write data to some pages of flash
* @param[in] start_address: flash start address
* @param[in] end_address: flash end address
* @param[in] buf: data point
* @param[in] len: data num
* @retval success 0, fail -1
*/
/**
* @brief 往几页flash写数据
* @param[in] start_address: flash 开始地址
* @param[in] end_address: flash 结束地址
* @param[in] buf: 数据指针
* @param[in] len: 数据长度
* @retval success 0, fail -1
*/
extern int8_t flash_write_muli_address(uint32_t start_address, uint32_t end_address, uint32_t *buf, uint32_t len);
/**
* @brief read data for flash
* @param[in] address: flash address
* @param[out] buf: data point
* @param[in] len: data num
* @retval none
*/
/**
* @brief 从flash读数据
* @param[in] start_address: flash 地址
* @param[out] buf: 数据指针
* @param[in] len: 数据长度
* @retval none
*/
extern void flash_read(uint32_t address, uint32_t *buf, uint32_t len);
/**
* @brief get the sector number of flash
* @param[in] address: flash address
* @retval sector number
*/
/**
* @brief 获取flash的sector号
* @param[in] address: flash 地址
* @retval sector号
*/
extern uint32_t ger_sector(uint32_t address);
/**
* @brief get the next page flash address
* @param[in] address: flash address
* @retval next page flash address
*/
/**
* @brief 获取下一页flash地址
* @param[in] address: flash 地址
* @retval 下一页flash地址
*/
extern uint32_t get_next_flash_address(uint32_t address);
#endif

View File

@@ -1,18 +0,0 @@
#include "bsp_fric.h"
#include "main.h"
extern TIM_HandleTypeDef htim1;
void fric_off(void)
{
__HAL_TIM_SetCompare(&htim1, TIM_CHANNEL_1, FRIC_OFF);
__HAL_TIM_SetCompare(&htim1, TIM_CHANNEL_2, FRIC_OFF);
}
void fric1_on(uint16_t cmd)
{
__HAL_TIM_SetCompare(&htim1, TIM_CHANNEL_1, cmd);
}
void fric2_on(uint16_t cmd)
{
__HAL_TIM_SetCompare(&htim1, TIM_CHANNEL_2, cmd);
}

View File

@@ -1,11 +0,0 @@
#ifndef BSP_FRIC_H
#define BSP_FRIC_H
#define FRIC_UP 1400
#define FRIC_DOWN 1320
#define FRIC_OFF 1000
extern void fric_off(void);
extern void fric1_on(uint16_t cmd);
extern void fric2_on(uint16_t cmd);
#endif

View File

@@ -1,269 +0,0 @@
#include "bsp_i2c.h"
#include "main.h"
extern I2C_HandleTypeDef hi2c1;
extern I2C_HandleTypeDef hi2c2;
void bsp_I2C_master_transmit(I2C_TypeDef *I2C, uint16_t I2C_address, uint8_t *data, uint16_t len)
{
if(I2C == I2C1)
{
HAL_I2C_Master_Transmit(&hi2c1, I2C_address, data, len, 100);
}
else if(I2C == I2C2)
{
HAL_I2C_Master_Transmit(&hi2c2, I2C_address, data, len, 100);
}
}
void bsp_I2C_reset(I2C_TypeDef *I2C)
{
I2C_HandleTypeDef *hi2c;
if(I2C == I2C1)
{
hi2c = &hi2c1;
}
else if(I2C == I2C2)
{
hi2c = &hi2c2;
}
SET_BIT(hi2c->Instance->CR1, I2C_CR1_SWRST);
CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_SWRST);
if (HAL_I2C_Init(hi2c) != HAL_OK)
{
Error_Handler();
}
}
bool_t bsp_I2C_check_ack(I2C_TypeDef *I2C, uint16_t I2C_address)
{
I2C_HandleTypeDef *hi2c;
if(I2C == I2C1)
{
hi2c = &hi2c1;
}
else if(I2C == I2C2)
{
hi2c = &hi2c2;
}
if((hi2c->Instance->CR2 & I2C_CR2_DMAEN) && ((hi2c->hdmatx != NULL && hi2c->hdmatx->Instance->NDTR != 0) || (hi2c->hdmarx != NULL && hi2c->hdmarx->Instance->NDTR != 0)))
{
return I2C_ACK;
}
else
{
uint16_t timeout = 0;
timeout = 0;
while(hi2c->Instance->SR2 & 0x02)
{
timeout ++;
if(timeout > 100)
{
SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
return I2C_NO_ACK;
}
}
CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
timeout = 0;
while(!(hi2c->Instance->SR1 & 0x01))
{
timeout ++;
if(timeout > 100)
{
SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
return I2C_NO_ACK;
}
}
hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(I2C_address);
timeout = 0;
while(!(hi2c->Instance->SR1 & 0x02))
{
timeout ++;
if(timeout > 500)
{
SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
return I2C_NO_ACK;
}
}
do{
__IO uint32_t tmpreg = 0x00U;
tmpreg = hi2c->Instance->SR1;
tmpreg = hi2c->Instance->SR2;
UNUSED(tmpreg);
} while(0);
timeout = 0;
while(!(hi2c->Instance->SR1 & 0x80))
{
timeout ++;
if(timeout > 500)
{
SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
return I2C_NO_ACK;
}
}
SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
return I2C_ACK;
}
}
void DMA1_Stream7_IRQHandler(void)
{
if(DMA1->HISR & (1<<27))
{
__HAL_DMA_CLEAR_FLAG(hi2c2.hdmatx, DMA_HISR_TCIF7);
SET_BIT(hi2c2.Instance->CR1, I2C_CR1_STOP);
}
}
void I2C2_tx_DMA_init(void)
{
//disable DMA
//ʧЧDMA
__HAL_DMA_DISABLE(hi2c2.hdmatx);
while(hi2c2.hdmatx->Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(hi2c2.hdmatx);
}
hi2c2.hdmatx->Instance->PAR = (uint32_t)(&I2C2->DR);
__HAL_DMA_CLEAR_FLAG(hi2c2.hdmatx, DMA_HISR_TCIF7);
__HAL_DMA_ENABLE_IT(hi2c2.hdmatx, DMA_IT_TC);
}
void I2C2_tx_DMA_enable(uint32_t tx_buf, uint16_t ndtr)
{
//disable DMA
//ʧЧDMA
__HAL_DMA_DISABLE(hi2c2.hdmatx);
while(hi2c2.hdmatx->Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(hi2c2.hdmatx);
}
__HAL_DMA_CLEAR_FLAG(hi2c2.hdmatx, DMA_HISR_TCIF7);
hi2c2.hdmatx->Instance->M0AR = tx_buf;
__HAL_DMA_SET_COUNTER(hi2c2.hdmatx, ndtr);
__HAL_DMA_ENABLE(hi2c2.hdmatx);
}
HAL_StatusTypeDef I2C_TX_DMA_START(I2C_HandleTypeDef *hi2c, uint16_t DevAddress)
{
uint16_t timeout = 0;
if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
{
hi2c->Instance->CR1 |= I2C_CR1_PE;
}
timeout = 0;
while(hi2c->Instance->SR2 & 0x02)
{
timeout ++;
if(timeout > 100)
{
SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
return HAL_BUSY;
}
}
CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
timeout = 0;
while(!(hi2c->Instance->SR1 & 0x01))
{
timeout ++;
if(timeout > 100)
{
SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
return HAL_ERROR;
}
}
hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(DevAddress);
timeout = 0;
while(!(hi2c->Instance->SR1 & 0x02))
{
timeout ++;
if(timeout > 500)
{
SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
return HAL_ERROR;
}
}
do{
__IO uint32_t tmpreg = 0x00U;
tmpreg = hi2c->Instance->SR1;
tmpreg = hi2c->Instance->SR2;
UNUSED(tmpreg);
} while(0);
timeout = 0;
while(!(hi2c->Instance->SR1 & 0x80))
{
timeout ++;
if(timeout > 500)
{
SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
return HAL_ERROR;
}
}
return HAL_OK;
}
void I2C2_DMA_transmit(uint16_t DevAddress, uint8_t *pData, uint16_t Size)
{
if( I2C_TX_DMA_START(&hi2c2, DevAddress) == HAL_OK)
{
I2C2_tx_DMA_enable((uint32_t)pData, Size);
}
}

View File

@@ -1,18 +0,0 @@
#ifndef BSP_I2C_H
#define BSP_I2C_H
#include "main.h"
#define I2C_ACK 1
#define I2C_NO_ACK 0
extern void bsp_I2C_reset(I2C_TypeDef *I2C);
extern void bsp_I2C_master_transmit(I2C_TypeDef *I2C, uint16_t I2C_address, uint8_t *data, uint16_t len);
extern bool_t bsp_I2C_check_ack(I2C_TypeDef *I2C, uint16_t I2C_address);
extern void I2C2_tx_DMA_init(void);
extern void I2C2_DMA_transmit(uint16_t DevAddress, uint8_t *pData, uint16_t Size);
#endif

View File

@@ -1,8 +0,0 @@
#include "bsp_imu_pwm.h"
#include "main.h"
extern TIM_HandleTypeDef htim10;
void imu_pwm_set(uint16_t pwm)
{
__HAL_TIM_SetCompare(&htim10, TIM_CHANNEL_1, pwm);
}

View File

@@ -1,6 +0,0 @@
#ifndef BSP_IMU_PWM_H
#define BSP_IMU_PWM_H
extern void imu_pwm_set(uint16_t pwm);
#endif

View File

@@ -1,12 +0,0 @@
#include "bsp_laser.h"
#include "main.h"
extern TIM_HandleTypeDef htim3;
void laser_on(void)
{
__HAL_TIM_SetCompare(&htim3, TIM_CHANNEL_3, 8399);
}
void laser_off(void)
{
__HAL_TIM_SetCompare(&htim3, TIM_CHANNEL_3, 0);
}

View File

@@ -1,7 +0,0 @@
#ifndef BSP_LASER_H
#define BSP_LASER_H
extern void laser_configuration(void);
extern void laser_on(void);
extern void laser_off(void);
#endif

View File

@@ -1,30 +0,0 @@
#include "bsp_led.h"
#include "main.h"
extern TIM_HandleTypeDef htim5;
/**
* @brief aRGB show
* @param[in] aRGB: 0xaaRRGGBB, 'aa' is alpha, 'RR' is red, 'GG' is green, 'BB' is blue
* @retval none
*/
/**
* @brief <20><>ʾRGB
* @param[in] aRGB:0xaaRRGGBB,'aa' <20><>͸<EFBFBD><CDB8><EFBFBD><EFBFBD>,'RR'<27>Ǻ<EFBFBD>ɫ,'GG'<27><><EFBFBD><EFBFBD>ɫ,'BB'<27><><EFBFBD><EFBFBD>ɫ
* @retval none
*/
void aRGB_led_show(uint32_t aRGB)
{
static uint8_t alpha;
static uint16_t red,green,blue;
alpha = (aRGB & 0xFF000000) >> 24;
red = ((aRGB & 0x00FF0000) >> 16) * alpha;
green = ((aRGB & 0x0000FF00) >> 8) * alpha;
blue = ((aRGB & 0x000000FF) >> 0) * alpha;
__HAL_TIM_SetCompare(&htim5, TIM_CHANNEL_1, blue);
__HAL_TIM_SetCompare(&htim5, TIM_CHANNEL_2, green);
__HAL_TIM_SetCompare(&htim5, TIM_CHANNEL_3, red);
}

View File

@@ -1,17 +0,0 @@
#ifndef BSP_LED_H
#define BSP_LED_H
/**
* @brief aRGB show
* @param[in] aRGB: 0xaaRRGGBB, 'aa' is alpha, 'RR' is red, 'GG' is green, 'BB' is blue
* @retval none
*/
/**
* @brief <20><>ʾRGB
* @param[in] aRGB:0xaaRRGGBB,'aa' <20><>͸<EFBFBD><CDB8><EFBFBD><EFBFBD>,'RR'<27>Ǻ<EFBFBD>ɫ,'GG'<27><><EFBFBD><EFBFBD>ɫ,'BB'<27><><EFBFBD><EFBFBD>ɫ
* @retval none
*/
extern void aRGB_led_show(uint32_t aRGB);
#endif

View File

@@ -1,42 +0,0 @@
#include "bsp_pwm.h"
#include "main.h"
extern TIM_HandleTypeDef htim1;
extern TIM_HandleTypeDef htim8;
void servo_pwm_set(uint16_t pwm, uint8_t i)
{
switch(i)
{
case 0:
{
__HAL_TIM_SetCompare(&htim8, TIM_CHANNEL_1, pwm);
}break;
case 1:
{
__HAL_TIM_SetCompare(&htim8, TIM_CHANNEL_2, pwm);
}break;
}
}
void pump_pwm_set(uint16_t pwm, uint8_t i)
{
switch(i)
{
case 1:
{
__HAL_TIM_SetCompare(&htim1, TIM_CHANNEL_1, pwm);
}break;
case 2:
{
__HAL_TIM_SetCompare(&htim1, TIM_CHANNEL_2, pwm);
}break;
case 3:
{
__HAL_TIM_SetCompare(&htim1, TIM_CHANNEL_3, pwm);
}break;
case 4:
{
__HAL_TIM_SetCompare(&htim1, TIM_CHANNEL_4, pwm);
}break;
}
}

View File

@@ -1,7 +0,0 @@
#ifndef BSP_SERVO_PWM_H
#define BSP_SERVO_PWM_H
extern void servo_pwm_set(uint16_t pwm, uint8_t i);
extern void pump_pwm_set(uint16_t pwm, uint8_t i);
#endif

View File

@@ -1,67 +0,0 @@
#include "bsp_rc.h"
#include "main.h"
extern UART_HandleTypeDef huart3;
extern DMA_HandleTypeDef hdma_usart3_rx;
void RC_Init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num)
{
//enable the DMA transfer for the receiver request
//使能DMA串口接收
SET_BIT(huart3.Instance->CR3, USART_CR3_DMAR);
//enalbe idle interrupt
//使能空闲中断
__HAL_UART_ENABLE_IT(&huart3, UART_IT_IDLE);
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_usart3_rx);
while(hdma_usart3_rx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_usart3_rx);
}
hdma_usart3_rx.Instance->PAR = (uint32_t) & (USART3->DR);
//memory buffer 1
//内存缓冲区1
hdma_usart3_rx.Instance->M0AR = (uint32_t)(rx1_buf);
//memory buffer 2
//内存缓冲区2
hdma_usart3_rx.Instance->M1AR = (uint32_t)(rx2_buf);
//data length
//数据长度
hdma_usart3_rx.Instance->NDTR = dma_buf_num;
//enable double memory buffer
//使能双缓冲区
SET_BIT(hdma_usart3_rx.Instance->CR, DMA_SxCR_DBM);
//enable DMA
//使能DMA
__HAL_DMA_ENABLE(&hdma_usart3_rx);
}
void RC_unable(void)
{
__HAL_UART_DISABLE(&huart3);
}
void RC_restart(uint16_t dma_buf_num)
{
__HAL_UART_DISABLE(&huart3);
__HAL_DMA_DISABLE(&hdma_usart3_rx);
hdma_usart3_rx.Instance->NDTR = dma_buf_num;
__HAL_DMA_ENABLE(&hdma_usart3_rx);
__HAL_UART_ENABLE(&huart3);
}

View File

@@ -1,7 +0,0 @@
#ifndef BSP_RC_H
#define BSP_RC_H
extern void RC_Init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
extern void RC_unable(void);
extern void RC_restart(uint16_t dma_buf_num);
#endif

View File

@@ -1,21 +0,0 @@
#include "bsp_rng.h"
#include "main.h"
extern RNG_HandleTypeDef hrng;
uint32_t RNG_get_random_num(void)
{
static uint32_t rng;
HAL_RNG_GenerateRandomNumber(&hrng, &rng);
return rng;
}
int32_t RNG_get_random_rangle(int min, int max)
{
static int32_t random;
random = (RNG_get_random_num() % (max - min + 1)) + min;
return random;
}

View File

@@ -1,6 +0,0 @@
#ifndef BSP_RNG_H
#define BSP_RNG_H
extern uint32_t RNG_get_random_num(void);
extern int32_t RNG_get_random_rangle(int min, int max);
#endif

View File

@@ -1,101 +0,0 @@
#include "bsp_spi.h"
#include "main.h"
extern SPI_HandleTypeDef hspi1;
extern DMA_HandleTypeDef hdma_spi1_rx;
extern DMA_HandleTypeDef hdma_spi1_tx;
void SPI1_DMA_init(uint32_t tx_buf, uint32_t rx_buf, uint16_t num)
{
SET_BIT(hspi1.Instance->CR2, SPI_CR2_TXDMAEN);
SET_BIT(hspi1.Instance->CR2, SPI_CR2_RXDMAEN);
__HAL_SPI_ENABLE(&hspi1);
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_spi1_rx);
while(hdma_spi1_rx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_spi1_rx);
}
__HAL_DMA_CLEAR_FLAG(&hdma_spi1_rx, DMA_LISR_TCIF2);
hdma_spi1_rx.Instance->PAR = (uint32_t) & (SPI1->DR);
//memory buffer 1
//内存缓冲区1
hdma_spi1_rx.Instance->M0AR = (uint32_t)(rx_buf);
//data length
//数据长度
__HAL_DMA_SET_COUNTER(&hdma_spi1_rx, num);
__HAL_DMA_ENABLE_IT(&hdma_spi1_rx, DMA_IT_TC);
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_spi1_tx);
while(hdma_spi1_tx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_spi1_tx);
}
__HAL_DMA_CLEAR_FLAG(&hdma_spi1_tx, DMA_LISR_TCIF3);
hdma_spi1_tx.Instance->PAR = (uint32_t) & (SPI1->DR);
//memory buffer 1
//内存缓冲区1
hdma_spi1_tx.Instance->M0AR = (uint32_t)(tx_buf);
//data length
//数据长度
__HAL_DMA_SET_COUNTER(&hdma_spi1_tx, num);
}
void SPI1_DMA_enable(uint32_t tx_buf, uint32_t rx_buf, uint16_t ndtr)
{
__HAL_DMA_DISABLE(&hdma_spi1_rx);
__HAL_DMA_DISABLE(&hdma_spi1_tx);
while(hdma_spi1_rx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_spi1_rx);
}
while(hdma_spi1_tx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_spi1_tx);
}
__HAL_DMA_CLEAR_FLAG (hspi1.hdmarx, __HAL_DMA_GET_TC_FLAG_INDEX(hspi1.hdmarx));
__HAL_DMA_CLEAR_FLAG (hspi1.hdmarx, __HAL_DMA_GET_HT_FLAG_INDEX(hspi1.hdmarx));
__HAL_DMA_CLEAR_FLAG (hspi1.hdmarx, __HAL_DMA_GET_TE_FLAG_INDEX(hspi1.hdmarx));
__HAL_DMA_CLEAR_FLAG (hspi1.hdmarx, __HAL_DMA_GET_DME_FLAG_INDEX(hspi1.hdmarx));
__HAL_DMA_CLEAR_FLAG (hspi1.hdmarx, __HAL_DMA_GET_FE_FLAG_INDEX(hspi1.hdmarx));
__HAL_DMA_CLEAR_FLAG (hspi1.hdmatx, __HAL_DMA_GET_TC_FLAG_INDEX(hspi1.hdmatx));
__HAL_DMA_CLEAR_FLAG (hspi1.hdmatx, __HAL_DMA_GET_HT_FLAG_INDEX(hspi1.hdmatx));
__HAL_DMA_CLEAR_FLAG (hspi1.hdmatx, __HAL_DMA_GET_TE_FLAG_INDEX(hspi1.hdmatx));
__HAL_DMA_CLEAR_FLAG (hspi1.hdmatx, __HAL_DMA_GET_DME_FLAG_INDEX(hspi1.hdmatx));
__HAL_DMA_CLEAR_FLAG (hspi1.hdmatx, __HAL_DMA_GET_FE_FLAG_INDEX(hspi1.hdmatx));
hdma_spi1_rx.Instance->M0AR = rx_buf;
hdma_spi1_tx.Instance->M0AR = tx_buf;
__HAL_DMA_SET_COUNTER(&hdma_spi1_rx, ndtr);
__HAL_DMA_SET_COUNTER(&hdma_spi1_tx, ndtr);
__HAL_DMA_ENABLE(&hdma_spi1_rx);
__HAL_DMA_ENABLE(&hdma_spi1_tx);
}

View File

@@ -1,10 +0,0 @@
#ifndef BSP_SPI_H
#define BSP_SPI_H
#include "stm32f4xx_hal.h"
extern SPI_HandleTypeDef hspi2;
extern void SPI1_DMA_init(uint32_t tx_buf, uint32_t rx_buf, uint16_t num);
extern void SPI1_DMA_enable(uint32_t tx_buf, uint32_t rx_buf, uint16_t ndtr);
#endif

View File

@@ -1,28 +0,0 @@
/**
* @brief uart板级支持包
* @author Penguin
*/
#include "bsp_uart.h"
/**
* @brief 使用uart发送数据
* @param huart
* @param pData
* @param Size
* @param Timeout
* @return
*/
UartSendState_e UartSendTxMessage(
UART_HandleTypeDef * huart, uint8_t * pData, uint16_t Size, uint32_t Timeout)
{
uint8_t cnt = 5; //最大重发次数
HAL_StatusTypeDef status = HAL_UART_Transmit(huart, pData, Size, Timeout);
while (cnt-- && status != HAL_OK) {
status = HAL_UART_Transmit(huart, pData, Size, Timeout);
}
if (status == HAL_OK) {
return UART_SEND_OK;
}
return UART_SEND_FAIL;
}

View File

@@ -1,18 +0,0 @@
#ifndef BSP_UART_H
#define BSP_UART_H
#include "stm32f4xx_hal.h"
#include "usart.h"
typedef UART_HandleTypeDef huart_t;
#define UART1 huart6 //(3pin)与板上的标识相对应
#define UART2 huart1 //(4pin)与板上的标识相对应
typedef enum __UartSendState {
UART_SEND_FAIL = 0,
UART_SEND_OK,
} UartSendState_e;
extern UartSendState_e UartSendTxMessage(
UART_HandleTypeDef * huart, uint8_t * pData, uint16_t Size, uint32_t Timeout);
#endif // BSP_UART_H

View File

@@ -1,193 +0,0 @@
#include "bsp_usart.h"
#include "main.h"
extern UART_HandleTypeDef huart1;
extern DMA_HandleTypeDef hdma_usart1_tx;
extern DMA_HandleTypeDef hdma_usart1_rx;
extern UART_HandleTypeDef huart6;
extern DMA_HandleTypeDef hdma_usart6_rx;
extern DMA_HandleTypeDef hdma_usart6_tx;
void usart1_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num)
{
//enable the DMA transfer for the receiver and tramsmit request
//使能DMA串口接收和发送
SET_BIT(huart1.Instance->CR3, USART_CR3_DMAR);
SET_BIT(huart1.Instance->CR3, USART_CR3_DMAT);
//enalbe idle interrupt
//使能空闲中断
__HAL_UART_ENABLE_IT(&huart1, UART_IT_IDLE);
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_usart1_rx);
while(hdma_usart1_rx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_usart1_rx);
}
__HAL_DMA_CLEAR_FLAG(&hdma_usart1_rx, DMA_LISR_TCIF1);
hdma_usart1_rx.Instance->PAR = (uint32_t) & (USART1->DR);
//memory buffer 1
//内存缓冲区1
hdma_usart1_rx.Instance->M0AR = (uint32_t)(rx1_buf);
//memory buffer 2
//内存缓冲区2
hdma_usart1_rx.Instance->M1AR = (uint32_t)(rx2_buf);
//data length
//数据长度
__HAL_DMA_SET_COUNTER(&hdma_usart1_rx, dma_buf_num);
//enable double memory buffer
//使能双缓冲区
SET_BIT(hdma_usart1_rx.Instance->CR, DMA_SxCR_DBM);
//enable DMA
//使能DMA
__HAL_DMA_ENABLE(&hdma_usart1_rx);
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_usart1_tx);
while(hdma_usart1_tx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_usart1_tx);
}
hdma_usart1_tx.Instance->PAR = (uint32_t) & (USART1->DR);
usart1_tx_dma_init();
}
void usart1_tx_dma_init(void)
{
//enable the DMA transfer for the receiver and tramsmit request
//使能DMA串口接收和发送
SET_BIT(huart1.Instance->CR3, USART_CR3_DMAR);
SET_BIT(huart1.Instance->CR3, USART_CR3_DMAT);
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_usart1_tx);
while(hdma_usart1_tx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_usart1_tx);
}
hdma_usart1_tx.Instance->PAR = (uint32_t) & (USART1->DR);
hdma_usart1_tx.Instance->M0AR = (uint32_t)(NULL);
hdma_usart1_tx.Instance->NDTR = 0;
}
void usart1_tx_dma_enable(uint8_t *data, uint16_t len)
{
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_usart1_tx);
while(hdma_usart1_tx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_usart1_tx);
}
__HAL_DMA_CLEAR_FLAG(&hdma_usart1_tx, DMA_HISR_TCIF7);
hdma_usart1_tx.Instance->M0AR = (uint32_t)(data);
__HAL_DMA_SET_COUNTER(&hdma_usart1_tx, len);
__HAL_DMA_ENABLE(&hdma_usart1_tx);
}
void usart6_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num)
{
//enable the DMA transfer for the receiver and tramsmit request
//使能DMA串口接收和发送
SET_BIT(huart6.Instance->CR3, USART_CR3_DMAR);
SET_BIT(huart6.Instance->CR3, USART_CR3_DMAT);
//enalbe idle interrupt
//使能空闲中断
__HAL_UART_ENABLE_IT(&huart6, UART_IT_IDLE);
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_usart6_rx);
while(hdma_usart6_rx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_usart6_rx);
}
__HAL_DMA_CLEAR_FLAG(&hdma_usart6_rx, DMA_LISR_TCIF1);
hdma_usart6_rx.Instance->PAR = (uint32_t) & (USART6->DR);
//memory buffer 1
//内存缓冲区1
hdma_usart6_rx.Instance->M0AR = (uint32_t)(rx1_buf);
//memory buffer 2
//内存缓冲区2
hdma_usart6_rx.Instance->M1AR = (uint32_t)(rx2_buf);
//data length
//数据长度
__HAL_DMA_SET_COUNTER(&hdma_usart6_rx, dma_buf_num);
//enable double memory buffer
//使能双缓冲区
SET_BIT(hdma_usart6_rx.Instance->CR, DMA_SxCR_DBM);
//enable DMA
//使能DMA
__HAL_DMA_ENABLE(&hdma_usart6_rx);
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_usart6_tx);
while(hdma_usart6_tx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_usart6_tx);
}
hdma_usart6_tx.Instance->PAR = (uint32_t) & (USART6->DR);
}
void usart6_tx_dma_enable(uint8_t *data, uint16_t len)
{
//disable DMA
//失效DMA
__HAL_DMA_DISABLE(&hdma_usart6_tx);
while(hdma_usart6_tx.Instance->CR & DMA_SxCR_EN)
{
__HAL_DMA_DISABLE(&hdma_usart6_tx);
}
__HAL_DMA_CLEAR_FLAG(&hdma_usart6_tx, DMA_HISR_TCIF6);
hdma_usart6_tx.Instance->M0AR = (uint32_t)(data);
__HAL_DMA_SET_COUNTER(&hdma_usart6_tx, len);
__HAL_DMA_ENABLE(&hdma_usart6_tx);
}

View File

@@ -1,9 +0,0 @@
#ifndef BSP_USART_H
#define BSP_USART_H
extern void usart6_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
extern void usart1_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
extern void usart1_tx_dma_init(void);
extern void usart1_tx_dma_enable(uint8_t *data, uint16_t len);
#endif