Skip to content

Commit 9484902

Browse files
authored
Merge branch 'espressif:master' into master
2 parents 409d3ce + 33011ed commit 9484902

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+574
-167
lines changed

boards.txt

Lines changed: 288 additions & 156 deletions
Large diffs are not rendered by default.
Lines changed: 188 additions & 0 deletions

tools/partitions/bare_minimum_2MB.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
nvs, data, nvs, 36K, 20K,
3+
factory, app, factory, 64K, 1900K,
64 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
22.2 KB
Binary file not shown.
Binary file not shown.
-21.9 KB
Binary file not shown.
18.9 KB
Binary file not shown.
Binary file not shown.
-21.9 KB
Binary file not shown.
17.1 KB
Binary file not shown.
Binary file not shown.
-21.9 KB
Binary file not shown.
17.1 KB
Binary file not shown.
416 Bytes
Binary file not shown.
Binary file not shown.
-21.9 KB
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ESP-IDF Partition Table
2+
# Name, Type, SubType, Offset, Size, Flags
3+
# bootloader.bin,, 0x1000, 32K
4+
# partition table,, 0x8000, 4K
5+
nvs, data, nvs, 0x9000, 20K,
6+
otadata, data, ota, 0xe000, 8K,
7+
ota_0, 0, ota_0, 0x10000, 2048K,
8+
ota_1, 0, ota_1, 0x210000, 2048K,
9+
uf2, app, factory,0x410000, 256K,
10+
ffat, data, fat, 0x450000, 11968K,

variants/atmegazero_esp32s2/partitions.csv

Lines changed: 0 additions & 11 deletions
This file was deleted.
10.3 KB
Binary file not shown.
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
/* variant: Espoir
5+
* vendor: Connaxio
6+
* url: https://www.connaxio.com/electronics/espoir/
7+
*/
8+
9+
#include <stdint.h>
10+
11+
#define EXTERNAL_NUM_INTERRUPTS 16
12+
#define NUM_DIGITAL_PINS 40
13+
#define NUM_ANALOG_INPUTS 16
14+
15+
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
16+
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
17+
#define digitalPinHasPWM(p) (p < 34)
18+
19+
/* USB UART */
20+
static const uint8_t TX = 1;
21+
static const uint8_t RX = 3;
22+
23+
/* mikroBUS UART */
24+
static const uint8_t TX1 = 10;
25+
static const uint8_t RX1 = 9;
26+
27+
/* mikroBUS I2C */
28+
static const uint8_t SDA = 23;
29+
static const uint8_t SCL = 18;
30+
31+
/* mikroBUS SPI */
32+
static const uint8_t SS = 15;
33+
static const uint8_t MOSI = 13;
34+
static const uint8_t MISO = 12;
35+
static const uint8_t SCK = 14;
36+
37+
/* Default analog pins */
38+
static const uint8_t A0 = 36;
39+
static const uint8_t A1 = 37;
40+
static const uint8_t A2 = 38;
41+
static const uint8_t A3 = 39;
42+
static const uint8_t A6 = 34;
43+
44+
/* Alternative analog pins */
45+
static const uint8_t A10 = 4;
46+
static const uint8_t A12 = 2;
47+
static const uint8_t A13 = 15;
48+
static const uint8_t A14 = 13;
49+
static const uint8_t A15 = 12;
50+
static const uint8_t A16 = 14;
51+
52+
/* Touch pins */
53+
static const uint8_t T0 = 4;
54+
static const uint8_t T2 = 2;
55+
static const uint8_t T3 = 15;
56+
static const uint8_t T4 = 13;
57+
static const uint8_t T5 = 12;
58+
static const uint8_t T6 = 14;
59+
60+
/* Other pin names */
61+
static const uint8_t AN = 36;
62+
static const uint8_t RST = 5;
63+
static const uint8_t PWM = 2;
64+
static const uint8_t INT = 4;
65+
static const uint8_t CS = 15;
66+
static const uint8_t SDO = 13;
67+
static const uint8_t SDI = 12;
68+
69+
/* Ethernet interface */
70+
static const uint8_t ETH_INT = 35;
71+
#define ETH_PHY_ADDR 0
72+
#define ETH_PHY_POWER -1
73+
#define ETH_PHY_MDC 32
74+
#define ETH_PHY_MDIO 33
75+
#define ETH_PHY_TYPE ETH_PHY_KSZ8081
76+
#define ETH_CLK_MODE ETH_CLOCK_GPIO0_IN
77+
78+
/* USB interface */
79+
#define USB_VID 0x10C4 // Silabs's VID
80+
#define USB_PID 0x8D9A // Espoir's PID, requires Silab USB PHY
81+
#define USB_MANUFACTURER "Connaxio"
82+
#define USB_PRODUCT "Espoir"
83+
#define USB_SERIAL ""
84+
85+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)