Browse Source

Fix compilation for recent ESPHome

Compile issues with recent ESPHome versions fixed:

  - An error about toolchain-riscv32-esp not being found (the PlatformIO tool manager
    tries to install this one, even though the lamp is an ESP32 device and not riscv).
  - On systems for which the above toolchain could be found, compilation would fail
    with an error about `esp_mac.h` not being found.
release/2023.4.0
Maurice Makaay 1 year ago
parent
commit
6c704ce565
2 changed files with 6 additions and 7 deletions
  1. +6
    -0
      CHANGELOG.md
  2. +0
    -7
      packages/core.yaml

+ 6
- 0
CHANGELOG.md View File

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [next release] ## [next release]
### Fixed ### Fixed
- Compile issues with recent ESPHome versions fixed:
- An error about toolchain-riscv32-esp not being found (the PlatformIO tool manager
tries to install this one, even though the lamp is an ESP32 device and not riscv).
- On systems for which the above toolchain could be found, compilation would fail
with an error about `esp_mac.h` not being found.
- ESPHome's compile-time warnings about "GPIO<x> is a Strapping PIN and should - ESPHome's compile-time warnings about "GPIO<x> is a Strapping PIN and should
be avoided" are now being suppressed. These warning are often interpreted be avoided" are now being suppressed. These warning are often interpreted
by users of this firmware as problems. However, the pinouts are dictated by by users of this firmware as problems. However, the pinouts are dictated by


+ 0
- 7
packages/core.yaml View File

@ -25,13 +25,6 @@ esp32:
CONFIG_FREERTOS_UNICORE: y CONFIG_FREERTOS_UNICORE: y
advanced: advanced:
ignore_efuse_mac_crc: true ignore_efuse_mac_crc: true
# Bugfix for ESPHome 2022.12.0 and up: fallback to older platform
# version, to prevent bricked devices. ESPHome uses newer versions
# by default.
# See also: https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/104
version: 4.3.2
source: ~3.40302.0
platform_version: platformio/espressif32 @ 3.5.0
# Retrieve the code for the xiaomi_bslamp2 platform from GitHub. # Retrieve the code for the xiaomi_bslamp2 platform from GitHub.
external_components: external_components:


Loading…
Cancel
Save