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: 20 days ago
JSON representation
Board template for building Zephyr RTOS for SiFive Freedom E-Series products
- Host: GitHub
- URL: https://github.com/sifive/zephyr-sifive-freedom-template
- Owner: sifive
- License: apache-2.0
- Created: 2018-08-13T16:21:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-15T18:26:27.000Z (over 6 years ago)
- Last Synced: 2024-11-10T18:36:25.435Z (3 months ago)
- Language: C
- Size: 9.77 KB
- Stars: 2
- Watchers: 65
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zephyr-rtos - Board template for building Zephyr RTOS for SiFive Freedom E-Series products
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