mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 17:48:40 +00:00
Revert "Merge branch 'libsodium-native-le' into integration"
This reverts commitc49957fe9a, reversing changes made to3cde02443d.
This commit is contained in:
@@ -456,10 +456,7 @@ async def to_code(config: ConfigType) -> None:
|
||||
# libsodium uses NATIVE_LITTLE_ENDIAN to enable optimized 32-bit
|
||||
# load/store via memcpy instead of byte-at-a-time operations in
|
||||
# poly1305 and chacha20. All ESPHome targets are little-endian.
|
||||
# ESP8266 excluded: its older GCC doesn't optimize memcpy into
|
||||
# a single load, making the memcpy path 16 bytes larger.
|
||||
if not CORE.is_esp8266:
|
||||
cg.add_build_flag("-DNATIVE_LITTLE_ENDIAN")
|
||||
cg.add_build_flag("-DNATIVE_LITTLE_ENDIAN")
|
||||
cg.add_library("esphome/noise-c", "0.1.10")
|
||||
else:
|
||||
cg.add_define("USE_API_PLAINTEXT")
|
||||
|
||||
Reference in New Issue
Block a user