Commit Graph

25136 Commits

Author SHA1 Message Date
Armando
2d44dc1eed 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
2022-08-26 17:59:06 +08:00
Armando
dc5cab7730 esp_psram: rename esp_private/mmu.h to mmu_psram_flash.h
Prior to this commit, esp_psram/include/esp_private/mmu.h contains some
APIs that is used for:
- copy flash content to psram
- necessary sync APIs used by flash_mmap.c, due to above feature

This commit rename it to mmu_psram_flash.h, therefore mmu.h can be used
for real mmu related APIs.

This commit also moves above mention funcitons in `mmu.c` and
`mmu_psram.c` to `mmu_psram_flash.c`, leaving `mmu.c` to be used for
real mmu driver.
2022-08-25 20:35:20 +08:00
Mahavir Jain
b87bf29537 Merge branch 'ci/migrate_http_server_unit_test_app' into 'master'
ci: Migrate esp_http_server unit tests from unit-test-app to component-test-app

Closes IDF-5577

See merge request espressif/esp-idf!19674
2022-08-25 19:19:11 +08:00
Omar Chebib
6f3c6dcd86 Merge branch 'bugfix/i2c_port_unsigned' into 'master'
I2C: i2c_port_t type is now an enumeration

Closes IDFGH-7433

See merge request espressif/esp-idf!18230
2022-08-25 17:25:51 +08:00
Wan Lei
c5b094a96f Merge branch 'test/fix_sio_mode_multi_test_faile' into 'master'
spi_master: in unit test modify communication bringup flow to fix spi sio mode test failure

See merge request espressif/esp-idf!19712
2022-08-25 16:33:10 +08:00
Darian
4a266d165b Merge branch 'feature/freertos_10.4.3_sync_task_list_functions' into 'master'
freertos: (Sync v10.4.3) Update task list functions

See merge request espressif/esp-idf!19323
2022-08-25 14:28:16 +08:00
Michael (XIAO Xufeng)
bc0ccd9b6d Merge branch 'bugfix/rtc_periph_ulp_touch' into 'master'
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)

Closes IDF-4528

See merge request espressif/esp-idf!19209
2022-08-25 12:27:29 +08:00
Michael (XIAO Xufeng)
aff90b9853 sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source) 2022-08-25 12:27:28 +08:00
Rahul Tank
fbf0dff71a Merge branch 'bugfix/fix_memory_corruption_in_recon_code' into 'master'
Nimble: Fixed memory corruption introduced in reconnection attempt code

See merge request espressif/esp-idf!19364
2022-08-25 12:00:04 +08:00
Harshit Malpani
cae004a815 ci: Migrate esp_http_server unit tests from unit-test-app to component-test-app 2022-08-25 03:43:46 +00:00
Song Ruo Jing
1d95823b83 Merge branch 'feature/add_esp32c6_register_headers' into 'master'
ESP32C6: Add soc register header files

See merge request espressif/esp-idf!19642
2022-08-25 11:27:21 +08:00
Wang Zi Yan
409e4241ed Merge branch 'docs/update_wifi_application_examples' into 'master'
docs: update wifi application examples

Closes DOC-3513

See merge request espressif/esp-idf!19673
2022-08-25 11:09:16 +08:00
morris
935a63efca Merge branch 'example/update_format_string_in_touch_related_examples' into 'master'
example: update format string in touch related examples

See merge request espressif/esp-idf!19743
2022-08-25 11:02:54 +08:00
morris
853a27b491 Merge branch 'refactor/migrate_adc_wifi_test_to_test_app' into 'master'
esp_adc: migrate adc wifi test to test app

Closes IDFCI-1405 and IDFCI-578

See merge request espressif/esp-idf!19736
2022-08-25 10:57:07 +08:00
Wang Meng Yang
7fc37a137d Merge branch 'bugfix/bt_spp_init_init_uart_crash' into 'master'
bt:Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash

Closes BT-2693

See merge request espressif/esp-idf!19722
2022-08-25 10:36:07 +08:00
Jiang Jiang Jian
02be0a8e23 Merge branch 'bugfix/fix_pairwise_cipher_tkip_pmf_compability_issue' into 'master'
esp_wifi: fix pairwise cipher tkip pmf compability issue

