Skip to content

Commit

Permalink
add zephyr sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
noahp committed Jan 5, 2024
1 parent 2a76a8a commit 738155c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,19 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install West
- name: Install Zephyr SDK
run: |
wget -q https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.4/zephyr-sdk-0.16.4_linux-x86_64_minimal.tar.xz
tar xf zephyr-sdk-0.16.4_linux-x86_64_minimal.tar.xz -C ~/
~/zephyr-sdk-0.16.4/setup.sh -c -t arm-zephyr-eabi
- name: Install Dependencies + West
run: |
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
pip3 install west
- name: Initialize Zephyr Workspace
Expand All @@ -23,6 +34,7 @@ jobs:
cd ..
west init -l ${PROJDIR_}
west update --narrow -o=--depth=1
pip3 install -r zephyr/scripts/requirements.txt
west build -b nrf7002dk_nrf5340_cpuapp --pristine=always ${PROJDIR_} \
-- \
-DCONFIG_MEMFAULT_NCS_PROJECT_KEY=\"1234\"

0 comments on commit 738155c

Please sign in to comment.