wanlei
20924e3a72
mspi: turn down freq to fix crash when sleep
2023-03-20 19:46:25 +08:00
Jiang Jiang Jian
dc172b63d3
Merge branch 'bugfix/close_rf_in_deep_sleep_backport_v5.0' into 'release/v5.0'
...
deep sleep: further optimize sleep current if RF is enabled (backport v5.0)
See merge request espressif/esp-idf!22738
2023-03-20 15:48:29 +08:00
Jiang Jiang Jian
763e369858
Merge branch 'feature/support_7.2.8_soc/pvt_dig_v5.0' into 'release/v5.0'
...
ESP32S3:support auto adjust LDO voltage based on pvt-dig(backport 5.0)
See merge request espressif/esp-idf!19774
2023-03-20 14:06:48 +08:00
zlq
135381943a
1.add ldo parameters in efuse table; 2.set ldo based on pvt-efuse; 3.ldo voltage is changed based on cpu freq
2023-03-17 11:14:01 +00:00
Song Ruo Jing
27f9ee66d5
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2023-03-17 14:44:29 +08:00
wuzhenghui
64d5421d8b
deep sleep: close rf to optimize sleep current
2023-03-14 13:57:42 +08:00
wuzhenghui
568dd3d823
Revert "optimize deep sleep current in wifi softap mode"
...
This reverts commit 344ec80fad
.
2023-03-13 20:49:36 +08:00
jingli
833f201610
soc/soc_caps: update soc caps for chips that support power-down of modem hardware
2023-03-13 13:33:18 +08:00
Jiang Jiang Jian
4abb6efb36
Merge branch 'bugfix/fix_gpio_wakeup_related_issues_in_ssc_sleep_test_backport_v5.0' into 'release/v5.0'
...
sleep: fix gpio wakeup related issues(backport v5.0)
See merge request espressif/esp-idf!22332
2023-02-27 15:12:13 +08:00
Jiang Jiang Jian
809aeb77b7
Merge branch 'bugfix/update_esp_rom_rtc_header_v5.0' into 'release/v5.0'
...
update esp rom rtc header (backport to v5.0)
See merge request espressif/esp-idf!21915
2023-02-27 15:09:19 +08:00
Jiang Jiang Jian
335ad04cba
Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2_backport_v5.0' into 'release/v5.0'
...
esp32c2: support feature(rtc time) depend on rtc fast mem(backport v5.0)
See merge request espressif/esp-idf!22224
2023-02-27 15:06:31 +08:00
Armando
ac86ef31c1
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-23 12:35:52 +08:00
Marius Vikhammer
18bda1be31
Merge branch 'feature/re-enable-heap-test-c2_v5.0' into 'release/v5.0'
...
heap: re-enable temporarily disabled test on esp32c2 (backport v5.0)
See merge request espressif/esp-idf!21873
2023-02-20 15:34:16 +08:00
Marius Vikhammer
47bc882caa
Merge branch 'feature/re-enable-intr-alloc-test-c2_v5.0' into 'release/v5.0'
...
esp-hw-support: Re-enable intr_alloc tests on esp32c2 target (backport v5.0)
See merge request espressif/esp-idf!21874
2023-02-20 15:16:36 +08:00
zlq
bd7bcbb03b
1.add ldo parameters in efuse table; 2.set ldo dbias based on pvt-efuse; 3.add pll cali stop function; 4. add efuse_ocode
2023-02-20 10:33:25 +08:00
morris
27ca6549d5
Merge branch 'bugfix/gdma_uhci_id_5.0' into 'release/v5.0'
...
gdma: correct the dma trigger of UHCI && fix async memcpy conflict with peripheral DMA (v5.0)
See merge request espressif/esp-idf!22006
2023-02-18 15:02:32 +08:00
Konstantin Kondrashov
08283c213b
Merge branch 'feature/mac_crc_v5.0' into 'release/v5.0'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort (v5.0)
See merge request espressif/esp-idf!22114
2023-02-17 21:36:59 +08:00
Ivan Grokhotkov
69dd34dfb6
Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32_v5.0' into 'release/v5.0'
...
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32 (v5.0)
See merge request espressif/esp-idf!21821
2023-02-17 19:47:58 +08:00
Aditya Patwardhan
3e5ea5a941
Merge branch 'contrib/github_pr_10391_v5.0' into 'release/v5.0'
...
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21767
2023-02-17 19:30:58 +08:00
jingli
ac47b093f6
esp32c2/rtc: fix 8md256 as rtc slow clk not work properly during deep sleep
2023-02-16 10:55:50 +08:00
jingli
2da8497358
UT/esp32c2: reenable rtc clk calibration compensation UT
2023-02-16 10:52:59 +08:00
jingli
e109c5f998
esp32c2: support rtc time feature depend on rtc memory, since c2 does not have rtc memory
2023-02-16 10:52:59 +08:00
jingli
7f15980de9
sleep: fix gpio wakeup not working properly in some cases
...
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-09 17:32:13 +08:00
jingli
50feb8f75b
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-09 17:29:40 +08:00
morris
6b8d4dfe14
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:06:48 +08:00
morris
ac05d033b9
gdma: correct the dma trigger of uart
...
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-02-01 11:02:24 +08:00
KonstantinKondrashov
7a23bf19be
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
...
Closes https://github.com/espressif/esp-idf/issues/10401
2023-01-23 20:02:16 +08:00
Michael (XIAO Xufeng)
ac068eed34
esp32c2: fixed chip revision of ECO2
2023-01-06 02:00:52 +08:00
KonstantinKondrashov
9538f9c5ff
ci: Fix environment variable IDF_CI_BUILD is not set
2023-01-06 02:00:52 +08:00
KonstantinKondrashov
d130b5b6ba
esp_hw_support: Removes esp32c2 eco2 support
2023-01-06 02:00:52 +08:00
Michael (XIAO Xufeng)
bb0c26c233
esp32c2: put v2.0 back to development stage
2023-01-06 02:00:52 +08:00
KonstantinKondrashov
823024c10c
all: Apply new version logic (major * 100 + minor)
2023-01-06 02:00:52 +08:00
jiangguangming
d9efa662c8
esp_hw_support: support riscv call
2023-01-05 15:58:37 +08:00
Guillaume Souchere
249fde21e5
esp_hw_support: allow writing in IRAM when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set for esp32C2
...
when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set, the PMP rule for esp32c2 shoud allow write access.
Fix esp_cpu_configure_region_protection() in cpu.c accordingly.
2023-01-04 07:51:46 +01:00
Guillaume Souchere
3711a032ff
esp-hw-support: fix interrupt allocation tests on esp32c2
...
A part of the test 'Can allocate IRAM int only with an IRAM handler' was to
allocate an intr with the handler in RTC memory which is not supported by esp32c2.
A condition was added to prevent this part of the test to execute on esp32c2 targets.
2023-01-03 07:52:07 +01:00
cje
524f1195bf
sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
...
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-28 15:33:20 +08:00
Chip Weinberger
caf794ad26
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification
2022-12-22 15:41:30 +05:30
Zim Kalinowski
759f7ec13d
Merge branch 'feature/add_int_task_wdt_esp32c2_v5.0' into 'release/v5.0'
...
WDT: implement interrupt wdt and task wdt for ESP32-C2 (backport v5.0)
See merge request espressif/esp-idf!20980
2022-12-05 16:38:35 +08:00
Jiang Jiang Jian
77333d2d64
Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep_backport_v5.0' into 'release/v5.0'
...
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep(backport v5.0)
See merge request espressif/esp-idf!20806
2022-12-05 14:00:59 +08:00
Marius Vikhammer
c60ccebb77
Merge branch 'bugfix/share_intr_v5.0' into 'release/v5.0'
...
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags (v5.0)
See merge request espressif/esp-idf!21285
2022-12-05 12:09:52 +08:00
Marius Vikhammer
7cd7056341
hw-support: update C2 chip info to reflect that esp8684 has embedded flash
...
Closes https://github.com/espressif/esp-idf/issues/10175
2022-12-05 02:29:46 +00:00
jingli
c581b4340a
esp_hw_support/sleep: remove redundant spinlock protection for deep sleep
2022-12-02 12:24:52 +00:00
jingli
21c9ec5eee
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-12-02 12:24:52 +00:00
Jiang Jiang Jian
df80bc864d
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32_backport_v5.0' into 'release/v5.0'
...
esp32/rtc: fix xtal unstable in some cases when sleep(backport v5.0)
See merge request espressif/esp-idf!20799
2022-12-02 20:24:25 +08:00
Jiang Jiang Jian
fb519f3bb5
Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter_backport_v5.0' into 'release/v5.0'
...
bugfix: esprv_intc_int_set_type should not use bitmap parameter(backportv5.0)
See merge request espressif/esp-idf!20610
2022-12-02 19:51:34 +08:00
Ivan Grokhotkov
85eff825a9
Merge branch 'bugfix/do_not_mix_esp_partition_and_spi_flash_apis_v5.0' into 'release/v5.0'
...
partition: use esp_partition_munmap instead of spi_flash_munmap (v5.0)
See merge request espressif/esp-idf!21024
2022-12-02 19:29:49 +08:00
Ivan Grokhotkov
7a5643342a
Merge branch 'bugfix/time_jump_after_reboot_v5.0' into 'release/v5.0'
...
esp_hw_support: Fix time jump after reboot (v5.0)
See merge request espressif/esp-idf!20906
2022-12-02 19:21:08 +08:00
Omar Chebib
b675bb2a4d
WDT: implement interrupt wdt and task wdt for ESP32-C2
...
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-12-01 10:45:35 +00:00
Sachin Parekh
634c2c8bf1
esp32s3/memprot: Set permission for Icache region
2022-12-01 09:19:07 +05:30
Marius Vikhammer
521a726316
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
...
Mark the vector descriptor source as freed.
2022-11-28 10:43:01 +08:00
Armando
d4725fb34d
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-10 11:26:51 +08:00
Martin Vychodil
af81bd1b0a
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
KonstantinKondrashov
61d05c0325
esp_hw_support: Fix time jump after reboot
...
Closes https://github.com/espressif/esp-idf/issues/9448
2022-11-02 18:18:38 +08:00
jingli
f91cb280eb
esp_hw_support/sleep: fix light sleep wakeup flag
...
light sleep wakeup flag is true to indicate the most recent successful wakeup from light sleep,
which means the most recent light sleep occurred successfully and then wakes up by wakeup source
2022-10-26 16:11:41 +08:00
jingli
e04c8505e1
esp32/rtc: fix xtal unstable in some cases when sleep
...
1. add xtal buf wait to fix high temperature restart issue
2. add min sleep value to fix xtal stop due to too short sleep time issue
2022-10-26 16:11:27 +08:00
Michael (XIAO Xufeng)
28f9ddee74
Merge branch 'doc/usj_sw_reset_alive_bbpll_doc_v5.0' into 'release/v5.0'
...
usb_serial_jtag: fixed the docs that we can use usj in sleep modes (v5.0)
See merge request espressif/esp-idf!20287
2022-10-20 01:34:54 +08:00
wuzhenghui
0af1ed8813
bugfix: esprv_intc_int_set_type should not use bitmap parameter
2022-10-14 15:39:24 +08:00
Jiang Jiang Jian
59f0d31dd2
Merge branch 'bugfix/intr_alloc_missing_critical_section_exit_v5.0' into 'release/v5.0'
...
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE (GitHub PR) (v5.0)
See merge request espressif/esp-idf!20399
2022-10-14 11:15:21 +08:00
cje
d7dcb88fdc
C3: Fix system not stable bug when dbias storing in efuse is bigger than 27
2022-10-08 11:59:32 +08:00
tgotic
2ac7008a16
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE
...
Closes https://github.com/espressif/esp-idf/pull/9867
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-09-29 20:36:27 +08:00
Michael (XIAO Xufeng)
0f59ffb94f
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
...
Related to: https://github.com/espressif/esp-idf/issues/8507 , https://github.com/espressif/esp-idf/issues/8884
2022-09-22 15:33:21 +08:00
jingli
9fa4bb272e
esp_hw_support/clk_cali: fix xtal32k error detect
2022-09-21 16:21:11 +08:00
Pavlo Hamov
643bea7aed
adc: esp32s2: fix unit to offset calculation
...
adc2 eFuse offset is wrong on 4.4 to 5.0 transition
Closes https://github.com/espressif/esp-idf/issues/9705
Closes https://github.com/espressif/esp-idf/pull/9715
2022-09-14 12:03:45 +08:00
Armando
29ae238845
mmu: driver framework, for vaddr maintenance
...
This commit gives basic mmu driver framework. Now it is able to maintain
mmu virtual address usage on esp32, esp32s2 and esp32s3. Usage to
external virtual address should rely on mmu functions to know which
address range is available, instead of hardcoded.
This commit also improves psram memory that is added to the heap
allocator. Now it's added to the heap, according to the memory
alignment.
Closes https://github.com/espressif/esp-idf/issues/8295
Closes https://github.com/espressif/esp-idf/issues/9193
2022-08-27 16:05:51 +08:00
morris
d7580183a6
Merge branch 'bugfix/rtc_periph_ulp_touch_v5.0' into 'release/v5.0'
...
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source) (v5.0)
See merge request espressif/esp-idf!19767
2022-08-26 18:46:25 +08:00
Marius Vikhammer
c011cdce1c
Merge branch 'bugfix/gpio_wakeup_docs_v5.0' into 'release/v5.0'
...
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only (v5.0)
See merge request espressif/esp-idf!19739
2022-08-26 10:31:21 +08:00
Michael (XIAO Xufeng)
2ab4ce4bb1
Update components/esp_hw_support/include/esp_sleep.h
2022-08-25 12:28:00 +08:00
Michael (XIAO Xufeng)
209545db6a
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)
2022-08-25 12:27:59 +08:00
Michael (XIAO Xufeng)
69be7c4cc2
Merge branch 'feat/support_esp32c2_uart_v5.0' into 'release/v5.0'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL (v5.0)
See merge request espressif/esp-idf!19690
2022-08-25 02:03:26 +08:00
Marius Vikhammer
76207273fd
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
...
ESP_SLEEP_WAKEUP_GPIO is also a valid deep sleep wakeup cause on targets
with SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP
Closes https://github.com/espressif/esp-idf/issues/9567
2022-08-24 10:50:49 +08:00
Michael (XIAO Xufeng)
4a68f9e064
Merge branch 'feature/support_7.2.9_soc/pvt_dig_v5.0' into 'release/v5.0'
...
ESP32C2:support auto adjust LDO voltage based on pvt-dig(backport 5.0)
See merge request espressif/esp-idf!19628
2022-08-23 09:30:06 +08:00
Michael (XIAO Xufeng)
6ed15178b6
uart: move frequency of clock sources out of HAL
2022-08-22 14:28:12 +08:00
morris
4701d95052
driver: specify the interrupt priority
...
Closes https://github.com/espressif/esp-idf/issues/9520
2022-08-18 10:57:13 +08:00
zlq
3dc89437cc
support auto adjust LDO voltage based on pvt-dig
2022-08-17 17:25:59 +08:00
jingli
d3d1d4e1df
esp32c2/clk_cali: fix rtc slow clk cali logic
2022-08-17 11:17:36 +08:00
Jiang Jiang Jian
4ba5515dc0
Merge branch 'backport/backport_master_to_release_v5.0' into 'release/v5.0'
...
backport master to release v5.0(Backport v5.0)
See merge request espressif/esp-idf!19560
2022-08-16 16:37:54 +08:00
Li Shuai
b2a6403b40
Power Management: fix the issue of sleeping time error beacause external 32kHz xtal does not exist
2022-08-15 21:16:02 +08:00
Darian Leung
aa25d83787
esp_hw_support: Fix esp_light_sleep_start() deadlock
...
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU,
will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will
result in a deadlock.
This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU.
2022-08-11 18:38:51 +08:00
Darian Leung
1fded0234c
esp_hw_support: esp_clk should use spinlock instead of mutex
...
esp_clk used to be protected using _lock_t (i.e., a FreeRTOS Mutex). However, esp_clk API is current called from
from critical sections, thus mutex should not be used (as they can be blocking).
This commit updates esp_clk to use spinlocks for critical sections instead.
2022-08-11 18:38:45 +08:00
morris
5090955250
Merge branch 'bugfix/fix_esp32s3_cache_data_memory_wrong_attr_backport_v5.0' into 'release/v5.0'
...
bugfix: esp32s3 DCache data memory is retention dma inaccessible (backport v5.0)
See merge request espressif/esp-idf!19473
2022-08-10 17:56:10 +08:00
wuzhenghui
edb78e8196
bugfix: malloc retention buffer with MALLOC_CAP_RETENTION caps
2022-08-09 21:10:59 +08:00
jingli
8cd7c30bc7
kconfig: refactor xtal freq kconfig to common configuration item
2022-08-08 13:53:02 +08:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Song Ruo Jing
842efaf753
Merge branch 'bugfix/rtc_fastmem_lpu_c3_h2' into 'master'
...
sleep: fix wrong register access to set/clear rtc fast mem low power mode on c3 and h2
Closes IDF-5746
See merge request espressif/esp-idf!19361
2022-08-03 19:52:24 +08:00
morris
307d26659e
Merge branch 'bugfix/rmt_hw_issue' into 'master'
...
rmt: only use register to control the IDLE state (hardware issue workaround)
See merge request espressif/esp-idf!19344
2022-08-03 17:01:44 +08:00
songruojing
e8915e14e7
esp_hw_support: fix wrong register access to set/clear rtc fast mem low power mode on c3 and h2
2022-08-03 14:33:13 +08:00
morris
45524408df
coverity: fix uninit variable issue in driver
...
Related CID:
389832, 389838, 389880, 286743, 286752, 395156, 291011, 396001, 396002
2022-08-03 10:46:50 +08:00
morris
031adc01c4
gpio: add test with -O0
2022-08-02 23:07:06 +08:00
Jiang Jiang Jian
b885499c74
Merge branch 'refactor/move_common_adc_part_to_hw_support' into 'master'
...
esp_adc: move esp_adc out of g1 dependency list
Closes IDF-5637
See merge request espressif/esp-idf!19159
2022-08-01 15:39:45 +08:00
wuzhenghui
7cb9304b65
Clean IRAM and DRAM address space conversion macros
2022-07-29 17:07:39 +08:00
Armando
5e6a16380a
esp_adc: move adc common hw related code into esp_hw_support
2022-07-28 03:49:48 +00:00
jingli
7211b0a89a
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
...
Since cpu retention dma use rc fast as clk source, so rc_fast_digi
will be enabled when we config to pd cpu. And cpu retention does not
need rc fast keep on during light sleep. So, if we use rc_fast_digi
to determine whether rc fast can be powered down, then cpu and and
rc fast cannot pd at the same time.
2022-07-28 11:10:58 +08:00
morris
5e50ec1d66
systimer: add helper functions to convert between tick and us
2022-07-25 16:08:52 +08:00
Darian
c8ee369a7c
Merge branch 'feature/deprecate-old-cpu-api' into 'master'
...
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API
Closes IDF-4919 and IDF-5032
See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
morris
741b031e83
soc: added SOC_TOUCH_SENSE_SUPPORTED macro
2022-07-22 00:12:36 +00:00
Guillaume Souchere
50a58b4a83
esp_hw_support: Fix formatting of intr_alloc.h and test_panic.c
2022-07-22 00:06:06 +08:00
Guillaume Souchere
0bac33ed41
esp_system: Remove deprecate section from esp_cpu.h
...
- Remove esp_cpu_in_ocd_mode() from esp_cpu.h. Users should call esp_cpu_dbgr_is_attached() instead.
- Remove esp_cpu_get_ccount() from esp_cpu.h. Users should call esp_cpu_get_cycle_count() instead.
- Remove esp_cpu_set_ccount() from esp_cpu.h. Users should call esp_cpu_set_cycle_count() instead.
- Other IDF components updated to call esp_cpu_dbgr_is_attached(), esp_cpu_get_cycle_count() and esp_cpu_set_cycle_count() as well.
2022-07-22 00:06:06 +08:00
Guillaume Souchere
dcae121d80
hal: Deprecate soc_hal.h and soc_ll.h interface
...
This commit marks all functions in soc_hal.h and soc_ll.h as deprecated.
Users should use functions from esp_cpu.h instead.
Also added missing wrap funcions for esp_cpu_stall() in test_panic.c files.
2022-07-22 00:06:06 +08:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
Darian Leung
781d06af73
esp_hw_support: Remove compare_set.h API
...
This function removes the following legacy atomic CAS functions:
From compare_set.h (file removed):
- compare_and_set_native()
- compare_and_set_extram()
From portmacro.h
- uxPortCompareSet()
- uxPortCompareSetExtram()
Users should call esp_cpu_compare_and_set() instead as this function hides the details
of atomic CAS on internal and external RAM addresses.
Due to the removal of compare_set.h, some missing header includes are also fixed in this commit.
2022-07-22 00:06:06 +08:00