Closes ESPCS-850

See merge request espressif/esp-idf!19616
2022-08-25 02:24:24 +08:00
muhaidong
3887cac78e esp_wifi: fix pairwise cipher tkip pmf compability issue. 2022-08-24 18:09:37 +08:00
Jiang Jiang Jian
1c9796b9d4 Merge branch 'bugfix/espnow_clear_key_register' into 'master'
esp_wifi: Fix the bug that espnow clear key register fail

Closes WIFI-4696

See merge request espressif/esp-idf!19632
2022-08-24 18:01:09 +08:00
wangziyan
7637d24d50 docs: update wifi application examples 2022-08-24 16:21:56 +08:00
Rahul Tank
6e5389b1f8 Nimble: Fix memory corruption in reconnection attempt code 2022-08-24 13:39:27 +05:30
Darian Leung
77f6e8daca freertos: Synchronize prvAddCurrentTaskToDelayedList() to v10.4.3
This commit synchronizes prvAddCurrentTaskToDelayedList() with upstream
v10.4.3. Multi-core modifications are then reapplied to the function.
2022-08-24 16:03:10 +08:00
Darian Leung
fdbf892124 freertos: Synchronize xTaskRemoveFrom...EventList() functions to v10.4.3
This commit synchronizes the following xTaskRemoveFrom...EventList() with
upstream v10.4.3. Multi-core modifications are then reapplied to the
functions.

The functions updated are:

- xTaskRemoveFromEventList()
- vTaskRemoveFromUnorderedEventList()

The following multi-core macros have been removed as they are no longer
required.

- tskCAN_RUN_HERE()
- taskYIELD_OTHER_CORE()
2022-08-24 16:03:10 +08:00
Darian Leung
fb960f42b3 freertos: Synchronize vTaskPlaceOnEventList...() functions to v10.4.3
This commit synchronizes the following vTaskPlaceOnEventList...() with
upstream v10.4.3.

The functions updated are:

- vTaskPlaceOnEventList()
- vTaskPlaceOnUnorderedEventList()
- vTaskPlaceOnEventListRestricted()

The traceTASK_DELAY_UNTIL() macro has also been updated.
2022-08-24 16:03:10 +08:00
Darian Leung
27c0120c18 freertos: Synchronize prvAddNewTaskToReadyList() to v10.4.3
This commit synchronizes prvAddNewTaskToReadyList() with upstream v10.4.3.
Multi-core modifications are then reapplied to the function.
2022-08-24 16:03:10 +08:00
Mahavir Jain
0d5f3081ac Merge branch 'contrib/github_pr_8224' into 'master'
Reduce error log when calling esp_efuse_mac_get_custom() (GitHub PR)

Closes IDFGH-6580
Closes https://github.com/espressif/esp-idf/pull/8224

See merge request espressif/esp-idf!19705
2022-08-24 14:40:02 +08:00
Armando (Dou Yiwen)
335ca8a687 Merge branch 'refactor/use_esp_check_in_adc_legacy_driver' into 'master'
adc: use esp_check in adc_legacy.c

Closes IDF-3657

See merge request espressif/esp-idf!19727
2022-08-24 14:22:51 +08:00
wanlei
0f92a706ba spi_master: change sio test communication bringup flow to fix testcase failure
test failed by slave obtain data incorrectly at the time before master started
2022-08-24 14:20:26 +08:00
Jiang Jiang Jian
08ed16f48c Merge branch 'bugfix/remove_rc4_3des_tls_cipher_wpa' into 'master'
wpa_supplicant: remove RC4 and 3DES ciphers for TLS

Closes IDFGH-8107

See merge request espressif/esp-idf!19718
2022-08-24 14:07:05 +08:00
wangyuanze
763b472958 example: update format string in touch related examples 2022-08-24 12:10:59 +08:00
Rahul Tank
84bbb2ac7f Merge branch 'bugfix/increase_leading_space_for_alloc' into 'master'
Nimble: Add extra space for buffer allocation for ESP IP

