Commit 85d179c
Apply this change to 2.0.9 (espressif#8131)
* Fix the F_CPU frequency for the ESP32-S3
Hello, I was using the FastLED library and it was complaining about F_CPU not being defined. So, I just noticed that it is not defined for the ESP32-S3 module. So I made this change in the header file and it compiled. Therefore I wanted to propose this change to the HAL library to improve compatibility. Thank you for your time.
* Makes F_CPU generic based on the SoC frequency
Works for ESP32, ESP32C3, ESP32S2, ESP32S3
* Includes ESP32C3 in the F_CPU definition
Necessary for ESP32 Arduino Core 2.0.x based on IDF 4.4
---------
Co-authored-by: Ali Devrim OGUZ <11381547+devrim-oguz@users.noreply.github.com>1 parent 98f6d78 commit 85d179c
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
0 commit comments