使用USB输出时间和步数同步,一组十个字节,帧头0d ff,前四个字节编码器值,后四个字节是时间ms

This commit is contained in:
wantong
2024-04-26 10:03:33 +08:00
parent ca98807af3
commit c81173d0bd
89 changed files with 19992 additions and 4236 deletions

View File

@ -5,13 +5,13 @@
# compile C with F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe
ASM_DEFINES = -DDEBUG -DSTM32H750xx -DUSE_HAL_DRIVER
ASM_INCLUDES = -ID:\cubecode\Encoder_Time_Sysn\Core\Inc -ID:\cubecode\Encoder_Time_Sysn\Drivers\STM32H7xx_HAL_Driver\Inc -ID:\cubecode\Encoder_Time_Sysn\Drivers\STM32H7xx_HAL_Driver\Inc\Legacy -ID:\cubecode\Encoder_Time_Sysn\Drivers\CMSIS\Device\ST\STM32H7xx\Include -ID:\cubecode\Encoder_Time_Sysn\Drivers\CMSIS\Include
ASM_INCLUDES = -ID:\cubecode\Encoder_Time_Sysn\Core\Inc -ID:\cubecode\Encoder_Time_Sysn\Drivers\STM32H7xx_HAL_Driver\Inc -ID:\cubecode\Encoder_Time_Sysn\Drivers\STM32H7xx_HAL_Driver\Inc\Legacy -ID:\cubecode\Encoder_Time_Sysn\Drivers\CMSIS\Device\ST\STM32H7xx\Include -ID:\cubecode\Encoder_Time_Sysn\Drivers\CMSIS\Include -ID:\cubecode\Encoder_Time_Sysn\USB_DEVICE\App -ID:\cubecode\Encoder_Time_Sysn\USB_DEVICE\Target -ID:\cubecode\Encoder_Time_Sysn\Middlewares\ST\STM32_USB_Device_Library\Core\Inc -ID:\cubecode\Encoder_Time_Sysn\Middlewares\ST\STM32_USB_Device_Library\Class\CDC\Inc
ASM_FLAGS = -g -mcpu=cortex-m7 -mthumb -mthumb-interwork -ffunction-sections -fdata-sections -fno-common -fmessage-length=0 -x assembler-with-cpp -Og -g
C_DEFINES = -DDEBUG -DSTM32H750xx -DUSE_HAL_DRIVER
C_INCLUDES = -ID:\cubecode\Encoder_Time_Sysn\Core\Inc -ID:\cubecode\Encoder_Time_Sysn\Drivers\STM32H7xx_HAL_Driver\Inc -ID:\cubecode\Encoder_Time_Sysn\Drivers\STM32H7xx_HAL_Driver\Inc\Legacy -ID:\cubecode\Encoder_Time_Sysn\Drivers\CMSIS\Device\ST\STM32H7xx\Include -ID:\cubecode\Encoder_Time_Sysn\Drivers\CMSIS\Include
C_INCLUDES = -ID:\cubecode\Encoder_Time_Sysn\Core\Inc -ID:\cubecode\Encoder_Time_Sysn\Drivers\STM32H7xx_HAL_Driver\Inc -ID:\cubecode\Encoder_Time_Sysn\Drivers\STM32H7xx_HAL_Driver\Inc\Legacy -ID:\cubecode\Encoder_Time_Sysn\Drivers\CMSIS\Device\ST\STM32H7xx\Include -ID:\cubecode\Encoder_Time_Sysn\Drivers\CMSIS\Include -ID:\cubecode\Encoder_Time_Sysn\USB_DEVICE\App -ID:\cubecode\Encoder_Time_Sysn\USB_DEVICE\Target -ID:\cubecode\Encoder_Time_Sysn\Middlewares\ST\STM32_USB_Device_Library\Core\Inc -ID:\cubecode\Encoder_Time_Sysn\Middlewares\ST\STM32_USB_Device_Library\Class\CDC\Inc
C_FLAGS = -g -mcpu=cortex-m7 -mthumb -mthumb-interwork -ffunction-sections -fdata-sections -fno-common -fmessage-length=0 -Og -g -std=gnu11