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
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