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 837cc3d

Browse filesBrowse files
authored
Added SparkFun ESP32 Thing Plus board (espressif#4224)
1 parent 9b2ae12 commit 837cc3d
Copy full SHA for 837cc3d

File tree

Expand file treeCollapse file tree

2 files changed

+125
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+125
-0
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+64Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,70 @@ esp32thing.menu.DebugLevel.debug.build.code_debug=4
784784
esp32thing.menu.DebugLevel.verbose=Verbose
785785
esp32thing.menu.DebugLevel.verbose.build.code_debug=5
786786

787+
##############################################################
788+
789+
esp32thing_plus.name=SparkFun ESP32 Thing Plus
790+
791+
esp32thing_plus.upload.tool=esptool_py
792+
esp32thing_plus.upload.maximum_size=1310720
793+
esp32thing_plus.upload.maximum_data_size=327680
794+
esp32thing_plus.upload.wait_for_upload_port=true
795+
796+
esp32thing_plus.serial.disableDTR=true
797+
esp32thing_plus.serial.disableRTS=true
798+
799+
esp32thing_plus.build.mcu=esp32
800+
esp32thing_plus.build.core=esp32
801+
esp32thing_plus.build.variant=esp32thing_plus
802+
esp32thing_plus.build.board=ESP32_THING_PLUS
803+
804+
esp32thing_plus.build.f_cpu=240000000L
805+
esp32thing_plus.build.flash_mode=dio
806+
esp32thing_plus.build.flash_size=16MB
807+
esp32thing_plus.build.boot=dio
808+
esp32thing_plus.build.partitions=default
809+
esp32thing_plus.build.defines=
810+
811+
esp32thing_plus.menu.FlashFreq.80=80MHz
812+
esp32thing_plus.menu.FlashFreq.80.build.flash_freq=80m
813+
esp32thing_plus.menu.FlashFreq.40=40MHz
814+
esp32thing_plus.menu.FlashFreq.40.build.flash_freq=40m
815+
816+
esp32thing_plus.menu.PartitionScheme.default=Default (6.25MB APP/OTA/3.43MB SPIFFS)
817+
esp32thing_plus.menu.PartitionScheme.default.build.partitions=default_16MB
818+
esp32thing_plus.menu.PartitionScheme.default.upload.maximum_size=6553600
819+
esp32thing_plus.menu.PartitionScheme.large_spiffs=Large SPIFFS (4.5MB APP/OTA/6.93MB SPIFFS)
820+
esp32thing_plus.menu.PartitionScheme.large_spiffs.build.partitions=large_spiffs_16MB
821+
esp32thing_plus.menu.PartitionScheme.large_spiffs.upload.maximum_size=4718592
822+
823+
esp32thing_plus.menu.UploadSpeed.921600=921600
824+
esp32thing_plus.menu.UploadSpeed.921600.upload.speed=921600
825+
esp32thing_plus.menu.UploadSpeed.115200=115200
826+
esp32thing_plus.menu.UploadSpeed.115200.upload.speed=115200
827+
esp32thing_plus.menu.UploadSpeed.256000.windows=256000
828+
esp32thing_plus.menu.UploadSpeed.256000.upload.speed=256000
829+
esp32thing_plus.menu.UploadSpeed.230400.windows.upload.speed=256000
830+
esp32thing_plus.menu.UploadSpeed.230400=230400
831+
esp32thing_plus.menu.UploadSpeed.230400.upload.speed=230400
832+
esp32thing_plus.menu.UploadSpeed.460800.linux=460800
833+
esp32thing_plus.menu.UploadSpeed.460800.macosx=460800
834+
esp32thing_plus.menu.UploadSpeed.460800.upload.speed=460800
835+
esp32thing_plus.menu.UploadSpeed.512000.windows=512000
836+
esp32thing_plus.menu.UploadSpeed.512000.upload.speed=512000
837+
838+
esp32thing_plus.menu.DebugLevel.none=None
839+
esp32thing_plus.menu.DebugLevel.none.build.code_debug=0
840+
esp32thing_plus.menu.DebugLevel.error=Error
841+
esp32thing_plus.menu.DebugLevel.error.build.code_debug=1
842+
esp32thing_plus.menu.DebugLevel.warn=Warn
843+
esp32thing_plus.menu.DebugLevel.warn.build.code_debug=2
844+
esp32thing_plus.menu.DebugLevel.info=Info
845+
esp32thing_plus.menu.DebugLevel.info.build.code_debug=3
846+
esp32thing_plus.menu.DebugLevel.debug=Debug
847+
esp32thing_plus.menu.DebugLevel.debug.build.code_debug=4
848+
esp32thing_plus.menu.DebugLevel.verbose=Verbose
849+
esp32thing_plus.menu.DebugLevel.verbose.build.code_debug=5
850+
787851

788852
##############################################################
789853

+61Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
#define EXTERNAL_NUM_INTERRUPTS 16
7+
#define NUM_DIGITAL_PINS 40
8+
#define NUM_ANALOG_INPUTS 16
9+
10+
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
11+
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
12+
#define digitalPinHasPWM(p) (p < 34)
13+
14+
static const uint8_t LED_BUILTIN = 13;
15+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
17+
static const uint8_t TX = 17;
18+
static const uint8_t RX = 16;
19+
20+
#define TX1 TX
21+
#define RX1 RX
22+
23+
static const uint8_t SDA = 23;
24+
static const uint8_t SCL = 22;
25+
26+
static const uint8_t SS = 33;
27+
static const uint8_t MOSI = 18;
28+
static const uint8_t MISO = 19;
29+
static const uint8_t SCK = 5;
30+
31+
// mapping to match other feathers and also in order
32+
static const uint8_t A0 = 26;
33+
static const uint8_t A1 = 25;
34+
static const uint8_t A2 = 34;
35+
static const uint8_t A3 = 39;
36+
static const uint8_t A4 = 36;
37+
static const uint8_t A5 = 4;
38+
static const uint8_t A6 = 14;
39+
static const uint8_t A7 = 32;
40+
static const uint8_t A8 = 15;
41+
static const uint8_t A9 = 33;
42+
static const uint8_t A10 = 27;
43+
static const uint8_t A11 = 12;
44+
static const uint8_t A12 = 13;
45+
46+
47+
static const uint8_t T0 = 4;
48+
static const uint8_t T1 = 0;
49+
static const uint8_t T2 = 2;
50+
static const uint8_t T3 = 15;
51+
static const uint8_t T4 = 13;
52+
static const uint8_t T5 = 12;
53+
static const uint8_t T6 = 14;
54+
static const uint8_t T7 = 27;
55+
static const uint8_t T8 = 33;
56+
static const uint8_t T9 = 32;
57+
58+
static const uint8_t DAC1 = 25;
59+
static const uint8_t DAC2 = 26;
60+
61+
#endif /* Pins_Arduino_h */

0 commit comments

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