first version

This commit is contained in:
tyustli 2019-07-24 17:11:16 +08:00
parent 49e9d19c82
commit 12f2c34d83
8 changed files with 8 additions and 17 deletions

View File

@ -1 +0,0 @@
/GD32VF103xB/

View File

@ -1,2 +0,0 @@
eclipse.preferences.version=1
install.folder=E\:\\GD32\\GD32VF103\\GD32VF103SDK\\GDM32501_SDK\\IDE\\eclipse_toolchain\\openocd\\0.10.0-12-20190618-0815\\bin

View File

@ -1,2 +0,0 @@
buildTools.path=E\:\\GD32\\GD32VF103\\GD32VF103SDK\\GDM32501_SDK\\IDE\\eclipse_toolchain\\BuildTools\\2.10-20180103-1919\\bin
eclipse.preferences.version=1

View File

@ -1,2 +0,0 @@
eclipse.preferences.version=1
toolchain.path.512258282=E\:\\GD32\\GD32VF103\\GD32VF103SDK\\GDM32501_SDK\\IDE\\eclipse_toolchain\\RISC-VEmbeddedGCC\\riscv64-unknown-elf-gcc-8.2.0-2019.02.0-x86_64-w64-mingw32\\bin

View File

@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1826576228655354303" id="ilg.gnumcueclipse.managedbuild.cross.riscv.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT RISC-V Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1902464934833965131" id="ilg.gnumcueclipse.managedbuild.cross.riscv.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT RISC-V Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>

View File

@ -1,8 +1,8 @@
menu "Hardware Drivers Config"
config SOC_STM32F429IG
config SOC_GD32VF103V
bool
select SOC_SERIES_STM32F4
select SOC_SERIES_GD32VF103V
default y
menu "Onboard Peripheral Drivers"
@ -17,12 +17,12 @@ endmenu
menu "On-chip Peripheral Drivers"
menuconfig BSP_USING_UART
bool "Enable UART"
bool "Enable USART"
default y
select RT_USING_SERIAL
if BSP_USING_UART
config BSP_USING_UART0
bool "Enable UART0"
bool "Enable USART0"
default y
endif
endmenu

View File

@ -4,7 +4,7 @@ from building import *
cwd = GetCurrentDir()
src = Split('''
drv_uart.c
drv_usart.c
''')
CPPPATH = [cwd]

View File

@ -40,7 +40,7 @@
#define RT_USING_DEVICE
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart0"
#define RT_CONSOLE_DEVICE_NAME "uart"
#define RT_VER_NUM 0x40002
/* RT-Thread Components */
@ -137,8 +137,6 @@
/* peripheral libraries and drivers */
#define PKG_USING_AT24CXX
#define PKG_USING_AT24CXX_LATEST_VERSION
/* miscellaneous packages */
@ -154,7 +152,7 @@
/* Hardware Drivers Config */
#define SOC_STM32F429IG
#define SOC_GD32VF103V
/* Onboard Peripheral Drivers */