Skip to content

Commit 0550e72

Browse files
committed
Merge pull request #1608 from narongrat/master
Add ESPino (WROOM-02) by ThaiEasyElec.com
2 parents 7cca087 + 708c782 commit 0550e72

File tree

4 files changed

+157
-2
lines changed

4 files changed

+157
-2
lines changed

boards.txt

+69-1
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ d1.menu.FlashSize.4M1M.build.spiffs_pagesize=256
10411041

10421042
##############################################################
10431043

1044-
espino.name=ESPino
1044+
espino.name=ESPino (ESP-12 Module)
10451045

10461046
espino.upload.tool=esptool
10471047
espino.upload.speed=115200
@@ -1121,6 +1121,74 @@ espino.menu.ResetMethod.ck.upload.resetmethod=ck
11211121
espino.menu.ResetMethod.nodemcu=nodemcu
11221122
espino.menu.ResetMethod.nodemcu.upload.resetmethod=nodemcu
11231123

1124+
##############################################################
1125+
espinotee.name=ThaiEasyElec's ESPino
1126+
1127+
espinotee.upload.tool=esptool
1128+
espinotee.upload.speed=115200
1129+
espinotee.upload.resetmethod=nodemcu
1130+
espinotee.upload.maximum_size=1044464
1131+
espinotee.upload.maximum_data_size=81920
1132+
espinotee.upload.wait_for_upload_port=true
1133+
espinotee.serial.disableDTR=true
1134+
espinotee.serial.disableRTS=true
1135+
1136+
espinotee.build.mcu=esp8266
1137+
espinotee.build.f_cpu=80000000L
1138+
espinotee.build.board=ESP8266_ESP13
1139+
espinotee.build.core=esp8266
1140+
espinotee.build.variant=espinotee
1141+
espinotee.build.flash_mode=qio
1142+
espinotee.build.flash_size=4M
1143+
espinotee.build.flash_freq=40
1144+
1145+
espinotee.menu.CpuFrequency.80=80 MHz
1146+
espinotee.menu.CpuFrequency.80.build.f_cpu=80000000L
1147+
espinotee.menu.CpuFrequency.160=160 MHz
1148+
espinotee.menu.CpuFrequency.160.build.f_cpu=160000000L
1149+
1150+
espinotee.menu.UploadTool.esptool=Serial
1151+
espinotee.menu.UploadTool.esptool.upload.tool=esptool
1152+
espinotee.menu.UploadTool.esptool.upload.verbose=-vv
1153+
espinotee.menu.UploadTool.espota=OTA
1154+
espinotee.menu.UploadTool.espota.upload.tool=espota
1155+
1156+
espinotee.menu.UploadSpeed.115200=115200
1157+
espinotee.menu.UploadSpeed.115200.upload.speed=115200
1158+
espinotee.menu.UploadSpeed.9600=9600
1159+
espinotee.menu.UploadSpeed.9600.upload.speed=9600
1160+
espinotee.menu.UploadSpeed.57600=57600
1161+
espinotee.menu.UploadSpeed.57600.upload.speed=57600
1162+
espinotee.menu.UploadSpeed.256000.windows=256000
1163+
espinotee.menu.UploadSpeed.256000.upload.speed=256000
1164+
espinotee.menu.UploadSpeed.230400.linux=230400
1165+
espinotee.menu.UploadSpeed.230400.macosx=230400
1166+
espinotee.menu.UploadSpeed.230400.macosx=230400
1167+
espinotee.menu.UploadSpeed.230400.upload.speed=230400
1168+
espinotee.menu.UploadSpeed.460800.linux=460800
1169+
espinotee.menu.UploadSpeed.460800.macosx=460800
1170+
espinotee.menu.UploadSpeed.460800.upload.speed=460800
1171+
espinotee.menu.UploadSpeed.512000.windows=512000
1172+
espinotee.menu.UploadSpeed.512000.upload.speed=512000
1173+
espinotee.menu.UploadSpeed.921600=921600
1174+
espinotee.menu.UploadSpeed.921600.upload.speed=921600
1175+
1176+
espinotee.menu.FlashSize.4M3M=4M (3M SPIFFS)
1177+
espinotee.menu.FlashSize.4M3M.build.flash_size=4M
1178+
espinotee.menu.FlashSize.4M3M.build.flash_ld=eagle.flash.4m.ld
1179+
espinotee.menu.FlashSize.4M3M.build.spiffs_start=0x100000
1180+
espinotee.menu.FlashSize.4M3M.build.spiffs_end=0x3FB000
1181+
espinotee.menu.FlashSize.4M3M.build.spiffs_blocksize=8192
1182+
espinotee.menu.FlashSize.4M3M.build.spiffs_pagesize=256
1183+
1184+
espinotee.menu.FlashSize.4M1M=4M (1M SPIFFS)
1185+
espinotee.menu.FlashSize.4M1M.build.flash_size=4M
1186+
espinotee.menu.FlashSize.4M1M.build.flash_ld=eagle.flash.4m1m.ld
1187+
espinotee.menu.FlashSize.4M1M.build.spiffs_start=0x300000
1188+
espinotee.menu.FlashSize.4M1M.build.spiffs_end=0x3FB000
1189+
espinotee.menu.FlashSize.4M1M.build.spiffs_blocksize=8192
1190+
espinotee.menu.FlashSize.4M1M.build.spiffs_pagesize=256
1191+
11241192
##############################################################
11251193
wifinfo.name=WifInfo
11261194

