Commit Graph

27616 Commits

Author SHA1 Message Date
Ivan Grokhotkov
ec8f38c9da
build system: generate the partition table by default for linux target
This fixes the issue that "idf.py partition-table" had to be run
manually in order for the partition table to be generated, when
building for linux target.
2023-01-13 08:14:56 +01:00
Ivan Grokhotkov
98d1f7de4b
tools: fix idf_monitor.py not working on macOS for Linux target
Since the introduction of PCAddressMatcher, the executable produced
by the build system is passed to elftools.elf.elffile.ELFFile.
However on macOS, native executables are not ELF files, so the
ELFFile class raises a rather unhelpful AssertionError exception.
Given that the rest of the idf_monitor.py doesn't have assumptions
that the "elf_file" argument is an ELF file (rather than just an
executable), check if the file is a real ELF file inside
PCAddressMatcher.
2023-01-13 08:14:55 +01:00
Chen Yu Dong
db9586c53f Merge branch 'feature/enable_build_wifi_examples_esp32c6' into 'master'
examples: enable build esp32c2/esp32c6 for wifi and network examples

See merge request espressif/esp-idf!21970
2023-01-13 13:58:21 +08:00
morris
b1ff550f69 Merge branch 'feature/driver_support_esp32c6_gptimer_etc' into 'master'
gptimer: support esp32h2

Closes IDF-6242

See merge request espressif/esp-idf!21925
2023-01-13 08:23:33 +08:00
Roman Leonov
8a7f6af625 Merge branch 'bugfix/usb_host_hid_example' into 'master'
usb_host: HID example license and typos fixes

See merge request espressif/esp-idf!21989
2023-01-13 02:54:37 +08:00
Martin Vychodil
1da27eb6fe Merge branch 'feature/storage_esp_partition_linux' into 'master'
esp_partition: added missing functions for linux target

See merge request espressif/esp-idf!21762
2023-01-13 02:04:54 +08:00
Roland Dobai
9d9860b0e5 Merge branch 'bugfix/detect_port_once' into 'master'
tools: fix unnecessary port detection for multiple targets

Closes IDF-6655

See merge request espressif/esp-idf!22019
2023-01-13 00:29:39 +08:00
morris
ce84476870 gptimer: support esp32h2 2023-01-12 14:10:11 +00:00
Mahavir Jain
1a8a06775d Merge branch 'bugfix/fix_coverity_issue_in_esp_http_client' into 'master'
esp_http_client: free `auth_str` before going out of scope

See merge request espressif/esp-idf!22014
2023-01-12 21:09:20 +08:00
Armando (Dou Yiwen)
d1b8da74d8 Merge branch 'refactor/improve_adc_power_maintanance' into 'master'
adc: improve adc power maintanance

Closes IDF-6114 and IDF-6318

See merge request espressif/esp-idf!21151
2023-01-12 20:30:36 +08:00
Laukik Hase
4f67662cab Merge branch 'feature/mbedtls-3.3.0' into 'master'
mbedtls: Update to v3.3.0

Closes IDF-6536

See merge request espressif/esp-idf!21897
2023-01-12 19:38:51 +08:00
lvshisheng
f4ff1b577b header: update he_types.h 2023-01-12 14:50:11 +08:00
Chen Yudong
c07d237ffe examples: enable build esp32c6 for wifi and network examples 2023-01-12 14:50:06 +08:00
morris
c83d1db2ed Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit' into 'master'
mcpwm: support not reset GPIO config at exit

Closes IDFGH-8916

See merge request espressif/esp-idf!21568
2023-01-12 13:20:47 +08:00
Mahavir Jain
d8af04234c Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!21996
2023-01-12 12:58:36 +08:00
Armando (Dou Yiwen)
297c7852a5 Merge branch 'bugfix/fix_adc_channel_h_not_aligned_to_ng_driver_issue' into 'master'
adc: make adc_channel.h macros work with ng driver

Closes IDFGH-9105

See merge request espressif/esp-idf!21946
2023-01-12 11:07:20 +08:00
morris
f7c3d791a2 Merge branch 'feature/systimer_support_esp32h2' into 'master'
systimer: assign counter and alarm in esp_hw_support

Closes IDF-6484, IDF-5323, and IDF-6230

See merge request espressif/esp-idf!21984
2023-01-12 11:01:17 +08:00
morris
8d3172d1fb Merge branch 'bugfix/fix_build_of_esp32h4beta1' into 'master'
soc: add a header file to fix the bug of esp32h4beta1 build

See merge request espressif/esp-idf!21999
2023-01-12 00:57:58 +08:00
Frantisek Hrbata
8934233b0b tools: fix unnecessary port detection for multiple targets
When multiple targets are specified, e.g. idf.py flash monitor, the
automatic port detection is performed twice. Keep the port value in
args.port and avoid multiple calls to get_default_serial_port().

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-11 16:13:28 +01:00
Roman Leonov
4c162af6c9 usb_host: license and typos fixes 2023-01-11 14:23:22 +01:00
Adam Múdry
204f4207ec Merge branch 'feature/ext_flash_yield_on_erase' into 'master'
Yield functionality for external flash, mask esp_flash_erase_chip with esp_flash_erase_sector

Closes IDFGH-7665, IDFGH-8487, and IDFGH-6479

