esp-idf/components/esp_hw_support/include
Darian Leung 9b3796d2f1 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 13:28:39 +08:00
..
esp_private light sleep: separate sleep retention function 2021-08-24 11:54:47 +08:00
soc freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 13:28:39 +08:00
esp_async_memcpy.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_chip_info.h psram: add ESP32-D0WD-R2-V3 support 2021-11-12 13:52:24 +08:00
esp_clk.h esp32: move esp_clk functions 2021-03-31 19:17:33 +08:00
esp_cpu.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_crc.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_fault.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_interface.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_intr_alloc.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_intr.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_mac.h ESP8684: add spi_flash, efuse, hw_support support 2021-11-06 17:33:44 +08:00
esp_random.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_sleep.h docs: Update punctuation and syntax error for esp_err_tesp_sleep_enable_ext1_wakeup 2021-11-11 17:25:45 +08:00
soc_log.h ESP8684: add spi_flash, efuse, hw_support support 2021-11-06 17:33:44 +08:00