准备驱动移植适配Rust

This commit is contained in:
冯佳
2026-01-29 15:08:30 +08:00
parent e879b18602
commit 1bdeca55ea
68 changed files with 4371 additions and 4392 deletions

View File

@ -131,6 +131,12 @@
"file": "E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_spi.c",
"output": "cmake\\stm32cubemx\\CMakeFiles\\STM32_Drivers.dir\\__\\__\\Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_spi.c.obj"
},
{
"directory": "E:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/build/Debug",
"command": "D:\\ARM_GCC\\bin\\arm-none-eabi-gcc.exe -DDEBUG -DSTM32F407xx -DUSE_HAL_DRIVER -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/APP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Core/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Device/ST/STM32F4xx/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Include -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -O0 -g3 -std=gnu11 -o cmake\\stm32cubemx\\CMakeFiles\\STM32_Drivers.dir\\__\\__\\Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_eth.c.obj -c E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_eth.c",
"file": "E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_eth.c",
"output": "cmake\\stm32cubemx\\CMakeFiles\\STM32_Drivers.dir\\__\\__\\Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_eth.c.obj"
},
{
"directory": "E:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/build/Debug",
"command": "D:\\ARM_GCC\\bin\\arm-none-eabi-gcc.exe -DDEBUG -DSTM32F407xx -DUSE_HAL_DRIVER -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc/arch/stm32f4 -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/APP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Core/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Device/ST/STM32F4xx/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Include -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -O0 -g3 -std=gnu11 -o HAL\\CMakeFiles\\hal.dir\\Src\\hal.c.obj -c E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\HAL\\Src\\hal.c",
@ -161,6 +167,12 @@
"file": "E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\HAL\\Src\\hal_spi.c",
"output": "HAL\\CMakeFiles\\hal.dir\\Src\\hal_spi.c.obj"
},
{
"directory": "E:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/build/Debug",
"command": "D:\\ARM_GCC\\bin\\arm-none-eabi-gcc.exe -DDEBUG -DSTM32F407xx -DUSE_HAL_DRIVER -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc/arch/stm32f4 -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/APP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Core/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Device/ST/STM32F4xx/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Include -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -O0 -g3 -std=gnu11 -o HAL\\CMakeFiles\\hal.dir\\Src\\hal_eth.c.obj -c E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\HAL\\Src\\hal_eth.c",
"file": "E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\HAL\\Src\\hal_eth.c",
"output": "HAL\\CMakeFiles\\hal.dir\\Src\\hal_eth.c.obj"
},
{
"directory": "E:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/build/Debug",
"command": "D:\\ARM_GCC\\bin\\arm-none-eabi-gcc.exe -DDEBUG -DSTM32F407xx -DUSE_HAL_DRIVER -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc/arch/stm32f4 -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/APP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Core/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Device/ST/STM32F4xx/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Include -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -O0 -g3 -std=gnu11 -o HAL\\CMakeFiles\\hal.dir\\Src\\arch\\stm32f4\\hal_stm32f4.c.obj -c E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\HAL\\Src\\arch\\stm32f4\\hal_stm32f4.c",
@ -191,6 +203,12 @@
"file": "E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\HAL\\Src\\arch\\stm32f4\\hal_stm32f4_spi.c",
"output": "HAL\\CMakeFiles\\hal.dir\\Src\\arch\\stm32f4\\hal_stm32f4_spi.c.obj"
},
{
"directory": "E:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/build/Debug",
"command": "D:\\ARM_GCC\\bin\\arm-none-eabi-gcc.exe -DDEBUG -DSTM32F407xx -DUSE_HAL_DRIVER -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc/arch/stm32f4 -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/APP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Core/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Device/ST/STM32F4xx/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Include -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -O0 -g3 -std=gnu11 -o HAL\\CMakeFiles\\hal.dir\\Src\\arch\\stm32f4\\hal_stm32f4_eth.c.obj -c E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\HAL\\Src\\arch\\stm32f4\\hal_stm32f4_eth.c",
"file": "E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\HAL\\Src\\arch\\stm32f4\\hal_stm32f4_eth.c",
"output": "HAL\\CMakeFiles\\hal.dir\\Src\\arch\\stm32f4\\hal_stm32f4_eth.c.obj"
},
{
"directory": "E:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/build/Debug",
"command": "D:\\ARM_GCC\\bin\\arm-none-eabi-gcc.exe -DDEBUG -DSTM32F407xx -DUSE_HAL_DRIVER -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/BSP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/APP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Core/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Device/ST/STM32F4xx/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc/arch/stm32f4 -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Modules/w25qxx/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Modules/delay/inc -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -O0 -g3 -std=gnu11 -o BSP\\CMakeFiles\\bsp.dir\\Src\\bsp_init.c.obj -c E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\BSP\\Src\\bsp_init.c",
@ -221,6 +239,12 @@
"file": "E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\BSP\\Src\\bsp_key.c",
"output": "BSP\\CMakeFiles\\bsp.dir\\Src\\bsp_key.c.obj"
},
{
"directory": "E:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/build/Debug",
"command": "D:\\ARM_GCC\\bin\\arm-none-eabi-gcc.exe -DDEBUG -DSTM32F407xx -DUSE_HAL_DRIVER -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/BSP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/APP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Core/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Device/ST/STM32F4xx/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc/arch/stm32f4 -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Modules/w25qxx/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Modules/delay/inc -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -O0 -g3 -std=gnu11 -o BSP\\CMakeFiles\\bsp.dir\\Src\\bsp_eth.c.obj -c E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\BSP\\Src\\bsp_eth.c",
"file": "E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\BSP\\Src\\bsp_eth.c",
"output": "BSP\\CMakeFiles\\bsp.dir\\Src\\bsp_eth.c.obj"
},
{
"directory": "E:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/build/Debug",
"command": "D:\\ARM_GCC\\bin\\arm-none-eabi-gcc.exe -DDEBUG -DSTM32F407xx -DUSE_HAL_DRIVER -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Modules/led/inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/APP/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Core/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Device/ST/STM32F4xx/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/Drivers/CMSIS/Include -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc -IE:/Jfen_work/local_git_code/test_port/stm32f407vet6_cmake/HAL/Inc/arch/stm32f4 -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -O0 -g3 -std=gnu11 -o Modules\\led\\CMakeFiles\\led.dir\\src\\led.c.obj -c E:\\Jfen_work\\local_git_code\\test_port\\stm32f407vet6_cmake\\Modules\\led\\src\\led.c",