See merge request espressif/esp-idf!19205
2023-01-11 20:16:05 +08:00
Xu Si Yu
d17ecbcf5d soc: add a header file to fix the bug of esp32h4beta1 build 2023-01-11 11:46:05 +00:00
Harshit Malpani
3152fba654
esp_http_client: fix coverity issue. free auth_str before going out of scope 2023-01-11 16:57:04 +05:30
Konstantin Kondrashov
1d2469fbd1 Merge branch 'feature/ipc_uses_tasknotify' into 'master'
esp_ipc: ipc_task uses TaskNotify instead of Semaphore

Closes IDFGH-8795

See merge request espressif/esp-idf!21347
2023-01-11 15:56:29 +08:00
morris
1f3507eac0 Merge branch 'feature/gdma_support_h2' into 'master'
gdma: support esp32h2

Closes IDF-6222 and IDF-6238

See merge request espressif/esp-idf!21932
2023-01-11 14:04:14 +08:00
Chen Yu Dong
6a4e400d1f Merge branch 'ci/increase_target_pytest_parallel' into 'master'
CI: increase target test pytest parallel

See merge request espressif/esp-idf!21979
2023-01-11 11:59:03 +08:00
C.S.M
e96e7ecbee Merge branch 'bugfix/fix_bunch_of_i2c_issues' into 'master'
I2C: Fix bunch of small issues

Closes IDFGH-8722 and IDFGH-8310

See merge request espressif/esp-idf!21891
2023-01-11 11:02:53 +08:00
Espressif BOT
35cd5ee57b Update esp_crt_bundle certificates 2023-01-11 10:00:31 +08:00
Jiang Jiang Jian
a6f7035c8c Merge branch 'feature/example_deep_sleep_wake_stub' into 'master'
make wake stub worked on ESP32/S2/C3/S3

Closes IDFGH-6564

See merge request espressif/esp-idf!17952
2023-01-10 23:40:10 +08:00
Darian
20f0afd684 Merge branch 'feature/esp_pm_unit_test_migration' into 'master'
esp_pm: Migrate unit tests to test app

Closes IDF-5581

See merge request espressif/esp-idf!21229
2023-01-10 21:35:43 +08:00
Island
e57fb38069 Merge branch 'feature/update_ble_mesh_example_for_esp32c6' into 'master'
ble_mesh: example: update ble mesh examples for esp32c6

See merge request espressif/esp-idf!21914
2023-01-10 21:17:33 +08:00
Zhi Wei Jian
fdc92ef847 Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time' into 'master'
Support BLE throughput examples to test notify and write throughput at the same time

Closes BT-3100

See merge request espressif/esp-idf!21773
2023-01-10 21:13:22 +08:00
Zhi Wei Jian
c176e5e0ec Merge branch 'bugfix/fix_blufi_frag_pkt_vulnerability' into 'master'
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing

Closes BT-3106

See merge request espressif/esp-idf!21819
2023-01-10 21:13:01 +08:00
radek.tandler
9e191bad52 esp_partition/linux target: Add functions supporting host tests
Added statistics and wear simulation functions to support migration of
remaining storage related host tests from fixture to linux implementation
of esp_partition.
2023-01-10 14:10:14 +01:00
morris
6c1d98d556 systimer: assign counter and alarm in esp_hw_support 2023-01-10 17:05:49 +08:00
jiangguangming
0f5990b1f2 docs: add wake stub example link to deep-sleep-stub.rst 2023-01-10 17:03:54 +08:00
jiangguangming
a367ab4b76 ld: fix rtc.data rtc.bss section issues
1. rtc.data section: should include sbss srodata in rtc_wake_stub*.*
2. rtc.bss section: move rtc .bss .bss.* from rtc.data to rtc.bss
2023-01-10 17:03:54 +08:00
jiangguangming
f74a43d002 use LL function to get wakeup cause 2023-01-10 17:03:54 +08:00
jiangguangming
4b4491e736 rtc_time.c: simplify the rtc_time_get with LL function 2023-01-10 17:03:54 +08:00
jiangguangming
f95ccb09f2 deep sleep example: typo corrected in readme 2023-01-10 17:03:54 +08:00
jiangguangming
0869f785f2 add pytest for example deep sleep wake stub 2023-01-10 17:03:54 +08:00
jiangguangming
51ec91c637 add example deep sleep wake stub 2023-01-10 17:03:50 +08:00
morris
3681dee80e gdma: support esp32h2 2023-01-10 16:37:02 +08:00
morris
d0b7f3214a gdma: correct the dma trigger of uart
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-01-10 16:37:01 +08:00
morris
cbde82c33f apm: added low level functions for tee controller 2023-01-10 16:37:01 +08:00
morris
f7fdba7f39 apm: disable permission control temporarily for esp32h2
Access Protection Mode is not yet configured globally, disable the APM
functionality temporarily for esp32h2 and esp32c6
2023-01-10 16:37:01 +08:00
Zim Kalinowski
7aabacbcfc Merge branch 'refactor/posix_linux_sim_docs_code_format' into 'master'
[freertos/linux]: improved docs and coding style in non-SMP code

See merge request espressif/esp-idf!21832
2023-01-10 16:32:15 +08:00
jiangguangming
cceccb4ed9 hal: add rtc_cntl LL function for wake stub 2023-01-10 16:09:49 +08:00
Krzysztof Budzynski
4b1ea708a3 Merge branch 'docs/update_esp_mqtt' into 'master'
update ESP-MQTT by including the mqtt5 example

See merge request espressif/esp-idf!21737
2023-01-10 15:52:10 +08:00
Krzysztof Budzynski
738600d839 Merge branch 'docs/update_gpio_hold_en_description' into 'master'
docs: update description of gpio_hold_en()

See merge request espressif/esp-idf!21834
2023-01-10 15:50:05 +08:00