esp-idf/components/esp_hw_support/include/soc
Darian Leung c5efb55d43 freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()

Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()

Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
  thus the spinlock test pass threshold had to be increased to account for the extra runtime.

Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 18:42:10 +08:00
..
esp32 add flash and PSRAM CS IO acquire function 2021-09-15 20:34:17 +08:00
esp32c3 hmac: Added Downstream JTAG enable mode for esp32c3 and esp32s3 2021-09-06 11:06:50 +05:30
esp32h2 esp32h2: Replicated HMAC JTAG downstream enable mode implementation 2021-09-06 11:06:50 +05:30
esp32s2 add flash and PSRAM CS IO acquire function 2021-09-15 20:34:17 +08:00
esp32s3 add flash and PSRAM CS IO acquire function 2021-09-15 20:34:17 +08:00
clk_ctrl_os.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
compare_set.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
cpu.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_himem.h esp32: move spiram, himem 2021-07-16 20:14:26 +08:00
esp_spiram.h esp32: move spiram, himem 2021-07-16 20:14:26 +08:00
rtc_wdt.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
spinlock.h freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 18:42:10 +08:00