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 959a57f

Browse filesBrowse files
Added support for M5Stamp Pico from M5Stack (espressif#8301)
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
1 parent 855f526 commit 959a57f
Copy full SHA for 959a57f

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+115
-0
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+75Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13407,6 +13407,81 @@ stamp-s3.menu.EraseFlash.none.upload.erase_cmd=
1340713407
stamp-s3.menu.EraseFlash.all=Enabled
1340813408
stamp-s3.menu.EraseFlash.all.upload.erase_cmd=-e
1340913409

13410+
###############################################################
13411+
13412+
m5stamp-pico.name=M5Stamp-Pico
13413+
13414+
m5stamp-pico.bootloader.tool=esptool_py
13415+
m5stamp-pico.bootloader.tool.default=esptool_py
13416+
13417+
m5stamp-pico.upload.tool=esptool_py
13418+
m5stamp-pico.upload.tool.default=esptool_py
13419+
m5stamp-pico.upload.tool.network=esp_ota
13420+
13421+
m5stamp-pico.upload.maximum_size=1310720
13422+
m5stamp-pico.upload.maximum_data_size=327680
13423+
m5stamp-pico.upload.wait_for_upload_port=true
13424+
m5stamp-pico.upload.flags=
13425+
m5stamp-pico.upload.extra_flags=
13426+
13427+
m5stamp-pico.serial.disableDTR=true
13428+
m5stamp-pico.serial.disableRTS=true
13429+
13430+
m5stamp-pico.build.tarch=xtensa
13431+
m5stamp-pico.build.bootloader_addr=0x1000
13432+
m5stamp-pico.build.target=esp32
13433+
m5stamp-pico.build.mcu=esp32
13434+
m5stamp-pico.build.core=esp32
13435+
m5stamp-pico.build.variant=m5stack_stamp_pico
13436+
m5stamp-pico.build.board=M5Stamp_Pico
13437+
13438+
m5stamp-pico.build.f_cpu=240000000L
13439+
m5stamp-pico.build.flash_size=4MB
13440+
m5stamp-pico.build.flash_freq=80m
13441+
m5stamp-pico.build.flash_mode=dio
13442+
m5stamp-pico.build.boot=dio
13443+
m5stamp-pico.build.partitions=default
13444+
m5stamp-pico.build.defines=
13445+
13446+
m5stamp-pico.menu.PartitionScheme.default=Default
13447+
m5stamp-pico.menu.PartitionScheme.default.build.partitions=default
13448+
m5stamp-pico.menu.PartitionScheme.no_ota=No OTA (Large APP)
13449+
m5stamp-pico.menu.PartitionScheme.no_ota.build.partitions=no_ota
13450+
m5stamp-pico.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
13451+
m5stamp-pico.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA)
13452+
m5stamp-pico.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
13453+
m5stamp-pico.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
13454+
13455+
13456+
m5stamp-pico.menu.UploadSpeed.1500000=1500000
13457+
m5stamp-pico.menu.UploadSpeed.1500000.upload.speed=1500000
13458+
m5stamp-pico.menu.UploadSpeed.750000=750000
13459+
m5stamp-pico.menu.UploadSpeed.750000.upload.speed=750000
13460+
m5stamp-pico.menu.UploadSpeed.500000=500000
13461+
m5stamp-pico.menu.UploadSpeed.500000.upload.speed=500000
13462+
m5stamp-pico.menu.UploadSpeed.250000=250000
13463+
m5stamp-pico.menu.UploadSpeed.250000.upload.speed=250000
13464+
m5stamp-pico.menu.UploadSpeed.115200=115200
13465+
m5stamp-pico.menu.UploadSpeed.115200.upload.speed=115200
13466+
13467+
m5stamp-pico.menu.DebugLevel.none=None
13468+
m5stamp-pico.menu.DebugLevel.none.build.code_debug=0
13469+
m5stamp-pico.menu.DebugLevel.error=Error
13470+
m5stamp-pico.menu.DebugLevel.error.build.code_debug=1
13471+
m5stamp-pico.menu.DebugLevel.warn=Warn
13472+
m5stamp-pico.menu.DebugLevel.warn.build.code_debug=2
13473+
m5stamp-pico.menu.DebugLevel.info=Info
13474+
m5stamp-pico.menu.DebugLevel.info.build.code_debug=3
13475+
m5stamp-pico.menu.DebugLevel.debug=Debug
13476+
m5stamp-pico.menu.DebugLevel.debug.build.code_debug=4
13477+
m5stamp-pico.menu.DebugLevel.verbose=Verbose
13478+
m5stamp-pico.menu.DebugLevel.verbose.build.code_debug=5
13479+
13480+
m5stamp-pico.menu.EraseFlash.none=Disabled
13481+
m5stamp-pico.menu.EraseFlash.none.upload.erase_cmd=
13482+
m5stamp-pico.menu.EraseFlash.all=Enabled
13483+
m5stamp-pico.menu.EraseFlash.all.upload.erase_cmd=-e
13484+
1341013485
##############################################################
1341113486

1341213487
odroid_esp32.name=ODROID ESP32
+40Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
15+
static const uint8_t TX = 1;
16+
static const uint8_t RX = 3;
17+
18+
static const uint8_t SDA = 21;
19+
static const uint8_t SCL = 22;
20+
21+
static const uint8_t G26 = 26;
22+
static const uint8_t G36 = 36;
23+
static const uint8_t G18 = 18;
24+
static const uint8_t G19 = 19;
25+
static const uint8_t G21 = 21;
26+
static const uint8_t G22 = 22;
27+
static const uint8_t G25 = 25;
28+
static const uint8_t G1 = 1;
29+
static const uint8_t G3 = 3;
30+
static const uint8_t G0 = 0;
31+
32+
static const uint8_t G32 = 32;
33+
static const uint8_t G33 = 33;
34+
35+
static const uint8_t SS = 19;
36+
static const uint8_t MOSI = 26;
37+
static const uint8_t MISO = 36;
38+
static const uint8_t SCK = 18;
39+
40+
#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.