Windows: Use WSL 2 - Ubuntu 24
cmake
, python3
and dtc
sudo apt install --no-install-recommends git cmake ninja-build gperf \\
ccache dfu-util device-tree-compiler wget \\
python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \\
make gcc gcc-multilib g++-multilib libsdl2-dev libmagic1
cd ~
mkdir finch
cd finch
west
python3 -m venv .venv
source .venv/bin/activate
pip3 install west
west sdk install -b ~/
cmake
package and install Python dependencieswest zephyr-export
west packages pip --install
west init -m <https://github.com/utat-ss/finch-flight-software> .
source ../zephyr/zephyr-env.sh
FINCH_FLIGHT_SOFTWARE_ROOT="~/finch"
cd finch-flight-software
west build -p -b obc ../zephyr/samples/basic/blinky -- -DBOARD_ROOT=$FINCH_FLIGHT_SOFTWARE_ROOT