mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add support for LN882X Family (with LibreTiny) (#8954)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
; It's *not* used during runtime.
|
||||
|
||||
[platformio]
|
||||
default_envs = esp8266-arduino, esp32-arduino, esp32-idf, bk72xx-arduino
|
||||
default_envs = esp8266-arduino, esp32-arduino, esp32-idf, bk72xx-arduino, ln882h-arduino
|
||||
; Ideally, we want src_dir to be the root directory of the repository, to mimic the runtime build
|
||||
; environment as best as possible. Unfortunately, the ESP-IDF toolchain really doesn't like this
|
||||
; being the root directory. Instead, set esphome/ as the source directory, all our sources are in
|
||||
@@ -530,6 +530,17 @@ build_flags =
|
||||
build_unflags =
|
||||
${common.build_unflags}
|
||||
|
||||
[env:ln882h-arduino]
|
||||
extends = common:libretiny-arduino
|
||||
board = generic-ln882hki
|
||||
build_flags =
|
||||
${common:libretiny-arduino.build_flags}
|
||||
${flags:runtime.build_flags}
|
||||
-DUSE_LN882X
|
||||
-DUSE_LIBRETINY_VARIANT_LN882H
|
||||
build_unflags =
|
||||
${common.build_unflags}
|
||||
|
||||
[env:rtl87xxb-arduino]
|
||||
extends = common:libretiny-arduino
|
||||
board = generic-rtl8710bn-2mb-788k
|
||||
|
Reference in New Issue
Block a user