Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
- "examples/arduino-ble5-advertising"
- "examples/arduino-blink"
- "examples/arduino-rmt-blink"
- "examples/arduino-briki-internal-libs"
- "examples/arduino-usb-keyboard"
- "examples/arduino-wifiscan"
- "examples/espidf-arduino-blink"
Expand All @@ -27,9 +26,8 @@ jobs:
- "examples/espidf-peripherals-uart"
- "examples/espidf-peripherals-usb"
- "examples/espidf-storage-sdcard"
- "examples/espidf-storage-spiffs"
- "examples/espidf-ulp-adc"
- "examples/espidf-ulp-pulse"
- "examples/espidf-ulp"
- "examples/espidf-ulp-riscv"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@ Espressif Systems is a privately held fabless semiconductor company. They provid
1. [Install PlatformIO](http://platformio.org)
2. Create PlatformIO project and configure a platform option in [platformio.ini](http://docs.platformio.org/page/projectconf.html) file:

## Stable version

```ini
[env:stable]
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5/platform-espressif32-2.0.5.zip
board = ...
...
### Stable Release (including ESP32-solo1)
based on Arduino Core 2.0.5 and can be used with Platformio for the ESP32/ESP32solo1, ESP32C3, ESP32S2 and ESP32S3
```
[platformio]
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5.1/platform-espressif32-2.0.5.1.zip
framework = arduino, espidf
```
to use the ESP32 Solo1 Arduino framework add in your env
```
[env:esp32solo1]
board = esp32-solo1
build_flags = -DFRAMEWORK_ARDUINO_SOLO1
```
The frameworks are here [https://github.com/tasmota/arduino-esp32/releases](https://github.com/tasmota/arduino-esp32/releases)

# Configuration

Expand Down
4 changes: 2 additions & 2 deletions boards/adafruit_feather_esp32_v2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"build": {
"arduino":{
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
Expand All @@ -11,7 +11,7 @@
"-mfix-esp32-psram-cache-strategy=memw"
],
"f_cpu": "240000000L",
"f_flash": "40000000L",
"f_flash": "80000000L",
"flash_mode": "dio",
"mcu": "esp32",
"variant": "adafruit_feather_esp32_v2"
Expand Down
3 changes: 2 additions & 1 deletion boards/adafruit_feather_esp32s3.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"core": "esp32",
"extra_flags": [
"-DARDUINO_ADAFRUIT_FEATHER_ESP32S3",
"-DARDUINO_USB_CDC_ON_BOOT=1"
"-DARDUINO_USB_CDC_ON_BOOT=1",
"-DBOARD_HAS_PSRAM"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
Expand Down
3 changes: 2 additions & 1 deletion boards/adafruit_feather_esp32s3_nopsram.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"build": {
"arduino":{
"ldscript": "esp32s3_out.ld"
"ldscript": "esp32s3_out.ld",
"memory_type": "qio_qspi"
},
"core": "esp32",
"extra_flags": [
Expand Down
43 changes: 43 additions & 0 deletions boards/adafruit_itsybitsy_esp32.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"build": {
"arduino": {
"ldscript": "esp32_out.ld",
"partitions": "default_8MB.csv"
},
"core": "esp32",
"extra_flags": [
"-DARDUINO_ADAFRUIT_ITSYBITSY_ESP32",
"-DBOARD_HAS_PSRAM",
"-mfix-esp32-psram-cache-issue",
"-mfix-esp32-psram-cache-strategy=memw"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "dio",
"mcu": "esp32",
"variant": "adafruit_itsybitsy_esp32"
},
"connectivity": [
"wifi",
"bluetooth",
"ethernet",
"can"
],
"debug": {
"openocd_board": "esp-wroom-32.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "Adafruit ItsyBitsy ESP32",
"upload": {
"flash_size": "8MB",
"maximum_ram_size": 327680,
"maximum_size": 8388608,
"require_upload_port": true,
"speed": 460800
},
"url": "https://www.adafruit.com/product/4363",
"vendor": "Adafruit"
}
4 changes: 2 additions & 2 deletions boards/adafruit_qtpy_esp32.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"build": {
"arduino":{
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
Expand All @@ -11,7 +11,7 @@
"-mfix-esp32-psram-cache-strategy=memw"
],
"f_cpu": "240000000L",
"f_flash": "40000000L",
"f_flash": "80000000L",
"flash_mode": "dio",
"mcu": "esp32",
"variant": "adafruit_qtpy_esp32"
Expand Down
2 changes: 1 addition & 1 deletion boards/adafruit_qtpy_esp32c3.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"f_cpu": "160000000L",
"f_flash": "80000000L",
"flash_mode": "dio",
"flash_mode": "qio",
"hwids": [
[
"0X303A",
Expand Down
61 changes: 0 additions & 61 deletions boards/adafruit_qtpy_esp32s3.json

This file was deleted.

6 changes: 3 additions & 3 deletions boards/alksesp32.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"build": {
"arduino":{
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_ALKS",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"f_flash": "80000000L",
"flash_mode": "qio",
"mcu": "esp32",
"variant": "alksesp32"
},
Expand Down
25 changes: 18 additions & 7 deletions boards/adafruit_qtpy_esp32-s2.json → boards/bee_motion.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
{
"build": {
"arduino":{
"arduino": {
"ldscript": "esp32s2_out.ld"
},
"core": "esp32",
"extra_flags": "-DBOARD_HAS_PSRAM -DARDUINO_USB_MODE=0 -DARDUINO_USB_CDC_ON_BOOT=1",
"extra_flags": [
"-DARDUINO_Bee_Motion",
"-DARDUINO_USB_CDC_ON_BOOT=1"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"hwids": [
[
"0x303A",
"0x810D"
]
],
"mcu": "esp32s2",
"variant": "adafruit_qtpy_esp32s2"
"variant": "Bee_Motion"
},
"connectivity": [
"wifi"
Expand All @@ -21,14 +30,16 @@
"arduino",
"espidf"
],
"name": "Adafruit QT Py ESP32-S2",
"name": "Smart Bee Motion",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"use_1200bps_touch": true,
"wait_for_upload_port": true,
"require_upload_port": true,
"speed": 921600
"speed": 460800
},
"url": "https://www.adafruit.com/product/5325",
"vendor": "Adafruit"
"url": "https://github.com/strid3r21/Bee-Motion",
"vendor": "Smart Bee"
}
38 changes: 38 additions & 0 deletions boards/bee_motion_mini.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"build": {
"arduino": {
"ldscript": "esp32c3_out.ld"
},
"core": "esp32",
"f_cpu": "160000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"extra_flags": [
"-DARDUINO_Bee_Motion_Mini",
"-DARDUINO_USB_MODE=1",
"-DARDUINO_USB_CDC_ON_BOOT=1"
],
"mcu": "esp32c3",
"variant": "Bee_Motion_Mini"
},
"connectivity": [
"wifi"
],
"debug": {
"openocd_target": "esp32c3.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "Smart Bee Motion Mini",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"require_upload_port": true,
"speed": 460800
},
"url": "https://github.com/strid3r21/BeeMotionMini",
"vendor": "Smart Bee"
}
45 changes: 45 additions & 0 deletions boards/bee_motion_s3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"build": {
"arduino": {
"ldscript": "esp32s2_out.ld"
},
"core": "esp32",
"extra_flags": [
"-DARDUINO_BeeMotionS3",
"-DARDUINO_USB_CDC_ON_BOOT=1"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"hwids": [
[
"0x303A",
"0x8113"
]
],
"mcu": "esp32s3",
"variant": "Bee_Motion_S3"
},
"connectivity": [
"wifi"
],
"debug": {
"openocd_target": "esp32s3.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "Smart Bee Motion S3",
"upload": {
"flash_size": "8MB",
"maximum_ram_size": 327680,
"maximum_size": 8388608,
"use_1200bps_touch": true,
"wait_for_upload_port": true,
"require_upload_port": true,
"speed": 460800
},
"url": "https://github.com/strid3r21/BeeMotionS3/",
"vendor": "Smart Bee"
}
Loading