[Fw] Update Core-STM32 firmware.

This commit is contained in:
peng-zhihui 2021-11-30 20:13:11 +08:00
parent 879f203f86
commit 8ad05334dc
369 changed files with 1958 additions and 1213 deletions

View File

@ -19,7 +19,7 @@
<toolChain id="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug.682049980" name="Ac6 STM32 MCU GCC" superClass="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug"> <toolChain id="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug.682049980" name="Ac6 STM32 MCU GCC" superClass="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug">
<option id="fr.ac6.managedbuild.option.gnu.cross.prefix.14716717" name="Prefix" superClass="fr.ac6.managedbuild.option.gnu.cross.prefix" value="arm-none-eabi-" valueType="string" /> <option id="fr.ac6.managedbuild.option.gnu.cross.prefix.14716717" name="Prefix" superClass="fr.ac6.managedbuild.option.gnu.cross.prefix" value="arm-none-eabi-" valueType="string" />
<option id="fr.ac6.managedbuild.option.gnu.cross.mcu.1649063108" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" value="STM32F405RGTx" valueType="string" /> <option id="fr.ac6.managedbuild.option.gnu.cross.mcu.1649063108" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" value="STM32F405RGTx" valueType="string" />
<option id="fr.ac6.managedbuild.option.gnu.cross.board.1450084087" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" value="REF-STM32F4" valueType="string" /> <option id="fr.ac6.managedbuild.option.gnu.cross.board.1450084087" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" value="REF-STM32F4-fw" valueType="string" />
<option id="fr.ac6.managedbuild.option.gnu.cross.core.1083960614" name="Core" superClass="fr.ac6.managedbuild.option.gnu.cross.core" valueType="stringList"> <option id="fr.ac6.managedbuild.option.gnu.cross.core.1083960614" name="Core" superClass="fr.ac6.managedbuild.option.gnu.cross.core" valueType="stringList">
<listOptionValue builtIn="false" value="ARM Cortex-M4" /> <listOptionValue builtIn="false" value="ARM Cortex-M4" />
<listOptionValue builtIn="false" value="CM4" /> <listOptionValue builtIn="false" value="CM4" />
@ -147,7 +147,7 @@
<toolChain id="fr.ac6.managedbuild.toolchain.gnu.cross.exe.release.1069307058" name="Ac6 STM32 MCU GCC" superClass="fr.ac6.managedbuild.toolchain.gnu.cross.exe.release"> <toolChain id="fr.ac6.managedbuild.toolchain.gnu.cross.exe.release.1069307058" name="Ac6 STM32 MCU GCC" superClass="fr.ac6.managedbuild.toolchain.gnu.cross.exe.release">
<option id="fr.ac6.managedbuild.option.gnu.cross.prefix.14716717" name="Prefix" superClass="fr.ac6.managedbuild.option.gnu.cross.prefix" value="arm-none-eabi-" valueType="string" /> <option id="fr.ac6.managedbuild.option.gnu.cross.prefix.14716717" name="Prefix" superClass="fr.ac6.managedbuild.option.gnu.cross.prefix" value="arm-none-eabi-" valueType="string" />
<option id="fr.ac6.managedbuild.option.gnu.cross.mcu.1649063108" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" value="STM32F405RGTx" valueType="string" /> <option id="fr.ac6.managedbuild.option.gnu.cross.mcu.1649063108" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" value="STM32F405RGTx" valueType="string" />
<option id="fr.ac6.managedbuild.option.gnu.cross.board.1450084087" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" value="REF-STM32F4" valueType="string" /> <option id="fr.ac6.managedbuild.option.gnu.cross.board.1450084087" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" value="REF-STM32F4-fw" valueType="string" />
<option id="fr.ac6.managedbuild.option.gnu.cross.core.1083960614" name="Core" superClass="fr.ac6.managedbuild.option.gnu.cross.core" valueType="stringList"> <option id="fr.ac6.managedbuild.option.gnu.cross.core.1083960614" name="Core" superClass="fr.ac6.managedbuild.option.gnu.cross.core" valueType="stringList">
<listOptionValue builtIn="false" value="ARM Cortex-M4" /> <listOptionValue builtIn="false" value="ARM Cortex-M4" />
<listOptionValue builtIn="false" value="CM4" /> <listOptionValue builtIn="false" value="CM4" />
@ -269,7 +269,7 @@
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders" /> <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders" />
<storageModule moduleId="refreshScope" versionNumber="2"> <storageModule moduleId="refreshScope" versionNumber="2">
<configuration artifactName="${ProjName}" configurationName="Debug"> <configuration artifactName="${ProjName}" configurationName="Debug">
<resource resourceType="PROJECT" workspacePath="REF-STM32F4" /> <resource resourceType="PROJECT" workspacePath="REF-STM32F4-fw" />
</configuration> </configuration>
</storageModule> </storageModule>
</cproject> </cproject>

View File

