Skip to content

Commit 1c0dcd4

Browse files
committed
feat: Add board support for ThingPulse ePulse Feather
1 parent 282559b commit 1c0dcd4

File tree

2 files changed

+175
-0
lines changed

2 files changed

+175
-0
lines changed

boards.txt

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33620,3 +33620,130 @@ makergo_c3_supermini.menu.EraseFlash.all=Enabled
3362033620
makergo_c3_supermini.menu.EraseFlash.all.upload.erase_cmd=-e
3362133621

3362233622
##############################################################
33623+
# ThingPulse ePulse Feather
33624+
33625+
epulse_feather.name=ThingPulse ePulse Feather
33626+
33627+
epulse_feather.bootloader.tool=esptool_py
33628+
epulse_feather.bootloader.tool.default=esptool_py
33629+
33630+
epulse_feather.upload.tool=esptool_py
33631+
epulse_feather.upload.tool.default=esptool_py
33632+
epulse_feather.upload.tool.network=esp_ota
33633+
33634+
epulse_feather.upload.maximum_size=1310720
33635+
epulse_feather.upload.maximum_data_size=327680
33636+
epulse_feather.upload.flags=
33637+
epulse_feather.upload.extra_flags=
33638+
33639+
epulse_feather.serial.disableDTR=true
33640+
epulse_feather.serial.disableRTS=true
33641+
33642+
epulse_feather.build.tarch=xtensa
33643+
epulse_feather.build.bootloader_addr=0x1000
33644+
epulse_feather.build.target=esp32
33645+
epulse_feather.build.mcu=esp32
33646+
epulse_feather.build.core=esp32
33647+
epulse_feather.build.variant=thingpulse_epulse_feather
33648+
epulse_feather.build.board=THINGPULSE_EPULSE_FEATHER
33649+
33650+
epulse_feather.build.f_cpu=240000000L
33651+
epulse_feather.build.flash_size=8MB
33652+
epulse_feather.build.flash_freq=80m
33653+
epulse_feather.build.flash_mode=dio
33654+
epulse_feather.build.boot=dio
33655+
epulse_feather.build.partitions=default_8MB
33656+
epulse_feather.build.defines=
33657+
epulse_feather.build.loop_core=
33658+
epulse_feather.build.event_core=
33659+
epulse_feather.build.psram_type=qspi
33660+
epulse_feather.build.memory_type={build.flash_type}_{build.psram_type}
33661+
33662+
epulse_feather.menu.PSRAM.disabled=Disabled
33663+
epulse_feather.menu.PSRAM.disabled.build.defines=
33664+
epulse_feather.menu.PSRAM.disabled.build.psram_type=qspi
33665+
epulse_feather.menu.PSRAM.enabled=QSPI PSRAM
33666+
epulse_feather.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
33667+
epulse_feather.menu.PSRAM.enabled.build.psram_type=qspi
33668+
33669+
epulse_feather.menu.LoopCore.1=Core 1
33670+
epulse_feather.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
33671+
epulse_feather.menu.LoopCore.0=Core 0
33672+
epulse_feather.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0
33673+
33674+
epulse_feather.menu.EventsCore.1=Core 1
33675+
epulse_feather.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
33676+
epulse_feather.menu.EventsCore.0=Core 0
33677+
epulse_feather.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
33678+
33679+
epulse_feather.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS)
33680+
epulse_feather.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
33681+
epulse_feather.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
33682+
epulse_feather.menu.PartitionScheme.default_ffat_8MB=8M with ffat (3MB APP/1.5MB FATFS)
33683+
epulse_feather.menu.PartitionScheme.default_ffat_8MB.build.partitions=default_ffat_8MB
33684+
epulse_feather.menu.PartitionScheme.default_ffat_8MB.upload.maximum_size=3342336
33685+
epulse_feather.menu.PartitionScheme.large_spiffs_8MB=Large SPIFFS (1.2MB APP/5.3MB SPIFFS)
33686+
epulse_feather.menu.PartitionScheme.large_spiffs_8MB.build.partitions=large_spiffs_8MB
33687+
epulse_feather.menu.PartitionScheme.large_spiffs_8MB.upload.maximum_size=1310720
33688+
epulse_feather.menu.PartitionScheme.large_ffat_8MB=Large FFAT (1.2MB APP/5.3MB FATFS)
33689+
epulse_feather.menu.PartitionScheme.large_ffat_8MB.build.partitions=large_ffat_8MB
33690+
epulse_feather.menu.PartitionScheme.large_ffat_8MB.upload.maximum_size=1310720
33691+
epulse_feather.menu.PartitionScheme.max_app_8MB=Maximum APP (7.9MB APP No OTA/No FS)
33692+
epulse_feather.menu.PartitionScheme.max_app_8MB.build.partitions=max_app_8MB
33693+
epulse_feather.menu.PartitionScheme.max_app_8MB.upload.maximum_size=8257536
33694+
33695+
epulse_feather.menu.CPUFreq.240=240MHz (WiFi/BT)
33696+
epulse_feather.menu.CPUFreq.240.build.f_cpu=240000000L
33697+
epulse_feather.menu.CPUFreq.160=160MHz (WiFi/BT)
33698+
epulse_feather.menu.CPUFreq.160.build.f_cpu=160000000L
33699+
epulse_feather.menu.CPUFreq.80=80MHz (WiFi/BT)
33700+
epulse_feather.menu.CPUFreq.80.build.f_cpu=80000000L
33701+
epulse_feather.menu.CPUFreq.40=40MHz
33702+
epulse_feather.menu.CPUFreq.40.build.f_cpu=40000000L
33703+
epulse_feather.menu.CPUFreq.20=20MHz
33704+
epulse_feather.menu.CPUFreq.20.build.f_cpu=20000000L
33705+
epulse_feather.menu.CPUFreq.10=10MHz
33706+
epulse_feather.menu.CPUFreq.10.build.f_cpu=10000000L
33707+
33708+
epulse_feather.menu.FlashFreq.80=80MHz
33709+
epulse_feather.menu.FlashFreq.80.build.flash_freq=80m
33710+
epulse_feather.menu.FlashFreq.40=40MHz
33711+
epulse_feather.menu.FlashFreq.40.build.flash_freq=40m
33712+
33713+
epulse_feather.menu.FlashSize.8M=8MB (64Mb)
33714+
epulse_feather.menu.FlashSize.8M.build.flash_size=8MB
33715+
33716+
epulse_feather.menu.UploadSpeed.921600=921600
33717+
epulse_feather.menu.UploadSpeed.921600.upload.speed=921600
33718+
epulse_feather.menu.UploadSpeed.115200=115200
33719+
epulse_feather.menu.UploadSpeed.115200.upload.speed=115200
33720+
epulse_feather.menu.UploadSpeed.256000.windows=256000
33721+
epulse_feather.menu.UploadSpeed.256000.upload.speed=256000
33722+
epulse_feather.menu.UploadSpeed.230400.windows.upload.speed=256000
33723+
epulse_feather.menu.UploadSpeed.230400=230400
33724+
epulse_feather.menu.UploadSpeed.230400.upload.speed=230400
33725+
epulse_feather.menu.UploadSpeed.460800.linux=460800
33726+
epulse_feather.menu.UploadSpeed.460800.macosx=460800
33727+
epulse_feather.menu.UploadSpeed.460800.upload.speed=460800
33728+
epulse_feather.menu.UploadSpeed.512000.windows=512000
33729+
epulse_feather.menu.UploadSpeed.512000.upload.speed=512000
33730+
33731+
epulse_feather.menu.DebugLevel.none=None
33732+
epulse_feather.menu.DebugLevel.none.build.code_debug=0
33733+
epulse_feather.menu.DebugLevel.error=Error
33734+
epulse_feather.menu.DebugLevel.error.build.code_debug=1
33735+
epulse_feather.menu.DebugLevel.warn=Warn
33736+
epulse_feather.menu.DebugLevel.warn.build.code_debug=2
33737+
epulse_feather.menu.DebugLevel.info=Info
33738+
epulse_feather.menu.DebugLevel.info.build.code_debug=3
33739+
epulse_feather.menu.DebugLevel.debug=Debug
33740+
epulse_feather.menu.DebugLevel.debug.build.code_debug=4
33741+
epulse_feather.menu.DebugLevel.verbose=Verbose
33742+
epulse_feather.menu.DebugLevel.verbose.build.code_debug=5
33743+
33744+
epulse_feather.menu.EraseFlash.none=Disabled
33745+
epulse_feather.menu.EraseFlash.none.upload.erase_cmd=
33746+
epulse_feather.menu.EraseFlash.all=Enabled
33747+
epulse_feather.menu.EraseFlash.all.upload.erase_cmd=-e
33748+
33749+
##############################################################
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
static const uint8_t SDA = 23;
7+
static const uint8_t SCL = 22;
8+
9+
static const uint8_t MOSI = 18;
10+
static const uint8_t MISO = 19;
11+
static const uint8_t SCK = 5;
12+
13+
// mapping to match other feathers and also in order
14+
static const uint8_t A0 = 26;
15+
static const uint8_t A1 = 25;
16+
static const uint8_t A2 = 34;
17+
static const uint8_t A3 = 39;
18+
static const uint8_t A4 = 36;
19+
static const uint8_t A5 = 4;
20+
static const uint8_t A6 = 14;
21+
static const uint8_t A7 = 32;
22+
static const uint8_t A8 = 15;
23+
static const uint8_t A9 = 33;
24+
static const uint8_t A10 = 27;
25+
static const uint8_t A11 = 12;
26+
static const uint8_t A12 = 13;
27+
28+
// vbat measure
29+
static const uint8_t BATT_MONITOR = 35; // Note: voltage divider 2.2M/4.7M
30+
static const uint8_t A13 = 35;
31+
//static const uint8_t Ax = 0; // not used/available
32+
//static const uint8_t Ax = 2; // not used/available? GPIO02 is available!
33+
34+
// touch inputs
35+
static const uint8_t T0 = 4;
36+
static const uint8_t T2 = 2;
37+
static const uint8_t T3 = 15;
38+
static const uint8_t T4 = 13;
39+
static const uint8_t T5 = 12;
40+
static const uint8_t T6 = 14;
41+
static const uint8_t T7 = 27;
42+
static const uint8_t T8 = 33;
43+
static const uint8_t T9 = 32;
44+
45+
static const uint8_t DAC1 = 25;
46+
static const uint8_t DAC2 = 26;
47+
48+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)