diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 02b2338d3..a4e7e7ce4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -125,6 +125,9 @@ jobs: sudo apt --no-install-recommends install -y lib32z1 ninja-build wget ${{ matrix.gcc_download_url }} -O gcc-arm.tar.bz2 tar xjf gcc-arm.tar.bz2 + + # required for jn5189 and k32w061 + pip install pycryptodome - name: Build run: | export PATH=/tmp/${{ matrix.gcc_extract_dir }}/bin:$PATH diff --git a/examples/platforms/k32w/jn5189/Makefile.am b/examples/platforms/k32w/jn5189/Makefile.am index 81b0408ca..512d62842 100755 --- a/examples/platforms/k32w/jn5189/Makefile.am +++ b/examples/platforms/k32w/jn5189/Makefile.am @@ -72,6 +72,7 @@ LIB_FLAGS -Wno-unused-function \ -Wno-unused-parameter \ -Wno-empty-body \ + -fno-strict-aliasing \ $(NULL) libopenthread_jn5189_sdk_a_CPPFLAGS = \ diff --git a/examples/platforms/k32w/k32w061/Makefile.am b/examples/platforms/k32w/k32w061/Makefile.am index 31fd19fff..46b3a3ff4 100755 --- a/examples/platforms/k32w/k32w061/Makefile.am +++ b/examples/platforms/k32w/k32w061/Makefile.am @@ -74,6 +74,7 @@ LIB_FLAGS -Wno-unused-function \ -Wno-unused-parameter \ -Wno-empty-body \ + -fno-strict-aliasing \ $(NULL) libopenthread_k32w061_sdk_a_CPPFLAGS = \ diff --git a/script/check-arm-build-autotools b/script/check-arm-build-autotools index 762d1f1bd..ceebe1f8e 100755 --- a/script/check-arm-build-autotools +++ b/script/check-arm-build-autotools @@ -85,6 +85,36 @@ build_cc2652() make -f examples/Makefile-cc2652 "${options[@]}" } +build_jn5189() +{ + local options=( + "COMMISSIONER=1" + "DHCP6_CLIENT=1" + "DHCP6_SERVER=1" + "DNS_CLIENT=1" + "JOINER=1" + "SLAAC=1" + ) + + reset_source + make -f examples/Makefile-jn5189 "${options[@]}" +} + +build_k32w061() +{ + local options=( + "COMMISSIONER=1" + "DHCP6_CLIENT=1" + "DHCP6_SERVER=1" + "DNS_CLIENT=1" + "JOINER=1" + "SLAAC=1" + ) + + reset_source + make -f examples/Makefile-k32w061 "${options[@]}" +} + build_kw41z() { local options=( @@ -258,6 +288,8 @@ main() build_cc2538 build_cc2650 build_cc2652 + build_jn5189 + build_k32w061 build_kw41z build_nrf52811 build_nrf52833