See merge request espressif/esp-idf!19574
2022-08-24 11:42:48 +08:00
Wang Yuan Ze
6f00ff6a50 Merge branch 'touch_sensor/fix_touch_sensor_v1_filter_issue' into 'master'
touch_sensor: fix touch_sensor_v1 filter issue

Closes IDFCI-1426

See merge request espressif/esp-idf!19644
2022-08-24 11:04:03 +08:00
Mahavir Jain
166cb88efe Merge branch 'bugfix/docs_app_image_format_update' into 'master'
docs: update app image format for secure boot v2 signature consideration

See merge request espressif/esp-idf!19730
2022-08-24 10:58:07 +08:00
Wang Yuan Ze
dac24d5ea4 Merge branch 'example/i2s_es7210_tdm_record' into 'master'
example: add es7210 4-ch tdm i2s record example

Closes IDF-5774 and IDF-5852

See merge request espressif/esp-idf!19593
2022-08-24 10:56:58 +08:00
Omar Chebib
f6ac350337 I2C: i2c_port_t type is now an enumeration
* Closes https://github.com/espressif/esp-idf/issues/9009
2022-08-24 10:51:09 +08:00
Marius Vikhammer
7cbc1b3811 Merge branch 'bugfix/gpio_wakeup_docs' into 'master'
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only

Closes IDFGH-8064

See merge request espressif/esp-idf!19724
2022-08-24 10:50:35 +08:00
Ivan Grokhotkov
ae256e9ca2 Merge branch 'bugfix/docker_remove_libpython2.7' into 'master'
tools: Docker: remove libpython2.7

See merge request espressif/esp-idf!19703
2022-08-24 02:06:18 +08:00
Marius Vikhammer
8bf4af572b Merge branch 'docs/c2_storage_update' into 'master'
docs: update storage and sleep docs for C2

Closes IDF-4207

See merge request espressif/esp-idf!19453
2022-08-23 23:56:56 +08:00
Mahavir Jain
64a88e995b
docs: update app image format description for secure boot v2 signature 2022-08-23 20:52:46 +05:30
Armando
a8c0f1feb6 esp_adc: migrate adc wifi test to test app 2022-08-23 21:23:21 +08:00
Jiang Jiang Jian
3370a14f77 Merge branch 'bugfix/wps_connection_issue' into 'master'
wpa_supplicant: Fix WPS connection issue after WPS done

Closes WIFI-4716, WIFI-4709, and WIFI-4507

See merge request espressif/esp-idf!19707
2022-08-23 19:52:39 +08:00
Mahavir Jain
e40d733d5a
secure-boot-v2: fix minor typo (s/MFG1/MGF1) 2022-08-23 16:37:14 +05:30
Mahavir Jain
8418fdee2a Merge branch 'ci/migrate_http_client_unit_test_app' into 'master'
ci: Migrate unit-test for esp_http_client to component-test-apps

See merge request espressif/esp-idf!19578
2022-08-23 18:37:32 +08:00
wangyuanze
f48b647ad5 example: add es7210 4-ch tdm i2s record example 2022-08-23 17:53:59 +08:00
Armando
eaf7fbf35a adc: use esp_check in adc_legacy.c 2022-08-23 17:47:04 +08:00
Chen Jian Hua
7908025c2d Merge branch 'bugfix/fix_ble_rpa_gen_for_esp32' into 'master'
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"

Closes BT-2543

See merge request espressif/esp-idf!19641
2022-08-23 16:50:41 +08:00
wangyuanze
be3792ea45 example: extract wav-format related struct 2022-08-23 16:46:31 +08:00
Marius Vikhammer
7a900bad7f 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-23 16:16:43 +08:00
xiongweichao
a3df364269 Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash 2022-08-23 15:46:07 +08:00
wangyuanze
6ca1db3ef2 touch_sensor: fix touch_sensor_v1 filter issue 2022-08-23 07:34:51 +00:00
Kapil Gupta
964f0ad5ad wpa_supplicant: remove RC4 and 3DES ciphers for TLS
MbedTLS-3.x has dropped support for 3DES and RC4 TLS cipher
suites. Removing them from supplicant as well

Closes https://github.com/espressif/esp-idf/issues/9607
2022-08-23 13:02:05 +05:30