@ -9,48 +9,48 @@ CDefines=USE_HAL_DRIVER;STM32F405xx;USE_HAL_DRIVER;USE_HAL_DRIVER;
[PreviousGenFiles] [PreviousGenFiles]
AdvancedFolderStructure=true AdvancedFolderStructure=true
HeaderFileListSize=16 HeaderFileListSize=16
HeaderFiles#0=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/gpio.h HeaderFiles#0=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/gpio.h
HeaderFiles#1=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/FreeRTOSConfig.h HeaderFiles#1=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/FreeRTOSConfig.h
HeaderFiles#2=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/adc.h HeaderFiles#2=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/adc.h
HeaderFiles#3=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/can.h HeaderFiles#3=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/can.h
HeaderFiles#4=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/dma.h HeaderFiles#4=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/dma.h
HeaderFiles#5=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/i2c.h HeaderFiles#5=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/i2c.h
HeaderFiles#6=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/spi.h HeaderFiles#6=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/spi.h
HeaderFiles#7=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/tim.h HeaderFiles#7=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/tim.h
HeaderFiles#8=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/usart.h HeaderFiles#8=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/usart.h
HeaderFiles#9=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/App/usb_device.h HeaderFiles#9=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/App/usb_device.h
HeaderFiles#10=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/Target/usbd_conf.h HeaderFiles#10=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/Target/usbd_conf.h
HeaderFiles#11=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/App/usbd_desc.h HeaderFiles#11=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/App/usbd_desc.h
HeaderFiles#12=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/App/usbd_cdc_if.h HeaderFiles#12=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/App/usbd_cdc_if.h
HeaderFiles#13=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/stm32f4xx_it.h HeaderFiles#13=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/stm32f4xx_it.h
HeaderFiles#14=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/stm32f4xx_hal_conf.h HeaderFiles#14=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/stm32f4xx_hal_conf.h
HeaderFiles#15=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc/main.h HeaderFiles#15=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc/main.h
HeaderFolderListSize=3 HeaderFolderListSize=3
HeaderPath#0=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Inc HeaderPath#0=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Inc
HeaderPath#1=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/App HeaderPath#1=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/App
HeaderPath#2=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/Target HeaderPath#2=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/Target
HeaderFiles=; HeaderFiles=;
SourceFileListSize=17 SourceFileListSize=17
SourceFiles#0=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/gpio.c SourceFiles#0=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/gpio.c
SourceFiles#1=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/freertos.c SourceFiles#1=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/freertos.c
SourceFiles#2=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/adc.c SourceFiles#2=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/adc.c
SourceFiles#3=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/can.c SourceFiles#3=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/can.c
SourceFiles#4=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/dma.c SourceFiles#4=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/dma.c
SourceFiles#5=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/i2c.c SourceFiles#5=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/i2c.c
SourceFiles#6=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/spi.c SourceFiles#6=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/spi.c
SourceFiles#7=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/tim.c SourceFiles#7=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/tim.c
SourceFiles#8=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/usart.c SourceFiles#8=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/usart.c
SourceFiles#9=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/App/usb_device.c SourceFiles#9=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/App/usb_device.c
SourceFiles#10=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/Target/usbd_conf.c SourceFiles#10=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/Target/usbd_conf.c
SourceFiles#11=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/App/usbd_desc.c SourceFiles#11=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/App/usbd_desc.c
SourceFiles#12=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/App/usbd_cdc_if.c SourceFiles#12=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/App/usbd_cdc_if.c
SourceFiles#13=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/stm32f4xx_it.c SourceFiles#13=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/stm32f4xx_it.c
SourceFiles#14=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/stm32f4xx_hal_msp.c SourceFiles#14=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/stm32f4xx_hal_msp.c
SourceFiles#15=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/stm32f4xx_hal_timebase_tim.c SourceFiles#15=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/stm32f4xx_hal_timebase_tim.c
SourceFiles#16=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src/main.c SourceFiles#16=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src/main.c
SourceFolderListSize=3 SourceFolderListSize=3
SourcePath#0=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/Core/Src SourcePath#0=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/Core/Src
SourcePath#1=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/App SourcePath#1=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/App
SourcePath#2=I:/onWorking/_Private/REF-STM32F4-dev/2.Firmware/REF-STM32F4-fw/USB_DEVICE/Target SourcePath#2=I:/onWorking/_Private/Dummy-Robot-dev/2.Firmware/Core-STM32F4-fw/USB_DEVICE/Target
SourceFiles=; SourceFiles=;

View File

@ -158,7 +158,8 @@ public:
enum ChannelType_t enum ChannelType_t
{ {
CHANNEL_TYPE_USB, CHANNEL_TYPE_USB,
CHANNEL_TYPE_UART CHANNEL_TYPE_UART4,
CHANNEL_TYPE_UART5
}; };
ChannelType_t channelType; ChannelType_t channelType;

Some files were not shown because too many files have changed in this diff Show More