1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-27 21:18:18 +00:00

17 Commits

Author SHA1 Message Date
Oxan van Leeuwen
14e38f0469
Upgrade clang-format to v13 ()
* Upgrade clang-format to v13

* Apply clang-format-13 formatting changes

* Format

* Format bme_680

---------

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-20 03:38:41 +00:00
J. Nick Koston
ed4a7210d3
Ensure we never write zero bytes () 2023-01-16 13:24:32 +13:00
André Klitzing
72cce391ab
Fix some typos found by codespell () 2022-06-27 18:02:46 -03:00
Otto Winter
62f9736b1d
API: Expect a name for connections () 2022-01-20 12:03:32 +01:00
Oxan van Leeuwen
737188ae50
Fail hard if no random bytes available for encryption () 2022-01-18 14:29:57 +13:00
Oxan van Leeuwen
6383eca54a
Clean-up random helper functions () 2022-01-10 13:50:26 +13:00
Oxan van Leeuwen
beeb0c7c5a
Introduce hex parsing & formatting helper functions () 2021-12-13 09:15:23 +13:00
Oxan van Leeuwen
607601b3a4
Enable a bunch of clang-tidy checks () 2021-12-02 09:03:51 +13:00
Otto Winter
9220d9fc52
Fix socket connection closed not detected () 2021-10-22 10:46:44 +02:00
Otto Winter
97e76d64d6
Re-enable TCP nodelay for ESP32 () 2021-09-27 11:40:28 +02:00
Otto Winter
ac0d921413
ESP-IDF support and generic target platforms ()
* Socket refactor and SSL

* esp-idf temp

* Fixes

* Echo component and noise

* Add noise API transport support

* Updates

* ESP-IDF

* Complete

* Fixes

* Fixes

* Versions update

* New i2c APIs

* Complete i2c refactor

* SPI migration

* Revert ESP Preferences migration, too complex for now

* OTA support

* Remove echo again

* Remove ssl again

* GPIOFlags updates

* Rename esphal and ICACHE_RAM_ATTR

* Make ESP32 arduino compilable again

* Fix GPIO flags

* Complete pin registry refactor and fixes

* Fixes to make test1 compile

* Remove sdkconfig file

* Ignore sdkconfig file

* Fixes in reviewing

* Make test2 compile

* Make test4 compile

* Make test5 compile

* Run clang-format

* Fix lint errors

* Use esp-idf APIs instead of btStart

* Another round of fixes

* Start implementing ESP8266

* Make test3 compile

* Guard esp8266 code

* Lint

* Reformat

* Fixes

* Fixes v2

* more fixes

* ESP-IDF tidy target

* Convert ARDUINO_ARCH_ESPxx

* Update WiFiSignalSensor

* Update time ifdefs

* OTA needs millis from hal

* RestartSwitch needs delay from hal

* ESP-IDF Uart

* Fix OTA blank password

* Allow setting sdkconfig

* Fix idf partitions and allow setting sdkconfig from yaml

* Re-add read/write compat APIs and fix esp8266 uart

* Fix esp8266 store log strings in flash

* Fix ESP32 arduino preferences not initialized

* Update ifdefs

* Change how sdkconfig change is detected

* Add checks to ci-custom and fix them

* Run clang-format

* Add esp-idf clang-tidy target and fix errors

* Fixes from clang-tidy idf round 2

* Fixes from compiling tests with esp-idf

* Run clang-format

* Switch test5.yaml to esp-idf

* Implement ESP8266 Preferences

* Lint

* Re-do PIO package version selection a bit

* Fix arduinoespressif32 package version

* Fix unit tests

* Lint

* Lint fixes

* Fix readv/writev not defined

* Fix graphing component

* Re-add all old options from core/config.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-20 11:47:51 +02:00
Otto Winter
a990898256
Add readv and writev for more efficient API packets () 2021-09-20 10:33:10 +12:00
Otto Winter
dd3f2f6c7e
Fix api noise explicit reject () 2021-09-14 11:53:49 +02:00
Otto Winter
ed7983af41
Fix API socket issues ()
* Fix API socket issues

* Fix compile error against beta

* Format
2021-09-13 18:52:53 +02:00
Jesse Hills
affaaf7d2c
Fix a few ESP32-C3 compiler issues ()
* Fix using Serial when using ESP32-C3 standard pins

* Force type for std::min in pn532

* Fix variable size where size_t is different on exp32-c3
2021-09-10 12:10:28 +12:00
Otto Winter
e5051eefbc
API encryption () 2021-09-09 09:22:47 +12:00
Otto Winter
2790d72bff
Convert API to use sockets ()
* Socket component

* Lint

* Lint

* Fix esp8266 missing INADDR_ANY

* API convert to sockets and frame helper

* Fix compile error

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-08 12:52:57 +02:00