Skip to content

linusreM/Longan-RISC-V-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Longan Nano Examples

The examples in this repository are intended as starting points for some of the different peripherals available on the GD32VF103 chip and the additional hardware on the Longan Nano board.

To make getting started as easy as possible the examples in general only include the most basic basic settings to make a peripheral work. To go further you will need to either look at the firmware library examples which are much more comprehensive, or reference the manual directly.

Using the examples

All of the code that's different between the projects is inside the src/app.c file. All of the projects has an individual README.md which explains the program.

Opening

Use PlatformIO to open a project, just open the PIO home page, then press open project and navigate to one of the example directories.

Since all of the project contains the same libraries except for the app.c file it's no problem to mix and match code from different examples.

Programming

By default the projects are confgured to be programmed using an RV-link (if you have two Longan Nano you can make one into an RV-link by programming it using this guide).

If you want to use some other method for programming you can change the platform.ini file to your prefered programming method.

Acknowledgements

The examples in this repository are based on a number of different sources.

About

Basic examples for Longan nano board with GD32V103 MCU.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages