mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 04:51:12 +02:00
esp32/boards/GARATRONIC_PYBSTICK26_ESP32C3: Add pybstick26-esp32c3 defn.
This commit is contained in:
committed by
Damien George
parent
6fee099cae
commit
b4b7c0a003
23
ports/esp32/boards/GARATRONIC_PYBSTICK26_ESP32C3/board.json
Normal file
23
ports/esp32/boards/GARATRONIC_PYBSTICK26_ESP32C3/board.json
Normal 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"
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
set(IDF_TARGET esp32c3)
|
||||
|
||||
set(SDKCONFIG_DEFAULTS
|
||||
boards/sdkconfig.base
|
||||
boards/sdkconfig.ble
|
||||
boards/GARATRONIC_PYBSTICK26_ESP32C3/sdkconfig.board
|
||||
)
|
@@ -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)
|
13
ports/esp32/boards/GARATRONIC_PYBSTICK26_ESP32C3/pins.csv
Normal file
13
ports/esp32/boards/GARATRONIC_PYBSTICK26_ESP32C3/pins.csv
Normal 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
|
|
@@ -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
|
Reference in New Issue
Block a user