Skip to content

Commit aae6f24

Browse files
Stanimir-Petevme-no-dev
authored andcommitted
Update (#2838)
Added PoE-ISO and DevKit-Lipo. For the other boards added alternative Serial (Serial1/Serial2) pins.
1 parent 43b781a commit aae6f24

File tree

6 files changed

+226
-3
lines changed

6 files changed

+226
-3
lines changed

boards.txt

+115
Original file line numberDiff line numberDiff line change
@@ -1953,6 +1953,121 @@ esp32-poe.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
19531953

19541954
##############################################################
19551955

1956+
esp32-poe-iso.name=OLIMEX ESP32-PoE-ISO
1957+
1958+
esp32-poe-iso.upload.tool=esptool_py
1959+
esp32-poe-iso.upload.maximum_size=1310720
1960+
esp32-poe-iso.upload.maximum_data_size=327680
1961+
esp32-poe-iso.upload.wait_for_upload_port=true
1962+
1963+
esp32-poe-iso.serial.disableDTR=true
1964+
esp32-poe-iso.serial.disableRTS=true
1965+
1966+
esp32-poe-iso.build.mcu=esp32
1967+
esp32-poe-iso.build.core=esp32
1968+
esp32-poe-iso.build.variant=esp32-poe-iso
1969+
esp32-poe-iso.build.board=ESP32_POE_ISO
1970+
1971+
esp32-poe-iso.build.f_cpu=240000000L
1972+
esp32-poe-iso.build.flash_mode=dio
1973+
esp32-poe-iso.build.flash_size=4MB
1974+
esp32-poe-iso.build.boot=dio
1975+
esp32-poe-iso.build.partitions=default
1976+
esp32-poe-iso.build.defines=
1977+
1978+
esp32-poe-iso.menu.FlashFreq.80=80MHz
1979+
esp32-poe-iso.menu.FlashFreq.80.build.flash_freq=80m
1980+
esp32-poe-iso.menu.FlashFreq.40=40MHz
1981+
esp32-poe-iso.menu.FlashFreq.40.build.flash_freq=40m
1982+
1983+
1984+
esp32-poe-iso.menu.UploadSpeed.115200=115200
1985+
esp32-poe-iso.menu.UploadSpeed.115200.upload.speed=115200
1986+
1987+
esp32-poe-iso.menu.PartitionScheme.default=Default
1988+
esp32-poe-iso.menu.PartitionScheme.default.build.partitions=default
1989+
esp32-poe-iso.menu.PartitionScheme.no_ota=No OTA (Large APP)
1990+
esp32-poe-iso.menu.PartitionScheme.no_ota.build.partitions=no_ota
1991+
esp32-poe-iso.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
1992+
esp32-poe-iso.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA)
1993+
esp32-poe-iso.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
1994+
esp32-poe-iso.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
1995+
1996+
##############################################################
1997+
1998+
esp32-DevKitLipo.name=OLIMEX ESP32-DevKit-LiPo
1999+
2000+
esp32-DevKitLipo.upload.tool=esptool_py
2001+
esp32-DevKitLipo.upload.maximum_size=1310720
2002+
esp32-DevKitLipo.upload.maximum_data_size=327680
2003+
esp32-DevKitLipo.upload.wait_for_upload_port=true
2004+
2005+
esp32-DevKitLipo.serial.disableDTR=true
2006+
esp32-DevKitLipo.serial.disableRTS=true
2007+
2008+
esp32-DevKitLipo.build.mcu=esp32
2009+
esp32-DevKitLipo.build.core=esp32
2010+
esp32-DevKitLipo.build.variant=esp32-devkit-lipo
2011+
esp32-DevKitLipo.build.board=ESP32_DEVKIT_LIPO
2012+
2013+
esp32-DevKitLipo.build.f_cpu=240000000L
2014+
esp32-DevKitLipo.build.flash_size=4MB
2015+
esp32-DevKitLipo.build.flash_freq=40m
2016+
esp32-DevKitLipo.build.flash_mode=dio
2017+
esp32-DevKitLipo.build.boot=dio
2018+
esp32-DevKitLipo.build.partitions=default
2019+
esp32-DevKitLipo.build.defines=
2020+
2021+
esp32-DevKitLipo.menu.PartitionScheme.default=Default
2022+
esp32-DevKitLipo.menu.PartitionScheme.default.build.partitions=default
2023+
esp32-DevKitLipo.menu.PartitionScheme.minimal=Minimal (2MB FLASH)
2024+
esp32-DevKitLipo.menu.PartitionScheme.minimal.build.partitions=minimal
2025+
esp32-DevKitLipo.menu.PartitionScheme.no_ota=No OTA (Large APP)
2026+
esp32-DevKitLipo.menu.PartitionScheme.no_ota.build.partitions=no_ota
2027+
esp32-DevKitLipo.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
2028+
esp32-DevKitLipo.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA)
2029+
esp32-DevKitLipo.menu.PartitionScheme.huge_app.build.partitions=huge_app
2030+
esp32-DevKitLipo.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
2031+
esp32-DevKitLipo.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA)
2032+
esp32-DevKitLipo.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
2033+
esp32-DevKitLipo.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
2034+
esp32-DevKitLipo.menu.PartitionScheme.fatflash=16M Fat
2035+
esp32-DevKitLipo.menu.PartitionScheme.fatflash.build.partitions=ffat
2036+
2037+
esp32-DevKitLipo.menu.FlashMode.qio=QIO
2038+
esp32-DevKitLipo.menu.FlashMode.qio.build.flash_mode=dio
2039+
esp32-DevKitLipo.menu.FlashMode.qio.build.boot=qio
2040+
esp32-DevKitLipo.menu.FlashMode.dio=DIO
2041+
esp32-DevKitLipo.menu.FlashMode.dio.build.flash_mode=dio
2042+
esp32-DevKitLipo.menu.FlashMode.dio.build.boot=dio
2043+
esp32-DevKitLipo.menu.FlashMode.qout=QOUT
2044+
esp32-DevKitLipo.menu.FlashMode.qout.build.flash_mode=dout
2045+
esp32-DevKitLipo.menu.FlashMode.qout.build.boot=qout
2046+
esp32-DevKitLipo.menu.FlashMode.dout=DOUT
2047+
esp32-DevKitLipo.menu.FlashMode.dout.build.flash_mode=dout
2048+
esp32-DevKitLipo.menu.FlashMode.dout.build.boot=dout
2049+
2050+
esp32-DevKitLipo.menu.FlashFreq.80=80MHz
2051+
esp32-DevKitLipo.menu.FlashFreq.80.build.flash_freq=80m
2052+
esp32-DevKitLipo.menu.FlashFreq.40=40MHz
2053+
esp32-DevKitLipo.menu.FlashFreq.40.build.flash_freq=40m
2054+
2055+
esp32-DevKitLipo.menu.UploadSpeed.921600=921600
2056+
esp32-DevKitLipo.menu.UploadSpeed.921600.upload.speed=921600
2057+
esp32-DevKitLipo.menu.UploadSpeed.115200=115200
2058+
esp32-DevKitLipo.menu.UploadSpeed.115200.upload.speed=115200
2059+
esp32-DevKitLipo.menu.UploadSpeed.256000.windows=256000
2060+
esp32-DevKitLipo.menu.UploadSpeed.256000.upload.speed=256000
2061+
esp32-DevKitLipo.menu.UploadSpeed.230400.windows.upload.speed=256000
2062+
esp32-DevKitLipo.menu.UploadSpeed.230400=230400
2063+
esp32-DevKitLipo.menu.UploadSpeed.230400.upload.speed=230400
2064+
esp32-DevKitLipo.menu.UploadSpeed.460800.linux=460800
2065+
esp32-DevKitLipo.menu.UploadSpeed.460800.macosx=460800
2066+
esp32-DevKitLipo.menu.UploadSpeed.460800.upload.speed=460800
2067+
esp32-DevKitLipo.menu.UploadSpeed.512000.windows=512000
2068+
esp32-DevKitLipo.menu.UploadSpeed.512000.upload.speed=512000
2069+
##############################################################
2070+
19562071
espino32.name=ThaiEasyElec's ESPino32
19572072

19582073
espino32.upload.tool=esptool_py
+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#ifndefPins_Arduino_h
2+
#definePins_Arduino_h
3+
4+
#include<stdint.h>
5+
6+
#defineEXTERNAL_NUM_INTERRUPTS 16
7+
#defineNUM_DIGITAL_PINS 40
8+
#defineNUM_ANALOG_INPUTS 16
9+
10+
#defineanalogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
11+
#definedigitalPinToInterrupt(p) (((p)<40)?(p):-1)
12+
#definedigitalPinHasPWM(p) (p < 34)
13+
14+
staticconstuint8_tTX=1;
15+
staticconstuint8_tRX=3;
16+
17+
#defineTX1 33 // Ext1 pin 8
18+
#defineRX1 25 // Ext1 pin 9
19+
20+
#defineTX2 19 // Ext2 pin 8
21+
#defineRX2 18 // Ext2 pin 9
22+
23+
staticconstuint8_tSDA=21;
24+
staticconstuint8_tSCL=22;
25+
26+
staticconstuint8_tSS=5;
27+
staticconstuint8_tMOSI=23;
28+
staticconstuint8_tMISO=19;
29+
staticconstuint8_tSCK=18;
30+
31+
staticconstuint8_tA0=36;
32+
staticconstuint8_tA3=39;
33+
staticconstuint8_tA4=32;
34+
staticconstuint8_tA5=33;
35+
staticconstuint8_tA6=34;
36+
staticconstuint8_tA7=35;
37+
staticconstuint8_tA10=4;
38+
staticconstuint8_tA11=0;
39+
staticconstuint8_tA12=2;
40+
staticconstuint8_tA13=15;
41+
staticconstuint8_tA14=13;
42+
staticconstuint8_tA15=12;
43+
staticconstuint8_tA16=14;
44+
staticconstuint8_tA17=27;
45+
staticconstuint8_tA18=25;
46+
staticconstuint8_tA19=26;
47+
48+
staticconstuint8_tT0=4;
49+
staticconstuint8_tT1=0;
50+
staticconstuint8_tT2=2;
51+
staticconstuint8_tT3=15;
52+
staticconstuint8_tT4=13;
53+
staticconstuint8_tT5=12;
54+
staticconstuint8_tT6=14;
55+
staticconstuint8_tT7=27;
56+
staticconstuint8_tT8=33;
57+
staticconstuint8_tT9=32;
58+
59+
staticconstuint8_tDAC1=25;
60+
staticconstuint8_tDAC2=26;
61+
62+
#endif/* Pins_Arduino_h */

variants/esp32-evb/pins_arduino.h

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ static const uint8_t KEY_BUILTIN = 34;
1717
staticconstuint8_tTX=1;
1818
staticconstuint8_tRX=3;
1919

20+
#defineTX1 4
21+
#defineRX1 36
22+
2023
staticconstuint8_tSDA=13;
2124
staticconstuint8_tSCL=16;
2225

variants/esp32-gateway/pins_arduino.h

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ static const uint8_t LED_BUILTIN = 33;
2121

2222
staticconstuint8_tKEY_BUILTIN=34;
2323

24-
// See https://github.com/OLIMEX/ESP32-GATEWAY/blob/master/SOFTWARE/MOD-RTC/main/main.c for more info about IIC on the GATEWAY
25-
staticconstuint8_tSCL=16; // This is pin 11
26-
staticconstuint8_tSDA=17; // This is pin 12
24+
staticconstuint8_tSCL=16; // This is extention pin 11
25+
staticconstuint8_tSDA=32; // This is extention pin 13
2726

2827
staticconstuint8_tSS=5;
2928
staticconstuint8_tMOSI=23;

variants/esp32-poe-iso/pins_arduino.h

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#ifndefPins_Arduino_h
2+
#definePins_Arduino_h
3+
4+
#include<stdint.h>
5+
6+
#defineEXTERNAL_NUM_INTERRUPTS 16
7+
#defineNUM_DIGITAL_PINS 40
8+
#defineNUM_ANALOG_INPUTS 16
9+
10+
#defineanalogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
11+
#definedigitalPinToInterrupt(p) (((p)<40)?(p):-1)
12+
#definedigitalPinHasPWM(p) (p < 34)
13+
14+
#defineETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
15+
#defineETH_PHY_POWER 12
16+
17+
staticconstuint8_tKEY_BUILTIN=34;
18+
19+
staticconstuint8_tTX=1;
20+
staticconstuint8_tRX=3;
21+
22+
#defineTX1 4
23+
#defineRX1 36
24+
25+
#defineTX2 33 // ext2 pin 5
26+
#defineRX2 35 // ext2 pin 3
27+
28+
staticconstuint8_tSDA=13;
29+
staticconstuint8_tSCL=16;
30+
31+
staticconstuint8_tSS=5;
32+
staticconstuint8_tMOSI=2;
33+
staticconstuint8_tMISO=15;
34+
staticconstuint8_tSCK=14;
35+
36+
#defineBOARD_HAS_1BIT_SDMMC
37+
38+
#endif/* Pins_Arduino_h */

variants/esp32-poe/pins_arduino.h

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ static const uint8_t KEY_BUILTIN = 34;
1919
staticconstuint8_tTX=1;
2020
staticconstuint8_tRX=3;
2121

22+
#defineTX1 4
23+
#defineRX1 36
24+
25+
#defineTX2 33 // ext2 pin 5
26+
#defineRX2 35 // ext2 pin 3
27+
2228
staticconstuint8_tSDA=13;
2329
staticconstuint8_tSCL=16;
2430

0 commit comments

Comments
 (0)
close