Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aignacio/nox_freertos

Repository files navigation

Build

NoX - FreeRTOS demo SW

Run with a pre-built container with all the tools, including toolchain and python:

docker run -it --rm --name mpsoc_sw -v $(pwd):/test -w /test aignacio/mpsoc_sw bash

Once the container is up and running, proceed executing all the steps within the container terminal. In order to run the makefile, first generate with cmake through these cmds:

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug|Release 

Finally build the app with this make all:

make all -j24

demo

Programming the hardware with the elf file

If you have the NoX SoC HW flashed in a FPGA device and the tile is running the bootloader app, you can easily transfer the binary with the bootloader script below. Please note that the bootloader script is considering the memory map address below and the uart speed equal to 8-N-1 / 115200 bits/s.

python3 scripts/bootloader_elf.py --elf build/nox_freertos.elf --device /dev/ttyUSB1

Thanks!

Most of the portable code such as the startup and the main code was copied from NEORV32 repository and adapted the the NoX SoC.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published