From 26a9d8e637e6daf1f6f1048d7a2356d6476c9d4a Mon Sep 17 00:00:00 2001 From: Jeremy Poulter Date: Mon, 29 Apr 2024 20:46:30 +0100 Subject: [PATCH] Fixed defines for newest Arduino core --- platformio.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index c5aafb1f..35aef67a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -315,7 +315,7 @@ build_flags = -D RESET_ETH_PHY_ON_BOOT=1 -D RX2=16 -D TX2=32 -board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=70" +board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_F" upload_speed = 921600 [env:olimex_esp32-gateway-e] @@ -324,7 +324,7 @@ upload_speed = 921600 extends = env:olimex_esp32-gateway-f build_flags = ${env:olimex_esp32-gateway-f.build_flags} -board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=69" +board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_E" [env:olimex_esp32-gateway-e_dev] extends = env:olimex_esp32-gateway-e