Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e7ceeb1

Browse filesBrowse files
authored
Olimex ESP32-GATEWAY fixes in boards.txt and pins_arduino.h (espressif#8395)
* Olimex ESP32-GATEWAY fixes Fixes related to board revisions selection. * Create pins_arduino.h
1 parent 5d2d4aa commit e7ceeb1
Copy full SHA for e7ceeb1

File tree

Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11755,7 +11755,7 @@ esp32-gateway.menu.Revision.RevC=Revision C or older
1175511755
esp32-gateway.menu.Revision.RevC.build.board=ESP32_GATEWAY_C
1175611756
esp32-gateway.menu.Revision.RevE=Revision E
1175711757
esp32-gateway.menu.Revision.RevE.build.board=ESP32_GATEWAY_E
11758-
esp32-gateway.menu.Revision.RevF=Revision F
11758+
esp32-gateway.menu.Revision.RevF=Revision F or newer
1175911759
esp32-gateway.menu.Revision.RevF.build.board=ESP32_GATEWAY_F
1176011760

1176111761
esp32-gateway.build.f_cpu=240000000L
@@ -11770,6 +11770,8 @@ esp32-gateway.menu.FlashFreq.80.build.flash_freq=80m
1177011770
esp32-gateway.menu.FlashFreq.40=40MHz
1177111771
esp32-gateway.menu.FlashFreq.40.build.flash_freq=40m
1177211772

11773+
esp32-gateway.menu.UploadSpeed.921600=921600
11774+
esp32-gateway.menu.UploadSpeed.921600.upload.speed=921600
1177311775
esp32-gateway.menu.UploadSpeed.115200=115200
1177411776
esp32-gateway.menu.UploadSpeed.115200.upload.speed=115200
1177511777

‎variants/esp32-gateway/pins_arduino.h

Copy file name to clipboardExpand all lines: variants/esp32-gateway/pins_arduino.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
1212
#define digitalPinHasPWM(p) (p < 34)
1313

14-
#if ARDUINO_ESP32_GATEWAY >= 'D'
14+
#if defined (ARDUINO_ESP32_GATEWAY_E) || defined (ARDUINO_ESP32_GATEWAY_F)
1515
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
1616
#define ETH_PHY_POWER 5
1717
#endif
@@ -40,7 +40,7 @@ static const uint8_t A7 = 35;
4040

4141
static const uint8_t T9 = 32;
4242

43-
#if ARDUINO_ESP32_GATEWAY >= 'F'
43+
#if defined (ARDUINO_ESP32_GATEWAY_F)
4444
#define BOARD_HAS_1BIT_SDMMC
4545
#endif
4646

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.