Skip to content

Commit 6580dd1

Browse files
committed
Try fix CI on linux (works on mac)
1 parent ccdef5f commit 6580dd1

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build-arduino-emulator.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ jobs:
2626
arduino-emulator:
2727
name: Arduino Emulator (cmake, HOST)
2828
runs-on: ubuntu-latest
29-
env:
30-
ASYNCTCP_REPO: https://github.com/ESP32Async/AsyncTCP
31-
ASYNCTCP_REF: main
32-
3329
steps:
3430
- name: Checkout
3531
uses: actions/checkout@v6
@@ -45,7 +41,7 @@ jobs:
4541
4642
- name: Clone AsyncTCP, Arduino FS headers, lwIP and lwIP contrib
4743
run: |
48-
git clone --depth 1 --branch "${ASYNCTCP_REF}" "${ASYNCTCP_REPO}" .ci/asynctcp
44+
git clone --depth 1 https://github.com/ESP32Async/AsyncTCP .ci/asynctcp
4945
git clone --depth 1 https://github.com/espressif/arduino-esp32.git .ci/arduino-esp32
5046
git clone --depth 1 https://github.com/lwip-tcpip/lwip.git .ci/lwip
5147
git clone --depth 1 https://git.savannah.nongnu.org/git/lwip/lwip-contrib.git .ci/lwip-contrib

arduino_emulator_example/host_config/lwipopts.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
#define LWIP_NETCONN 0
66
#define LWIP_TCP 1
77
#define LWIP_IPV6 1
8+
9+
#if defined(__linux__) && !defined(LWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS)
10+
#define LWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS 1
11+
#endif

0 commit comments

Comments
 (0)