Build application:
west build -p auto -b <board> invictus2/<app>merging additional overlay and Kconfig fragments:
west build -p auto -b <board> invictus2/<app> -DEXTRA_DTC_OVERLAY_FILE=<dtc_fragment>.overlay -DEXTRA_CONF_FILE=<kconfig_fragment>.confBuilding for the raspberry pi pico (rpi_pico) is adequate for testing purposes.
Aditionally, definitions for the custom invictus boards exist, under the names:
inv2_obc
inv2_nav
inv2_hydra
inv2_psat
flash to board:
west flashBuild for local simulation:
west build -p auto -b native_sim invictus2/<app>or
west build -p auto -b native_sim/native/64 invictus2/<app>run emulation/simulation:
west build -t runrun tests:
west twister -T test/ -G
west twister -T invictus2/obc/tests/lora/unit-testing
- Install Zephyr dependencies
- Follow the instructions in the Zephyr Getting Started Guide
- Install west
- Follow the instructions in the Zephyr Getting Started Guide
- Initialize the Zephyr workspace from the manifest repository
mkdir zephyrworkspace cd zephyrworkspace west init -m https://github.com/dvalnn/pst_zephyr_manifest west update - Export the CMake package
west zephyr-export
- Install the required Python packages
west packages pip --install
- Install the SDK
or follow the instructions in the Zephyr Getting Started Guide to install the SDK manually.
west sdk install
-
Fork this repository
-
Clone your fork to the zephyr workspace
cd zephyrworkspace git clone <your_fork_url>/invictus-zephyr
-
Create a new branch (
git checkout -b feature-branch) -
Make your changes