mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 22:57:46 +00:00
[continuous-integration] add build checks for jn5189 and k32w061 (#4968)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -72,6 +72,7 @@ LIB_FLAGS
|
||||
-Wno-unused-function \
|
||||
-Wno-unused-parameter \
|
||||
-Wno-empty-body \
|
||||
-fno-strict-aliasing \
|
||||
$(NULL)
|
||||
|
||||
libopenthread_jn5189_sdk_a_CPPFLAGS = \
|
||||
|
||||
@@ -74,6 +74,7 @@ LIB_FLAGS
|
||||
-Wno-unused-function \
|
||||
-Wno-unused-parameter \
|
||||
-Wno-empty-body \
|
||||
-fno-strict-aliasing \
|
||||
$(NULL)
|
||||
|
||||
libopenthread_k32w061_sdk_a_CPPFLAGS = \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user