Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
697d4ff7
Commit
697d4ff7
authored
Apr 27, 2019
by
Dirk O. Kaar
Committed by
Me No Dev
Apr 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add board "WEMOS D1 MINI ESP32". (#2710)
parent
ab309e40
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
105 additions
and
0 deletions
+105
-0
boards.txt
boards.txt
+69
-0
package/package_esp32_index.template.json
package/package_esp32_index.template.json
+3
-0
variants/d1_mini32/pins_arduino.h
variants/d1_mini32/pins_arduino.h
+33
-0
No files found.
boards.txt
View file @
697d4ff7
...
...
@@ -3648,4 +3648,73 @@ ttgo-t-watch.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
d1_mini32.name=WEMOS D1 MINI ESP32
d1_mini32.upload.tool=esptool_py
d1_mini32.upload.maximum_size=1310720
d1_mini32.upload.maximum_data_size=327680
d1_mini32.upload.wait_for_upload_port=true
d1_mini32.serial.disableDTR=true
d1_mini32.serial.disableRTS=true
d1_mini32.build.mcu=esp32
d1_mini32.build.core=esp32
d1_mini32.build.variant=d1_mini32
d1_mini32.build.board=D1_MINI32
d1_mini32.build.f_cpu=240000000L
d1_mini32.build.flash_mode=dio
d1_mini32.build.flash_size=4MB
d1_mini32.build.boot=dio
d1_mini32.build.partitions=default
d1_mini32.build.defines=
d1_mini32.menu.FlashFreq.80=80MHz
d1_mini32.menu.FlashFreq.80.build.flash_freq=80m
d1_mini32.menu.FlashFreq.40=40MHz
d1_mini32.menu.FlashFreq.40.build.flash_freq=40m
d1_mini32.menu.PartitionScheme.default=Default
d1_mini32.menu.PartitionScheme.default.build.partitions=default
d1_mini32.menu.PartitionScheme.no_ota=No OTA (Large APP)
d1_mini32.menu.PartitionScheme.no_ota.build.partitions=no_ota
d1_mini32.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
d1_mini32.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA)
d1_mini32.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
d1_mini32.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
d1_mini32.menu.CPUFreq.240=240MHz (WiFi/BT)
d1_mini32.menu.CPUFreq.240.build.f_cpu=240000000L
d1_mini32.menu.CPUFreq.160=160MHz (WiFi/BT)
d1_mini32.menu.CPUFreq.160.build.f_cpu=160000000L
d1_mini32.menu.CPUFreq.80=80MHz (WiFi/BT)
d1_mini32.menu.CPUFreq.80.build.f_cpu=80000000L
d1_mini32.menu.CPUFreq.40=40MHz (40MHz XTAL)
d1_mini32.menu.CPUFreq.40.build.f_cpu=40000000L
d1_mini32.menu.CPUFreq.26=26MHz (26MHz XTAL)
d1_mini32.menu.CPUFreq.26.build.f_cpu=26000000L
d1_mini32.menu.CPUFreq.20=20MHz (40MHz XTAL)
d1_mini32.menu.CPUFreq.20.build.f_cpu=20000000L
d1_mini32.menu.CPUFreq.13=13MHz (26MHz XTAL)
d1_mini32.menu.CPUFreq.13.build.f_cpu=13000000L
d1_mini32.menu.CPUFreq.10=10MHz (40MHz XTAL)
d1_mini32.menu.CPUFreq.10.build.f_cpu=10000000L
d1_mini32.menu.UploadSpeed.921600=921600
d1_mini32.menu.UploadSpeed.921600.upload.speed=921600
d1_mini32.menu.UploadSpeed.115200=115200
d1_mini32.menu.UploadSpeed.115200.upload.speed=115200
d1_mini32.menu.UploadSpeed.256000.windows=256000
d1_mini32.menu.UploadSpeed.256000.upload.speed=256000
d1_mini32.menu.UploadSpeed.230400.windows.upload.speed=256000
d1_mini32.menu.UploadSpeed.230400=230400
d1_mini32.menu.UploadSpeed.230400.upload.speed=230400
d1_mini32.menu.UploadSpeed.460800.linux=460800
d1_mini32.menu.UploadSpeed.460800.macosx=460800
d1_mini32.menu.UploadSpeed.460800.upload.speed=460800
d1_mini32.menu.UploadSpeed.512000.windows=512000
d1_mini32.menu.UploadSpeed.512000.upload.speed=512000
##############################################################
package/package_esp32_index.template.json
View file @
697d4ff7
...
...
@@ -27,6 +27,9 @@
},
{
"name"
:
"WEMOS LoLin32"
},
{
"name"
:
"WEMOS D1 MINI ESP32"
}
],
"toolsDependencies"
:
[
...
...
variants/d1_mini32/pins_arduino.h
0 → 100644
View file @
697d4ff7
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#include <../d32/d32_core.h>
static
const
uint8_t
LED_BUILTIN
=
2
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
static
const
uint8_t
_VBAT
=
35
;
// battery voltage
#define PIN_WIRE_SDA SDA // backward compatibility
#define PIN_WIRE_SCL SCL // backward compatibility
static
const
uint8_t
D0
=
26
;
static
const
uint8_t
D1
=
22
;
static
const
uint8_t
D2
=
21
;
static
const
uint8_t
D3
=
17
;
static
const
uint8_t
D4
=
16
;
static
const
uint8_t
D5
=
18
;
static
const
uint8_t
D6
=
19
;
static
const
uint8_t
D7
=
23
;
static
const
uint8_t
D8
=
5
;
static
const
uint8_t
RXD
=
3
;
static
const
uint8_t
TXD
=
1
;
#define PIN_SPI_SS SS // backward compatibility
#define PIN_SPI_MOSI MOSI // backward compatibility
#define PIN_SPI_MISO MISO // backward compatibility
#define PIN_SPI_SCK SCK // backward compatibility
#define PIN_A0 A0 // backward compatibility
#endif
/* Pins_Arduino_h */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment