Skip to content

Commit 52ced53

Browse files
committed
sai: esp-idf
1 parent c45738b commit 52ced53

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.sai.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
"w11/x86_64-amd/msvc": {
2828
"build": "mkdir build && cd build && set SAI_CPACK=\"-G ZIP\" && cmake .. -DOPENSSL_ROOT_DIR=\"C:\\Users\\andy\\vcpkg\\packages\\openssl_x64-windows\" -DLWS_EXT_PTHREAD_INCLUDE_DIR=\"C:\\Program Files (x86)\\pthreads\\include\" -DLWS_EXT_PTHREAD_LIBRARIES=\"C:\\Program Files (x86)\\pthreads\\lib\\x64\\libpthreadGC2.a\" ${cmake} && cmake --build . --config DEBUG && set CTEST_OUTPUT_ON_FAILURE=1 && ctest . -C DEBUG -j1 --output-on-failure",
2929
"default": false
30+
},
31+
"freertos-espidf/xl6-esp32/gcc": {
32+
# official way to get sdkconfig.h is idf.py menuconfig, but
33+
# no obvious way to do that in CI
34+
"build": "rm -rf ebuild ; mkdir ebuild; cd ebuild; cp -rp ../minimal-examples/embedded/esp32/${cpack} . ; cd ${cpack} ; . /opt/esp/esp-idf/export.sh ; rm -f libwebsockets ; ln -sf ../.. libwebsockets ; idf.py set-target esp32 && cp libwebsockets/minimal-examples/embedded/esp32/${cpack}/sdkconfig . && cp sdkconfig.h build && idf.py ${cmake} build size size-components size-files && cd build && /usr/local/bin/sai-device ${cpack} ESPPORT=0 ctest --output-on-failure",
35+
"default": false
3036
}
3137
},
3238
"configurations": {
@@ -40,6 +46,11 @@
4046
"fault-injection": {
4147
"cmake": "-DLWS_WITH_SYS_FAULT_INJECTION=1 -DLWS_WITH_MINIMAL_EXAMPLES=1 -DLWS_WITH_CBOR=1"
4248
},
49+
"esp32-heltec": {
50+
"cmake": "-DLWS_IPV6=0",
51+
"cpack": "esp-heltec-wb32",
52+
"platforms": "none, freertos-espidf/xl6-esp32/gcc"
53+
},
4354
"default-examples-awslc": {
4455
"cmake": "-DLWS_WITH_AWSLC=1 -DLWS_OPENSSL_INCLUDE_DIRS=\"/usr/aws-lc/include\" -DLWS_OPENSSL_LIBRARIES=\"/usr/aws-lc/lib64/libssl.so;/usr/aws-lc/lib64/libcrypto.so\" -DLWS_WITH_MINIMAL_EXAMPLES=1",
4556
"platforms": "none, rocky9/aarch64-a72a55-rk3588/gcc"

0 commit comments

Comments
 (0)