summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-02-24 10:54:19 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2021-02-24 10:54:19 +0100
commitf4d0c2e22f6cdea9d708b5e69ed0748b01a99cf8 (patch)
tree35a8d322b70427cda0040975bb2c6b8a5f1974e9 /tests
parent38f0e84d3b5da56c1441f2f779246ccf7b23d5c4 (diff)
Add more build tests
Diffstat (limited to 'tests')
-rwxr-xr-xtests/build-arduino-nano12
-rwxr-xr-xtests/build-atmega256011
-rwxr-xr-xtests/build-esp82667
-rwxr-xr-xtests/build-msp430fr5969lp12
-rwxr-xr-xtests/build-msp430fr5994lp12
-rwxr-xr-xtests/build-stm32f446re-nucleo12
6 files changed, 66 insertions, 0 deletions
diff --git a/tests/build-arduino-nano b/tests/build-arduino-nano
new file mode 100755
index 0000000..20185e0
--- /dev/null
+++ b/tests/build-arduino-nano
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+apps="bme680-max44009-logger button-and-motion-logger
+ donothing i2cdetect ledblink mpu9250_motionlog
+ shell sysinfo timertest
+ waittest wetterstation ws2812b_dmap ws2812b_uart"
+
+for app in $apps; do
+ make -B arch=arduino-nano app=$app build/system.elf
+done
diff --git a/tests/build-atmega2560 b/tests/build-atmega2560
new file mode 100755
index 0000000..1983e4a
--- /dev/null
+++ b/tests/build-atmega2560
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+apps="donothing ledblink
+ sysinfo timertest
+ waittest"
+
+for app in $apps; do
+ make -B arch=atmega2560 app=$app build/system.elf
+done
diff --git a/tests/build-esp8266 b/tests/build-esp8266
new file mode 100755
index 0000000..8f7d107
--- /dev/null
+++ b/tests/build-esp8266
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+for app in deflatetest donothing ledblink sysinfo; do
+ make -B arch=esp8266 app=$app build/system.elf
+done
diff --git a/tests/build-msp430fr5969lp b/tests/build-msp430fr5969lp
new file mode 100755
index 0000000..3971237
--- /dev/null
+++ b/tests/build-msp430fr5969lp
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+apps="bme680-max44009-logger
+ countertest donothing i2cdetect ledblink
+ nrf24l01test sharp96test shell sysinfo timertest
+ waittest"
+
+for app in $apps; do
+ make -B arch=msp430fr5969lp app=$app build/system.elf
+done
diff --git a/tests/build-msp430fr5994lp b/tests/build-msp430fr5994lp
new file mode 100755
index 0000000..7db2e32
--- /dev/null
+++ b/tests/build-msp430fr5994lp
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+apps="bme680-max44009-logger
+ countertest deflatetest donothing i2cdetect ledblink
+ nrf24l01test sharp96-bad-apple sharp96test shell sysinfo timertest
+ waittest"
+
+for app in $apps; do
+ make -B arch=msp430fr5994lp app=$app build/system.elf
+done
diff --git a/tests/build-stm32f446re-nucleo b/tests/build-stm32f446re-nucleo
new file mode 100755
index 0000000..dee6a41
--- /dev/null
+++ b/tests/build-stm32f446re-nucleo
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+apps="countertest deflatetest donothing ledblink
+ sysinfo"
+
+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