esp32: Dis interrupts up to 5 lvl for DPORT

Disable interrupts for both DPORT workarounds up to 5 lvl.

Closes: https://esp32.com/viewtopic.php?f=2&t=10981&sid=d125cec233070ed4d2c5410bf5d3d74a
Closes: IDF-728
This commit is contained in:
Konstantin Kondrashov
2019-06-25 19:23:10 +08:00
committed by bot
parent a6b39f0c64
commit 632b016028
4 changed files with 16 additions and 4 deletions

View File

@@ -741,6 +741,13 @@ menu "ESP32-specific"
Please note that the actual length will be reduced by BT_RESERVE_DRAM if Bluetooth
controller is enabled.
config ESP32_DPORT_DIS_INTERRUPT_LVL
int "Disable the interrupt level for the DPORT workarounds"
default 5
help
To prevent interrupting DPORT workarounds,
need to disable interrupt with a maximum used level in the system.
endmenu # ESP32-Specific
menu "Power Management"