Commit Graph

27350 Commits

Author SHA1 Message Date
lvshisheng
bba409eec1 wifi: update wifi libs to support wifi6 features and fix build error 2022-12-29 13:13:35 +08:00
yuexia
6e14adcb44 rom: sync with the rebase 2022-12-29 11:48:36 +08:00
yuexia
a10779c557 esp32c6: add itwt example 2022-12-29 11:48:36 +08:00
yuexia
032ebd76cb esp32c6: support wifi 6 2022-12-29 11:48:36 +08:00
yuexia
58b7fc1d8b esp32c6: enable wifi 2022-12-29 11:48:35 +08:00
Wu Zheng Hui
8a095a74d4 Merge branch 'feature/add_ieee8020154_only_caps_for_esp32hx' into 'master'
soc: add ieee8020154_ble_only cap for esp32hx

See merge request espressif/esp-idf!21824
2022-12-28 20:12:10 +08:00
Mahavir Jain
8437c0d12c Merge branch 'feature/gcm_operation_using_ctr_based_calculation' into 'master'
GCM operation optimisation

Closes IDF-5379

See merge request espressif/esp-idf!21528
2022-12-28 19:33:12 +08:00
Darian
1c5ef9cb7c Merge branch 'refactor/app_trace_use_try_critical_section_macro' into 'master'
app_trace: Update esp_apptrace_lock_take() to use portTRY_ENTER_CRITICAL()

See merge request espressif/esp-idf!21094
2022-12-28 16:55:00 +08:00
wuzhenghui
3b43b63d47 soc: add ieee8020154_only cap for esp32hx 2022-12-28 16:15:58 +08:00
Michael (XIAO Xufeng)
84a6c6f7d9 Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32' into 'master'
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32

Closes IDFGH-4893

See merge request espressif/esp-idf!21558
2022-12-28 15:30:01 +08:00
Guillaume Souchere
a74ae7fba7 Merge branch 'feature/heap-trace-improve-spi-ram-support' into 'master'
heap_trace: improvements to formatting, code, comments of heap trace standalone

Closes IDFGH-8699

See merge request espressif/esp-idf!21506
2022-12-28 15:07:30 +08:00
LiPeng
5c93fe47cb mbedtls: GCM implementation is replaced with CTR-based calculation
- GCM operation in mbedtls used ECB, which calculated only 16 bytes of data each time.
	- Therefore, when processing a large amount of data, it is necessary to frequently set hardware acceleration calculations,
	- which could not make good use of the AES DMA function to improve efficiency.
	- Hence, GCM implementation is replaced with CTR-based calculation which utilizes AES DMA to improve efficiency.
2022-12-28 12:14:29 +05:30
harshal.patil
f9f10c2590 mbedtls: fix esp_aes_gcm_update_ad() API implementation 2022-12-28 11:33:09 +05:30
harshal.patil
48840d04f0 mbedtls: fix esp_aes_crypt_ctr writing to null stream block 2022-12-28 11:33:09 +05:30
harshal.patil
06bb0ee077 mbedtls: added SOC_AES_SUPPORT_AES_192 check in esp_aes_gcm_setkey() 2022-12-28 11:33:09 +05:30
harshal.patil
e0f31edab5 test_aes_gcm: fix output_size paramter in mbedtls_get_update()
mbedtls_get_update() returned MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL,
as 0 used to get passed in the output_size paramter.
2022-12-28 11:33:09 +05:30
harshal.patil
c15b36b9c4 mbedtls: populate mbedtls_gcm_update() output_length paramater 2022-12-28 11:33:09 +05:30
Jiang Jiang Jian
b0a79bba7c Merge branch 'feature/support_esp32c6_modem_clock_driver' into 'master'
esp32c6: support modem clock driver

See merge request espressif/esp-idf!21722
2022-12-28 10:51:52 +08:00
Li Shuai
3ce896429c periph clock: implemented the modem module enable, disable and reset for esp32c6 2022-12-27 21:31:59 +08:00
Li Shuai
e9172ddcea initialize the clock gating control signal of each modem clock domain 2022-12-27 21:31:59 +08:00
Li Shuai
63af1e9631 modem clock(driver): implemented the modem clock driver for esp32c6 2022-12-27 21:31:59 +08:00
Li Shuai
8c05d6fd9d modem clock(hal): implemented the modem clock hal-layer for esp32c6 2022-12-27 21:31:21 +08:00
Li Shuai
28dfaeaaef modem clock(ll): implemented the modem clock ll-layer (include modem syscon and lpcon) for esp32c6 2022-12-27 21:31:21 +08:00
wuzhenghui
aa20825659 soc_caps: rename ESP_PD_DOMAIN_RTC8M to ESP_PD_DOMAIN_FOSC 2022-12-27 21:31:21 +08:00
Li Shuai
17f9285524 esp32c6: add SOC_MODEM_CLOCK_IS_INDEPENDENT soc_cap and more pd_caps 2022-12-27 21:31:21 +08:00
wuzhenghui
a898c3ddc6 soc: regenerate modem header with regtool 2022-12-27 21:31:21 +08:00
Roland Dobai
a5b4e3bb3e Merge branch 'tools/add_idf_size_c6_support' into 'master'
tools: Add tests for idf_size.py esp32c6 output

Closes IDF-6173

See merge request espressif/esp-idf!21644
2022-12-27 21:20:35 +08:00
Kevin (Lao Kaiyao)
4a86240b6e Merge branch 'feature/support_adc_on_c6' into 'master'
adc: support adc on c6

Closes IDF-5310, IDF-5311, IDF-5917, and IDF-6567

