Commit Graph

30891 Commits

Author SHA1 Message Date
Alexey Gerenkov
d4e1935ba8 Merge branch 'feature/compiler_rt_support' into 'master'
build: Adds support for compiler-rt in Clang toolchain

See merge request espressif/esp-idf!21213
2023-06-09 04:41:34 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Konstantin Kondrashov
f875978fb3 Merge branch 'bugfix/incorrect_time_after_ota' into 'master'
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around

Closes IDFGH-7930

See merge request espressif/esp-idf!23030
2023-06-09 00:30:52 +08:00
KonstantinKondrashov
f7dfd1f48e mac_addr(C6 and H2): Fix byte order of MAC_EXT and change format of IEEE802154 MAC
The changes only related to C6 and H2 chips where CONFIG_SOC_IEEE802154_SUPPORTED=y.
For this case these APIs return 8 bytes
    esp_efuse_mac_get_default() -> 8 bytes
    esp_efuse_mac_get_custom() -> 8 bytes
    esp_read_mac(..., ESP_MAC_IEEE802154) -> 8 bytes
The rest cases len is 6 bytes
2023-06-08 23:11:32 +08:00
Mahavir Jain
c20f640d51 Merge branch 'feature/anti_dpa_configuration_c6_h2' into 'master'
esp32c6/esp32h2: crypto: add support for DPA protection configuration

Closes IDF-6973

See merge request espressif/esp-idf!23921
2023-06-08 22:49:21 +08:00
Mahavir Jain
f3b29d6ce2 Merge branch 'feature/move_efuse_tests_to_qemu' into 'master'
pytest_efuse: Use qemu for tests related to esp32

Closes IDF-6146 and IDF-1911

See merge request espressif/esp-idf!22279
2023-06-08 22:44:48 +08:00
KonstantinKondrashov
cb6e2133f0 esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.

So now system time will be valid even after OTA.

Closes https://github.com/espressif/esp-idf/issues/9448
2023-06-08 21:59:21 +08:00
Alexey Gerenkov
c9b7748789 efuse: Use 'hal_memcpy' instead of 'memcpy' in ESP32-H2 driver 2023-06-08 16:49:42 +03:00
Alexey Gerenkov
532182a557 ci: Allows to use custom clang distro specified by 'CI_CLANG_DISTRO_URL' var 2023-06-08 16:49:42 +03:00
Alexey Gerenkov
dd5880cca6 build: Add Clang toolchain file for ESP32-H4 2023-06-08 16:49:42 +03:00
Alexey Gerenkov
82c1d6e371 gcov: Do not link with libgcov when Clang is used 2023-06-08 16:49:42 +03:00
Alexey Gerenkov
e9345bcced build: Adds support for Clangs's toolchain compiler-rt 2023-06-08 16:49:37 +03:00
Michael (XIAO Xufeng)
54712f9d9d Merge branch 'bugfix/esp32_package_name' into 'master'
esp32: stop using deprecated name PICOD2 to avoid confusion

See merge request espressif/esp-idf!24109
2023-06-08 21:06:37 +08:00
Shu Chen
72972db88f Merge branch 'feature/add_ot_auto_start' into 'master'
openthread: introduce the auto start API

See merge request espressif/esp-idf!24078
2023-06-08 18:50:32 +08:00
wuzhenghui
71563e0995 sleep: Fix domain power down status cannot get updated accordingly with the allowance of retention in runtime 2023-06-08 17:26:18 +08:00
wuzhenghui
8a1e63c8ad feature: support xtal_xpd pmu parameters 2023-06-08 17:23:52 +08:00
Wang Zi Yan
1dba45022e Merge branch 'docs/update_cn_for_api-conventions' into 'master'
Docs: Update CN for /api-reference/api-conventions.rst

Closes DOC-5172

See merge request espressif/esp-idf!24017
2023-06-08 16:59:34 +08:00
Wang Ning
b0781e512d Merge branch 'docs/fix_error_in_esp32-s2-devkitc-1_pin_layout_diagram' into 'master'
Docs/Fix error in esp32-s2-devkitc-1 pin layout diagram

See merge request espressif/esp-idf!24102
2023-06-08 15:53:00 +08:00
Wang Ning
5e26b51913 Docs/Fix error in esp32-s2-devkitc-1 pin layout diagram 2023-06-08 15:53:00 +08:00
Wang Zi Yan
8eea8b70aa Docs: Update CN for /api-reference/api-conventions.rst 2023-06-08 07:36:45 +00:00
Mahavir Jain
1696be719c
crypto: add support for DPA protection configuration in C6/H2
- Technical details covered in section "15.3.2 Anti-DPA Attack Security
Control" chapter of the ESP32-C6 TRM
- Default configuration sets the security level low for the DPA
protection
- This change applies to all the crypto peripherals where the clock
frequency is dynamically adjusted to create randomness in the power
consumption trajectory
- This configuration helps to make the SCA attacks difficult on the
crypto peripherals
2023-06-08 11:09:23 +05:30
David Cermak
022ddb1106 Examples/network: Add security options to provision sta-wired example 2023-06-08 07:38:04 +02:00
David Cermak
6ac17b5020 Examples/network: Add Ethernet iface to sta-2-wired bridge
* adds description about that it's not a bridge, but more like an 1:1
forwarder on L2
* add and describe mac spoofing for Ethernet interface
* describe virtual networking for USB-NCM interface
2023-06-08 07:33:52 +02:00
David Cermak
08c5e6e07c provisioning: Add httpd transport (alias of softAP, netif agnostic)
The script works the same way with httpd and softap mode, but it's a bit
confusing to provision the device over Ethernet or USB and call the
transport "softap". That's why we introduce an alias called httpd which
uses the same idea (http server with service name), but that service
runs on any interface (where the specified service is available)
2023-06-08 07:33:52 +02:00
David Cermak
c603e2d956 Examples/network: Add wifi station to usb 1:1 forwarder (L2) 2023-06-08 07:33:48 +02:00
morris
9c39996c51 gdma: update soc reg.h for esp32c3 to be consistent with TRM
in the TRM the DMA module is callbed GDMA, but the reg.h in the esp-idf is still calling it DMA
2023-06-08 13:23:38 +08:00
David Čermák
9f9bd8c033 Merge branch 'feature/usb_device/ncm' into 'master'
usb: Add NCM device example

