mirror of https://github.com/arendst/Tasmota.git
Merge pull request #11750 from Jason2866/ESP32-C3
Add experimental support for ESP32-C3
This commit is contained in:
commit
7fe9b14713
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"build": {
|
||||
"arduino":{
|
||||
"ldscript": "esp32c3_out.ld"
|
||||
},
|
||||
"core": "esp32",
|
||||
"f_cpu": "160000000L",
|
||||
"f_flash": "80000000L",
|
||||
"flash_mode": "dio",
|
||||
"mcu": "esp32c3",
|
||||
"variant": "esp32c3"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi"
|
||||
],
|
||||
"frameworks": [
|
||||
"arduino"
|
||||
],
|
||||
"name": "Espressif ESP32-C3",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"require_upload_port": true,
|
||||
"speed": 460800
|
||||
},
|
||||
"url": "https://docs.espressif.com/projects/esp-idf/en/latest",
|
||||
"vendor": "Espressif"
|
||||
}
|
|
@ -35,6 +35,7 @@ default_envs =
|
|||
; tasmota32-ir
|
||||
; tasmota32-ircustom
|
||||
; tasmota32solo1
|
||||
; tasmota32c3
|
||||
; tasmota32s2
|
||||
; tasmota32-odroidgo
|
||||
; tasmota32-core2
|
||||
|
@ -185,6 +186,23 @@ lib_ignore =
|
|||
Micro-RTSP
|
||||
ESP32 Ethernet
|
||||
|
||||
; *** EXPERIMENTAL Tasmota version for ESP32-C3
|
||||
[env:tasmota32c3]
|
||||
extends = env:tasmota32_base
|
||||
board = esp32c3
|
||||
platform = https://github.com/Jason2866/platform-espressif32.git#feature/arduino-c3
|
||||
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/v.2.0.0.pre/framework-arduinoespressif32-master-a6f33a9d3.tar.gz
|
||||
; needed toolchain for Windows
|
||||
toolchain-riscv32 @ https://github.com/Jason2866/platform-espressif32/releases/download/8.4.0/riscv32-esp-elf-gcc8_4_0-crosstool-ng-1.24.0-123-g64eb9ff-win32.zip
|
||||
; needed toolchain for Linux
|
||||
;toolchain-riscv32 @ https://github.com/Jason2866/platform-espressif32/releases/download/8.4.0/riscv32-esp-elf-gcc8_4_0-crosstool-ng-1.24.0-123-g64eb9ff-linux-amd64.tar.gz
|
||||
; needed toolchain for MacOS
|
||||
;toolchain-riscv32 @ https://github.com/Jason2866/platform-espressif32/releases/download/8.4.0/riscv32-esp-elf-gcc8_4_0-crosstool-ng-1.24.0-123-g64eb9ff-macos.tar.gz
|
||||
platformio/tool-mklittlefs @ ~1.203.200522
|
||||
build_unflags = ${esp32_defaults.build_unflags} -mtarget-align
|
||||
build_flags = ${esp32_defaults.build_flags}
|
||||
;-DESP32_STAGE=true
|
||||
|
||||
; *** EXPERIMENTAL Tasmota version for Arduino ESP32 IDF4.4. Linking not working.
|
||||
[env:tasmota32idf4]
|
||||
extends = env:tasmota32_base
|
||||
|
|
Loading…
Reference in New Issue