diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 97f9c5f..dfc5219 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -55,6 +55,10 @@ RUN --mount=type=cache,target=/var/cache/dnf,id=dev-dnf \ libusb1-devel \ openssl-devel \ lcov \ + python3 \ + python3-pip \ + python3-setuptools \ + python3-wheel \ awk \ 'dnf-command(copr)' && \ dnf copr enable -y rleh/arm-none-eabi-gdb && \ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 558c981..2296d12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -131,3 +131,24 @@ jobs: - name: Build run: make osiris + + hardware-test-stm32-nucleo-l4r5zi: + name: Hardware test for the STM32 Nucleo L4R5ZI + # needs: [build-stm32-nucleo-l4r5zi] + runs-on: stm32l4r5zi + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Run hardware test + # See https://github.com/OsirisRTOS/hardware-ci for more information + run: | + SERIAL_ID="$(board_info serial stm32l4r5zi)" + echo "Working with chip $SERIAL_ID" + + st-flash --serial "$SERIAL_ID" reset + + board_info print --serial "$SERIAL_ID" --flash-size +