From f4d0c2e22f6cdea9d708b5e69ed0748b01a99cf8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 24 Feb 2021 10:54:19 +0100 Subject: Add more build tests --- tests/build-arduino-nano | 12 ++++++++++++ tests/build-atmega2560 | 11 +++++++++++ tests/build-esp8266 | 7 +++++++ tests/build-msp430fr5969lp | 12 ++++++++++++ tests/build-msp430fr5994lp | 12 ++++++++++++ tests/build-stm32f446re-nucleo | 12 ++++++++++++ 6 files changed, 66 insertions(+) create mode 100755 tests/build-arduino-nano create mode 100755 tests/build-atmega2560 create mode 100755 tests/build-esp8266 create mode 100755 tests/build-msp430fr5969lp create mode 100755 tests/build-msp430fr5994lp create mode 100755 tests/build-stm32f446re-nucleo (limited to 'tests') 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 -- cgit v1.2.3