5 Commits

Author SHA1 Message Date
Kuba Szczodrzyński
8f447a4a72 [release] v0.12.6
Some checks failed
Lint check / Lint with clang-format (push) Has been cancelled
Lint check / Lint with black (push) Has been cancelled
PlatformIO Publish / publish (push) Has been cancelled
2023-02-02 22:28:52 +01:00
Kuba Szczodrzyński
8ace11e462 [core] Fix Python lint 2023-02-02 22:28:10 +01:00
Kuba Szczodrzyński
949dfe7266 [core] Use PIO repackages of vendor frameworks 2023-02-02 22:21:12 +01:00
Kuba Szczodrzyński
f0d490aef9 [docs] Fix ESPHome sample config indent 2023-02-02 21:59:14 +01:00
Kuba Szczodrzyński
bdedae981a [beken-72xx] Fix UF2 RBL relative offset 2023-01-28 16:38:28 +01:00
4 changed files with 32 additions and 40 deletions

View File

@@ -562,8 +562,8 @@ env.Replace(
# Calculate RBL header offset
app_offs = int(env["FLASH_APP_OFFSET"], 16)
app_size = int(board.get("build.bkrbl_size_app"), 16)
rbl_offs = app_offs + to_offset(app_size) - 102
env.Replace(FLASH_RBL_OFFSET=f"0x{rbl_offs:06X}")
rbl_offs = to_offset(app_size) - 102
env.Replace(FLASH_RBL_OFFSET=f"0x{app_offs + rbl_offs:06X}")
# Build all libraries
env.BuildLibraries()

View File

@@ -74,25 +74,25 @@ If your board isn't listed, use one of the **Generic** boards, depending on the
- write a config file manually:
```yaml title="yourdevice.yml"
esphome:
name: yourdevice
name: yourdevice
libretuya:
board: wr3 # THIS IS YOUR BOARD CODE
framework:
version: latest
board: wr3 # THIS IS YOUR BOARD CODE
framework:
version: latest
logger:
api:
password: ""
password: ""
ota:
password: ""
password: ""
wifi:
ssid: "YourWiFiSSID"
password: "SecretPa$$w0rd"
ap:
ssid: "Yourdevice Fallback Hotspot"
password: "Dv2hZMGZRUvy"
ssid: "YourWiFiSSID"
password: "SecretPa$$w0rd"
ap:
ssid: "Yourdevice Fallback Hotspot"
password: "Dv2hZMGZRUvy"
```
=== "GUI"
@@ -141,8 +141,8 @@ libretuya:
version: latest
lt_config:
LT_LOG_HEAP: 1
LT_UART_DEFAULT_PORT: 2
LT_UART_SILENT_ALL: 0
LT_UART_DEFAULT_PORT: 2
LT_UART_SILENT_ALL: 0
```
(this is only an example)

View File

@@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/kuba2k2/platformio-libretuya"
},
"version": "0.12.5",
"version": "0.12.6",
"frameworks": {
"arduino": {
"title": "Generic Arduino framework",
@@ -42,15 +42,12 @@
"framework-realtek-amb1": {
"type": "framework",
"optional": true,
"version": "https://github.com/ambiot/amb1_sdk#750b0bc",
"manifest": {
"description": "SDK for Ameba1"
},
"version": "https://github.com/libretuya/framework-realtek-amb1#v2022.06.21",
"toolchains": {
"x86_64": "gccarmnoneeabi@~1.50201.0",
"arm": "gccarmnoneeabi@~1.50401.211104",
"arm64": "gccarmnoneeabi@~1.50401.210715"
},
"x86_64": "gccarmnoneeabi@~1.50201.0",
"arm": "gccarmnoneeabi@~1.50401.211104",
"arm64": "gccarmnoneeabi@~1.50401.210715"
},
"libraries": {
"lwip": [
"v2.1.3-amb1"
@@ -60,28 +57,22 @@
"framework-realtek-ambz2": {
"type": "framework",
"optional": true,
"version": "https://github.com/ambiot/ambz2_sdk#f009272",
"manifest": {
"description": "SDK for AmebaZ2"
},
"version": "https://github.com/libretuya/framework-realtek-ambz2#v2022.11.17",
"toolchains": {
"x86_64": "gccarmnoneeabi@~1.100301.0",
"arm": "gccarmnoneeabi@~1.100301.0",
"arm64": "gccarmnoneeabi@~1.100301.0"
}
"x86_64": "gccarmnoneeabi@~1.100301.0",
"arm": "gccarmnoneeabi@~1.100301.0",
"arm64": "gccarmnoneeabi@~1.100301.0"
}
},
"framework-beken-bdk": {
"type": "framework",
"optional": true,
"version": "https://github.com/bekencorp/bdk_freertos#c3533e8",
"manifest": {
"description": "Beken Development Kit for FreeRTOS"
"version": "https://github.com/libretuya/framework-beken-bdk#v2021.06.07",
"toolchains": {
"x86_64":"gccarmnoneeabi@~1.40804.0",
"arm": "gccarmnoneeabi@~1.40803.0",
"arm64": "gccarmnoneeabi@~1.40803.0"
},
"toolchains": {
"x86_64":"gccarmnoneeabi@~1.40804.0",
"arm": "gccarmnoneeabi@~1.40803.0",
"arm64": "gccarmnoneeabi@~1.40803.0"
},
"libraries": {
"lwip": [
"v2.1.3-bdk"

View File

@@ -19,6 +19,7 @@ from semantic_version import SimpleSpec, Version
LTCHIPTOOL_VERSION = "^3.0.0"
# Install & import tools
def check_ltchiptool(install: bool):
if install: