├── GD32VF103C_START_Demo_Suites
├── Docs
│ ├── Schematic
│ │ └── GD32VF103C-START-V1.0.pdf
│ └── User Guide
│ │ ├── GD32VF103C-START_User_Guide_V1.0.pdf
│ │ └── GD32VF103C-START评估板用户指南_V1.0.pdf
├── Projects
│ ├── 01_GPIO_Running_LED
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 02_GPIO_Key_Polling_mode
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 03_EXTI_Key_Interrupt_mode
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ └── 04_USBFS
│ │ ├── Device
│ │ ├── CDC_ACM
│ │ │ ├── app.c
│ │ │ ├── cdc_acm_core.c
│ │ │ ├── cdc_acm_core.h
│ │ │ ├── eclipse
│ │ │ │ ├── .cproject
│ │ │ │ ├── .project
│ │ │ │ └── .settings
│ │ │ │ │ └── language.settings.xml
│ │ │ ├── gd32vf103_hw.c
│ │ │ ├── gd32vf103_it.c
│ │ │ ├── gd32vf103_it.h
│ │ │ ├── gd32vf103_libopt.h
│ │ │ ├── readme.txt
│ │ │ ├── system_gd32vf103.c
│ │ │ ├── usb_conf.h
│ │ │ └── usbd_conf.h
│ │ └── MSC
│ │ │ ├── app.c
│ │ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ │ ├── flash_msd.c
│ │ │ ├── flash_msd.h
│ │ │ ├── gd32vf103_hw.c
│ │ │ ├── gd32vf103_it.c
│ │ │ ├── gd32vf103_it.h
│ │ │ ├── gd32vf103_libopt.h
│ │ │ ├── msc_bbb.h
│ │ │ ├── msc_scsi.h
│ │ │ ├── readme.txt
│ │ │ ├── system_gd32vf103.c
│ │ │ ├── usb_conf.h
│ │ │ ├── usb_msc.h
│ │ │ ├── usbd_conf.h
│ │ │ ├── usbd_msc_bbb.c
│ │ │ ├── usbd_msc_bbb.h
│ │ │ ├── usbd_msc_core.c
│ │ │ ├── usbd_msc_core.h
│ │ │ ├── usbd_msc_data.c
│ │ │ ├── usbd_msc_data.h
│ │ │ ├── usbd_msc_mem.h
│ │ │ ├── usbd_msc_scsi.c
│ │ │ ├── usbd_msc_scsi.h
│ │ │ └── usbd_storage_msd.c
│ │ └── Host
│ │ └── MSC_Host
│ │ ├── app.c
│ │ ├── diskio.h
│ │ ├── eclipse
│ │ ├── .cproject
│ │ ├── .project
│ │ └── .settings
│ │ │ └── language.settings.xml
│ │ ├── fattime.c
│ │ ├── fattime.h
│ │ ├── ff.c
│ │ ├── ff.h
│ │ ├── ffconf.h
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── gd32vf103_usb_hw.c
│ │ ├── integer.h
│ │ ├── msc_bbb.h
│ │ ├── msc_scsi.h
│ │ ├── readme.txt
│ │ ├── system_gd32vf103.c
│ │ ├── usb_conf.h
│ │ ├── usb_msc.h
│ │ ├── usbh_conf.h
│ │ ├── usbh_msc_bbb.c
│ │ ├── usbh_msc_bbb.h
│ │ ├── usbh_msc_core.c
│ │ ├── usbh_msc_core.h
│ │ ├── usbh_msc_fatfs.c
│ │ ├── usbh_msc_scsi.c
│ │ ├── usbh_msc_scsi.h
│ │ ├── usbh_usr.c
│ │ └── usbh_usr.h
└── Utilities
│ ├── gd32vf103c_start.c
│ └── gd32vf103c_start.h
├── GD32VF103V_EVAL_Demo_Suites
├── Docs
│ ├── Schematic
│ │ └── GD32VF103V_EVAL_Schematic_V1.0.pdf
│ └── User Guide
│ │ ├── GD32VF103V-EVAL_User_Guide_V1.0.pdf
│ │ └── GD32VF103V-EVAL评估板用户指南_V1.0.pdf
├── Projects
│ ├── 01_GPIO_Running_Led
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ ├── .settings
│ │ │ │ ├── ilg.gnumcueclipse.debug.gdbjtag.openocd.prefs
│ │ │ │ ├── ilg.gnumcueclipse.managedbuild.cross.prefs
│ │ │ │ ├── ilg.gnumcueclipse.managedbuild.cross.riscv.prefs
│ │ │ │ └── language.settings.xml
│ │ │ └── GD32VF103xB
│ │ │ │ ├── Application
│ │ │ │ ├── main.d
│ │ │ │ ├── main.o
│ │ │ │ ├── subdir.mk
│ │ │ │ ├── systick.d
│ │ │ │ └── systick.o
│ │ │ │ ├── GD32VF103V_EVAL.elf
│ │ │ │ ├── GD32VF103V_EVAL.hex
│ │ │ │ ├── GD32VF103V_EVAL.lst
│ │ │ │ ├── GD32VF103V_EVAL.map
│ │ │ │ ├── GD32VF103_EVAL
│ │ │ │ ├── gd32vf103v_eval.d
│ │ │ │ ├── gd32vf103v_eval.o
│ │ │ │ └── subdir.mk
│ │ │ │ ├── GD32VF103_Peripherals
│ │ │ │ ├── Source
│ │ │ │ │ ├── gd32vf103_adc.d
│ │ │ │ │ ├── gd32vf103_adc.o
│ │ │ │ │ ├── gd32vf103_bkp.d
│ │ │ │ │ ├── gd32vf103_bkp.o
│ │ │ │ │ ├── gd32vf103_can.d
│ │ │ │ │ ├── gd32vf103_can.o
│ │ │ │ │ ├── gd32vf103_crc.d
│ │ │ │ │ ├── gd32vf103_crc.o
│ │ │ │ │ ├── gd32vf103_dac.d
│ │ │ │ │ ├── gd32vf103_dac.o
│ │ │ │ │ ├── gd32vf103_dbg.d
│ │ │ │ │ ├── gd32vf103_dbg.o
│ │ │ │ │ ├── gd32vf103_dma.d
│ │ │ │ │ ├── gd32vf103_dma.o
│ │ │ │ │ ├── gd32vf103_eclic.d
│ │ │ │ │ ├── gd32vf103_eclic.o
│ │ │ │ │ ├── gd32vf103_exmc.d
│ │ │ │ │ ├── gd32vf103_exmc.o
│ │ │ │ │ ├── gd32vf103_exti.d
│ │ │ │ │ ├── gd32vf103_exti.o
│ │ │ │ │ ├── gd32vf103_fmc.d
│ │ │ │ │ ├── gd32vf103_fmc.o
│ │ │ │ │ ├── gd32vf103_fwdgt.d
│ │ │ │ │ ├── gd32vf103_fwdgt.o
│ │ │ │ │ ├── gd32vf103_gpio.d
│ │ │ │ │ ├── gd32vf103_gpio.o
│ │ │ │ │ ├── gd32vf103_i2c.d
│ │ │ │ │ ├── gd32vf103_i2c.o
│ │ │ │ │ ├── gd32vf103_pmu.d
│ │ │ │ │ ├── gd32vf103_pmu.o
│ │ │ │ │ ├── gd32vf103_rcu.d
│ │ │ │ │ ├── gd32vf103_rcu.o
│ │ │ │ │ ├── gd32vf103_rtc.d
│ │ │ │ │ ├── gd32vf103_rtc.o
│ │ │ │ │ ├── gd32vf103_spi.d
│ │ │ │ │ ├── gd32vf103_spi.o
│ │ │ │ │ ├── gd32vf103_timer.d
│ │ │ │ │ ├── gd32vf103_timer.o
│ │ │ │ │ ├── gd32vf103_usart.d
│ │ │ │ │ ├── gd32vf103_usart.o
│ │ │ │ │ ├── gd32vf103_wwdgt.d
│ │ │ │ │ ├── gd32vf103_wwdgt.o
│ │ │ │ │ └── subdir.mk
│ │ │ │ ├── subdir.mk
│ │ │ │ ├── system_gd32vf103.d
│ │ │ │ └── system_gd32vf103.o
│ │ │ │ ├── RISCV
│ │ │ │ ├── drivers
│ │ │ │ │ ├── n200_func.d
│ │ │ │ │ ├── n200_func.o
│ │ │ │ │ └── subdir.mk
│ │ │ │ ├── env_Eclipse
│ │ │ │ │ ├── entry.d
│ │ │ │ │ ├── entry.o
│ │ │ │ │ ├── handlers.d
│ │ │ │ │ ├── handlers.o
│ │ │ │ │ ├── init.d
│ │ │ │ │ ├── init.o
│ │ │ │ │ ├── start.d
│ │ │ │ │ ├── start.o
│ │ │ │ │ ├── subdir.mk
│ │ │ │ │ ├── your_printf.d
│ │ │ │ │ └── your_printf.o
│ │ │ │ └── stubs
│ │ │ │ │ ├── _exit.d
│ │ │ │ │ ├── _exit.o
│ │ │ │ │ ├── close.d
│ │ │ │ │ ├── close.o
│ │ │ │ │ ├── fstat.d
│ │ │ │ │ ├── fstat.o
│ │ │ │ │ ├── isatty.d
│ │ │ │ │ ├── isatty.o
│ │ │ │ │ ├── lseek.d
│ │ │ │ │ ├── lseek.o
│ │ │ │ │ ├── read.d
│ │ │ │ │ ├── read.o
│ │ │ │ │ ├── sbrk.d
│ │ │ │ │ ├── sbrk.o
│ │ │ │ │ ├── subdir.mk
│ │ │ │ │ ├── write.d
│ │ │ │ │ ├── write.o
│ │ │ │ │ ├── write_hex.d
│ │ │ │ │ └── write_hex.o
│ │ │ │ ├── makefile
│ │ │ │ ├── objects.mk
│ │ │ │ └── sources.mk
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 02_GPIO_Key_Polling_mode
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ ├── .settings
│ │ │ │ ├── ilg.gnumcueclipse.debug.gdbjtag.openocd.prefs
│ │ │ │ ├── ilg.gnumcueclipse.managedbuild.cross.prefs
│ │ │ │ ├── ilg.gnumcueclipse.managedbuild.cross.riscv.prefs
│ │ │ │ └── language.settings.xml
│ │ │ └── GD32VF103xB
│ │ │ │ ├── Application
│ │ │ │ ├── main.d
│ │ │ │ ├── main.o
│ │ │ │ ├── subdir.mk
│ │ │ │ ├── systick.d
│ │ │ │ └── systick.o
│ │ │ │ ├── GD32VF103V_EVAL.elf
│ │ │ │ ├── GD32VF103V_EVAL.hex
│ │ │ │ ├── GD32VF103V_EVAL.lst
│ │ │ │ ├── GD32VF103V_EVAL.map
│ │ │ │ ├── GD32VF103_EVAL
│ │ │ │ ├── gd32vf103v_eval.d
│ │ │ │ ├── gd32vf103v_eval.o
│ │ │ │ └── subdir.mk
│ │ │ │ ├── GD32VF103_Peripherals
│ │ │ │ ├── Source
│ │ │ │ │ ├── gd32vf103_adc.d
│ │ │ │ │ ├── gd32vf103_adc.o
│ │ │ │ │ ├── gd32vf103_bkp.d
│ │ │ │ │ ├── gd32vf103_bkp.o
│ │ │ │ │ ├── gd32vf103_can.d
│ │ │ │ │ ├── gd32vf103_can.o
│ │ │ │ │ ├── gd32vf103_crc.d
│ │ │ │ │ ├── gd32vf103_crc.o
│ │ │ │ │ ├── gd32vf103_dac.d
│ │ │ │ │ ├── gd32vf103_dac.o
│ │ │ │ │ ├── gd32vf103_dbg.d
│ │ │ │ │ ├── gd32vf103_dbg.o
│ │ │ │ │ ├── gd32vf103_dma.d
│ │ │ │ │ ├── gd32vf103_dma.o
│ │ │ │ │ ├── gd32vf103_eclic.d
│ │ │ │ │ ├── gd32vf103_eclic.o
│ │ │ │ │ ├── gd32vf103_exmc.d
│ │ │ │ │ ├── gd32vf103_exmc.o
│ │ │ │ │ ├── gd32vf103_exti.d
│ │ │ │ │ ├── gd32vf103_exti.o
│ │ │ │ │ ├── gd32vf103_fmc.d
│ │ │ │ │ ├── gd32vf103_fmc.o
│ │ │ │ │ ├── gd32vf103_fwdgt.d
│ │ │ │ │ ├── gd32vf103_fwdgt.o
│ │ │ │ │ ├── gd32vf103_gpio.d
│ │ │ │ │ ├── gd32vf103_gpio.o
│ │ │ │ │ ├── gd32vf103_i2c.d
│ │ │ │ │ ├── gd32vf103_i2c.o
│ │ │ │ │ ├── gd32vf103_pmu.d
│ │ │ │ │ ├── gd32vf103_pmu.o
│ │ │ │ │ ├── gd32vf103_rcu.d
│ │ │ │ │ ├── gd32vf103_rcu.o
│ │ │ │ │ ├── gd32vf103_rtc.d
│ │ │ │ │ ├── gd32vf103_rtc.o
│ │ │ │ │ ├── gd32vf103_spi.d
│ │ │ │ │ ├── gd32vf103_spi.o
│ │ │ │ │ ├── gd32vf103_timer.d
│ │ │ │ │ ├── gd32vf103_timer.o
│ │ │ │ │ ├── gd32vf103_usart.d
│ │ │ │ │ ├── gd32vf103_usart.o
│ │ │ │ │ ├── gd32vf103_wwdgt.d
│ │ │ │ │ ├── gd32vf103_wwdgt.o
│ │ │ │ │ └── subdir.mk
│ │ │ │ ├── subdir.mk
│ │ │ │ ├── system_gd32vf103.d
│ │ │ │ └── system_gd32vf103.o
│ │ │ │ ├── RISCV
│ │ │ │ ├── drivers
│ │ │ │ │ ├── n200_func.d
│ │ │ │ │ ├── n200_func.o
│ │ │ │ │ └── subdir.mk
│ │ │ │ ├── env_Eclipse
│ │ │ │ │ ├── entry.d
│ │ │ │ │ ├── entry.o
│ │ │ │ │ ├── handlers.d
│ │ │ │ │ ├── handlers.o
│ │ │ │ │ ├── init.d
│ │ │ │ │ ├── init.o
│ │ │ │ │ ├── start.d
│ │ │ │ │ ├── start.o
│ │ │ │ │ ├── subdir.mk
│ │ │ │ │ ├── your_printf.d
│ │ │ │ │ └── your_printf.o
│ │ │ │ └── stubs
│ │ │ │ │ ├── _exit.d
│ │ │ │ │ ├── _exit.o
│ │ │ │ │ ├── close.d
│ │ │ │ │ ├── close.o
│ │ │ │ │ ├── fstat.d
│ │ │ │ │ ├── fstat.o
│ │ │ │ │ ├── isatty.d
│ │ │ │ │ ├── isatty.o
│ │ │ │ │ ├── lseek.d
│ │ │ │ │ ├── lseek.o
│ │ │ │ │ ├── read.d
│ │ │ │ │ ├── read.o
│ │ │ │ │ ├── sbrk.d
│ │ │ │ │ ├── sbrk.o
│ │ │ │ │ ├── subdir.mk
│ │ │ │ │ ├── write.d
│ │ │ │ │ ├── write.o
│ │ │ │ │ ├── write_hex.d
│ │ │ │ │ └── write_hex.o
│ │ │ │ ├── makefile
│ │ │ │ ├── objects.mk
│ │ │ │ └── sources.mk
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 03_EXTI_Key_Interrupt_mode
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 04_USART_Printf
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 05_USART_Echo_Interrupt_mode
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 06_USART_DMA
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 07_ADC_conversion_triggered_by_timer
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 08_ADC0_ADC1_Follow_up_mode
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 09_ADC0_ADC1_Regular_Parallel_mode
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 10_DAC_Output_Voltage_Value
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 11_I2C_EEPROM
│ │ ├── Soft_Drive
│ │ │ ├── at24cxx.c
│ │ │ ├── at24cxx.h
│ │ │ ├── i2c.c
│ │ │ └── i2c.h
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 12_SPI_SPI_Flash
│ │ ├── Soft_Drive
│ │ │ ├── gd25qxx.c
│ │ │ └── gd25qxx.h
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 13_I2S_Audio_Player
│ │ ├── Soft_Drive
│ │ │ ├── i2s_codec.c
│ │ │ ├── i2s_codec.h
│ │ │ └── wave_data.h
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 14_EXMC_TouchScreen
│ │ ├── Soft_Drive
│ │ │ ├── picture.c
│ │ │ ├── picture.h
│ │ │ ├── touch_panel.c
│ │ │ └── touch_panel.h
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 15_CAN_Network
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 16_RCU_Clock_Out
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ └── readme.txt
│ ├── 17_PMU_sleep_wakeup
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ ├── 18_RTC_Calendar
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── rtc.c
│ │ └── rtc.h
│ ├── 19_TIMER_Breath_LED
│ │ ├── eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── gd32vf103_libopt.h
│ │ ├── main.c
│ │ ├── readme.txt
│ │ ├── systick.c
│ │ └── systick.h
│ └── 20_USBFS
│ │ ├── Device
│ │ ├── CDC_ACM
│ │ │ ├── Eclipse
│ │ │ │ ├── .cproject
│ │ │ │ ├── .project
│ │ │ │ └── .settings
│ │ │ │ │ └── language.settings.xml
│ │ │ ├── app.c
│ │ │ ├── cdc_acm_core.c
│ │ │ ├── cdc_acm_core.h
│ │ │ ├── gd32vf103_hw.c
│ │ │ ├── gd32vf103_it.c
│ │ │ ├── gd32vf103_it.h
│ │ │ ├── gd32vf103_libopt.h
│ │ │ ├── readme.txt
│ │ │ ├── system_gd32vf103.c
│ │ │ ├── usb_conf.h
│ │ │ └── usbd_conf.h
│ │ └── MSC
│ │ │ ├── Eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ │ ├── app.c
│ │ │ ├── flash_msd.c
│ │ │ ├── flash_msd.h
│ │ │ ├── gd32vf103_hw.c
│ │ │ ├── gd32vf103_it.c
│ │ │ ├── gd32vf103_it.h
│ │ │ ├── gd32vf103_libopt.h
│ │ │ ├── msc_bbb.h
│ │ │ ├── msc_scsi.h
│ │ │ ├── readme.txt
│ │ │ ├── system_gd32vf103.c
│ │ │ ├── usb_conf.h
│ │ │ ├── usb_msc.h
│ │ │ ├── usbd_conf.h
│ │ │ ├── usbd_msc_bbb.c
│ │ │ ├── usbd_msc_bbb.h
│ │ │ ├── usbd_msc_core.c
│ │ │ ├── usbd_msc_core.h
│ │ │ ├── usbd_msc_data.c
│ │ │ ├── usbd_msc_data.h
│ │ │ ├── usbd_msc_mem.h
│ │ │ ├── usbd_msc_scsi.c
│ │ │ ├── usbd_msc_scsi.h
│ │ │ └── usbd_storage_msd.c
│ │ └── Host
│ │ ├── HID_Host
│ │ ├── Eclipse
│ │ │ ├── .cproject
│ │ │ ├── .project
│ │ │ └── .settings
│ │ │ │ └── language.settings.xml
│ │ ├── app.c
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── gd32vf103_usb_hw.c
│ │ ├── lcd_font.c
│ │ ├── lcd_font.h
│ │ ├── lcd_log.c
│ │ ├── lcd_log.h
│ │ ├── readme.txt
│ │ ├── system_gd32vf103.c
│ │ ├── usb_conf.h
│ │ ├── usb_hid.h
│ │ ├── usbh_conf.h
│ │ ├── usbh_hid_core.c
│ │ ├── usbh_hid_core.h
│ │ ├── usbh_hid_keybd.c
│ │ ├── usbh_hid_keybd.h
│ │ ├── usbh_hid_mouse.c
│ │ ├── usbh_hid_mouse.h
│ │ ├── usbh_usr.c
│ │ └── usbh_usr.h
│ │ └── MSC_Host
│ │ ├── Eclipse
│ │ ├── .cproject
│ │ ├── .project
│ │ └── .settings
│ │ │ └── language.settings.xml
│ │ ├── app.c
│ │ ├── diskio.h
│ │ ├── fattime.c
│ │ ├── fattime.h
│ │ ├── ff.c
│ │ ├── ff.h
│ │ ├── ffconf.h
│ │ ├── gd32vf103_it.c
│ │ ├── gd32vf103_it.h
│ │ ├── gd32vf103_libopt.h
│ │ ├── gd32vf103_usb_hw.c
│ │ ├── integer.h
│ │ ├── lcd_font.c
│ │ ├── lcd_font.h
│ │ ├── lcd_log.c
│ │ ├── lcd_log.h
│ │ ├── msc_bbb.h
│ │ ├── msc_scsi.h
│ │ ├── readme.txt
│ │ ├── system_gd32vf103.c
│ │ ├── usb_conf.h
│ │ ├── usb_msc.h
│ │ ├── usbh_conf.h
│ │ ├── usbh_msc_bbb.c
│ │ ├── usbh_msc_bbb.h
│ │ ├── usbh_msc_core.c
│ │ ├── usbh_msc_core.h
│ │ ├── usbh_msc_fatfs.c
│ │ ├── usbh_msc_scsi.c
│ │ ├── usbh_msc_scsi.h
│ │ ├── usbh_usr.c
│ │ └── usbh_usr.h
└── Utilities
│ ├── LCD_common
│ ├── lcd_font.c
│ └── lcd_font.h
│ ├── gd32vf103v_eval.c
│ ├── gd32vf103v_eval.h
│ ├── gd32vf103v_lcd_eval.c
│ └── gd32vf103v_lcd_eval.h
├── GD32VF103_Firmware_Library
├── GD32VF103_standard_peripheral
│ ├── Include
│ │ ├── gd32vf103_adc.h
│ │ ├── gd32vf103_bkp.h
│ │ ├── gd32vf103_can.h
│ │ ├── gd32vf103_crc.h
│ │ ├── gd32vf103_dac.h
│ │ ├── gd32vf103_dbg.h
│ │ ├── gd32vf103_dma.h
│ │ ├── gd32vf103_eclic.h
│ │ ├── gd32vf103_exmc.h
│ │ ├── gd32vf103_exti.h
│ │ ├── gd32vf103_fmc.h
│ │ ├── gd32vf103_fwdgt.h
│ │ ├── gd32vf103_gpio.h
│ │ ├── gd32vf103_i2c.h
│ │ ├── gd32vf103_pmu.h
│ │ ├── gd32vf103_rcu.h
│ │ ├── gd32vf103_rtc.h
│ │ ├── gd32vf103_spi.h
│ │ ├── gd32vf103_timer.h
│ │ ├── gd32vf103_usart.h
│ │ └── gd32vf103_wwdgt.h
│ ├── Source
│ │ ├── gd32vf103_adc.c
│ │ ├── gd32vf103_bkp.c
│ │ ├── gd32vf103_can.c
│ │ ├── gd32vf103_crc.c
│ │ ├── gd32vf103_dac.c
│ │ ├── gd32vf103_dbg.c
│ │ ├── gd32vf103_dma.c
│ │ ├── gd32vf103_eclic.c
│ │ ├── gd32vf103_exmc.c
│ │ ├── gd32vf103_exti.c
│ │ ├── gd32vf103_fmc.c
│ │ ├── gd32vf103_fwdgt.c
│ │ ├── gd32vf103_gpio.c
│ │ ├── gd32vf103_i2c.c
│ │ ├── gd32vf103_pmu.c
│ │ ├── gd32vf103_rcu.c
│ │ ├── gd32vf103_rtc.c
│ │ ├── gd32vf103_spi.c
│ │ ├── gd32vf103_timer.c
│ │ ├── gd32vf103_usart.c
│ │ └── gd32vf103_wwdgt.c
│ ├── gd32vf103.h
│ ├── system_gd32vf103.c
│ └── system_gd32vf103.h
├── GD32VF103_usbfs_driver
│ ├── Include
│ │ ├── drv_usb_core.h
│ │ ├── drv_usb_dev.h
│ │ ├── drv_usb_host.h
│ │ ├── drv_usb_hw.h
│ │ ├── drv_usb_regs.h
│ │ ├── drv_usbd_int.h
│ │ ├── drv_usbh_int.h
│ │ ├── usb_ch9_std.h
│ │ ├── usbd_core.h
│ │ ├── usbd_enum.h
│ │ ├── usbd_transc.h
│ │ ├── usbh_core.h
│ │ ├── usbh_enum.h
│ │ ├── usbh_pipe.h
│ │ └── usbh_transc.h
│ └── Source
│ │ ├── drv_usb_core.c
│ │ ├── drv_usb_dev.c
│ │ ├── drv_usb_host.c
│ │ ├── drv_usbd_int.c
│ │ ├── drv_usbh_int.c
│ │ ├── usbd_core.c
│ │ ├── usbd_enum.c
│ │ ├── usbd_transc.c
│ │ ├── usbh_core.c
│ │ ├── usbh_enum.c
│ │ ├── usbh_pipe.c
│ │ └── usbh_transc.c
└── RISCV
│ ├── drivers
│ ├── n200_eclic.h
│ ├── n200_func.c
│ ├── n200_func.h
│ ├── n200_timer.h
│ ├── riscv_bits.h
│ ├── riscv_const.h
│ └── riscv_encoding.h
│ ├── env_Eclipse
│ ├── GD32VF103x4.lds
│ ├── GD32VF103x6.lds
│ ├── GD32VF103x8.lds
│ ├── GD32VF103xB.lds
│ ├── entry.S
│ ├── handlers.c
│ ├── init.c
│ ├── openocd_gdlink.cfg
│ ├── openocd_jlink.cfg
│ ├── start.S
│ └── your_printf.c
│ └── stubs
│ ├── _exit.c
│ ├── close.c
│ ├── fstat.c
│ ├── isatty.c
│ ├── lseek.c
│ ├── read.c
│ ├── sbrk.c
│ ├── stub.h
│ ├── write.c
│ └── write_hex.c
├── README.md
├── openocd_gdlink.cfg
└── openocd_jlink.cfg
/GD32VF103C_START_Demo_Suites/Docs/Schematic/GD32VF103C-START-V1.0.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103C_START_Demo_Suites/Docs/Schematic/GD32VF103C-START-V1.0.pdf
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Docs/User Guide/GD32VF103C-START_User_Guide_V1.0.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103C_START_Demo_Suites/Docs/User Guide/GD32VF103C-START_User_Guide_V1.0.pdf
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Docs/User Guide/GD32VF103C-START评估板用户指南_V1.0.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103C_START_Demo_Suites/Docs/User Guide/GD32VF103C-START评估板用户指南_V1.0.pdf
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/01_GPIO_Running_LED/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/01_GPIO_Running_LED/readme.txt:
--------------------------------------------------------------------------------
1 | /*!
2 | \file readme.txt
3 | \brief description of the GPIO_Running_Led example
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | This demo is based on the GD32VF103C-START-V1.0 board. On GD32VF103C-START Wakeup button key,
36 | LED1 and GD-Link are included.
37 | On the board, LED1 is connected to PA7. Download the program to the board, LED1 is
38 | turned on and off every 1s.
39 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/01_GPIO_Running_LED/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/03_EXTI_Key_Interrupt_mode/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/03_EXTI_Key_Interrupt_mode/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32vf103_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* this function handles external lines 0 interrupt request */
42 | void EXTI0_IRQHandler(void);
43 |
44 | #endif /* GD32VF103_IT_H */
45 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/03_EXTI_Key_Interrupt_mode/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/04_USBFS/Device/CDC_ACM/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/04_USBFS/Device/MSC/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/04_USBFS/Host/MSC_Host/diskio.h:
--------------------------------------------------------------------------------
1 | /*-----------------------------------------------------------------------
2 | / Low level disk interface modlue include file R0.07 (C)ChaN, 2009
3 | /-----------------------------------------------------------------------*/
4 |
5 | #ifndef _DISKIO
6 |
7 | #define _READONLY 0 /* 1: Read-only mode */
8 | #define _USE_IOCTL 1
9 |
10 | #include "integer.h"
11 |
12 | /* Status of Disk Functions */
13 | typedef BYTE DSTATUS;
14 |
15 | /* Results of Disk Functions */
16 | typedef enum {
17 | RES_OK = 0, /* 0: Successful */
18 | RES_ERROR, /* 1: R/W Error */
19 | RES_WRPRT, /* 2: Write Protected */
20 | RES_NOTRDY, /* 3: Not Ready */
21 | RES_PARERR /* 4: Invalid Parameter */
22 | } DRESULT;
23 |
24 |
25 | /*---------------------------------------*/
26 | /* Prototypes for disk control functions */
27 |
28 | bool assign_drives (int argc, char *argv[]);
29 | DSTATUS disk_initialize (BYTE);
30 | DSTATUS disk_status (BYTE);
31 | DRESULT disk_read (BYTE, BYTE*, DWORD, BYTE);
32 | #if _READONLY == 0
33 | DRESULT disk_write (BYTE, const BYTE*, DWORD, BYTE);
34 | #endif
35 | DRESULT disk_ioctl (BYTE, BYTE, void*);
36 |
37 |
38 |
39 | /* Disk Status Bits (DSTATUS) */
40 |
41 | #define STA_NOINIT 0x01 /* Drive not initialized */
42 | #define STA_NODISK 0x02 /* No medium in the drive */
43 | #define STA_PROTECT 0x04 /* Write protected */
44 |
45 |
46 | /* Command code for disk_ioctrl() */
47 |
48 | /* Generic command */
49 | #define CTRL_SYNC 0 /* Mandatory for write functions */
50 | #define GET_SECTOR_COUNT 1 /* Mandatory for only f_mkfs() */
51 | #define GET_SECTOR_SIZE 2
52 | #define GET_BLOCK_SIZE 3 /* Mandatory for only f_mkfs() */
53 | #define CTRL_POWER 4
54 | #define CTRL_LOCK 5
55 | #define CTRL_EJECT 6
56 | /* MMC/SDC command */
57 | #define MMC_GET_TYPE 10
58 | #define MMC_GET_CSD 11
59 | #define MMC_GET_CID 12
60 | #define MMC_GET_OCR 13
61 | #define MMC_GET_SDSTAT 14
62 | /* ATA/CF command */
63 | #define ATA_GET_REV 20
64 | #define ATA_GET_MODEL 21
65 | #define ATA_GET_SN 22
66 |
67 | #define _DISKIO
68 | #endif
69 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/04_USBFS/Host/MSC_Host/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/04_USBFS/Host/MSC_Host/fattime.c:
--------------------------------------------------------------------------------
1 |
2 |
3 | #include "integer.h"
4 | #include "fattime.h"
5 |
6 |
7 | DWORD get_fattime (void)
8 | {
9 | return 0;
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/04_USBFS/Host/MSC_Host/fattime.h:
--------------------------------------------------------------------------------
1 | #ifndef FATTIME_H_
2 |
3 | #include "integer.h"
4 |
5 | DWORD get_fattime (void);
6 |
7 | #endif
8 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/04_USBFS/Host/MSC_Host/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32vf103_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* this function handles USB wakeup interrupt handler */
42 | void USBFS_WKUP_IRQHandler(void);
43 | /* this function handles USBFS IRQ Handler */
44 | void USBFS_IRQHandler(void);
45 |
46 | #endif /* GD32VF103_IT_H */
47 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/04_USBFS/Host/MSC_Host/integer.h:
--------------------------------------------------------------------------------
1 | /*-------------------------------------------*/
2 | /* Integer type definitions for FatFs module */
3 | /*-------------------------------------------*/
4 |
5 | #ifndef _INTEGER
6 |
7 | #if 0
8 | #include
9 | #else
10 |
11 | #include "usb_conf.h"
12 |
13 | /* These types must be 16-bit, 32-bit or larger integer */
14 | typedef int INT;
15 | typedef unsigned int UINT;
16 |
17 | /* These types must be 8-bit integer */
18 | typedef signed char CHAR;
19 | typedef unsigned char UCHAR;
20 | typedef unsigned char BYTE;
21 |
22 | /* These types must be 16-bit integer */
23 | typedef short SHORT;
24 | typedef unsigned short USHORT;
25 | typedef unsigned short WORD;
26 | typedef unsigned short WCHAR;
27 |
28 | /* These types must be 32-bit integer */
29 | typedef long LONG;
30 | typedef unsigned long ULONG;
31 | typedef unsigned long DWORD;
32 |
33 | /* Boolean type */
34 | // typedef enum { FALSE = 0, TRUE } BOOL;
35 | #include
36 | //typedef bool BOOL;
37 | #ifndef FALSE
38 | #define FALSE false
39 | #define TRUE true
40 | #endif
41 |
42 |
43 | #endif
44 |
45 | #define _INTEGER
46 | #endif
47 |
--------------------------------------------------------------------------------
/GD32VF103C_START_Demo_Suites/Projects/04_USBFS/Host/MSC_Host/usbh_conf.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file usbh_conf.h
3 | \brief general low level driver configuration
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef __USBH_CONF_H
36 | #define __USBH_CONF_H
37 |
38 | #define USBH_MAX_EP_NUM 2
39 | #define USBH_MAX_INTERFACES_NUM 2
40 | #define USBH_MSC_MPS_SIZE 0x200
41 |
42 | #endif /* __USBH_CONF_H */
43 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Docs/Schematic/GD32VF103V_EVAL_Schematic_V1.0.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Docs/Schematic/GD32VF103V_EVAL_Schematic_V1.0.pdf
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Docs/User Guide/GD32VF103V-EVAL_User_Guide_V1.0.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Docs/User Guide/GD32VF103V-EVAL_User_Guide_V1.0.pdf
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Docs/User Guide/GD32VF103V-EVAL评估板用户指南_V1.0.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Docs/User Guide/GD32VF103V-EVAL评估板用户指南_V1.0.pdf
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/.settings/ilg.gnumcueclipse.debug.gdbjtag.openocd.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | install.folder=E\:\\files\\GD_toolchain\\openocd\\0.10.0-12-20190618-0815\\bin
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/.settings/ilg.gnumcueclipse.managedbuild.cross.prefs:
--------------------------------------------------------------------------------
1 | buildTools.path=E\:\\files\\GD_toolchain\\Build Tools\\2.10-20180103-1919\\bin
2 | eclipse.preferences.version=1
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/.settings/ilg.gnumcueclipse.managedbuild.cross.riscv.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | toolchain.path.512258282=E\:\\files\\GD_toolchain\\RISC-V Embedded GCC\\8.2.0-2.2-20190521-0004\\bin
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/Application/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/Application/main.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/Application/systick.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/Application/systick.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103V_EVAL.elf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103V_EVAL.elf
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_EVAL/gd32vf103v_eval.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_EVAL/gd32vf103v_eval.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_EVAL/subdir.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | # Add inputs and outputs from these tool invocations to the build variables
6 | C_SRCS += \
7 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103V_EVAL_Demo_Suites/Utilities/gd32vf103v_eval.c
8 |
9 | OBJS += \
10 | ./GD32VF103_EVAL/gd32vf103v_eval.o
11 |
12 | C_DEPS += \
13 | ./GD32VF103_EVAL/gd32vf103v_eval.d
14 |
15 |
16 | # Each subdirectory must supply rules for building sources it contributes
17 | GD32VF103_EVAL/gd32vf103v_eval.o: E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103V_EVAL_Demo_Suites/Utilities/gd32vf103v_eval.c
18 | @echo 'Building file: $<'
19 | @echo 'Invoking: GNU RISC-V Cross C Compiler'
20 | riscv-none-embed-gcc -march=rv32imac -mabi=ilp32 -mcmodel=medlow -msmall-data-limit=8 -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g -DUSE_STDPERIPH_DRIVER -DGD32VF103V_EVAL -I../../../../Utilities -I../../ -I../../../../../GD32VF103_Firmware_Library/RISCV/env_Eclipse -I../../../../../GD32VF103_Firmware_Library/RISCV/drivers -I../../../../../GD32VF103_Firmware_Library/RISCV/stubs -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Include -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
21 | @echo 'Finished building: $<'
22 | @echo ' '
23 |
24 |
25 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_adc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_adc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_bkp.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_bkp.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_can.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_can.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_crc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_crc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dac.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dac.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dbg.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dbg.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dma.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dma.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_eclic.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_eclic.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_exmc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_exmc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_exti.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_exti.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_fmc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_fmc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_fwdgt.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_fwdgt.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_gpio.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_gpio.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_i2c.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_i2c.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_pmu.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_pmu.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_rcu.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_rcu.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_rtc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_rtc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_spi.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_spi.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_timer.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_timer.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_usart.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_usart.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_wwdgt.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_wwdgt.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/subdir.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | # Add inputs and outputs from these tool invocations to the build variables
6 | C_SRCS += \
7 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/system_gd32vf103.c
8 |
9 | OBJS += \
10 | ./GD32VF103_Peripherals/system_gd32vf103.o
11 |
12 | C_DEPS += \
13 | ./GD32VF103_Peripherals/system_gd32vf103.d
14 |
15 |
16 | # Each subdirectory must supply rules for building sources it contributes
17 | GD32VF103_Peripherals/system_gd32vf103.o: E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/system_gd32vf103.c
18 | @echo 'Building file: $<'
19 | @echo 'Invoking: GNU RISC-V Cross C Compiler'
20 | riscv-none-embed-gcc -march=rv32imac -mabi=ilp32 -mcmodel=medlow -msmall-data-limit=8 -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g -DUSE_STDPERIPH_DRIVER -DGD32VF103V_EVAL -I../../../../Utilities -I../../ -I../../../../../GD32VF103_Firmware_Library/RISCV/env_Eclipse -I../../../../../GD32VF103_Firmware_Library/RISCV/drivers -I../../../../../GD32VF103_Firmware_Library/RISCV/stubs -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Include -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
21 | @echo 'Finished building: $<'
22 | @echo ' '
23 |
24 |
25 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/system_gd32vf103.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/GD32VF103_Peripherals/system_gd32vf103.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/drivers/n200_func.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/drivers/n200_func.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/drivers/subdir.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | # Add inputs and outputs from these tool invocations to the build variables
6 | C_SRCS += \
7 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/drivers/n200_func.c
8 |
9 | OBJS += \
10 | ./RISCV/drivers/n200_func.o
11 |
12 | C_DEPS += \
13 | ./RISCV/drivers/n200_func.d
14 |
15 |
16 | # Each subdirectory must supply rules for building sources it contributes
17 | RISCV/drivers/n200_func.o: E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/drivers/n200_func.c
18 | @echo 'Building file: $<'
19 | @echo 'Invoking: GNU RISC-V Cross C Compiler'
20 | riscv-none-embed-gcc -march=rv32imac -mabi=ilp32 -mcmodel=medlow -msmall-data-limit=8 -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g -DUSE_STDPERIPH_DRIVER -DGD32VF103V_EVAL -I../../../../Utilities -I../../ -I../../../../../GD32VF103_Firmware_Library/RISCV/env_Eclipse -I../../../../../GD32VF103_Firmware_Library/RISCV/drivers -I../../../../../GD32VF103_Firmware_Library/RISCV/stubs -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Include -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
21 | @echo 'Finished building: $<'
22 | @echo ' '
23 |
24 |
25 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/entry.d:
--------------------------------------------------------------------------------
1 | RISCV/env_Eclipse/entry.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/env_Eclipse/entry.S \
3 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h \
4 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_bits.h \
5 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_eclic.h \
6 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_const.h \
7 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_timer.h
8 |
9 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h:
10 |
11 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_bits.h:
12 |
13 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_eclic.h:
14 |
15 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_const.h:
16 |
17 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_timer.h:
18 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/entry.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/entry.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/handlers.d:
--------------------------------------------------------------------------------
1 | RISCV/env_Eclipse/handlers.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/env_Eclipse/handlers.c \
3 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h \
4 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_func.h \
5 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_timer.h \
6 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_eclic.h \
7 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_const.h
8 |
9 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h:
10 |
11 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_func.h:
12 |
13 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_timer.h:
14 |
15 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_eclic.h:
16 |
17 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_const.h:
18 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/handlers.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/handlers.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/init.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/init.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/start.d:
--------------------------------------------------------------------------------
1 | RISCV/env_Eclipse/start.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/env_Eclipse/start.S \
3 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h
4 |
5 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/start.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/start.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/your_printf.d:
--------------------------------------------------------------------------------
1 | RISCV/env_Eclipse/your_printf.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/env_Eclipse/your_printf.c
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/your_printf.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/env_Eclipse/your_printf.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/_exit.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/_exit.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/_exit.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/_exit.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/_exit.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/close.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/close.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/close.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/close.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/close.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/fstat.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/fstat.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/fstat.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/fstat.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/fstat.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/isatty.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/isatty.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/isatty.c
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/isatty.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/isatty.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/lseek.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/lseek.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/lseek.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/lseek.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/lseek.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/read.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/read.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/read.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/read.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/read.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/sbrk.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/sbrk.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/sbrk.c
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/sbrk.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/sbrk.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/write.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/write.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/write_hex.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/write_hex.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/write_hex.c
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/write_hex.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/RISCV/stubs/write_hex.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/objects.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | USER_OBJS :=
6 |
7 | LIBS :=
8 |
9 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/eclipse/GD32VF103xB/sources.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | ELF_SRCS :=
6 | OBJ_SRCS :=
7 | ASM_SRCS :=
8 | C_SRCS :=
9 | S_UPPER_SRCS :=
10 | O_SRCS :=
11 | OBJS :=
12 | SECONDARY_FLASH :=
13 | SECONDARY_LIST :=
14 | SECONDARY_SIZE :=
15 | ASM_DEPS :=
16 | S_UPPER_DEPS :=
17 | C_DEPS :=
18 |
19 | # Every subdirectory with source files must be described here
20 | SUBDIRS := \
21 | Application \
22 | GD32VF103_EVAL \
23 | GD32VF103_Peripherals/Source \
24 | GD32VF103_Peripherals \
25 | RISCV/drivers \
26 | RISCV/env_Eclipse \
27 | RISCV/stubs \
28 |
29 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/01_GPIO_Running_Led/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/.settings/ilg.gnumcueclipse.debug.gdbjtag.openocd.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | install.folder=E\:\\files\\GD_toolchain\\openocd\\0.10.0-12-20190618-0815\\bin
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/.settings/ilg.gnumcueclipse.managedbuild.cross.prefs:
--------------------------------------------------------------------------------
1 | buildTools.path=E\:\\files\\GD_toolchain\\Build Tools\\2.10-20180103-1919\\bin
2 | eclipse.preferences.version=1
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/.settings/ilg.gnumcueclipse.managedbuild.cross.riscv.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | toolchain.path.512258282=E\:\\files\\GD_toolchain\\RISC-V Embedded GCC\\8.2.0-2.2-20190521-0004\\bin
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/Application/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/Application/main.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/Application/systick.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/Application/systick.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103V_EVAL.elf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103V_EVAL.elf
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_EVAL/gd32vf103v_eval.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_EVAL/gd32vf103v_eval.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_EVAL/subdir.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | # Add inputs and outputs from these tool invocations to the build variables
6 | C_SRCS += \
7 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103V_EVAL_Demo_Suites/Utilities/gd32vf103v_eval.c
8 |
9 | OBJS += \
10 | ./GD32VF103_EVAL/gd32vf103v_eval.o
11 |
12 | C_DEPS += \
13 | ./GD32VF103_EVAL/gd32vf103v_eval.d
14 |
15 |
16 | # Each subdirectory must supply rules for building sources it contributes
17 | GD32VF103_EVAL/gd32vf103v_eval.o: E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103V_EVAL_Demo_Suites/Utilities/gd32vf103v_eval.c
18 | @echo 'Building file: $<'
19 | @echo 'Invoking: GNU RISC-V Cross C Compiler'
20 | riscv-none-embed-gcc -march=rv32imac -mabi=ilp32 -mcmodel=medlow -msmall-data-limit=8 -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g -DUSE_STDPERIPH_DRIVER -DGD32VF103V_EVAL -I../../../../Utilities -I../../ -I../../../../../GD32VF103_Firmware_Library/RISCV/env_Eclipse -I../../../../../GD32VF103_Firmware_Library/RISCV/drivers -I../../../../../GD32VF103_Firmware_Library/RISCV/stubs -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Include -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
21 | @echo 'Finished building: $<'
22 | @echo ' '
23 |
24 |
25 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_adc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_adc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_bkp.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_bkp.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_can.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_can.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_crc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_crc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dac.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dac.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dbg.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dbg.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dma.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_dma.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_eclic.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_eclic.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_exmc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_exmc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_exti.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_exti.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_fmc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_fmc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_fwdgt.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_fwdgt.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_gpio.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_gpio.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_i2c.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_i2c.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_pmu.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_pmu.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_rcu.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_rcu.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_rtc.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_rtc.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_spi.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_spi.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_timer.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_timer.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_usart.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_usart.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_wwdgt.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/Source/gd32vf103_wwdgt.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/subdir.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | # Add inputs and outputs from these tool invocations to the build variables
6 | C_SRCS += \
7 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/system_gd32vf103.c
8 |
9 | OBJS += \
10 | ./GD32VF103_Peripherals/system_gd32vf103.o
11 |
12 | C_DEPS += \
13 | ./GD32VF103_Peripherals/system_gd32vf103.d
14 |
15 |
16 | # Each subdirectory must supply rules for building sources it contributes
17 | GD32VF103_Peripherals/system_gd32vf103.o: E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/system_gd32vf103.c
18 | @echo 'Building file: $<'
19 | @echo 'Invoking: GNU RISC-V Cross C Compiler'
20 | riscv-none-embed-gcc -march=rv32imac -mabi=ilp32 -mcmodel=medlow -msmall-data-limit=8 -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g -DUSE_STDPERIPH_DRIVER -DGD32VF103V_EVAL -I../../../../Utilities -I../../ -I../../../../../GD32VF103_Firmware_Library/RISCV/env_Eclipse -I../../../../../GD32VF103_Firmware_Library/RISCV/drivers -I../../../../../GD32VF103_Firmware_Library/RISCV/stubs -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Include -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
21 | @echo 'Finished building: $<'
22 | @echo ' '
23 |
24 |
25 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/system_gd32vf103.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/GD32VF103_Peripherals/system_gd32vf103.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/drivers/n200_func.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/drivers/n200_func.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/drivers/subdir.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | # Add inputs and outputs from these tool invocations to the build variables
6 | C_SRCS += \
7 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/drivers/n200_func.c
8 |
9 | OBJS += \
10 | ./RISCV/drivers/n200_func.o
11 |
12 | C_DEPS += \
13 | ./RISCV/drivers/n200_func.d
14 |
15 |
16 | # Each subdirectory must supply rules for building sources it contributes
17 | RISCV/drivers/n200_func.o: E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/drivers/n200_func.c
18 | @echo 'Building file: $<'
19 | @echo 'Invoking: GNU RISC-V Cross C Compiler'
20 | riscv-none-embed-gcc -march=rv32imac -mabi=ilp32 -mcmodel=medlow -msmall-data-limit=8 -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g -DUSE_STDPERIPH_DRIVER -DGD32VF103V_EVAL -I../../../../Utilities -I../../ -I../../../../../GD32VF103_Firmware_Library/RISCV/env_Eclipse -I../../../../../GD32VF103_Firmware_Library/RISCV/drivers -I../../../../../GD32VF103_Firmware_Library/RISCV/stubs -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Include -I../../../../../GD32VF103_Firmware_Library/GD32VF103_standard_peripheral -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
21 | @echo 'Finished building: $<'
22 | @echo ' '
23 |
24 |
25 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/entry.d:
--------------------------------------------------------------------------------
1 | RISCV/env_Eclipse/entry.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/env_Eclipse/entry.S \
3 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h \
4 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_bits.h \
5 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_eclic.h \
6 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_const.h \
7 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_timer.h
8 |
9 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h:
10 |
11 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_bits.h:
12 |
13 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_eclic.h:
14 |
15 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_const.h:
16 |
17 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_timer.h:
18 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/entry.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/entry.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/handlers.d:
--------------------------------------------------------------------------------
1 | RISCV/env_Eclipse/handlers.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/env_Eclipse/handlers.c \
3 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h \
4 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_func.h \
5 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_timer.h \
6 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_eclic.h \
7 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_const.h
8 |
9 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h:
10 |
11 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_func.h:
12 |
13 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_timer.h:
14 |
15 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/n200_eclic.h:
16 |
17 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_const.h:
18 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/handlers.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/handlers.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/init.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/init.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/start.d:
--------------------------------------------------------------------------------
1 | RISCV/env_Eclipse/start.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/env_Eclipse/start.S \
3 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h
4 |
5 | ../../../../../GD32VF103_Firmware_Library/RISCV/drivers/riscv_encoding.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/start.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/start.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/your_printf.d:
--------------------------------------------------------------------------------
1 | RISCV/env_Eclipse/your_printf.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/env_Eclipse/your_printf.c
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/your_printf.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/env_Eclipse/your_printf.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/_exit.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/_exit.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/_exit.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/_exit.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/_exit.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/close.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/close.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/close.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/close.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/close.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/fstat.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/fstat.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/fstat.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/fstat.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/fstat.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/isatty.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/isatty.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/isatty.c
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/isatty.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/isatty.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/lseek.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/lseek.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/lseek.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/lseek.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/lseek.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/read.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/read.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/read.c \
3 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
4 |
5 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
6 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/read.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/read.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/sbrk.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/sbrk.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/sbrk.c
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/sbrk.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/sbrk.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/write.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/write.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/write_hex.d:
--------------------------------------------------------------------------------
1 | RISCV/stubs/write_hex.o: \
2 | E:/Google_download/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Demo_Suites_V1.0.0/GD32VF103_Firmware_Library/RISCV/stubs/write_hex.c
3 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/write_hex.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/RISCV/stubs/write_hex.o
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/objects.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | USER_OBJS :=
6 |
7 | LIBS :=
8 |
9 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/eclipse/GD32VF103xB/sources.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Automatically-generated file. Do not edit!
3 | ################################################################################
4 |
5 | ELF_SRCS :=
6 | OBJ_SRCS :=
7 | ASM_SRCS :=
8 | C_SRCS :=
9 | S_UPPER_SRCS :=
10 | O_SRCS :=
11 | OBJS :=
12 | SECONDARY_FLASH :=
13 | SECONDARY_LIST :=
14 | SECONDARY_SIZE :=
15 | ASM_DEPS :=
16 | S_UPPER_DEPS :=
17 | C_DEPS :=
18 |
19 | # Every subdirectory with source files must be described here
20 | SUBDIRS := \
21 | Application \
22 | GD32VF103_EVAL \
23 | GD32VF103_Peripherals/Source \
24 | GD32VF103_Peripherals \
25 | RISCV/drivers \
26 | RISCV/env_Eclipse \
27 | RISCV/stubs \
28 |
29 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/02_GPIO_Key_Polling_mode/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/03_EXTI_Key_Interrupt_mode/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/03_EXTI_Key_Interrupt_mode/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32vf103_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* this function handles external lines 10 to 15 interrupt request */
42 | void EXTI10_15_IRQHandler(void);
43 |
44 | #endif /* GD32VF103_IT_H */
45 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/03_EXTI_Key_Interrupt_mode/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/04_USART_Printf/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/04_USART_Printf/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/05_USART_Echo_Interrupt_mode/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/05_USART_Echo_Interrupt_mode/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32f10x_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* this function handles USART RBNE interrupt request and TBE interrupt request */
42 | void USART0_IRQHandler(void);
43 |
44 | #endif /* GD32VF103_IT_H */
45 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/05_USART_Echo_Interrupt_mode/readme.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103V_EVAL_Demo_Suites/Projects/05_USART_Echo_Interrupt_mode/readme.txt
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/05_USART_Echo_Interrupt_mode/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/06_USART_DMA/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/06_USART_DMA/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/07_ADC_conversion_triggered_by_timer/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/07_ADC_conversion_triggered_by_timer/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/08_ADC0_ADC1_Follow_up_mode/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/08_ADC0_ADC1_Follow_up_mode/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, firmware for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | void delay_1ms(uint32_t count);
41 |
42 | #endif /* SYS_TICK_H */
43 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/09_ADC0_ADC1_Regular_Parallel_mode/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/09_ADC0_ADC1_Regular_Parallel_mode/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, firmware for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | void delay_1ms(uint32_t count);
41 |
42 | #endif /* SYS_TICK_H */
43 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/10_DAC_Output_Voltage_Value/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/10_DAC_Output_Voltage_Value/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/11_I2C_EEPROM/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/11_I2C_EEPROM/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/12_SPI_SPI_Flash/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/12_SPI_SPI_Flash/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/13_I2S_Audio_Player/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/13_I2S_Audio_Player/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32vf103_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32E10X_IT_H
36 | #define GD32E10X_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* SPI1 handle function */
42 | void SPI1_IRQHandler(void);
43 |
44 | #endif /* GD32VF103_IT_H */
45 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/13_I2S_Audio_Player/readme.txt:
--------------------------------------------------------------------------------
1 | /*!
2 | \file readme.txt
3 | \brief description of I2S_Audio_Player example
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | This demo is based on the GD32VF103V-EVAL-V1.0 board, this demo is an audio player.
36 | Audio file is wave format, I2S configuration parameter is parsing from headertab of
37 | the audio file. Insert headphone, you will listen to audio file.
38 |
39 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/13_I2S_Audio_Player/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/14_EXMC_TouchScreen/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/14_EXMC_TouchScreen/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/15_CAN_Network/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/15_CAN_Network/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32f10x_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* this function handles CAN0 RX0 request */
42 | void CAN0_RX0_IRQHandler(void);
43 |
44 | #endif /* GD32VF103_IT_H */
45 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/15_CAN_Network/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/16_RCU_Clock_Out/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/16_RCU_Clock_Out/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32vf103_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* this function handles EXTI exception */
42 | void EXTI10_15_IRQHandler(void);
43 |
44 | #endif /* GD32VF103_IT_H */
45 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/17_PMU_sleep_wakeup/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/17_PMU_sleep_wakeup/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32vf103_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, firmware for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* USART0 handle function */
42 | void USART0_IRQHandler(void);
43 |
44 | #endif /* GD32VF103_IT_H */
45 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/17_PMU_sleep_wakeup/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/18_RTC_Calendar/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/18_RTC_Calendar/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32vf103_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* RTC global interrupt function */
42 | void RTC_IRQHandler(void);
43 |
44 | #endif /* GD32VF103_IT_H */
45 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/19_TIMER_Breath_LED/eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/19_TIMER_Breath_LED/readme.txt:
--------------------------------------------------------------------------------
1 | /*!
2 | \file readme.txt
3 | \brief TIMER Breath LED demo
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | This example is based on the GD32VF103V-EVAL-V1.0 board, it shows how to configure
36 | the TIMER peripheral in PWM(Pulse Width Modulation) mode.
37 |
38 | The objective is to configure TIMER0 channel 0(PA8) to generate PWM signal with a
39 | variable duty cycle. The LED flickers like breathing.
40 |
41 | Connect the TIMER0 pin PA8 to LED2 pin PC0.
42 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/19_TIMER_Breath_LED/systick.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file systick.h
3 | \brief the header file of systick
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef SYS_TICK_H
36 | #define SYS_TICK_H
37 |
38 | #include
39 |
40 | /* delay a time in milliseconds */
41 | void delay_1ms(uint32_t count);
42 |
43 | #endif /* SYS_TICK_H */
44 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Device/CDC_ACM/Eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Device/MSC/Eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/HID_Host/Eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/HID_Host/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32vf103_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* this function handles USB wakeup interrupt handler */
42 | void USBFS_WKUP_IRQHandler(void);
43 | /* this function handles USBFS IRQ Handler */
44 | void USBFS_IRQHandler(void);
45 |
46 | #endif /* GD32VF103_IT_H */
47 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/HID_Host/lcd_font.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file lcd_font.h
3 | \brief the header file of LCD font
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef LCD_FONT_H
36 | #define LCD_FONT_H
37 |
38 | #include
39 |
40 | extern unsigned char const ascii_8x16[1536];
41 |
42 | extern const uint16_t ASCII_Table_16x24[];
43 |
44 | #endif /* LCD_FONT_H */
45 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/HID_Host/usbh_conf.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file usbh_conf.h
3 | \brief general low level driver configuration
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef __USBH_CONF_H
36 | #define __USBH_CONF_H
37 |
38 | #define USBH_MAX_EP_NUM 2
39 | #define USBH_MAX_INTERFACES_NUM 2
40 | #define USBH_MSC_MPS_SIZE 0x200
41 |
42 | #endif /* __USBH_CONF_H */
43 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/MSC_Host/Eclipse/.settings/language.settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/MSC_Host/diskio.h:
--------------------------------------------------------------------------------
1 | /*-----------------------------------------------------------------------
2 | / Low level disk interface modlue include file R0.07 (C)ChaN, 2009
3 | /-----------------------------------------------------------------------*/
4 |
5 | #ifndef _DISKIO
6 |
7 | #define _READONLY 0 /* 1: Read-only mode */
8 | #define _USE_IOCTL 1
9 |
10 | #include "integer.h"
11 |
12 | /* Status of Disk Functions */
13 | typedef BYTE DSTATUS;
14 |
15 | /* Results of Disk Functions */
16 | typedef enum {
17 | RES_OK = 0, /* 0: Successful */
18 | RES_ERROR, /* 1: R/W Error */
19 | RES_WRPRT, /* 2: Write Protected */
20 | RES_NOTRDY, /* 3: Not Ready */
21 | RES_PARERR /* 4: Invalid Parameter */
22 | } DRESULT;
23 |
24 |
25 | /*---------------------------------------*/
26 | /* Prototypes for disk control functions */
27 |
28 | bool assign_drives (int argc, char *argv[]);
29 | DSTATUS disk_initialize (BYTE);
30 | DSTATUS disk_status (BYTE);
31 | DRESULT disk_read (BYTE, BYTE*, DWORD, BYTE);
32 | #if _READONLY == 0
33 | DRESULT disk_write (BYTE, const BYTE*, DWORD, BYTE);
34 | #endif
35 | DRESULT disk_ioctl (BYTE, BYTE, void*);
36 |
37 |
38 |
39 | /* Disk Status Bits (DSTATUS) */
40 |
41 | #define STA_NOINIT 0x01 /* Drive not initialized */
42 | #define STA_NODISK 0x02 /* No medium in the drive */
43 | #define STA_PROTECT 0x04 /* Write protected */
44 |
45 |
46 | /* Command code for disk_ioctrl() */
47 |
48 | /* Generic command */
49 | #define CTRL_SYNC 0 /* Mandatory for write functions */
50 | #define GET_SECTOR_COUNT 1 /* Mandatory for only f_mkfs() */
51 | #define GET_SECTOR_SIZE 2
52 | #define GET_BLOCK_SIZE 3 /* Mandatory for only f_mkfs() */
53 | #define CTRL_POWER 4
54 | #define CTRL_LOCK 5
55 | #define CTRL_EJECT 6
56 | /* MMC/SDC command */
57 | #define MMC_GET_TYPE 10
58 | #define MMC_GET_CSD 11
59 | #define MMC_GET_CID 12
60 | #define MMC_GET_OCR 13
61 | #define MMC_GET_SDSTAT 14
62 | /* ATA/CF command */
63 | #define ATA_GET_REV 20
64 | #define ATA_GET_MODEL 21
65 | #define ATA_GET_SN 22
66 |
67 | #define _DISKIO
68 | #endif
69 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/MSC_Host/fattime.c:
--------------------------------------------------------------------------------
1 |
2 |
3 | #include "integer.h"
4 | #include "fattime.h"
5 |
6 |
7 | DWORD get_fattime (void)
8 | {
9 | return 0;
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/MSC_Host/fattime.h:
--------------------------------------------------------------------------------
1 | #ifndef FATTIME_H_
2 |
3 | #include "integer.h"
4 |
5 | DWORD get_fattime (void);
6 |
7 | #endif
8 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/MSC_Host/gd32vf103_it.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file gd32vf103_it.h
3 | \brief the header file of the ISR
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef GD32VF103_IT_H
36 | #define GD32VF103_IT_H
37 |
38 | #include "gd32vf103.h"
39 |
40 | /* function declarations */
41 | /* this function handles USB wakeup interrupt handler */
42 | void USBFS_WKUP_IRQHandler(void);
43 | /* this function handles USBFS IRQ Handler */
44 | void USBFS_IRQHandler(void);
45 |
46 | #endif /* GD32VF103_IT_H */
47 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/MSC_Host/integer.h:
--------------------------------------------------------------------------------
1 | /*-------------------------------------------*/
2 | /* Integer type definitions for FatFs module */
3 | /*-------------------------------------------*/
4 |
5 | #ifndef _INTEGER
6 |
7 | #if 0
8 | #include
9 | #else
10 |
11 | #include "usb_conf.h"
12 |
13 | /* These types must be 16-bit, 32-bit or larger integer */
14 | typedef int INT;
15 | typedef unsigned int UINT;
16 |
17 | /* These types must be 8-bit integer */
18 | typedef signed char CHAR;
19 | typedef unsigned char UCHAR;
20 | typedef unsigned char BYTE;
21 |
22 | /* These types must be 16-bit integer */
23 | typedef short SHORT;
24 | typedef unsigned short USHORT;
25 | typedef unsigned short WORD;
26 | typedef unsigned short WCHAR;
27 |
28 | /* These types must be 32-bit integer */
29 | typedef long LONG;
30 | typedef unsigned long ULONG;
31 | typedef unsigned long DWORD;
32 |
33 | /* Boolean type */
34 | // typedef enum { FALSE = 0, TRUE } BOOL;
35 | #include
36 | //typedef bool BOOL;
37 | #ifndef FALSE
38 | #define FALSE false
39 | #define TRUE true
40 | #endif
41 |
42 |
43 | #endif
44 |
45 | #define _INTEGER
46 | #endif
47 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/MSC_Host/lcd_font.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file lcd_font.h
3 | \brief the header file of LCD font
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef LCD_FONT_H
36 | #define LCD_FONT_H
37 |
38 | #include
39 |
40 | extern unsigned char const ascii_8x16[1536];
41 |
42 | extern const uint16_t ASCII_Table_16x24[];
43 |
44 | #endif /* LCD_FONT_H */
45 |
46 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Projects/20_USBFS/Host/MSC_Host/usbh_conf.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file usbh_conf.h
3 | \brief general low level driver configuration
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef __USBH_CONF_H
36 | #define __USBH_CONF_H
37 |
38 | #define USBH_MAX_EP_NUM 2
39 | #define USBH_MAX_INTERFACES_NUM 2
40 | #define USBH_MSC_MPS_SIZE 0x200
41 |
42 | #endif /* __USBH_CONF_H */
43 |
--------------------------------------------------------------------------------
/GD32VF103V_EVAL_Demo_Suites/Utilities/LCD_common/lcd_font.h:
--------------------------------------------------------------------------------
1 | /*!
2 | \file lcd_font.h
3 | \brief the header file of LCD font
4 |
5 | \version 2019-6-5, V1.0.0, demo for GD32VF103
6 | */
7 |
8 | /*
9 | Copyright (c) 2019, GigaDevice Semiconductor Inc.
10 |
11 | Redistribution and use in source and binary forms, with or without modification,
12 | are permitted provided that the following conditions are met:
13 |
14 | 1. Redistributions of source code must retain the above copyright notice, this
15 | list of conditions and the following disclaimer.
16 | 2. Redistributions in binary form must reproduce the above copyright notice,
17 | this list of conditions and the following disclaimer in the documentation
18 | and/or other materials provided with the distribution.
19 | 3. Neither the name of the copyright holder nor the names of its contributors
20 | may be used to endorse or promote products derived from this software without
21 | specific prior written permission.
22 |
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
32 | OF SUCH DAMAGE.
33 | */
34 |
35 | #ifndef LCD_FONT_H
36 | #define LCD_FONT_H
37 |
38 | #include
39 |
40 | extern unsigned char const ascii_8x16[1536];
41 |
42 | extern const uint16_t ASCII_Table_16x24[];
43 |
44 | #endif /* LCD_FONT_H */
45 |
46 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Source/gd32vf103_fmc.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/riscv-mcu/GD32VF103_Demo_Suites/ab36deec5c173e6c77eaca09a76d63a8a24fbd82/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Source/gd32vf103_fmc.c
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/drivers/n200_eclic.h:
--------------------------------------------------------------------------------
1 | // See LICENSE file for licence details
2 |
3 | #ifndef N200_ECLIC_H
4 | #define N200_ECLIC_H
5 |
6 | #include
7 |
8 | #define ECLICINTCTLBITS 4
9 |
10 | //ECLIC memory map
11 | // Offset
12 | // 0x0000 1B RW ecliccfg
13 | #define ECLIC_CFG_OFFSET 0x0
14 | // 0x0004 4B R eclicinfo
15 | #define ECLIC_INFO_OFFSET 0x4
16 | // 0x000B 1B RW mintthresh
17 | #define ECLIC_MTH_OFFSET 0xB
18 | //
19 | // 0x1000+4*i 1B/input RW eclicintip[i]
20 | #define ECLIC_INT_IP_OFFSET _AC(0x1000,UL)
21 | // 0x1001+4*i 1B/input RW eclicintie[i]
22 | #define ECLIC_INT_IE_OFFSET _AC(0x1001,UL)
23 | // 0x1002+4*i 1B/input RW eclicintattr[i]
24 | #define ECLIC_INT_ATTR_OFFSET _AC(0x1002,UL)
25 |
26 | #define ECLIC_INT_ATTR_SHV 0x01
27 | #define ECLIC_INT_ATTR_TRIG_LEVEL 0x00
28 | #define ECLIC_INT_ATTR_TRIG_EDGE 0x02
29 | #define ECLIC_INT_ATTR_TRIG_POS 0x00
30 | #define ECLIC_INT_ATTR_TRIG_NEG 0x04
31 |
32 | // 0x1003+4*i 1B/input RW eclicintctl[i]
33 | #define ECLIC_INT_CTRL_OFFSET _AC(0x1003,UL)
34 | //
35 | // ...
36 | //
37 | #define ECLIC_ADDR_BASE 0xd2000000
38 |
39 |
40 | #define ECLIC_CFG_NLBITS_MASK _AC(0x1E,UL)
41 | #define ECLIC_CFG_NLBITS_LSB (1u)
42 |
43 | #define MSIP_HANDLER eclic_msip_handler
44 | #define MTIME_HANDLER eclic_mtip_handler
45 | #define BWEI_HANDLER eclic_bwei_handler
46 | #define PMOVI_HANDLER eclic_pmovi_handler
47 |
48 | #endif
49 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/drivers/n200_timer.h:
--------------------------------------------------------------------------------
1 | // See LICENSE file for licence details
2 |
3 | #ifndef N200_TIMER_H
4 | #define N200_TIMER_H
5 |
6 | #define TIMER_MSIP 0xFFC
7 | #define TIMER_MSIP_size 0x4
8 | #define TIMER_MTIMECMP 0x8
9 | #define TIMER_MTIMECMP_size 0x8
10 | #define TIMER_MTIME 0x0
11 | #define TIMER_MTIME_size 0x8
12 |
13 | #define TIMER_CTRL_ADDR 0xd1000000
14 | #define TIMER_REG(offset) _REG32(TIMER_CTRL_ADDR, offset)
15 | #define TIMER_FREQ ((uint32_t)SystemCoreClock/4) //units HZ
16 |
17 | #endif
18 |
19 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/drivers/riscv_bits.h:
--------------------------------------------------------------------------------
1 | // See LICENSE for license details.
2 | #ifndef _RISCV_BITS_H
3 | #define _RISCV_BITS_H
4 |
5 | #define likely(x) __builtin_expect((x), 1)
6 | #define unlikely(x) __builtin_expect((x), 0)
7 |
8 | #define ROUNDUP(a, b) ((((a)-1)/(b)+1)*(b))
9 | #define ROUNDDOWN(a, b) ((a)/(b)*(b))
10 |
11 | #define MAX(a, b) ((a) > (b) ? (a) : (b))
12 | #define MIN(a, b) ((a) < (b) ? (a) : (b))
13 | #define CLAMP(a, lo, hi) MIN(MAX(a, lo), hi)
14 |
15 | #define EXTRACT_FIELD(val, which) (((val) & (which)) / ((which) & ~((which)-1)))
16 | #define INSERT_FIELD(val, which, fieldval) (((val) & ~(which)) | ((fieldval) * ((which) & ~((which)-1))))
17 |
18 | #define STR(x) XSTR(x)
19 | #define XSTR(x) #x
20 |
21 | #if __riscv_xlen == 64
22 | # define SLL32 sllw
23 | # define STORE sd
24 | # define LOAD ld
25 | # define LWU lwu
26 | # define LOG_REGBYTES 3
27 | #else
28 | # define SLL32 sll
29 | # define STORE sw
30 | # define LOAD lw
31 | # define LWU lw
32 | # define LOG_REGBYTES 2
33 | #endif
34 | #define REGBYTES (1 << LOG_REGBYTES)
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/drivers/riscv_const.h:
--------------------------------------------------------------------------------
1 | // See LICENSE for license details.
2 | /* Derived from */
3 |
4 | #ifndef _RISCV_CONST_H
5 | #define _RISCV_CONST_H
6 |
7 | #ifdef __ASSEMBLER__
8 | #define _AC(X,Y) X
9 | #define _AT(T,X) X
10 | #else
11 | #define _AC(X,Y) (X##Y)
12 | #define _AT(T,X) ((T)(X))
13 | #endif /* !__ASSEMBLER__*/
14 |
15 | #define _BITUL(x) (_AC(1,UL) << (x))
16 | #define _BITULL(x) (_AC(1,ULL) << (x))
17 |
18 | #endif /* _NUCLEI_CONST_H */
19 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/env_Eclipse/handlers.c:
--------------------------------------------------------------------------------
1 | //See LICENSE for license details.
2 | #include
3 | #include
4 | #include
5 | #include "riscv_encoding.h"
6 | #include "n200_func.h"
7 |
8 | __attribute__((weak)) uintptr_t handle_nmi()
9 | {
10 | write(1, "nmi\n", 5);
11 | _exit(1);
12 | return 0;
13 | }
14 |
15 |
16 | __attribute__((weak)) uintptr_t handle_trap(uintptr_t mcause, uintptr_t sp)
17 | {
18 | if(mcause == 0xFFF) {
19 | handle_nmi();
20 | }
21 | write(1, "trap\n", 5);
22 | //printf("In trap handler, the mcause is %d\n", mcause);
23 | //printf("In trap handler, the mepc is 0x%x\n", read_csr(mepc));
24 | //printf("In trap handler, the mtval is 0x%x\n", read_csr(mbadaddr));
25 | _exit(mcause);
26 | return 0;
27 | }
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/env_Eclipse/init.c:
--------------------------------------------------------------------------------
1 | //See LICENSE for license details.
2 | #include
3 | #include
4 | #include
5 | #include
6 | #include "riscv_encoding.h"
7 | #include "n200_func.h"
8 |
9 | extern uint32_t disable_mcycle_minstret();
10 | void _init()
11 | {
12 | SystemInit();
13 |
14 | //ECLIC init
15 | eclic_init(ECLIC_NUM_INTERRUPTS);
16 | eclic_mode_enable();
17 |
18 | //printf("After ECLIC mode enabled, the mtvec value is %x \n\n\r", read_csr(mtvec));
19 |
20 | // // It must be NOTED:
21 | // // * In the RISC-V arch, if user mode and PMP supported, then by default if PMP is not configured
22 | // // with valid entries, then user mode cannot access any memory, and cannot execute any instructions.
23 | // // * So if switch to user-mode and still want to continue, then you must configure PMP first
24 | //pmp_open_all_space();
25 | //switch_m2u_mode();
26 |
27 | /* Before enter into main, add the cycle/instret disable by default to save power,
28 | only use them when needed to measure the cycle/instret */
29 | disable_mcycle_minstret();
30 | }
31 |
32 | void _fini()
33 | {
34 | }
35 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/env_Eclipse/openocd_gdlink.cfg:
--------------------------------------------------------------------------------
1 | adapter_khz 1000
2 | reset_config srst_only
3 | adapter_nsrst_assert_width 100
4 |
5 | interface cmsis-dap
6 |
7 | transport select jtag
8 |
9 | set _CHIPNAME riscv
10 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1000563d
11 |
12 | set _TARGETNAME $_CHIPNAME.cpu
13 | target create $_TARGETNAME riscv -chain-position $_TARGETNAME
14 | $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 20480 -work-area-backup 0
15 |
16 |
17 | # Work-area is a space in RAM used for flash programming
18 | if { [info exists WORKAREASIZE] } {
19 | set _WORKAREASIZE $WORKAREASIZE
20 | } else {
21 | set _WORKAREASIZE 0x5000
22 | }
23 |
24 | # Allow overriding the Flash bank size
25 | if { [info exists FLASH_SIZE] } {
26 | set _FLASH_SIZE $FLASH_SIZE
27 | } else {
28 | # autodetect size
29 | set _FLASH_SIZE 0
30 | }
31 |
32 | # flash size will be probed
33 | set _FLASHNAME $_CHIPNAME.flash
34 |
35 | flash bank $_FLASHNAME gd32vf103 0x08000000 0 0 0 $_TARGETNAME
36 | riscv set_reset_timeout_sec 1
37 | init
38 |
39 | halt
40 |
41 |
42 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/env_Eclipse/openocd_jlink.cfg:
--------------------------------------------------------------------------------
1 | adapter_khz 1000
2 | reset_config srst_only
3 | adapter_nsrst_assert_width 100
4 |
5 | interface jlink
6 | jlink usb 0
7 |
8 | transport select jtag
9 |
10 | set _CHIPNAME riscv
11 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1000563d
12 |
13 | set _TARGETNAME $_CHIPNAME.cpu
14 | target create $_TARGETNAME riscv -chain-position $_TARGETNAME
15 | $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 20480 -work-area-backup 0
16 |
17 |
18 | # Work-area is a space in RAM used for flash programming
19 | if { [info exists WORKAREASIZE] } {
20 | set _WORKAREASIZE $WORKAREASIZE
21 | } else {
22 | set _WORKAREASIZE 0x5000
23 | }
24 |
25 | # Allow overriding the Flash bank size
26 | if { [info exists FLASH_SIZE] } {
27 | set _FLASH_SIZE $FLASH_SIZE
28 | } else {
29 | # autodetect size
30 | set _FLASH_SIZE 0
31 | }
32 |
33 | # flash size will be probed
34 | set _FLASHNAME $_CHIPNAME.flash
35 |
36 | flash bank $_FLASHNAME gd32vf103 0x08000000 0 0 0 $_TARGETNAME
37 | riscv set_reset_timeout_sec 1
38 | init
39 |
40 | halt
41 |
42 |
43 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/env_Eclipse/your_printf.c:
--------------------------------------------------------------------------------
1 | int __wrap_printf(const char* fmt, ...)
2 | {
3 | // You can implement your own printf to reduce the code size, because the printf is really a big function
4 | }
5 |
6 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/_exit.c:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 |
3 | #include
4 |
5 | #include "stub.h"
6 |
7 |
8 | void _exit(int code)
9 | {
10 | const char message[] = "\nProgram has exited with code:";
11 |
12 | write(STDERR_FILENO, message, sizeof(message) - 1);
13 | write_hex(STDERR_FILENO, code);
14 | write(STDERR_FILENO, "\n", 1);
15 |
16 | for (;;);
17 | }
18 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/close.c:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 |
3 | #include
4 | #include "stub.h"
5 |
6 | int _close(int fd)
7 | {
8 | return _stub(EBADF);
9 | }
10 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/fstat.c:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 |
3 | #include
4 | #include
5 | #include
6 | #include "stub.h"
7 |
8 | int _fstat(int fd, struct stat* st)
9 | {
10 | if (isatty(fd)) {
11 | st->st_mode = S_IFCHR;
12 | return 0;
13 | }
14 |
15 | return _stub(EBADF);
16 | }
17 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/isatty.c:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 |
3 | #include
4 |
5 | int _isatty(int fd)
6 | {
7 | if (fd == STDOUT_FILENO || fd == STDERR_FILENO)
8 | return 1;
9 |
10 | return 0;
11 | }
12 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/lseek.c:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 |
3 | #include
4 | #include
5 | #include
6 | #include "stub.h"
7 |
8 | off_t _lseek(int fd, off_t ptr, int dir)
9 | {
10 | if (isatty(fd))
11 | return 0;
12 |
13 | return _stub(EBADF);
14 | }
15 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/read.c:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 |
3 | #include
4 | #include
5 | #include
6 | #include
7 |
8 | #include "stub.h"
9 |
10 | ssize_t _read(int fd, void* ptr, size_t len)
11 | {
12 | return _stub(EBADF);
13 | }
14 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/sbrk.c:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 |
3 | #include
4 |
5 | void *_sbrk(ptrdiff_t incr)
6 | {
7 | extern char _end[];
8 | extern char _heap_end[];
9 | static char *curbrk = _end;
10 |
11 | if ((curbrk + incr < _end) || (curbrk + incr > _heap_end))
12 | return NULL - 1;
13 |
14 | curbrk += incr;
15 | return curbrk - incr;
16 | }
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/stub.h:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 | #ifndef _NUCLEI_SYS_STUB_H
3 | #define _NUCLEI_SYS_STUB_H
4 |
5 | #include
6 | #include
7 |
8 | void write_hex(int fd, unsigned long int hex);
9 |
10 | static inline int _stub(int err)
11 | {
12 | return -1;
13 | }
14 |
15 |
16 | #endif /* _NUCLEI_SYS_STUB_H */
17 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/write.c:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 |
3 | #include
4 | #include
5 | #include
6 | #include
7 | #include
8 | #include
9 |
10 | #include "stub.h"
11 | #include "gd32vf103.h"
12 |
13 | typedef unsigned int size_t;
14 |
15 | extern int _put_char(int ch) __attribute__((weak));
16 |
17 | ssize_t _write(int fd, const void* ptr, size_t len) {
18 | const uint8_t * current = (const uint8_t *) ptr;
19 |
20 | // if (isatty(fd))
21 | {
22 | for (size_t jj = 0; jj < len; jj++) {
23 | _put_char(current[jj]);
24 |
25 | if (current[jj] == '\n') {
26 | _put_char('\r');
27 | }
28 | }
29 | return len;
30 | }
31 |
32 | return _stub(EBADF);
33 | }
34 |
35 | int puts(const char* string) {
36 | return _write(0, (const void *) string, strlen(string));
37 | }
38 |
39 | int _put_char(int ch)
40 | {
41 | usart_data_transmit(USART0, (uint8_t) ch );
42 | while (usart_flag_get(USART0, USART_FLAG_TBE)== RESET){
43 | }
44 |
45 | return ch;
46 | }
47 |
48 |
--------------------------------------------------------------------------------
/GD32VF103_Firmware_Library/RISCV/stubs/write_hex.c:
--------------------------------------------------------------------------------
1 | /* See LICENSE of license details. */
2 |
3 | #include
4 | #include
5 |
6 | void write_hex(int fd, unsigned long int hex)
7 | {
8 | uint8_t ii;
9 | uint8_t jj;
10 | char towrite;
11 | write(fd , "0x", 2);
12 | for (ii = sizeof(unsigned long int) * 2 ; ii > 0; ii--) {
13 | jj = ii - 1;
14 | uint8_t digit = ((hex & (0xF << (jj*4))) >> (jj*4));
15 | towrite = digit < 0xA ? ('0' + digit) : ('A' + (digit - 0xA));
16 | write(fd, &towrite, 1);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # This is GD32VF103_Demo_Suites
2 |
3 | For more comprehensive information, please visit www.riscv-mcu.com
4 |
5 | # New development choices for GD32VF103
6 |
7 | **All the following resources are in English**
8 |
9 | Nuclei have released [NMSIS](https://github.com/Nuclei-Software/NMSIS) and [Nuclei SDK](https://github.com/Nuclei-Software/nuclei-sdk)
10 | to provide better support for Nuclei RISC-V Processor including GD32VF103.
11 |
12 | We have modified the gd32vf103 firmware library to match NMSIS design,
13 | which you can play with it using the following platforms:
14 |
15 | * [Nuclei SDK](https://github.com/Nuclei-Software/nuclei-sdk)
16 |
17 | * [PlatformIO For Nuclei](https://github.com/Nuclei-Software/platform-nuclei)
18 |
19 | * [Nuclei Studio IDE](https://www.nucleisys.com/download.php)
20 |
21 | * [Segger Embedded Studio](https://www.nucleisys.com/upload/files/doc/ses/Nuclei_SES_IDE_QuickStart_202008.pdf)
22 |
23 | With the help of **Nuclei SDK**, **NMSIS**, **Nuclei Studio IDE**, it will be easier to
24 | handle with RISC-V MCU development.
25 |
26 | We also released a development board call [**Nuclei RV-STAR**](https://www.nucleisys.com/developboard.php),
27 | which you can play with it by following https://doc.nucleisys.com/nuclei_board_labs/.
28 |
29 | To learn about **Nuclei Software Platform**, please click https://doc.nucleisys.com
30 |
--------------------------------------------------------------------------------
/openocd_gdlink.cfg:
--------------------------------------------------------------------------------
1 | adapter_khz 1000
2 | reset_config srst_only
3 | adapter_nsrst_assert_width 100
4 |
5 | interface cmsis-dap
6 |
7 | transport select jtag
8 |
9 | set _CHIPNAME riscv
10 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1000563d
11 |
12 | set _TARGETNAME $_CHIPNAME.cpu
13 | target create $_TARGETNAME riscv -chain-position $_TARGETNAME
14 | $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 20480 -work-area-backup 0
15 |
16 |
17 | # Work-area is a space in RAM used for flash programming
18 | if { [info exists WORKAREASIZE] } {
19 | set _WORKAREASIZE $WORKAREASIZE
20 | } else {
21 | set _WORKAREASIZE 0x5000
22 | }
23 |
24 | # Allow overriding the Flash bank size
25 | if { [info exists FLASH_SIZE] } {
26 | set _FLASH_SIZE $FLASH_SIZE
27 | } else {
28 | # autodetect size
29 | set _FLASH_SIZE 0
30 | }
31 |
32 | # flash size will be probed
33 | set _FLASHNAME $_CHIPNAME.flash
34 |
35 | flash bank $_FLASHNAME gd32vf103 0x08000000 0 0 0 $_TARGETNAME
36 | riscv set_reset_timeout_sec 1
37 | init
38 |
39 | halt
40 |
41 |
42 |
--------------------------------------------------------------------------------
/openocd_jlink.cfg:
--------------------------------------------------------------------------------
1 | adapter_khz 1000
2 | reset_config srst_only
3 | adapter_nsrst_assert_width 100
4 |
5 | interface jlink
6 | jlink usb 0
7 |
8 | transport select jtag
9 |
10 | set _CHIPNAME riscv
11 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1000563d
12 |
13 | set _TARGETNAME $_CHIPNAME.cpu
14 | target create $_TARGETNAME riscv -chain-position $_TARGETNAME
15 | $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 20480 -work-area-backup 0
16 |
17 |
18 | # Work-area is a space in RAM used for flash programming
19 | if { [info exists WORKAREASIZE] } {
20 | set _WORKAREASIZE $WORKAREASIZE
21 | } else {
22 | set _WORKAREASIZE 0x5000
23 | }
24 |
25 | # Allow overriding the Flash bank size
26 | if { [info exists FLASH_SIZE] } {
27 | set _FLASH_SIZE $FLASH_SIZE
28 | } else {
29 | # autodetect size
30 | set _FLASH_SIZE 0
31 | }
32 |
33 | # flash size will be probed
34 | set _FLASHNAME $_CHIPNAME.flash
35 |
36 | flash bank $_FLASHNAME gd32vf103 0x08000000 0 0 0 $_TARGETNAME
37 | riscv set_reset_timeout_sec 1
38 | init
39 |
40 | halt
41 |
42 |
43 |
--------------------------------------------------------------------------------