Initial Project Setup
This guide will walk through the steps of setting up the reference deployment.
1. Clone the GitHub repository
Clone the GitHub repository onto your local machine.
Note
If you would like to use fprime-bootstrap instead of git to clone this project, run this command and skip to step 5.
2. Fetch git submodules
Install the required libraries for this deployment
3. Create a virtual environment
Create a virtual environment in the main project directory
4. Activate the virtual environment
5. Install python requirements
With the virtual environment activated, install the requirements
Note
You will need to follow some additional steps if you are using a different board than the one specified in the settings.ini file. Please refer to the Specifying Board Configuration documentation for more information.
6. Get Zephyr Source Code
Navigate to the zephyr-workspace directory to set up zephyr. You may need to update the config file in ./lib/zephyr-workspace/.west/ if you are using a different board. Refer to the documentation here
# In proves-core-reference
cd lib/zephyr-workspace
# Run the following commands
west update
west zephyr-export
Note
If you have not installed the Zephyr SDK, please install it with the following command:
The Zephyr SDK only needs to be installed once.