esp32/boards/GARATRONIC_PYBSTICK26_ESP32C3: Add pybstick26-esp32c3 defn.

This commit is contained in:
Garatronic
2025-05-29 09:51:51 +02:00
committed by Damien George
parent 6fee099cae
commit b4b7c0a003
5 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
"deploy": [
"../deploy_nativeusb.md"
],
"deploy_options": {
"flash_offset": "0"
},
"docs": "",
"features": [
"BLE",
"External Flash",
"RGB LED",
"WiFi"
],
"images": [
"GAR-PYBSTICK26-C3-mUSB-00.JPG"
],
"mcu": "esp32c3",
"product": "PYBSTICK26_ESP32C3",
"thumbnail": "",
"url": "https://shop.mchobby.be/fr/pybstick/2505-pybstick26-esp32-c3-micropython-et-arduino-3232100025059.html",
"vendor": "McHobby"
}

View File

@@ -0,0 +1,7 @@
set(IDF_TARGET esp32c3)
set(SDKCONFIG_DEFAULTS
boards/sdkconfig.base
boards/sdkconfig.ble
boards/GARATRONIC_PYBSTICK26_ESP32C3/sdkconfig.board
)

View File

@@ -0,0 +1,10 @@
#define MICROPY_HW_BOARD_NAME "PYBSTICK26_ESP32C3"
#define MICROPY_HW_MCU_NAME "ESP32C3"
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "pybstick26_esp32c3"
#define MICROPY_HW_I2C0_SCL (1)
#define MICROPY_HW_I2C0_SDA (0)
#define MICROPY_HW_SPI1_MOSI (7)
#define MICROPY_HW_SPI1_MISO (2)
#define MICROPY_HW_SPI1_SCK (6)

View File

@@ -0,0 +1,13 @@
GP0,GPIO0
GP1,GPIO1
GP2,GPIO2
GP3,GPIO3
GP4,GPIO4
GP5,GPIO5
GP6,GPIO6
GP7,GPIO7
GP8,GPIO8
GP9,GPIO9
GP10,GPIO10
GP20,GPIO20
GP21,GPIO21
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

View File

@@ -0,0 +1,4 @@
CONFIG_ESP32C3_REV_MIN_3=y
# Workaround for https://github.com/espressif/esp-idf/issues/14456
CONFIG_ESP_SYSTEM_HW_STACK_GUARD=n