Giter Site home page Giter Site logo

andeyqi / gd32vf103_freertos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qqxiaoming/gd32vf103_freertos

0.0 0.0 0.0 129.53 MB

在GD32VF103移植FreeRTOSV10,支持使用中断栈机制,支持sysview

License: BSD 3-Clause "New" or "Revised" License

Shell 0.02% C 98.57% Assembly 1.14% Makefile 0.26% Batchfile 0.01%

gd32vf103_freertos's Introduction

CI License GitHub stars GitHub forks Gitee stars Gitee forks

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工具链

编译

运行

make

将在根目录执行编译,最终在build目录生成gd32vf103.elf、gd32vf103.bin、gd32vf103.hex文件

调试

运行

sudo ./ocdsever.sh

将启动通过openocd打开一个gdbsever,供调试使用

重新打开一个新命令行终端,运行

make debug

等待程序下载至flash,即可开始调试。

其他说明

目前makefile中使用insight代替gdb来调试,如果未安装此工具可以将

GDB       = /opt/riscv-none-eabi-insight/bin/riscv-none-eabi-insight #使用insight代替gdb来调试

改为

GDB       = $(PREFIX)gdb

使用

gd32vf103_freertos's People

Contributors

qqxiaoming avatar andeyqi avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.