wuzhenghui
43bf9fd3ab
bugfix: fix wrong lock in sleep retention entry destroy
2023-03-07 20:56:13 +08:00
Darian Leung
353b25410a
freertos: Refactor configASSERTs for scheduler suspension
...
This commit adds a common macro for the differing configASSERT() calls that
check if the scheduler is suspended outside a critical section. This macro
allows vanilla behavior to be restored for single core builds. Also added
comments explaining why xTaskGetSchedulerState() is called instead when
building for SMP.
2023-03-07 18:12:15 +08:00
Darian
daf4150846
Merge branch 'refactor/freertos_port_malloc_macros' into 'master'
...
FreeRTOS(IDF): Refactor pvPortMalloc()/vPortFree(), Implement IDF heap wrapper for FreeRTOS.
Closes IDF-3997
See merge request espressif/esp-idf!22565
2023-03-07 17:30:10 +08:00
Li Shuai
ffcec33057
modem clock: enable all clock enable of wifi module when PMU switch to ACTIVE from sleep state
2023-03-07 16:19:39 +08:00
Mahavir Jain
56dc272514
Merge branch 'feature/esp32h2_secure_boot' into 'master'
...
esp32h2: add secure boot feature support
Closes IDF-6281 and IDF-6681
See merge request espressif/esp-idf!22625
2023-03-07 15:27:04 +08:00
jiangguangming
87f2eb9e2a
esp_rom: put rom cache related functions to cache.h
2023-03-07 14:51:24 +08:00
Zim Kalinowski
afbdb0f3ef
Merge branch 'bugfix/console-fix-ignored-warnings' into 'master'
...
console: fix and re-enable no-format warnings
Closes IDF-6791
See merge request espressif/esp-idf!22534
2023-03-07 14:23:05 +08:00
Zim Kalinowski
9c75cbfecd
Merge branch 'bugfix/efuse-fix-ignored-warnings' into 'master'
...
efuse: reenable and fix no-format warnings
Closes IDF-6794
See merge request espressif/esp-idf!22629
2023-03-07 14:18:05 +08:00
Jiang Jiang Jian
58b3692540
Merge branch 'bugfix/add_unregister_wpa3_cb' into 'master'
...
wpa_supplicant : Fix issues encountered in WFA testing
Closes WIFI-5386
See merge request espressif/esp-idf!22396
2023-03-07 14:15:20 +08:00
zhangwenxu
566ea41de9
esp_phy: update esp32h2 libphy
...
* phy_version: 101,0, 90773fa-dirty, Feb 27 2023, 16:19:13
2023-03-07 14:07:45 +08:00
Omar Chebib
9852cb49f7
psram: removed deprecated statement about coredump and external BSS
2023-03-07 05:59:08 +00:00
Konstantin Kondrashov
cf68a4c136
Merge branch 'feature/esp_timer_uses_shared_isr' into 'master'
...
esp_timer: Adds TASK and ISR AFFINITY to core options
Closes IDFGH-9053
See merge request espressif/esp-idf!21923
2023-03-07 13:38:23 +08:00
Jiang Jiang Jian
d1adc453b0
Merge branch 'bugfix/some_small_fix_for_sleep_examples' into 'master'
...
examples: some small fix for sleep examples
See merge request espressif/esp-idf!19052
2023-03-07 13:07:10 +08:00
Island
3ab20c1d26
Merge branch 'feature/support_ble_on_esp32h2' into 'master'
...
Feature/support ble on esp32h2
Closes IDF-6416 and IDF-6337
See merge request espressif/esp-idf!22221
2023-03-07 11:43:57 +08:00
Jiang Jiang Jian
a3b5472d99
Merge branch 'feature/password_identifier_sae' into 'master'
...
identifier support for SAE
See merge request espressif/esp-idf!19248
2023-03-07 11:19:19 +08:00
Zim Kalinowski
0c090b7308
efuse: reenable and fix no-format warnings
2023-03-06 19:08:00 +01:00
Darian Leung
4069a62629
freertos(IDF): Remove usage of xPortGetFreeHeapSize() outside FreeRTOS
...
After heap_idf.c has been added (where the FreeRTOS heap is a subset of the
ESP-IDF heap), xPortGetFreeHeapSize() was updated to only returns the free
size of the FreeRTOS heap and not the entire ESP-IDF heap.
This commit replaces calls of xPortGetFreeHeapSize() with
esp_get_free_heap_size() in places outside of FreeRTOS.
2023-03-07 02:02:28 +08:00
Adam Múdry
415e785135
sdmmc: read/write/erase return early on sector count == 0
...
Closes https://github.com/espressif/esp-idf/issues/10593
2023-03-06 15:45:04 +01:00
wuzhenghui
e213a7ffdd
bugfix: fix esp_mac_bb_power_up
2023-03-06 21:38:48 +08:00
Zim Kalinowski
2a8bbda6e4
console: Fix and re-enable no-format warnings
2023-03-06 14:12:31 +01:00
morris
66ab7c9f6a
Merge branch 'bugfix/timg0_disable' into 'master'
...
esp_system: Fix TIMG0 still enabled after Timer is freed
See merge request espressif/esp-idf!22503
2023-03-06 20:50:12 +08:00
jiangguangming
91b86f55d5
esp_system: use ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE instead of IDF_TARGET_XXX
2023-03-06 20:32:04 +08:00
jiangguangming
344d30c18e
esp_rom: add macro ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE for S3/C3/C2/C6/H2/H4
2023-03-06 19:47:18 +08:00
Jiang Guang Ming
5414eda027
flash mmap: disable mmap into instruction address
when SPI_FLASH_ROM_IMPL enabled
2023-03-06 19:47:18 +08:00
jiangguangming
232da4ca72
flash mmap: more config option for flash mmap test app
2023-03-06 19:47:15 +08:00
Mahavir Jain
d4ccdd48f6
esp32h2: add secure boot feature support
...
Closes IDF-6281
2023-03-06 16:57:45 +05:30
Mahavir Jain
d61f974a3d
esp32h2: enable secure boot feature related capabilities
2023-03-06 16:36:17 +05:30
isha.pardikar@espressif.com
e72d223737
wifi_prov_mgr : Fixed return value of characteristic read operation
2023-03-06 15:23:26 +05:30
Marius Vikhammer
24e0d91cd0
docs: fix broken links
2023-03-06 17:29:10 +08:00
Darian Leung
e21ab0332b
freertos(IDF): Refactor port heap functions
...
Vanilla FreeRTOS expects applications to use one of the heap implementations
provided by FreeRTOS (i.e., heap_x.c), where functions such as pvPortMalloc()
and vPortFree() are defined in the heap implementation.
However, ESP-IDF already provides its own heap implementation
(i.e., esp_heap_caps.h). Thus, the pvPortMallc()/vPortFree() functions were
previously overriden by macro to call esp_heap functions directly.
This commit refactors the FreeRTOS port's heap as such:
- Added a heap_idf.c that implements all of the heap related functions required
by FreeRTOS source
- All dynamic memory allocated by FreeRTOS is from internal memory. Thus, the
FreeRTOS heap is the internal memory subset of the ESP-IDF heap.
- Removed some old macros to reduce diff from upstream source code.
2023-03-06 16:00:29 +08:00
morris
1b8a2c264d
Merge branch 'feature/support_spi_flash_cache_test_on_c6_h2' into 'master'
...
spi_flash: enable spi flash cache test on c6 h2
Closes IDF-6931
See merge request espressif/esp-idf!22580
2023-03-06 15:39:09 +08:00
morris
cc2068684f
Merge branch 'feature/support_efuse_for_esp32c6' into 'master'
...
efuse: Updates efuse table for esp32c6
See merge request espressif/esp-idf!22400
2023-03-06 15:33:11 +08:00
zwj
a5e43a7d43
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-03-06 14:53:03 +08:00
wuzhenghui
f44e0cdb80
bugfix: add SPI_MEM_MMU_POWER_CTRL_REG to REGDMA_SPIMEM_LINK
2023-03-06 13:41:36 +08:00
gauri patankar
6f7cf98ffe
esp_wifi: SAE Password Identifier support
2023-03-06 11:04:20 +05:30
Gustavo Henrique Nihei
2a2bd0f8ff
esp_system: Fix TIMG0 still enabled after Timer is freed
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 04:58:11 +00:00
Gustavo Henrique Nihei
3cbac3dd1d
esp_system: Ensure TIMG0 clock is always enabled during normal operation
...
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 04:58:11 +00:00
morris
117279ebe1
Merge branch 'test/gptimer_late_alarm' into 'master'
...
gptimer: test late alarm
Closes IDFGH-9522
See merge request espressif/esp-idf!22572
2023-03-06 12:22:22 +08:00
jingli
e38e5be9ac
system/test: use TEST_ESP_OK instead of ESP_ERROR_CHECK
2023-03-06 10:58:18 +08:00
jingli
955f2838fc
konfig: make rtc fast mem related kconfig depend on SOC_RTC_FAST_MEM_SUPPORTED
2023-03-06 10:58:18 +08:00
Shen Weilong
e77a07e5d0
esp_phy: Add libphy for esp32h2
2023-03-06 10:43:17 +08:00
Shen Weilong
f39648040e
BLE: Add ble support for esp32h2
2023-03-06 10:43:17 +08:00
laokaiyao
40f1709a1f
Revert "i2s: guarantee safety of memcpy from being interrupted by uart logging"
...
This reverts commit 646fd5e15abd23d5237e7aac237eb43be149b0b4.
2023-03-05 14:10:12 +00:00
laokaiyao
754aa7d128
sdm: adopt clock tree
2023-03-05 14:10:12 +00:00
laokaiyao
fd5bfb2cd4
sdm: fixed wrong sdm struct sequence on esp32h2
2023-03-05 14:10:12 +00:00
morris
004c1713b6
gptimer: test late alarm
...
Closes https://github.com/espressif/esp-idf/issues/10877
2023-03-05 13:59:23 +00:00
Wu Zheng Hui
af805df3cb
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_modem' into 'master'
...
esp32c6: support light_sleep (Stage 3: support Modem power down)
Closes WIFI-5150, WIFI-5151, and IDF-5679
See merge request espressif/esp-idf!22236
2023-03-05 09:23:59 +08:00
Jiang Guang Ming
3556fe9326
spi_flash: enable spi flash cache test on c6 h2
2023-03-04 07:23:59 -08:00
Martin Vychodil
698752684e
Merge branch 'feature/storage_esp_partition_linux_file' into 'master'
...
ESP Partition/Linux: Extended control of file emulating flash memory
Closes IDF-4701
See merge request espressif/esp-idf!22110
2023-03-04 20:01:51 +08:00
Armando
89fa53f1c0
mmu: support configurable mmu page size
2023-03-04 02:48:40 +00:00