GNU/Linux
•
xterm-256color
•
bash
201 views
Fetching Latest Artifacts from Master
# This uses the github cli to handle authenticated API calls
# https://cli.github.com/
gh auth refresh
RUN_ID=$(gh api repos/apache/incubator-nuttx/actions/workflows/908549/runs?branch=master --jq '.workflow_runs[0].id')
gh run download -R apache/incubator-nuttx -D nuttx-builds $RUN_ID
Flashing board using openocd
openocd -f board/stm32h745i-disco.cfg -c "program nuttx-builds/nucleo-h743zi2/nsh/nuttx verify reset exit"