Jonathan Swoboda
dd961156d0
[ledc] Adapt to LEDC LL API changes in ESP-IDF 6.1 ( #16697 )
2026-05-29 00:54:14 -04:00
J. Nick Koston
51335e8830
[ledc] Fix deprecated intr_type warning on ESP-IDF 6.0+ ( #15009 )
2026-03-20 15:01:30 -10:00
Jonathan Swoboda
7f418d969e
[multiple] Fix implicit int-to-gpio_num_t conversions for GCC 15 ( #14830 )
2026-03-15 14:57:52 -04:00
Jonathan Swoboda and Claude Opus 4.6
b126f3af3b
[ledc] Fix ESP-IDF 6.0 compatibility for peripheral reset ( #14790 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-14 15:02:13 -04:00
Keith Burzinski
657890695f
[ledc] Fix high-pressure crash & recovery ( #14720 )
2026-03-12 03:16:02 -05:00
Jonathan Swoboda and Claude Opus 4.6
7c1b9f0cb4
[multiple] Fix wrong behavior in 5 components ( #14647 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 17:22:06 -04:00
J. Nick Koston and Claude Opus 4.6
9371159a7e
[core] Replace custom esphome::optional with std::optional ( #14368 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-04 01:14:05 +00:00
Jonathan Swoboda and Claude Opus 4.6
fb6c7d81d5
[core] Fix multiline log continuations without leading whitespace ( #14217 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 05:08:40 +00:00
J. Nick Koston
ca574a1550
[ledc] Combine log statements to reduce loop blocking ( #12906 )
2026-01-04 11:54:14 -10:00
J. Nick Koston
b7ce8c116b
[core] Centralize component setup logging to reduce flash usage ( #9885 )
2025-07-25 19:27:03 +00:00
Jonathan Swoboda and Kuba Szczodrzyński
aa180b9581
Bump ESP32 Arduino version to 3.1.3 ( #8604 )
...
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
2025-06-19 08:16:25 +12:00
J. Nick Koston
c0b05ada1a
Reduce ESP_LOGCONFIG calls ( #9026 )
2025-06-09 00:02:30 +00:00
Keith Burzinski
6675e99862
Remove unnecessary ellipsis ( #8964 )
2025-06-03 21:46:10 +01:00
Keith Burzinski
ca6295d1bd
[ledc] Various optimizations/clean-up ( #8922 )
2025-05-28 22:50:48 +12:00
Clyde Stubbs and Keith Burzinski
caaae59ea9
[ledc] Fix maximum brightness on ESP-IDF 5.1 ( #7342 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2024-08-24 09:56:13 +00:00
Keith Burzinski
a01fea54a0
[ledc] Tweak fix in #6997 ( #7336 )
2024-08-24 02:32:08 -05:00
Markus
decf50ed49
Fix LEDC 100% is not 100% duty with ESP32 IDF ( #6997 )
2024-06-27 13:48:01 +12:00
Jesse Hills
4ab7a5d964
[ledc] Change some logging lines from debug to verbose ( #6796 )
2024-05-23 00:04:33 -05:00
Gagootron
b0db7319f9
Allow setting htop for ledc ( #6340 )
2024-03-20 21:17:32 +13:00
Stijn Tintel
ffd2cb9814
ledc: check SOC_LEDC_SUPPORT_APB_CLOCK ( #5212 )
2023-08-07 23:47:57 +00:00
WitchKing
3a101e8ec5
Ledc fix ( #4338 )
2023-02-13 15:53:40 +13:00
Martin Flasskamp
33b1a853b9
calc LEDC PWM Resolution with LEDC_TIMER_BIT_MAX ( #3820 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
fixes https://github.com/esphome/issues/issues/3128
2022-12-22 20:21:44 +13:00
290da8df2d
Fix LEDC resolution calculation on ESP32-C3/S2/S3 ( #2794 )
...
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-11-25 11:22:51 +13:00
Martin
4b1d73791d
remove LEDC_HIGH_SPEED_MODE for C3, S2, S3 ( #2791 )
2021-11-25 08:06:08 +13:00
edb557f79e
ledc: do not try to write_state to an uninitialized output ( #1732 )
...
Co-authored-by: Philipp Tölke <ptoelke@tecracer.de >
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-22 19:50:19 +02:00
Otto Winter and Jesse Hills
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* 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
40c474cd83
Run clang-tidy against ESP32 ( #2147 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-13 18:11:27 +02:00
Stefan Agner
501f88ca86
Avoid non-const globals and enable clang-tidy check ( #1892 )
2021-06-11 08:19:44 +12:00
Guillermo Ruffino
f6e3070dd8
rtttl player ( #1171 )
...
* rtttl player
* fixes
* Cleanup, add action, condition, etc.
* add test
* updates
* fixes
* Add better error messages
* lint
2020-07-25 12:57:11 -03:00
Otto Winter
1177b856a0
Fix ledc can't find bit_depth ( #786 )
...
Fixes https://github.com/esphome/issues/issues/759
2019-10-21 22:55:27 +02:00
Otto Winter
68d0d045c0
Add LEDC set_frequency action ( #754 )
...
* Add LEDC set_frequency
Fixes https://github.com/esphome/feature-requests/issues/380
* Fix log
* Fixes
* Format
* Update test1.yaml
* Update test1.yaml
* Fix
2019-10-18 11:22:08 +02:00
Otto Winter
6682c43dfa
🏗 Merge C++ into python codebase ( #504 )
...
## Description:
Move esphome-core codebase into esphome (and a bunch of other refactors). See https://github.com/esphome/feature-requests/issues/97
Yes this is a shit ton of work and no there's no way to automate it :( But it will be worth it 👍
Progress:
- Core support (file copy etc): 80%
- Base Abstractions (light, switch): ~50%
- Integrations: ~10%
- Working? Yes, (but only with ported components).
Other refactors:
- Moves all codegen related stuff into a single class: `esphome.codegen` (imported as `cg`)
- Rework coroutine syntax
- Move from `component/platform.py` to `domain/component.py` structure as with HA
- Move all defaults out of C++ and into config validation.
- Remove `make_...` helpers from Application class. Reason: Merge conflicts with every single new integration.
- Pointer Variables are stored globally instead of locally in setup(). Reason: stack size limit.
Future work:
- Rework const.py - Move all `CONF_...` into a conf class (usage `conf.UPDATE_INTERVAL` vs `CONF_UPDATE_INTERVAL`). Reason: Less convoluted import block
- Enable loading from `custom_components` folder.
**Related issue (if applicable):** https://github.com/esphome/feature-requests/issues/97
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs ) with documentation (if applicable):** esphome/esphome-docs#<esphome-docs PR number goes here>
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphomedocs](https://github.com/OttoWinter/esphomedocs ).
2019-04-17 12:06:00 +02:00