doc/boards.md

+14
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ title: Supported Hardware
2929
* [boot mode](#boot-mode)
3030
* [WeMos D1](#wemos-d1)
3131
* [WeMos D1 mini](#wemos-d1-mini)
32+
* [ESPino by ThaiEasyElec](#espinotee)
3233

3334
## Adafruit HUZZAH ESP8266 (ESP-12)
3435

@@ -271,3 +272,16 @@ Product page: http://wemos.cc
271272

272273
## WeMos D1 mini
273274
Product page: http://wemos.cc
275+
276+
## ESPino (WROOM-02 Module) by ThaiEasyElec
277+
ESPino by ThaiEasyElec using WROOM-02 module from Espressif Systems with 4 MB Flash.
278+
279+
We will update an English description soon.
280+
- Product page: http://thaieasyelec.com/products/wireless-modules/wifi-modules/espino-wifi-development-board-detail.html
281+
- Schematics: www.thaieasyelec.com/downloads/ETEE052/ETEE052_ESPino_Schematic.pdf
282+
- Dimensions: http://thaieasyelec.com/downloads/ETEE052/ETEE052_ESPino_Dimension.pdf
283+
- Pinouts: http://thaieasyelec.com/downloads/ETEE052/ETEE052_ESPino_User_Manual_TH_v1_0_20160204.pdf (Please see pg. 8)
284+
285+
286+
287+

package/package_esp8266com_index.template.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@
5656
"name": "WeMos D1 mini"
5757
},
5858
{
59-
"name": "ESPino"
59+
"name": "ESPino (ESP-12 Module)"
60+
},
61+
{
62+
"name": "ESPino (WROOM-02 Module)"
6063
},
6164
{
6265
"name": "WifInfo"

variants/espinotee/pins_arduino.h

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
/*
2+
pins_arduino.h - Pin definition functions for Arduino
3+
Part of Arduino - http://www.arduino.cc/
4+
5+
Copyright (c) 2007 David A. Mellis
6+
Modified for ESP8266 platform by Ivan Grokhotkov, 2014-2015.
7+
8+
This library is free software; you can redistribute it and/or
9+
modify it under the terms of the GNU Lesser General Public
10+
License as published by the Free Software Foundation; either
11+
version 2.1 of the License, or (at your option) any later version.
12+
13+
This library is distributed in the hope that it will be useful,
14+
but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16+
Lesser General Public License for more details.
17+
18+
You should have received a copy of the GNU Lesser General
19+
Public License along with this library; if not, write to the
20+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21+
Boston, MA 02111-1307 USA
22+
23+
$Id: wiring.h 249 2007-02-03 16:52:51Z mellis $
24+
*/
25+
26+
#ifndef Pins_Arduino_h
27+
#define Pins_Arduino_h
28+
29+
#define EXTERNAL_NUM_INTERRUPTS 16
30+
#define NUM_DIGITAL_PINS 11
31+
#define NUM_ANALOG_INPUTS 1
32+
33+
#define analogInputToDigitalPin(p) ((p > 0)?NOT_A_PIN:0)
34+
#define digitalPinToInterrupt(p) (((p) < EXTERNAL_NUM_INTERRUPTS)?p:NOT_A_PIN)
35+
#define digitalPinHasPWM(p) (((p) < NUM_DIGITAL_PINS)?p:NOT_A_PIN)
36+
37+
static const uint8_t SDA = 4;
38+
static const uint8_t SCL = 5;
39+
40+
static const uint8_t SS = 15;
41+
static const uint8_t MOSI = 13;
42+
static const uint8_t MISO = 12;
43+
static const uint8_t SCK = 14;
44+
45+
static const uint8_t BUILTIN_LED = 16;
46+
static const uint8_t LED_BUILTIN = 16;
47+
48+
static const uint8_t A0 = 17;
49+
50+
// These serial port names are intended to allow libraries and architecture-neutral
51+
// sketches to automatically default to the correct port name for a particular type
52+
// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN,
53+
// the first hardware serial port whose RX/TX pins are not dedicated to another use.
54+
//
55+
// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor
56+
//
57+
// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial
58+
//
59+
// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library
60+
//
61+
// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins.
62+
//
63+
// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX
64+
// pins are NOT connected to anything by default.
65+
#define SERIAL_PORT_MONITOR Serial
66+
#define SERIAL_PORT_USBVIRTUAL Serial
67+
#define SERIAL_PORT_HARDWARE Serial
68+
#define SERIAL_PORT_HARDWARE_OPEN Serial
69+
70+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)