Commit Graph

28822 Commits

Author SHA1 Message Date
Zim Kalinowski
8607d12661 Merge branch 'ci/check_doc_links' into 'master'
ci: only run check_doc_links job if we actually deployed docs

See merge request espressif/esp-idf!22617
2023-03-07 01:21:11 +08:00
Noah Pendleton
e7747bdee6 doc: fix a small typo for check_kconfigs.py
The script was moved in bcc8f2628c ,
update the doc reference to match.
2023-03-06 09:58:15 -05: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
Tomas Sebestik
7c58a38e88 Add improved check for Jira links
Break DangerJS checks to modules
Improove "Release notes" section detection
Change check for size MR to async/await syntax
Update check for MR title - exact match WIP and DRAFT
Add check for incorrect format closing Jira link
Update check WIP in MR title
2023-03-06 13:43:25 +01: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
11e034b387
docs: add ESP32-H2 secure boot guide
Close IDF-6681
2023-03-06 16:58:08 +05:30
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
morris
d7a390049d Merge branch 'docs/update_tsens_c6_h2' into 'master'
Docs: Remove not-updated warning for I2C Flash and temperature sensor

Closes IDF-5915 and IDF-6697

See merge request espressif/esp-idf!22615
2023-03-06 14:28:23 +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
Marius Vikhammer
8df8723e76 ci: only run check_doc_links job if we actually deployed docs 2023-03-06 13:02:39 +08:00
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
morris
ee280865b9 Merge branch 'bugfix/fixed_wrong_sdm_struct_sequence' into 'master'
sdm: fixed wrong sdm struct sequence on esp32h2

Closes IDF-6220

See merge request espressif/esp-idf!22505
2023-03-06 11:41:46 +08:00
Cao Sen Miao
7686e06e4e docs: Remove not-updated warning for I2C Flash and temperature sensor 2023-03-06 11:25:14 +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
jingli
c8be36c3f4 examples/wifi/power_save: use 1000Hz freertos tick to lower sleep time threshold 2023-03-06 10:58:18 +08:00
jingli
49b40f1999 esp32c2/ci: reenable deep sleep example test 2023-03-06 10:58:18 +08:00
jingli
baaef3bd48 examples/system/deep_sleep:
Use nvs instead of RTC_DATA_ATTR to record deep sleep enter time when
the target chip does not have rtc mem.
2023-03-06 10:56:59 +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
jingli
001c6f5e86 examples/system/light_sleep:
Add some hints in README to remind users that they can try to power down
the CPU and SPI Flash for lower power consumption.
2023-03-06 10:34:37 +08:00
laokaiyao
40f1709a1f Revert "i2s: guarantee safety of memcpy from being interrupted by uart logging"
This reverts commit 646fd5e15a.
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 (Dou Yiwen)
f16e7db5ae Merge branch 'feature/support_configuratble_mmu_page_size_h2_c6' into 'master'
mmu: support configurable mmu page size c6, h2

Closes IDF-6370 and IDF-5654

See merge request espressif/esp-idf!22573
2023-03-04 15:46:30 +08:00
Armando
89fa53f1c0 mmu: support configurable mmu page size 2023-03-04 02:48:40 +00:00
Martin Vychodil
abc4d67a9d Storage: Fixed formatting of esp_partition Linux code 2023-03-03 23:57:34 +00:00
radek.tandler
e9e388a085 Storage: ESP Partition extended options for the SPI Flash emulation
Various extensions and fixes to improve Linux target SPI Flash emulation. Used by the host tests
2023-03-03 23:57:34 +00:00
wuzhenghui
15eb1931c0 soc: clean WIFI unsupport soc_caps 2023-03-04 00:17:40 +08:00
wuzhenghui
fd7e8abd73 workaround: bypass esp32c6 flash powedown sleep time adjustment 2023-03-04 00:17:40 +08:00