See merge request espressif/esp-idf!21431
2022-12-27 21:01:43 +08:00
Jiang Jiang Jian
eab2792735 Merge branch 'bugfix/wps_start_state_issue' into 'master'
esp_wifi: Add check for wps start state

See merge request espressif/esp-idf!21100
2022-12-27 17:33:20 +08:00
Guillaume Souchere
89c0a259ee heap-trace: Add missing tests for heap_trace_summary() and heap_trace_dump_caps()
Note: the checks for the tests marked as [test-dump] are done in the pytest function
test_heap_trace_dump() since they are relying on the content of the heap_trace_dump_caps()
output.
2022-12-27 10:24:14 +01:00
Guillaume Souchere
c39a9de344 heap_trace: unify API to pass caps param to heap_trace_dump() 2022-12-27 10:23:30 +01:00
Zhang Xiao Yan
93d99eb062 Merge branch 'docs/update_ota_translation' into 'master'
update CN translation of api-reference/system/ota

See merge request espressif/esp-idf!21741
2022-12-27 17:03:20 +08:00
Zhang Xiao Yan
ae639f68a6 Merge branch 'docs/update_USB-OTG_ESP32S2_ESP32S3' into 'master'
updated USB_OTG in dfu.rst, usb_device.rst and secure-boot-v2.rst

Closes DOC-3565

See merge request espressif/esp-idf!20144
2022-12-27 14:38:51 +08:00
Zhang Xiao Yan
b043c55f0a Merge branch 'docs/fix_typo_in_logging_library' into 'master'
docs:fix a typo in logging library

See merge request espressif/esp-idf!21806
2022-12-27 14:17:52 +08:00
Shreyas Sheth
18ea8fd0ce esp_wifi: Add check for wps start state 2022-12-27 11:14:03 +05:30
Nachiket Kukade
ac7aaabe39 Merge branch 'bugfix/remove_stray_newline_in_supplicant_logging' into 'master'
Follow-up changes to remove all stray '\n'

Closes IDFGH-8861

See merge request espressif/esp-idf!21453
2022-12-27 13:02:39 +08:00
Laukik Hase
58530ae070 Merge branch 'esp_local_ctrl/fix_https_server_dep' into 'master'
esp_local_ctrl: Add support for insecure HTTP server transport

See merge request espressif/esp-idf!21661
2022-12-27 13:02:03 +08:00
morris
011315a146 Merge branch 'feature/rmt_clock_rc_fast_c6' into 'master'
rmt: support PLL clock on esp32c6

Closes IDF-6341

See merge request espressif/esp-idf!21602
2022-12-27 12:53:56 +08:00
morris
080328a664 Merge branch 'feature/gptimer_rc_fast_c6' into 'master'
gptimer: support RC_FAST clock source

See merge request espressif/esp-idf!21601
2022-12-27 12:45:03 +08:00
Linda
7b6c8d6f8f docs:fix a typo in logging library 2022-12-27 11:58:47 +08:00
Jiang Jiang Jian
77d220c8e8 Merge branch 'bugfix/fix_reconnect_slowly_due_to_power_save_issue' into 'master'
esp_wifi: send null data when state change from association to run

Closes WIFI-5048

See merge request espressif/esp-idf!21587
2022-12-27 11:56:13 +08:00
Omar Chebib
5eb8defb30 Merge branch 'staging/coredump_extram_support' into 'master'
coredump: enable support for stacks in external RAM

Closes IDF-5497 and IDF-2391

See merge request espressif/esp-idf!21067
2022-12-26 17:52:41 +08:00
muhaidong
0af89c4611 esp_wifi: send null data when state change from association to run 2022-12-26 17:21:52 +08:00
morris
2f711d1e82 Merge branch 'contrib/github_pr_10331' into 'master'
rmt: adding loop_count to the config initializer (GitHub PR)

Closes IDFGH-8912

See merge request espressif/esp-idf!21560
2022-12-26 15:58:20 +08:00
cje
a0ed82525e sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-26 07:19:13 +00:00
morris
bc2a2d3cde gptimer: support RC_FAST clock source
GPTimer on C6 supports RC_FAST as the clock source. The benefit of this
clock is that, the clock can sustain in light sleep.

Added a new API to return the real resolution of the timer handle.
2022-12-26 13:18:25 +08:00
Jiang Jiang Jian
a00bde9622 Merge branch 'bugfix/remove_-Wno-formate_in_wifi_example' into 'master'
esp_wifi: Remove -Wno-format compile option for FTM example, iperf example, roaming example

See merge request espressif/esp-idf!21778
2022-12-26 11:16:20 +08:00
Darian Leung
cc5ee295ad app_trace: Update esp_apptrace_lock_take() to use portTRY_ENTER_CRITICAL()
Previously, esp_apptrace_lock_take() would manually disable interrupts and
acquire the spinlock in order to allow the criticla section entry to have time
outs, and also be preemptable in between attempts to acquired.

However, the same can be achieved by using portTRY_ENTER_CRITICAL(), thus
allowing us to make spinlock_acquire/spinlock_release private.
2022-12-23 19:20:42 +08:00
Darian
b223baf318 Merge branch 'feature/freertos_xtensa_disable_port_using_mpu_wrappers' into 'master'
FreeRTOS: Fix FPU bugs on Amazon SMP FreeRTOS, port over FPU updates to IDF FreeRTOS

Closes IDF-5803

See merge request espressif/esp-idf!20280
2022-12-23 19:17:49 +08:00
Jiang Jiang Jian
2c9a180e73 Merge branch 'doc/add_esp_now_change_to_migration_guides' into 'master'
docs: add esp now breaking change to migration guides

See merge request espressif/esp-idf!21736
2022-12-23 19:09:01 +08:00