GithubHelp home page GithubHelp logo

neorv32-rust's Introduction

Rust in NEORV32 - Work in Progress (WIP)

Compiling and running an embedded Rust application for the NEORV32 RISC-V soft core CPU

Hardware

Current development is based on the Arduino MKR Vidor 4000 FPGA Board

Building

Update the submodules

cd neorv32-rust
git submodule init
git submodule update

Source the NEORV32 RISCV tools. If in doubt, check the NEORV32 Software Toolchain Setup.

In order to generate the image that is downloaded by UART, the image_bin binary needs to be compiled first. Simplest way currently is compiling a software example:

cd submodules/neorv32/example/blink_led
make exe

The current testing application can be built with the following script:

./generate_bin.sh

NOTE: This will build and image for UART uploading via the bootloader.

The generated NEORV32 binary in located under bin folder. You can proceed with the programming procedure as explained in the NEORV32 User Guide

Current Issues and ToDos

  • There is an issue with the UART, the program hangs when there are multiple print statements, this does not happens when the program is loaded by the debugger
  • Current memory definitions are/might not be accurate. It assumes that the NEORV32 uses the SDRAM available on the Vidor 4000 with a larger size than actually required

Acknowledgments

neorv32-rust's People

Contributors

cruzgarcia avatar

Watchers

 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.