Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/stm32n6-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: STM32N6 Build

on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]

jobs:
stm32n6_build:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4

- name: Install ARM toolchain
run: |
set -euo pipefail
sudo apt-get update
sudo apt-get install -y gcc-arm-none-eabi

- name: Build STM32N6 echo firmware
run: |
set -euo pipefail
make -C src/port/stm32n6 CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy

- name: Verify binary
run: |
set -euo pipefail
test -f src/port/stm32n6/app.bin
arm-none-eabi-size src/port/stm32n6/app.elf
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ CPPCHECK_FLAGS=--enable=warning,performance,portability,missingInclude \
--suppress=comparePointers:src/port/stm32h563/syscalls.c \
--suppress=comparePointers:src/port/stm32h753/startup.c \
--suppress=comparePointers:src/port/stm32h753/syscalls.c \
--suppress=comparePointers:src/port/stm32n6/startup.c \
--suppress=comparePointers:src/port/stm32n6/syscalls.c \
--suppress=comparePointers:src/port/va416xx/startup.c \
--suppress=comparePointers:src/port/va416xx/syscalls.c \
--disable=style \
Expand Down
Loading
Loading