nrf52dk: regression tests
This commit is contained in:
parent
38481c513d
commit
2d45a4207a
13
.travis.yml
13
.travis.yml
|
@ -90,6 +90,18 @@ before_script:
|
||||||
ba-elf-gcc --version ;
|
ba-elf-gcc --version ;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
## Install mainline ARM toolchain and download nRF52 SDK
|
||||||
|
- if [ ${BUILD_ARCH:-0} = nrf52dk ] ; then
|
||||||
|
sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded &&
|
||||||
|
sudo apt-get -qq update &&
|
||||||
|
sudo apt-get -qq install gcc-arm-none-eabi srecord &&
|
||||||
|
arm-none-eabi-gcc --version &&
|
||||||
|
$WGET https://developer.nordicsemi.com/nRF5_IoT_SDK/nRF5_IoT_SDK_v0.9.x/nrf5_iot_sdk_3288530.zip &&
|
||||||
|
mkdir /tmp/nrf52-sdk &&
|
||||||
|
unzip nrf5_iot_sdk_3288530.zip -d /tmp/nrf52-sdk &&
|
||||||
|
export NRF52_SDK_ROOT=/tmp/nrf52-sdk ;
|
||||||
|
fi
|
||||||
|
|
||||||
## Compile cooja.jar only when it's going to be needed
|
## Compile cooja.jar only when it's going to be needed
|
||||||
- if [ ${BUILD_CATEGORY:-sim} = sim ] ; then
|
- if [ ${BUILD_CATEGORY:-sim} = sim ] ; then
|
||||||
java -version &&
|
java -version &&
|
||||||
|
@ -138,5 +150,6 @@ env:
|
||||||
- BUILD_TYPE='compile-6502-ports' BUILD_CATEGORY='compile' BUILD_ARCH='6502'
|
- BUILD_TYPE='compile-6502-ports' BUILD_CATEGORY='compile' BUILD_ARCH='6502'
|
||||||
- BUILD_TYPE='compile-arm-ports' BUILD_CATEGORY='compile' BUILD_ARCH='arm-aapcs'
|
- BUILD_TYPE='compile-arm-ports' BUILD_CATEGORY='compile' BUILD_ARCH='arm-aapcs'
|
||||||
- BUILD_TYPE='compile-nxp-ports' BUILD_CATEGORY='compile' BUILD_ARCH='jn516x'
|
- BUILD_TYPE='compile-nxp-ports' BUILD_CATEGORY='compile' BUILD_ARCH='jn516x'
|
||||||
|
- BUILD_TYPE='compile-nrf52-ports' BUILD_CATEGORY='compile' BUILD_ARCH='nrf52dk'
|
||||||
- BUILD_TYPE='slip-radio' MAKE_TARGETS='cooja'
|
- BUILD_TYPE='slip-radio' MAKE_TARGETS='cooja'
|
||||||
- BUILD_TYPE='llsec' MAKE_TARGETS='cooja'
|
- BUILD_TYPE='llsec' MAKE_TARGETS='cooja'
|
||||||
|
|
19
regression-tests/23-compile-nrf52-ports/Makefile
Normal file
19
regression-tests/23-compile-nrf52-ports/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
EXAMPLESDIR=../../examples
|
||||||
|
TOOLSDIR=../../tools
|
||||||
|
|
||||||
|
# Note, that SERVER_IPV6_ADDR variable is set to ffff on purpose
|
||||||
|
# even though it's not a valid IPV6 address. This is due to limitation
|
||||||
|
# of the testing framework which splits compliation arguments using
|
||||||
|
# a colon.
|
||||||
|
|
||||||
|
EXAMPLES = \
|
||||||
|
hello-world/nrf52dk \
|
||||||
|
nrf52dk/blink-hello/nrf52dk \
|
||||||
|
nrf52dk/coap-demo/nrf52dk:coap-server \
|
||||||
|
nrf52dk/coap-demo/nrf52dk:coap-client:SERVER_IPV6_ADDR=ffff \
|
||||||
|
nrf52dk/mqtt-demo/nrf52dk \
|
||||||
|
nrf52dk/timer-test/nrf52dk
|
||||||
|
|
||||||
|
TOOLS=
|
||||||
|
|
||||||
|
include ../Makefile.compile-test
|
Loading…
Reference in a new issue