Commit Graph

28595 Commits

Author SHA1 Message Date
Adam Múdry
16915556a3 fatfs: fstat - enable setting a custom preferred block size
Enables setting a custom st_blksize in fatfs vfs fstat function.
Directly affects file buffer size for fatfs.
Increasing the value helps with fread and fgets speeds, however increases heap usage.
Added info to docs about improving I/O performance.
2023-03-08 09:09:47 +01:00
Jiang Jiang Jian
7dd7498212 Merge branch 'bugfix/add_mmu_pwr_ctrl_reg_to_retention_link' into 'master'
bugfix: esp32c6 light sleep minor fixes

Closes WIFI-5353

See merge request espressif/esp-idf!22619
2023-03-08 14:44:51 +08:00
Jiang Guang Ming
fc9538c63d Merge branch 'feature/add_more_pytest_config_to_flash_mmap' into 'master'
flash mmap: more config options for flash mmap test app

See merge request espressif/esp-idf!21991
2023-03-08 13:44:29 +08:00
Omar Chebib
0fa63be9d1 Merge branch 'bugfix/fix_psram_kconfig_help' into 'master'
psram: removed deprecated statement about coredump and external BSS

See merge request espressif/esp-idf!22561
2023-03-08 13:31:53 +08:00
Martin Vychodil
cd747165df Merge branch 'fix/sdmmc_cmd_sector_count_shouldnt_be_zero' into 'master'
sdmmc: read/write/erase return early on sector count == 0

Closes IDFGH-9203

See merge request espressif/esp-idf!22440
2023-03-08 13:01:51 +08:00
Kapil Gupta
80be82eca2 Merge branch 'bugfix/wifi_enterprise_example_typo' into 'master'
esp_wifi: fix typo in wifi_enterprise example README

Closes IDFGH-8595

See merge request espressif/esp-idf!22462
2023-03-08 12:13:06 +08:00
Jiang Jiang Jian
fe979e6513 Merge branch 'feature/merge_c3_s3_bt_files_to_one' into 'master'
Merge ESP32C3 and ESP32S3 BLE bt.c, esp_bt.h and kconfig files to one

Closes BT-3209

See merge request espressif/esp-idf!22453
2023-03-08 10:53:01 +08:00
Dai Zi Yan
a8fc7e90c2 Merge branch 'docs/update_out-of-sync_documents' into 'master'
Docs/update out of sync documents

See merge request espressif/esp-idf!22600
2023-03-08 10:32:39 +08:00
Jiang Jiang Jian
54b0779b34 Merge branch 'support/esp32h2_phy_lib' into 'master'
esp_phy: update esp32h2 libphy

See merge request espressif/esp-idf!22622
2023-03-07 23:53:51 +08:00
wuzhenghui
43bf9fd3ab bugfix: fix wrong lock in sleep retention entry destroy 2023-03-07 20:56:13 +08:00
daiziyan
9ba9dc04b0 docs: updated flash-encryption, startup, memory-types and misc_system_api 2023-03-07 18:06:52 +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
Song Ruo Jing
ab8e3ef791 Merge branch 'contrib/github_pr_10733' into 'master'
Update gpio_example_main.c (GitHub PR)

Closes IDFGH-9357

See merge request espressif/esp-idf!22305
2023-03-07 11:48:37 +08:00
BOT
d3fa898f80 Update gpio_example_main.c
Add comments to clarify how the bits of GPIO_OUTPUT_PIN_SEL and GPIO_INPUT_PIN_SEL are defined after the OR bit operator

Merges https://github.com/espressif/esp-idf/pull/10733
2023-03-07 11:48:36 +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
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
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
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
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