Skip to content

Commit d1ac440

Browse files
committed
Added support for Movuino ESP32 Board
1 parent e5ea089 commit d1ac440

File tree

2 files changed

+129
-0
lines changed

2 files changed

+129
-0
lines changed

boards.txt

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2438,4 +2438,59 @@ t-beam.menu.DebugLevel.debug=Debug
24382438
t-beam.menu.DebugLevel.debug.build.code_debug=4
24392439
t-beam.menu.DebugLevel.verbose=Verbose
24402440
t-beam.menu.DebugLevel.verbose.build.code_debug=5
2441+
##############################################################
24412442

2443+
movuino_esp32.name=Movuino ESP32
2444+
2445+
movuino_esp32.upload.tool=esptool
2446+
movuino_esp32.upload.maximum_size=1310720
2447+
movuino_esp32.upload.maximum_data_size=327680
2448+
movuino_esp32.upload.wait_for_upload_port=true
2449+
2450+
movuino_esp32.serial.disableDTR=true
2451+
movuino_esp32.serial.disableRTS=true
2452+
2453+
movuino_esp32.build.mcu=esp32
2454+
movuino_esp32.build.core=esp32
2455+
movuino_esp32.build.variant=movuino_esp32
2456+
movuino_esp32.build.board=MOVUINO_ESP32
2457+
2458+
movuino_esp32.build.f_cpu=240000000L
2459+
movuino_esp32.build.flash_size=4MB
2460+
movuino_esp32.build.flash_mode=dio
2461+
movuino_esp32.build.boot=dio
2462+
movuino_esp32.build.partitions=default
2463+
movuino_esp32.build.defines=
2464+
2465+
movuino_esp32.menu.FlashFreq.80=80MHz
2466+
movuino_esp32.menu.FlashFreq.80.build.flash_freq=80m
2467+
movuino_esp32.menu.FlashFreq.40=40MHz
2468+
movuino_esp32.menu.FlashFreq.40.build.flash_freq=40m
2469+
2470+
movuino_esp32.menu.UploadSpeed.921600=921600
2471+
movuino_esp32.menu.UploadSpeed.921600.upload.speed=921600
2472+
movuino_esp32.menu.UploadSpeed.115200=115200
2473+
movuino_esp32.menu.UploadSpeed.115200.upload.speed=115200
2474+
movuino_esp32.menu.UploadSpeed.256000.windows=256000
2475+
movuino_esp32.menu.UploadSpeed.256000.upload.speed=256000
2476+
movuino_esp32.menu.UploadSpeed.230400.windows.upload.speed=256000
2477+
movuino_esp32.menu.UploadSpeed.230400=230400
2478+
movuino_esp32.menu.UploadSpeed.230400.upload.speed=230400
2479+
movuino_esp32.menu.UploadSpeed.460800.linux=460800
2480+
movuino_esp32.menu.UploadSpeed.460800.macosx=460800
2481+
movuino_esp32.menu.UploadSpeed.460800.upload.speed=460800
2482+
movuino_esp32.menu.UploadSpeed.512000.windows=512000
2483+
movuino_esp32.menu.UploadSpeed.512000.upload.speed=512000
2484+
2485+
movuino_esp32.menu.DebugLevel.none=None
2486+
movuino_esp32.menu.DebugLevel.none.build.code_debug=0
2487+
movuino_esp32.menu.DebugLevel.error=Error
2488+
movuino_esp32.menu.DebugLevel.error.build.code_debug=1
2489+
movuino_esp32.menu.DebugLevel.warn=Warn
2490+
movuino_esp32.menu.DebugLevel.warn.build.code_debug=2
2491+
movuino_esp32.menu.DebugLevel.info=Info
2492+
movuino_esp32.menu.DebugLevel.info.build.code_debug=3
2493+
movuino_esp32.menu.DebugLevel.debug=Debug
2494+
movuino_esp32.menu.DebugLevel.debug.build.code_debug=4
2495+
movuino_esp32.menu.DebugLevel.verbose=Verbose
2496+
movuino_esp32.menu.DebugLevel.verbose.build.code_debug=5

variants/movuino_esp32/pins_arduino.h

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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 A1 = 38;
27+
static const uint8_t A2 = 39;
28+
static const uint8_t A3 = 34;
29+
static const uint8_t A4 = 37;
30+
static const uint8_t A5 = 35;
31+
static const uint8_t A6 = 32;
32+
static const uint8_t A7 = 33;
33+
static const uint8_t A8= 25;
34+
static const uint8_t A9 = 26;
35+
static const uint8_t A10 = 27;
36+
static const uint8_t A11 = 14;
37+
static const uint8_t A12 = 15;
38+
static const uint8_t A13 = 12;
39+
static const uint8_t A14 = 13;
40+
static const uint8_t A15 = 4;
41+
static const uint8_t A16 = 2;
42+
43+
static const uint8_t D1 = 32;
44+
static const uint8_t D2 = 33;
45+
static const uint8_t D3= 25;
46+
static const uint8_t D4 = 26;
47+
static const uint8_t D5 = 27;
48+
static const uint8_t D6 = 14;
49+
static const uint8_t D7 = 15;
50+
static const uint8_t D8 = 12;
51+
static const uint8_t D9 = 13;
52+
static const uint8_t D10 = 4;
53+
54+
static const uint8_t X1 = 5;
55+
static const uint8_t X2 = 2;
56+
57+
58+
static const uint8_t T0 = 4;
59+
static const uint8_t T1 = 0;
60+
static const uint8_t T2 = 2;
61+
static const uint8_t T3 = 15;
62+
static const uint8_t T4 = 13;
63+
static const uint8_t T5 = 12;
64+
static const uint8_t T6 = 14;
65+
static const uint8_t T7 = 27;
66+
static const uint8_t T8 = 33;
67+
static const uint8_t T9 = 32;
68+
69+
70+
71+
static const uint8_t DAC1 = 25; //
72+
static const uint8_t DAC2 = 26; //
73+
74+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)