Skip to content

Commit fb595e5

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

File tree

2 files changed

+94
-0
lines changed

2 files changed

+94
-0
lines changed

‎boards.txt‎

Lines 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+
##############################################################
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#ifndefPins_Arduino_h
2+
#definePins_Arduino_h
3+
4+
#include<stdint.h>
5+
6+
#defineEXTERNAL_NUM_INTERRUPTS 16
7+
#defineNUM_DIGITAL_PINS 40
8+
#defineNUM_ANALOG_INPUTS 16
9+
10+
#defineanalogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
11+
#definedigitalPinToInterrupt(p) (((p)<40)?(p):-1)
12+
#definedigitalPinHasPWM(p) (p < 34)
13+
14+
staticconstuint8_tTX=1;
15+
staticconstuint8_tRX=3;
16+
17+
staticconstuint8_tSDA=21;
18+
staticconstuint8_tSCL=22;
19+
20+
staticconstuint8_tSS=5;
21+
staticconstuint8_tMOSI=23;
22+
staticconstuint8_tMISO=19;
23+
staticconstuint8_tSCK=18;
24+
25+
staticconstuint8_tA0=36;
26+
staticconstuint8_tA3=39;
27+
staticconstuint8_tA6=34;
28+
staticconstuint8_tA7=35;
29+
staticconstuint8_tA10=4;
30+
staticconstuint8_tA11=0;
31+
staticconstuint8_tA12=2;
32+
staticconstuint8_tA13=15;
33+
staticconstuint8_tA14=13;
34+
staticconstuint8_tA15=12;
35+
staticconstuint8_tA16=14;
36+
staticconstuint8_tA17=27;
37+
staticconstuint8_tA18=25;
38+
staticconstuint8_tA19=26;
39+
40+
staticconstuint8_tT0=4;
41+
staticconstuint8_tT1=0;
42+
staticconstuint8_tT2=2;
43+
staticconstuint8_tT3=15;
44+
staticconstuint8_tT4=13;
45+
staticconstuint8_tT5=12;
46+
staticconstuint8_tT6=14;
47+
staticconstuint8_tT7=27;
48+
49+
50+
staticconstuint8_tDAC1=25;
51+
staticconstuint8_tDAC2=26;
52+
53+
#endif/* Pins_Arduino_h */

0 commit comments

Comments
(0)