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 3967beb

Browse filesBrowse files
korstiaanSme-no-dev
authored andcommitted
Added WiPy 3.0 board (#1572)
1 parent 6411ac4 commit 3967beb
Copy full SHA for 3967beb

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+118
-0
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+57Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,3 +1640,60 @@ CoreESP32.menu.UploadSpeed.460800.macosx=460800
16401640
CoreESP32.menu.UploadSpeed.460800.upload.speed=460800
16411641
CoreESP32.menu.UploadSpeed.512000.windows=512000
16421642
CoreESP32.menu.UploadSpeed.512000.upload.speed=512000
1643+
1644+
##############################################################
1645+
1646+
wipy3.name=WiPy 3.0
1647+
1648+
wipy3.upload.tool=esptool
1649+
wipy3.upload.maximum_size=1310720
1650+
wipy3.upload.maximum_data_size=294912
1651+
wipy3.upload.wait_for_upload_port=true
1652+
1653+
wipy3.serial.disableDTR=true
1654+
wipy3.serial.disableRTS=true
1655+
1656+
wipy3.build.mcu=esp32
1657+
wipy3.build.core=esp32
1658+
wipy3.build.variant=wipy3
1659+
wipy3.build.board=WIPY3
1660+
1661+
wipy3.build.f_cpu=240000000L
1662+
wipy3.build.flash_mode=dio
1663+
wipy3.build.flash_size=8MB
1664+
wipy3.build.boot=dio
1665+
wipy3.build.partitions=default
1666+
1667+
wipy3.menu.FlashFreq.80=80MHz
1668+
wipy3.menu.FlashFreq.80.build.flash_freq=80m
1669+
wipy3.menu.FlashFreq.40=40MHz
1670+
wipy3.menu.FlashFreq.40.build.flash_freq=40m
1671+
1672+
wipy3.menu.UploadSpeed.921600=921600
1673+
wipy3.menu.UploadSpeed.921600.upload.speed=921600
1674+
wipy3.menu.UploadSpeed.115200=115200
1675+
wipy3.menu.UploadSpeed.115200.upload.speed=115200
1676+
wipy3.menu.UploadSpeed.256000.windows=256000
1677+
wipy3.menu.UploadSpeed.256000.upload.speed=256000
1678+
wipy3.menu.UploadSpeed.230400.windows.upload.speed=256000
1679+
wipy3.menu.UploadSpeed.230400=230400
1680+
wipy3.menu.UploadSpeed.230400.upload.speed=230400
1681+
wipy3.menu.UploadSpeed.460800.linux=460800
1682+
wipy3.menu.UploadSpeed.460800.macosx=460800
1683+
wipy3.menu.UploadSpeed.460800.upload.speed=460800
1684+
wipy3.menu.UploadSpeed.512000.windows=512000
1685+
wipy3.menu.UploadSpeed.512000.upload.speed=512000
1686+
1687+
wipy3.menu.DebugLevel.none=None
1688+
wipy3.menu.DebugLevel.none.build.code_debug=0
1689+
wipy3.menu.DebugLevel.error=Error
1690+
wipy3.menu.DebugLevel.error.build.code_debug=1
1691+
wipy3.menu.DebugLevel.warn=Warn
1692+
wipy3.menu.DebugLevel.warn.build.code_debug=2
1693+
wipy3.menu.DebugLevel.info=Info
1694+
wipy3.menu.DebugLevel.info.build.code_debug=3
1695+
wipy3.menu.DebugLevel.debug=Debug
1696+
wipy3.menu.DebugLevel.debug.build.code_debug=4
1697+
wipy3.menu.DebugLevel.verbose=Verbose
1698+
wipy3.menu.DebugLevel.verbose.build.code_debug=5
1699+

‎variants/wipy3/pins_arduino.h

Copy file name to clipboard
+61Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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 18
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 LED_BUILTIN = 0; // ->2812 RGB !!!
15+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
17+
static const uint8_t TX = 1;
18+
static const uint8_t RX = 3;
19+
20+
static const uint8_t SDA = 12;
21+
static const uint8_t SCL = 13;
22+
23+
static const uint8_t SS = 2;
24+
static const uint8_t MOSI = 22;
25+
static const uint8_t MISO = 37;
26+
static const uint8_t SCK = 13;
27+
28+
static const uint8_t A0 = 36;
29+
static const uint8_t A1 = 37;
30+
static const uint8_t A2 = 38;
31+
static const uint8_t A3 = 39;
32+
static const uint8_t A4 = 32;
33+
static const uint8_t A5 = 33;
34+
static const uint8_t A6 = 34;
35+
static const uint8_t A7 = 35;
36+
static const uint8_t A10 = 4;
37+
static const uint8_t A11 = 0;
38+
static const uint8_t A12 = 2;
39+
static const uint8_t A13 = 15;
40+
static const uint8_t A14 = 13;
41+
static const uint8_t A15 = 12;
42+
static const uint8_t A16 = 14;
43+
static const uint8_t A17 = 27;
44+
static const uint8_t A18 = 25;
45+
static const uint8_t A19 = 26;
46+
47+
static const uint8_t T0 = 4;
48+
static const uint8_t T1 = 0;
49+
static const uint8_t T2 = 2;
50+
static const uint8_t T3 = 15;
51+
static const uint8_t T4 = 13;
52+
static const uint8_t T5 = 12;
53+
static const uint8_t T6 = 14;
54+
static const uint8_t T7 = 27;
55+
static const uint8_t T8 = 33;
56+
static const uint8_t T9 = 32;
57+
58+
static const uint8_t DAC1 = 25;
59+
static const uint8_t DAC2 = 26;
60+
61+
#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.