Skip to content

arikimari/r9a02g021-FreeRTOS

Repository files navigation

FreeRTOS for R9A02G021

This repository provides a port of FreeRTOS for the Renesas R9A02G021 RISC-V Processor. It implements a simple demo derived from the FreeRTOS "blinky" demo applications.

Features

  • Full FreeRTOS port
  • Minimal boot code
  • Own BSP (no dependencies for Renesas BSP)
  • Support for both vectored and trap interrupt handling
  • Support for UART trace
  • Support for assert
  • Support for exceptions
  • Support for HW based stack limit check

Supported HW

FBF-R9A02G021 board

How To Build

  1. Clone this repository recursively (to include the submodules):
$ git clone --recurse-submodules https://github.com/akimari
  1. Install Renesas RISC-V toolchain:

    https://llvm-gcc-renesas.com/riscv/riscv-download-toolchains/

  2. Compile blinker application:

$ make
  1. Compiled blinker.elf is on build/ directory

Porting Details

The clock is configured to 32MHz.

The FreeRTOS parts are configured:

  • FreeRTOSConfig.h (customize according to your needs)

Debug

UART trace port is UART0. This is /dev/tty on Linux dev env.

About

FreeRTOS for R9A02G021

Resources

License

Stars

Watchers

Forks