mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
lwip2: 3 sntp servers, autoip (169.254), esp-ping, espconn (#5444)
* lwip2: better handling of ipv4_addr/t type + 3 sntp servers * bump lwip2 version * Only with FEATURES=1: 3 sntp servers and AutoIP enabled (169.254 when dhcp server fails) * Only with FEATURES=1: 3 sntp servers and AutoIP enabled (169.254 when dhcp server fails) * local CI runner: select build type * new ipv4_addr/t definition makes things easier for IPAddress * update local CI runner * lwip2 changes * lwip2: port esp-ping and espconn
This commit is contained in:
@ -47,4 +47,37 @@ if [ "$branch" != "$branch" ]; then
|
||||
exit 1
|
||||
fi
|
||||
rm -rf arduino_ide arduino-nightly Arduino/libraries/ArduinoJson
|
||||
HOME=${TMPCI} TRAVIS_BUILD_DIR=${TMPCI} BUILD_TYPE=build tests/common.sh
|
||||
|
||||
while true; do
|
||||
|
||||
cat << EOF
|
||||
Which build?
|
||||
1. main
|
||||
2. debug even
|
||||
3. debug odd
|
||||
4. platformio
|
||||
5. package
|
||||
6. host
|
||||
7. style
|
||||
EOF
|
||||
|
||||
read ans
|
||||
|
||||
BUILD_TYPE=""
|
||||
case "$ans" in
|
||||
1) BUILD_TYPE=build;;
|
||||
2) BUILD_TYPE=debug_even;;
|
||||
3) BUILD_TYPE=debug_odd;;
|
||||
4) BUILD_TYPE=platformio;;
|
||||
5) BUILD_TYPE=package;;
|
||||
6) BUILD_TYPE=host;;
|
||||
7) BUILD_TYPE=style;;
|
||||
esac
|
||||
test -z "$BUILD_TYPE" || break
|
||||
done
|
||||
|
||||
# use pip2 for python2 with python3 is around, platformio doesn't like it
|
||||
cp tests/common.sh tests/common-custom.sh
|
||||
sed -i 's,pip ,pip2 ,g' tests/common-custom.sh
|
||||
|
||||
HOME=${TMPCI} TRAVIS_BUILD_DIR=${TMPCI} BUILD_TYPE=$BUILD_TYPE tests/common-custom.sh
|
||||
|
Reference in New Issue
Block a user