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 fb595e5

Browse filesBrowse files
tuanpmtme-no-dev
authored andcommitted
add esp32vn-iot-uno board (espressif#398)
Update boards files
1 parent 5b216b6 commit fb595e5
Copy full SHA for fb595e5

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+94
-0
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+41Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,3 +670,44 @@ nodemcu-32s.menu.UploadSpeed.512000.windows=512000
670670
nodemcu-32s.menu.UploadSpeed.512000.upload.speed=512000
671671

672672
##############################################################
673+
674+
esp32vn-iot-uno.name=ESP32vn IoT Uno
675+
676+
esp32vn-iot-uno.upload.tool=esptool
677+
esp32vn-iot-uno.upload.maximum_size=1044464
678+
esp32vn-iot-uno.upload.maximum_data_size=294912
679+
esp32vn-iot-uno.upload.wait_for_upload_port=true
680+
681+
esp32vn-iot-uno.serial.disableDTR=true
682+
esp32vn-iot-uno.serial.disableRTS=true
683+
684+
esp32vn-iot-uno.build.mcu=esp32
685+
esp32vn-iot-uno.build.core=esp32
686+
esp32vn-iot-uno.build.variant=esp32vn-iot-uno
687+
esp32vn-iot-uno.build.board=esp32vn-iot-uno
688+
689+
esp32vn-iot-uno.build.f_cpu=240000000L
690+
esp32vn-iot-uno.build.flash_mode=dio
691+
esp32vn-iot-uno.build.flash_size=4MB
692+
693+
esp32vn-iot-uno.menu.FlashFreq.80=80MHz
694+
esp32vn-iot-uno.menu.FlashFreq.80.build.flash_freq=80m
695+
esp32vn-iot-uno.menu.FlashFreq.40=40MHz
696+
esp32vn-iot-uno.menu.FlashFreq.40.build.flash_freq=40m
697+
698+
esp32vn-iot-uno.menu.UploadSpeed.921600=921600
699+
esp32vn-iot-uno.menu.UploadSpeed.921600.upload.speed=921600
700+
esp32vn-iot-uno.menu.UploadSpeed.115200=115200
701+
esp32vn-iot-uno.menu.UploadSpeed.115200.upload.speed=115200
702+
esp32vn-iot-uno.menu.UploadSpeed.256000.windows=256000
703+
esp32vn-iot-uno.menu.UploadSpeed.256000.upload.speed=256000
704+
esp32vn-iot-uno.menu.UploadSpeed.230400.windows.upload.speed=256000
705+
esp32vn-iot-uno.menu.UploadSpeed.230400=230400
706+
esp32vn-iot-uno.menu.UploadSpeed.230400.upload.speed=230400
707+
esp32vn-iot-uno.menu.UploadSpeed.460800.linux=460800
708+
esp32vn-iot-uno.menu.UploadSpeed.460800.macosx=460800
709+
esp32vn-iot-uno.menu.UploadSpeed.460800.upload.speed=460800
710+
esp32vn-iot-uno.menu.UploadSpeed.512000.windows=512000
711+
esp32vn-iot-uno.menu.UploadSpeed.512000.upload.speed=512000
712+
713+
##############################################################
+53Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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+
static const uint8_t TX = 1;
15+
static const uint8_t RX = 3;
16+
17+
static const uint8_t SDA = 21;
18+
static const uint8_t SCL = 22;
19+
20+
static const uint8_t SS = 5;
21+
static const uint8_t MOSI = 23;
22+
static const uint8_t MISO = 19;
23+
static const uint8_t SCK = 18;
24+
25+
static const uint8_t A0 = 36;
26+
static const uint8_t A3 = 39;
27+
static const uint8_t A6 = 34;
28+
static const uint8_t A7 = 35;
29+
static const uint8_t A10 = 4;
30+
static const uint8_t A11 = 0;
31+
static const uint8_t A12 = 2;
32+
static const uint8_t A13 = 15;
33+
static const uint8_t A14 = 13;
34+
static const uint8_t A15 = 12;
35+
static const uint8_t A16 = 14;
36+
static const uint8_t A17 = 27;
37+
static const uint8_t A18 = 25;
38+
static const uint8_t A19 = 26;
39+
40+
static const uint8_t T0 = 4;
41+
static const uint8_t T1 = 0;
42+
static const uint8_t T2 = 2;
43+
static const uint8_t T3 = 15;
44+
static const uint8_t T4 = 13;
45+
static const uint8_t T5 = 12;
46+
static const uint8_t T6 = 14;
47+
static const uint8_t T7 = 27;
48+
49+
50+
static const uint8_t DAC1 = 25;
51+
static const uint8_t DAC2 = 26;
52+
53+
#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.