See merge request espressif/esp-idf!22232
2023-06-08 13:20:43 +08:00
Cai Xin Ying
d25b5e45aa Merge branch 'docs/add_Chinese_translation_for_api-guides/tools/idf-tools.rst' into 'master'
docs: provide CN translation for api-guides/tools/idf-tools.rst

Closes DOC-5217

See merge request espressif/esp-idf!23774
2023-06-08 12:55:42 +08:00
Armando (Dou Yiwen)
cd7ef82ab2 Merge branch 'feature/use_circular_dma_desc_link_in_adc_continuous_mode' into 'master'
adc: pr 11500, use circular dma descriptors in adc continuous mode

Closes IDFGH-10235

See merge request espressif/esp-idf!24048
2023-06-08 11:51:08 +08:00
caixinying-git
ec1e03e132 docs: provide CN translation for api-guides/tools/idf-tools.rst 2023-06-08 11:44:07 +08:00
Jiang Guang Ming
943fe875eb Merge branch 'feature/support_esp_flash_rom_impl_test_on_c6_h2' into 'master'
spi_flash: support esp_flash rom impl test on c6 and h2

See merge request espressif/esp-idf!24037
2023-06-08 09:28:55 +08:00
Xiao Xufeng
91fc40cfd9 esp32: stop using deprecated name PICOD2 to avoid confusion 2023-06-08 02:09:12 +08:00
harshal.patil
0b86bcd35f efuse: use esp32 qemu target for a efuses example test.
The efuses example test with secure boot v2 and flash encryption enabled can be run on the esp32 qemu image.
2023-06-07 18:19:56 +05:30
zhangwenxu
65f7e1ec13 openthread: add source address selection hook 2023-06-07 12:12:31 +00:00
zhangwenxu
5708743c5a lwip: add a hook for ip6 source address selection 2023-06-07 12:12:31 +00:00
Jiang Jiang Jian
9da31ea373 Merge branch 'bugfix/fix_bleqabr23_250' into 'master'
Fixed crash when controller initialization fails due to insufficient memory

See merge request espressif/esp-idf!24085
2023-06-07 20:00:24 +08:00
Linda
b7a6655bdc docs: update the number of interrupts for esp32h2 2023-06-07 19:12:27 +08:00
Rahul Tank
6f021ba5f3 Nimble: Expose API to clear all addresses in whitelist out of stack 2023-06-07 16:29:22 +05:30
Rahul Tank
6ace246ba2 Merge branch 'bugfix/sync_reporting_files' into 'master'
NimBLE : Sync common porting and nimble submodule files

See merge request espressif/esp-idf!23655
2023-06-07 18:53:34 +08:00
Xu Si Yu
cbddae6043 Merge branch 'bugfix/enable_build_of_ot_related_modification' into 'master'
OpenThread CI: build 3 apps when the OpenThread related modifications exist

See merge request espressif/esp-idf!24089
2023-06-07 18:08:07 +08:00
Kevin (Lao Kaiyao)
628f0e4018 Merge branch 'feature/gdma_support_rx_done_callback' into 'master'
gdma: support on_recv_done callback

Closes IDF-7408

See merge request espressif/esp-idf!23966
2023-06-07 17:32:58 +08:00
Xu Si Yu
c8e2135648 OpenThread CI: build 3 apps when the OpenThread related modifications exist 2023-06-07 16:53:55 +08:00
Roshan Bangar
27dc6d95f6 NimBLE : Sync porting files 2023-06-07 13:03:53 +05:30
David Cermak
6edd1be973 Examples/http-server: Make DNS server a simple configurable component 2023-06-07 08:46:24 +02:00
Shu Chen
c0e9f4b965 Merge branch 'bugfix/modification_when_stop_tx_rx_ack' into 'master'
IEEE802154: modification of the action when stop tx/rx ack

See merge request espressif/esp-idf!24019
2023-06-07 14:40:01 +08:00
Mahavir Jain
819bbeb255 Merge branch 'contrib/github_pr_11602' into 'master'
docs: Fix ESP TLS instructions to use wolfSSL (GitHub PR)

Closes IDFGH-10344

See merge request espressif/esp-idf!24097
2023-06-07 14:22:25 +08:00
laokaiyao
71ef56f988
gdma: support on_recv_done callback 2023-06-07 11:38:32 +08:00
morris
5cd6189677 Merge branch 'bugfix/coverity_scan_fix_driver' into 'master'
ADC: Fixed potential multiply overflow in the calibration code

See merge request espressif/esp-idf!24073
2023-06-07 11:36:20 +08:00
Marius Vikhammer
ccda256058 Merge branch 'docs/ulp_lp_core' into 'master'
ulp: add lp core docs

Closes IDF-5816

See merge request espressif/esp-idf!24013
2023-06-07 10:43:23 +08:00
mik13ST
8133d43552
docs: Fix ESP TLS instructions to use wolfSSL
The original command without `--recursive` did not clone the upstream wolfssl library which is included as a submodule since commit 901dd90f9a. Using `--recursive` fixes this.
2023-06-06 15:40:34 +02:00