Skip to content

Commit b4b7c0a

Browse files
garatronicdpgeorge
authored andcommitted
esp32/boards/GARATRONIC_PYBSTICK26_ESP32C3: Add pybstick26-esp32c3 defn.
1 parent 6fee099 commit b4b7c0a

File tree

5 files changed

+57
-0
lines changed

5 files changed

+57
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"deploy": [
3+
"../deploy_nativeusb.md"
4+
],
5+
"deploy_options": {
6+
"flash_offset": "0"
7+
},
8+
"docs": "",
9+
"features": [
10+
"BLE",
11+
"External Flash",
12+
"RGB LED",
13+
"WiFi"
14+
],
15+
"images": [
16+
"GAR-PYBSTICK26-C3-mUSB-00.JPG"
17+
],
18+
"mcu": "esp32c3",
19+
"product": "PYBSTICK26_ESP32C3",
20+
"thumbnail": "",
21+
"url": "https://shop.mchobby.be/fr/pybstick/2505-pybstick26-esp32-c3-micropython-et-arduino-3232100025059.html",
22+
"vendor": "McHobby"
23+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
set(IDF_TARGET esp32c3)
2+
3+
set(SDKCONFIG_DEFAULTS
4+
boards/sdkconfig.base
5+
boards/sdkconfig.ble
6+
boards/GARATRONIC_PYBSTICK26_ESP32C3/sdkconfig.board
7+
)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#define MICROPY_HW_BOARD_NAME "PYBSTICK26_ESP32C3"
2+
#define MICROPY_HW_MCU_NAME "ESP32C3"
3+
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "pybstick26_esp32c3"
4+
5+
#define MICROPY_HW_I2C0_SCL (1)
6+
#define MICROPY_HW_I2C0_SDA (0)
7+
8+
#define MICROPY_HW_SPI1_MOSI (7)
9+
#define MICROPY_HW_SPI1_MISO (2)
10+
#define MICROPY_HW_SPI1_SCK (6)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
GP0,GPIO0
2+
GP1,GPIO1
3+
GP2,GPIO2
4+
GP3,GPIO3
5+
GP4,GPIO4
6+
GP5,GPIO5
7+
GP6,GPIO6
8+
GP7,GPIO7
9+
GP8,GPIO8
10+
GP9,GPIO9
11+
GP10,GPIO10
12+
GP20,GPIO20
13+
GP21,GPIO21
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_ESP32C3_REV_MIN_3=y
2+
3+
# Workaround for https://github.com/espressif/esp-idf/issues/14456
4+
CONFIG_ESP_SYSTEM_HW_STACK_GUARD=n

0 commit comments

Comments
 (0)