Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/sifive/zephyr-sifive-freedom-template

Board template for building Zephyr RTOS for SiFive Freedom E-Series products
https://github.com/sifive/zephyr-sifive-freedom-template

Last synced: about 7 hours ago
JSON representation

Board template for building Zephyr RTOS for SiFive Freedom E-Series products

Lists

README

        

# Zephyr SiFive Freedom Board Template

This repository contains a template for automatically porting [Zephyr RTOS](https://zephyrproject.org) to a SiFive Freedom E-Series board based on that board's DTS file.

## How to use

1. Choose a location for storing custom board configurations. We'll refer to this directory as ``
2. `git clone https://github.com/sifive/zephyr-sifive-freedom-template.git `
3. `cd `
4. Copy your DTS file into the current directory
5. `./customize_board.sh`
6. Select your desired ROM Boot address

`customize_board.sh` is idempotent, so feel free to re-run it as many times as you like.

### To build the `hello_world` sample project

1. `source /opt/zephyr//zephyr-env.sh`
2. `cd /opt/zephyr//samples/hello_world`
3. `mkdir build && cd build`
4. `cmake -DBOARD= -DBOARD_ROOT= ..`
5. `make -j$(nproc)`
6. The output binary is in zephyr/zephyr.elf

## To Clean/Reset

1. `git clean -dfx` will reset the template to a clean state