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
This commit is contained in:
parent
5d2d4aaef0
commit
e7ceeb1b04
2 changed files with 5 additions and 3 deletions
|
|
@ -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.RevE=Revision 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.build.f_cpu=240000000L
|
||||
|
|
@ -11770,6 +11770,8 @@ esp32-gateway.menu.FlashFreq.80.build.flash_freq=80m
|
|||
esp32-gateway.menu.FlashFreq.40=40MHz
|
||||
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.upload.speed=115200
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
|
||||
#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_PHY_POWER 5
|
||||
#endif
|
||||
|
|
@ -40,7 +40,7 @@ static const uint8_t A7 = 35;
|
|||
|
||||
static const uint8_t T9 = 32;
|
||||
|
||||
#if ARDUINO_ESP32_GATEWAY >= 'F'
|
||||
#if defined (ARDUINO_ESP32_GATEWAY_F)
|
||||
#define BOARD_HAS_1BIT_SDMMC
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue