Skip to content

Commit f5e6cad

Browse files
committed
add feather esp32 rev C variant
1 parent ce54087 commit f5e6cad

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

boards.txt

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,43 @@ espea32.menu.UploadSpeed.460800.upload.speed=460800
201201
espea32.menu.UploadSpeed.512000.windows=512000
202202
espea32.menu.UploadSpeed.512000.upload.speed=512000
203203

204+
205+
##############################################################
206+
featheresp32.name=Feather ESP32
207+
208+
featheresp32.upload.tool=esptool
209+
featheresp32.upload.maximum_size=1044464
210+
featheresp32.upload.maximum_data_size=294912
211+
featheresp32.upload.wait_for_upload_port=true
212+
213+
featheresp32.serial.disableDTR=true
214+
featheresp32.serial.disableRTS=true
215+
216+
featheresp32.build.mcu=esp32
217+
featheresp32.build.core=esp32
218+
featheresp32.build.variant=feather_esp32
219+
featheresp32.build.board=FeatherESP32
220+
221+
featheresp32.build.f_cpu=160000000L
222+
featheresp32.build.flash_mode=dio
223+
featheresp32.build.flash_size=4MB
224+
225+
featheresp32.menu.FlashFreq.80=80MHz
226+
featheresp32.menu.FlashFreq.80.build.flash_freq=80m
227+
featheresp32.menu.FlashFreq.40=40MHz
228+
featheresp32.menu.FlashFreq.40.build.flash_freq=40m
229+
230+
featheresp32.menu.UploadSpeed.921600=921600
231+
featheresp32.menu.UploadSpeed.921600.upload.speed=921600
232+
featheresp32.menu.UploadSpeed.115200=115200
233+
featheresp32.menu.UploadSpeed.115200.upload.speed=115200
234+
featheresp32.menu.UploadSpeed.256000.windows=256000
235+
featheresp32.menu.UploadSpeed.256000.upload.speed=256000
236+
featheresp32.menu.UploadSpeed.230400.windows.upload.speed=256000
237+
featheresp32.menu.UploadSpeed.230400=230400
238+
featheresp32.menu.UploadSpeed.230400.upload.speed=230400
239+
featheresp32.menu.UploadSpeed.460800.linux=460800
240+
featheresp32.menu.UploadSpeed.460800.macosx=460800
241+
featheresp32.menu.UploadSpeed.460800.upload.speed=460800
242+
featheresp32.menu.UploadSpeed.512000.windows=512000
243+
featheresp32.menu.UploadSpeed.512000.upload.speed=512000

variants/feather_esp32/pins_arduino.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#define EXTERNAL_NUM_INTERRUPTS 16
5+
#define NUM_DIGITAL_PINS 40
6+
#define NUM_ANALOG_INPUTS 18
7+
8+
#define analogInputToDigitalPin(p)
9+
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
10+
#define digitalPinHasPWM(p) (p < 34)
11+
12+
static const uint8_t SDA = 23;
13+
static const uint8_t SCL = 22;
14+
15+
static const uint8_t SS = 2;
16+
static const uint8_t MOSI = 18;
17+
static const uint8_t MISO = 19;
18+
static const uint8_t SCK = 5;
19+
20+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)