forked from espressif/esp-idf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/esp32p4_mcpwm_support' into 'master'
feat(MCPWM): Add support for ESP32P4 Closes IDF-7493 See merge request espressif/esp-idf!25029
- Loading branch information
Showing
12 changed files
with
2,112 additions
and
490 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
menu "MCPWM Configuration" | ||
depends on SOC_MCPWM_SUPPORTED | ||
config MCPWM_ISR_IRAM_SAFE | ||
bool "Place MCPWM ISR function into IRAM" | ||
default n | ||
help | ||
This will ensure the MCPWM interrupt handle is IRAM-Safe, allow to avoid flash | ||
cache misses, and also be able to run whilst the cache is disabled. | ||
(e.g. SPI Flash write) | ||
|
||
config MCPWM_CTRL_FUNC_IN_IRAM | ||
bool "Place MCPWM control functions into IRAM" | ||
default n | ||
help | ||
Place MCPWM control functions (like set_compare_value) into IRAM, | ||
so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context. | ||
Enabling this option can improve driver performance as well. | ||
|
||
config MCPWM_SUPPRESS_DEPRECATE_WARN | ||
bool "Suppress leagcy driver deprecated warning" | ||
default n | ||
help | ||
Wether to suppress the deprecation warnings when using legacy MCPWM driver (driver/mcpwm.h). | ||
If you want to continue using the legacy driver, and don't want to see related deprecation warnings, | ||
you can enable this option. | ||
|
||
config MCPWM_ENABLE_DEBUG_LOG | ||
bool "Enable debug log" | ||
default n | ||
help | ||
Wether to enable the debug log message for MCPWM driver. | ||
Note that, this option only controls the MCPWM driver log, won't affect other drivers. | ||
endmenu # MCPWM Configuration |
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.