[demo] update stm32f405 demo project.

This commit is contained in:
armink 2020-07-12 20:35:47 +08:00
parent 5df106d6de
commit 4f526d2f7d
4 changed files with 10 additions and 12 deletions

View File

@ -158,7 +158,7 @@
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="applications/syscall_armlibc.c|libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm|fal/samples/porting/fal_flash_sfud_port.c|fal/samples/porting/fal_flash_stm32f2_port.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
<entry excluding="fal/samples/porting/fal_flash_stm32f1_port.c|applications/syscall_armlibc.c|libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm|fal/samples/porting/fal_flash_sfud_port.c|fal/samples/porting/fal_flash_stm32f2_port.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>

View File

@ -5,8 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2019-10-26 ChenYong first version
* 2020-05-08 Chenyaxing add memory and clock information
* 2020-07-12 RealThread first version
*/
#ifndef __BOARD_H__
@ -48,12 +47,6 @@ extern "C"
* such as #define BSP_UART1_TX_PIN "PA9"
* #define BSP_UART1_RX_PIN "PA10"
*
* STEP 3, if you want using SERIAL DMA, you must open it in the RT-Thread Settings.
* RT-Thread Setting -> Components -> Device Drivers -> Serial Device Drivers -> Enable Serial DMA Mode
*
* STEP 4, according to serial port number to define serial port tx/rx DMA function in the board.h file
* such as #define BSP_UART1_RX_USING_DMA
*
*/
#define BSP_USING_UART1
@ -62,4 +55,9 @@ extern "C"
/*-------------------------- UART CONFIG END --------------------------*/
extern void wait_ms(unsigned long ms_time);
#ifdef __cplusplus
}
#endif
#endif /* __BOARD_H__ */

View File

@ -159,7 +159,7 @@
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="fal/samples/porting/fal_flash_stm32f4.c|applications/syscall_armlibc.c|libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm|fal/samples/porting/fal_flash_stm32f2_port.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
<entry excluding="fal/samples/porting/fal_flash_stm32f1_port.c|fal/samples/porting/fal_flash_stm32f4.c|applications/syscall_armlibc.c|libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm|fal/samples/porting/fal_flash_stm32f2_port.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>

View File

@ -29,7 +29,7 @@
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerDeviceEndianness" value="little"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerDeviceName" value="STM32F405RG"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerDeviceSpeed" value="1000"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerExecutable" value="C:\Program Files (x86)\SEGGER\JLink_V490\JLinkGDBServerCL.exe"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerExecutable" value="${jlink_path}/${jlink_gdbserver}"/>
<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerGdbPortNumber" value="2331"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerLog" value=""/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerOther" value="-singlerun"/>
@ -37,7 +37,7 @@
<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerSwoPortNumber" value="2332"/>
<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.gdbServerTelnetPortNumber" value="2333"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.interfaceSpeed" value="auto"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.jlinkExecutable" value="C:\Program Files (x86)\SEGGER\JLink_V490\JLink.exe"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.jlinkExecutable" value="${jlink_path}/JLink.exe""/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.otherInitCommands" value=""/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.otherRunCommands" value=""/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.jlink.secondResetType" value=""/>