-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ESP32] Changes to support esp-idf v5.0 in lighting-app (#24589)
* [ESP32] Add spi_flash dependency and fixed a typo In idf v4.4.3 spi_flash is pulled in through nvs_flash but in v5.0 is is not, so need to add it explicitly. Also, v4.4.3 have mdns component present in repository but in v5.0 it is moved out to idf component registry and needs to be pulled in using idf component manager * [ESP32] Changes in lighting-app for esp-idf v5.0 support Using the older version of led_strip, v1.0.0-alpha, which is present in idf v4.4.3 to avoid putting in more ifdefs in the code. Fixed few format specifiers in the logs * Fixed format specifiers in logs in common code * [ESP32] esp-idf v5.0 support changes, fixed format specifiers and fixed the error codes where it would have been uninitialized * Fix linter errors * restyled
- Loading branch information
Showing
21 changed files
with
97 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## IDF Component Manager Manifest File | ||
dependencies: | ||
espressif/mdns: | ||
version: "^1.0.3" | ||
rules: | ||
- if: "idf_version >=5.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dependencies: | ||
espressif/led_strip: "^1.0.0-alpha" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Disable chip shell | ||
CONFIG_ENABLE_CHIP_SHELL=n | ||
|
||
# CONFIG_ESP32_WIFI_IRAM_OPT is not set | ||
# CONFIG_ESP32_WIFI_RX_IRAM_OPT is not set | ||
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y | ||
CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH=y | ||
|
||
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y | ||
|
||
CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=16 | ||
CONFIG_LWIP_TCP_RECVMBOX_SIZE=8 | ||
|
||
CONFIG_BT_NIMBLE_ROLE_CENTRAL=n | ||
CONFIG_BT_NIMBLE_ROLE_OBSERVER=n | ||
|
||
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=4 | ||
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=8 | ||
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.