Unverified Commit e7ceeb1b authored by DanKoloff's avatar DanKoloff Committed by GitHub

Olimex ESP32-GATEWAY fixes in boards.txt and pins_arduino.h (#8395)

* Olimex ESP32-GATEWAY fixes

Fixes related to board revisions selection.

* Create pins_arduino.h
parent 5d2d4aae
...@@ -11755,7 +11755,7 @@ esp32-gateway.menu.Revision.RevC=Revision C or older ...@@ -11755,7 +11755,7 @@ esp32-gateway.menu.Revision.RevC=Revision C or older
esp32-gateway.menu.Revision.RevC.build.board=ESP32_GATEWAY_C esp32-gateway.menu.Revision.RevC.build.board=ESP32_GATEWAY_C
esp32-gateway.menu.Revision.RevE=Revision E esp32-gateway.menu.Revision.RevE=Revision E
esp32-gateway.menu.Revision.RevE.build.board=ESP32_GATEWAY_E esp32-gateway.menu.Revision.RevE.build.board=ESP32_GATEWAY_E
esp32-gateway.menu.Revision.RevF=Revision F esp32-gateway.menu.Revision.RevF=Revision F or newer
esp32-gateway.menu.Revision.RevF.build.board=ESP32_GATEWAY_F esp32-gateway.menu.Revision.RevF.build.board=ESP32_GATEWAY_F
esp32-gateway.build.f_cpu=240000000L esp32-gateway.build.f_cpu=240000000L
...@@ -11770,6 +11770,8 @@ esp32-gateway.menu.FlashFreq.80.build.flash_freq=80m ...@@ -11770,6 +11770,8 @@ esp32-gateway.menu.FlashFreq.80.build.flash_freq=80m
esp32-gateway.menu.FlashFreq.40=40MHz esp32-gateway.menu.FlashFreq.40=40MHz
esp32-gateway.menu.FlashFreq.40.build.flash_freq=40m esp32-gateway.menu.FlashFreq.40.build.flash_freq=40m
esp32-gateway.menu.UploadSpeed.921600=921600
esp32-gateway.menu.UploadSpeed.921600.upload.speed=921600
esp32-gateway.menu.UploadSpeed.115200=115200 esp32-gateway.menu.UploadSpeed.115200=115200
esp32-gateway.menu.UploadSpeed.115200.upload.speed=115200 esp32-gateway.menu.UploadSpeed.115200.upload.speed=115200
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34) #define digitalPinHasPWM(p) (p < 34)
#if ARDUINO_ESP32_GATEWAY >= 'D' #if defined (ARDUINO_ESP32_GATEWAY_E) || defined (ARDUINO_ESP32_GATEWAY_F)
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT #define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
#define ETH_PHY_POWER 5 #define ETH_PHY_POWER 5
#endif #endif
...@@ -40,7 +40,7 @@ static const uint8_t A7 = 35; ...@@ -40,7 +40,7 @@ static const uint8_t A7 = 35;
static const uint8_t T9 = 32; static const uint8_t T9 = 32;
#if ARDUINO_ESP32_GATEWAY >= 'F' #if defined (ARDUINO_ESP32_GATEWAY_F)
#define BOARD_HAS_1BIT_SDMMC #define BOARD_HAS_1BIT_SDMMC
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment