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 'bugfix/gptimer_hal_placement_wrong_condition' into 'mas…
…ter' fix(gptimer): hal function placement under wrong condition Closes IDFGH-10809 See merge request espressif/esp-idf!25237
- Loading branch information
Showing
6 changed files
with
51 additions
and
37 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,39 @@ | ||
menu "GPTimer Configuration" | ||
config GPTIMER_ISR_HANDLER_IN_IRAM | ||
bool "Place GPTimer ISR handler into IRAM" | ||
default y | ||
help | ||
Place GPTimer ISR handler into IRAM for better performance and fewer cache misses. | ||
|
||
config GPTIMER_CTRL_FUNC_IN_IRAM | ||
bool "Place GPTimer control functions into IRAM" | ||
default n | ||
help | ||
Place GPTimer control functions (like start/stop) 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 GPTIMER_ISR_IRAM_SAFE | ||
bool "GPTimer ISR IRAM-Safe" | ||
select GPTIMER_ISR_HANDLER_IN_IRAM | ||
select GPTIMER_ISR_NON_MASKABLE | ||
default n | ||
help | ||
Ensure the GPTimer interrupt is IRAM-Safe by allowing the interrupt handler to be | ||
executable when the cache is disabled (e.g. SPI Flash write). | ||
|
||
config GPTIMER_SUPPRESS_DEPRECATE_WARN | ||
bool "Suppress legacy driver deprecated warning" | ||
default n | ||
help | ||
Wether to suppress the deprecation warnings when using legacy timer group driver (driver/timer.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 GPTIMER_ENABLE_DEBUG_LOG | ||
bool "Enable debug log" | ||
default n | ||
help | ||
Wether to enable the debug log message for GPTimer driver. | ||
Note that, this option only controls the GPTimer driver log, won't affect other drivers. | ||
endmenu # GPTimer 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