summaryrefslogtreecommitdiff
path: root/tests/build-stm32f446re-nucleo
blob: d3c815fa2dcc9f0e08bbe806a5fea6d80147a210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

touch .config

apps="countertest deflatetest donothing ledblink
	sysinfo"

make arch=stm32f446re-nucleo app=ledblink ext/libopencm3/lib/libopencm3_stm32f4.a

for app in $apps; do
	find src -name '*.o' -delete
	rm -f build/system.elf
	make arch=stm32f446re-nucleo app=$app build/system.elf
done