Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qqxiaoming/gd32vf103_freertos
在GD32VF103移植FreeRTOSV10,支持使用中断栈机制,支持sysview
https://github.com/qqxiaoming/gd32vf103_freertos
freertos gd32vf103 riscv-mcu
Last synced: 26 days ago
JSON representation
在GD32VF103移植FreeRTOSV10,支持使用中断栈机制,支持sysview
- Host: GitHub
- URL: https://github.com/qqxiaoming/gd32vf103_freertos
- Owner: QQxiaoming
- License: bsd-3-clause
- Created: 2019-10-20T04:15:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-07T05:00:49.000Z (5 months ago)
- Last Synced: 2024-08-08T08:30:36.579Z (5 months ago)
- Topics: freertos, gd32vf103, riscv-mcu
- Language: C
- Homepage:
- Size: 119 MB
- Stars: 17
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![CI](https://github.com/QQxiaoming/gd32vf103_freertos/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/QQxiaoming/gd32vf103_freertos/actions/workflows/ci.yml)
[![License](https://img.shields.io/github/license/qqxiaoming/gd32vf103_freertos.svg?colorB=f48041&style=flat-square)](https://github.com/QQxiaoming/gd32vf103_freertos)
[![GitHub stars](https://img.shields.io/github/stars/QQxiaoming/gd32vf103_freertos.svg)](https://github.com/QQxiaoming/gd32vf103_freertos)
[![GitHub forks](https://img.shields.io/github/forks/QQxiaoming/gd32vf103_freertos.svg)](https://github.com/QQxiaoming/gd32vf103_freertos)
[![Gitee stars](https://gitee.com/QQxiaoming/gd32vf103_freertos/badge/star.svg?theme=dark)](https://gitee.com/QQxiaoming/gd32vf103_freertos)
[![Gitee forks](https://gitee.com/QQxiaoming/gd32vf103_freertos/badge/fork.svg?theme=dark)](https://gitee.com/QQxiaoming/gd32vf103_freertos)# gd32vf103_freertos
在GD32VF103移植freertos,linux环境开发
GD32VF103驱动来自于https://github.com/riscv-mcu/GD32VF103_Demo_Suites
FreeRTOS移植层部分代码来自于https://github.com/nucleisys/n200-sdk
## 编译说明
tools/Nuclei/openocd目录内为官方提供的64位linux平台openocd工具,用来调试下载
tools/riscv-none-gcc/8.2.0-2.2-20190521-0004目录为官方提供的64位linux平台GNU工具链
### 编译
运行
```shell
make
```将在根目录执行编译,最终在build目录生成gd32vf103.elf、gd32vf103.bin、gd32vf103.hex文件
### 调试
运行
```shell
sudo ./ocdsever.sh
```将启动通过openocd打开一个gdbsever,供调试使用
重新打开一个新命令行终端,运行
```shell
make debug
```等待程序下载至flash,即可开始调试。
#### 其他说明
目前makefile中使用insight代替gdb来调试,如果未安装此工具可以将
```makefile
GDB = /opt/riscv-none-eabi-insight/bin/riscv-none-eabi-insight #使用insight代替gdb来调试
```改为
```makefile
GDB = $(PREFIX)gdb
```使用