Commit Graph

3973 Commits

Author SHA1 Message Date
morris
75bd6fc2d9 Merge branch 'contrib/github_pr_9302' into 'master'
ESP32S3 USB external PHY pinout (GitHub PR)

Closes IDFGH-7761

See merge request espressif/esp-idf!18909
2022-07-07 16:17:26 +08:00
morris
b0e228f756 soc: update copyright for usb phy pins 2022-07-07 11:50:06 +08:00
Roland Dobai
12e8f0ba8c Merge branch 'feature/auto_hints_with_ci_fix' into 'master'
idf.py: Add automated hints on how to resolve errors with fix for ci

Closes IDF-4511, IDF-4512, and IDF-4631

See merge request espressif/esp-idf!18759
2022-07-06 21:05:33 +08:00
Darian Leung
5de652bbe2 espcoredump: Fix espcoredump.py shebang and file mode
This commit adds back the shebang and executable file mode for
espcoredump.py
2022-07-06 21:03:11 +08:00
morris
a92cce9861 Merge branch 'bugfix/calib_i2c_clk' into 'master'
I2C: Make I2C clock frequency accurate

Closes IDF-5363

See merge request espressif/esp-idf!18686
2022-07-06 20:52:31 +08:00
Anton Maklakov
a5d6a93c3c Merge branch 'bugfix/clang-tidy-for-esp32s3' into 'master'
tools: fix clang-tidy work for esp32s2 and esp32s3

Closes RDT-228 and IDFGH-7756

See merge request espressif/esp-idf!18773
2022-07-06 19:49:42 +08:00
wangmengyang
f86efb2bc2 fix licence copyright for header file syscon_reg.h on ESP32C3 and ESP32S3 2022-07-06 16:24:03 +08:00
Cao Sen Miao
e218723e0e I2C: Make I2C clock frequency accurate 2022-07-06 11:58:08 +08:00
Marius Vikhammer
cf41c255bb Merge branch 'bugfix/cache_disabled_log_c3' into 'master'
esp_hw_support: always inline cpu_hal_set_vecbase to avoid issues at -O0

See merge request espressif/esp-idf!18630
2022-07-06 09:55:20 +08:00
Jakob Hasse
5a3310ff3b Merge branch 'refactor/remove_rom_deps_cache_lldesc' into 'master'
SOC: removed target-specific ROM dependencies

See merge request espressif/esp-idf!18705
2022-07-06 02:06:30 +08:00
David Čermák
8417079218 Merge branch 'component/asio_migration' into 'master'
ASIO: Remove internal component, examples, test and docs

Closes IDF-4625

See merge request espressif/esp-idf!18297
2022-07-05 21:26:48 +08:00
liqigan
2873cefe78 fix wrong params of get_report_by_id_and_type in bt_hidd.c 2022-07-05 20:50:11 +08:00
Jakob Hasse
f8b5ed5d6c refactor (soc, esp_rom)!: removed target-specific ROM dependencies 2022-07-05 13:57:58 +08:00
xueyunfei
b569f4069a bugfix for add ttl for ping socket 2022-07-05 11:37:41 +08:00
Marius Vikhammer
7242578c33 Merge branch 'ci/flash_project_args_artifact' into 'master'
ci: include flash_project_args in artifacts

See merge request espressif/esp-idf!18806
2022-07-05 09:45:59 +08:00
gabsuren
79d3655106 ASIO: Remove internal component, examples, test and docs 2022-07-04 22:15:24 +04:00
David Čermák
46fe7dbc8c Merge branch 'component/mdns_migration' into 'master'
mdns: Remove internal component, examples, test and docs

Closes IDF-4074

See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
Omar Chebib
cfeaa50b53 Merge branch 'bugfix/esp32c2_missing_eh_frame_sections' into 'master'
espsystem: add missing eh_frame sections on esp32c2

See merge request espressif/esp-idf!18629
2022-07-04 17:13:40 +08:00
simon.chupin
2bf6ed4f2b idf.py: Fix IOError that costs CI failure 2022-07-04 08:15:23 +00:00
simon.chupin
43c69f0910 idf.py: Add automated hints on how to resolve errors 2022-07-04 08:15:23 +00:00
Mahavir Jain
a269a704af Merge branch 'bugfix/main_task_on_cpu1_startup_failure' into 'master'
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config

Closes IDFGH-7705

See merge request espressif/esp-idf!18755
2022-07-04 14:54:14 +08:00
Marius Vikhammer
d6c0227d84 CI: port startup test app to pytest and enable for all targets 2022-07-04 10:57:35 +08:00
Aleksei Apaseev
979b836c68 ci: rename module name due to the wrong import in other packages 2022-07-02 08:03:49 +08:00
Marek Fiala
e519915823 Merge branch 'feature/disable_option_install_script' into 'master'
Tools: --disable-* argument for removing features

Closes IDF-4398 and IDF-4342

See merge request espressif/esp-idf!18194
2022-07-01 17:18:50 +08:00
Marius Vikhammer
31b5a3fcab ci: include flash_project_args in artifacts 2022-07-01 17:01:36 +08:00
Adam Múdry
0e98905e51 Merge branch 'feature/usb_midi_example' into 'master'
usb: Added MIDI example + fixed TinyUSB MIDI config

Closes IDFGH-6921

See merge request espressif/esp-idf!17753
2022-07-01 15:03:42 +08:00
Simon
f4eea001c8 Merge branch 'refactor_flash/remove_legacy_driver' into 'master'
spi_flash: Totally remove legacy driver (prefix with `spi_flash`) support on V5.0

Closes IDF-4473

See merge request espressif/esp-idf!18026
2022-07-01 14:45:39 +08:00
Mahavir Jain
cd1afaef1b test_apps: Add test app for ESP_MAIN_TASK_AFFINITY_CPU1 configuration 2022-07-01 05:40:46 +00:00
Cao Sen Miao
a690a87829 spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
Cao Sen Miao
64147c3794 CXX: Make spi_flash related part works 2022-07-01 10:59:34 +08:00
Marek Fiala
90a69c4490 Tools: --disable-* argument for removing features
Optional argument --disable-* for removing features in install scripts.
2022-06-30 12:31:59 +02:00
Anton Maklakov
55dda77b98 build: add support ESP32-S3 in Clang build configuration 2022-06-30 14:03:26 +07:00
Anton Maklakov
6b0c756ebf tools: update tools.json for Clang 14
Closes https://github.com/espressif/clang-tidy-runner/issues/15
2022-06-30 14:02:54 +07:00
Aleksei Apaseev
01f1aba2d0 ci: lift restriction on pygdbmi in panic test 2022-06-30 14:09:18 +08:00
Omar Chebib
3c1b8cd75a ci: add a test for .eh_frame(_hdr) section for RISC-V targets 2022-06-30 02:51:37 +00:00
Ivan Grokhotkov
4c3dec9705
ci: check_public_headers: run for all targets 2022-06-29 22:49:51 +02:00
Ivan Grokhotkov
fefbf6a5b3
ci: check_public_headers: exclude sections generated on RISC-V target 2022-06-29 22:48:16 +02:00
Ivan Grokhotkov
28ac778099
ci: check_public_headers: run the build in a temporary directory
this allows running multiple builds for different targets
2022-06-29 22:47:02 +02:00
Adam Múdry
2dfaec3106 usb: Added MIDI example + fixed TinyUSB MIDI config
Closes https://github.com/espressif/esp-idf/issues/8541
2022-06-29 14:02:00 +00:00
gabsuren
d413a71f61 mdns: Remove internal component, examples, test and docs 2022-06-29 17:30:34 +04:00
Zim Kalinowski
70ee0885ad freertos: don't use FreeRTOS SMP build for partition nearly full warning test 2022-06-29 12:03:01 +00:00
Roland Dobai
8dddb8b596 Revert "Merge branch 'feature/clippy' into 'master'"
This reverts merge request !16998
2022-06-29 16:46:47 +08:00
Roland Dobai
2e817c4426 Merge branch 'feature/clippy' into 'master'
idf.py: Add automated hints on how to resolve errors

Closes IDF-4511, IDF-4512, and IDF-4631

See merge request espressif/esp-idf!16998
2022-06-29 15:44:55 +08:00
Mahavir Jain
b41a524d3a Merge branch 'fix/protocol_example_tests' into 'master'
Fix/protocol example tests

See merge request espressif/esp-idf!18698
2022-06-29 13:29:34 +08:00
Ondrej Kosta
ed7afd8b73 Merge branch 'feature/eth_phy_common' into 'master'
ESP PHY structure refactor

Closes IDF-5149

See merge request espressif/esp-idf!18158
2022-06-28 23:25:12 +08:00
David Čermák
8678f9a9f4 Merge branch 'bugfix/esp_eth_test_hotfix' into 'master'
esp_eth: pytest_esp_eth CI timeout hotfix

See merge request espressif/esp-idf!18666
2022-06-28 23:11:26 +08:00
Kevin (Lao Kaiyao)
47266d7736 Merge branch 'refactor/add_description_to_touch_pad_set_meas_time' into 'master'
touch_sensor: add description to distinguish the API on different target

Closes IDFGH-7499

See merge request espressif/esp-idf!18341
2022-06-28 20:00:02 +08:00
morris
7fd9a91034 dma: move from driver to hw_support 2022-06-28 14:17:12 +08:00
Aditya Patwardhan
637bb4be38 http_request_simple_example_test: Catch broken pipe exception 2022-06-28 03:48:03 +00:00
laokaiyao
d5e55e0563 touch_sensor: add description to distinguish the API on different target
Closes https://github.com/espressif/esp-idf/issues/9067
2022-06-28 02:20:43 +00:00
Ondrej Kosta
6962218a4b Copyright check config: made more specific to not overwrite allowed licenses 2022-06-27 11:20:08 +02:00
Ondrej Kosta
43f3904304 esp_eth: IEEE 802.3 PHY MII Management Interface functionality grouped to one common file 2022-06-24 05:51:44 +00:00
Mahavir Jain
3f77c65e56 Merge branch 'contrib/github_pr_9117' into 'master'
esp_prov: switch from bluez/dbus to bleak (GitHub PR)

Closes IDFGH-7556

See merge request espressif/esp-idf!18618
2022-06-24 11:39:09 +08:00
simon.chupin
c6a6eaeb60 idf.py: Add automated hints on how to resolve errors 2022-06-23 14:09:34 +02:00
Zim Kalinowski
7d68098089 Merge branch 'bugfix/add_longcalls_to_asm' into 'master'
Build: Xtensa assembly files are now assembled with -mlongcalls option

See merge request espressif/esp-idf!18588
2022-06-23 14:52:41 +08:00
Laukik Hase
796723a6df
esp_prov/wifi_prov_mgr: Updated README
- Added notes for interactive provisioning
2022-06-23 10:54:20 +05:30
Laukik Hase
9aefcb12f5
esp_prov: Compatibility changes and refactoring
- Removed python 2 compatibility
- Removed dependencies on redundant external modules
- Interactive provisioning input for security scheme 2
- Style changes:
  Updated print statements to format strings
  Colored verbose logging
  Raised exceptions on errors instead of clean exits
2022-06-23 10:52:54 +05:30
Cody Cutrer
2c4e5c2963
esp_prov: make service_name optional for BLE
and allow interactive scanning and selection of device
2022-06-23 10:52:54 +05:30
Cody Cutrer
0a892d2818
esp_prov: prompt for passphrase if not given 2022-06-23 10:52:53 +05:30
Cody Cutrer
7989e97b3a
esp_prov: prompt for PoP if not provided and required 2022-06-23 10:52:53 +05:30
Cody Cutrer
069b82401c
esp_prov: switch from bluez/dbus to bleak
to enable multiplatform ble compatibility
2022-06-23 10:52:53 +05:30
Zim Kalinowski
136c873364 Merge branch 'refactor/g0_for_xtensa' into 'master'
G0: Support Xtensa targets for G0-only compilation

Closes IDF-3087

See merge request espressif/esp-idf!18538
2022-06-23 07:28:37 +08:00
Zim Kalinowski
d632e6d3c7 Merge branch 'feature/add_build_test_for_freertos_smp' into 'master'
freertos-smp: added a build test for freertos smp

See merge request espressif/esp-idf!18593
2022-06-21 13:59:48 +08:00
Laukik Hase
740b9a9afe wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs 2022-06-21 04:24:19 +00:00
Jiang Jiang Jian
3cc134672b Merge branch 'feature/optimize_bluetooth_architecture_0616' into 'master'
Feature/optimize bluetooth architecture

See merge request espressif/esp-idf!18553
2022-06-21 01:35:12 +08:00
Shreyas Sheth
591c7a496c esp_wifi: WPA3 SAE H2E support for station 2022-06-20 18:51:11 +05:30
Sudeep Mohanty
ae391ec360 freertos-smp: added a build test for freertos smp 2022-06-20 14:54:35 +02:00
Omar Chebib
8fae0f0753 G0: Support Xtensa targets for G0-only compilation
G0-only example now supports Xtensa targets. This means that G0 layer
does not depend on G1+ layers anymore
2022-06-20 11:34:20 +00:00
Martin Vychodil
692b9980b5 Merge branch 'feature/memprot_api_unified_s3_2' into 'master'
System/Security: Memprot API unified (ESP32S3)

See merge request espressif/esp-idf!16169
2022-06-20 17:34:22 +08:00
GengYuchao
61ee34f713 Add new porting file 2022-06-20 17:00:12 +08:00
Roland Dobai
b6e6adddc3 Merge branch 'refactor/change_copyright_components' into 'master'
components: Change copyright in components files

See merge request espressif/esp-idf!18580
2022-06-20 16:02:12 +08:00
Omar Chebib
741b62d618 Build: Xtensa assembly files are now assembled with -mlongcalls option 2022-06-20 13:56:49 +08:00
Jakob Hasse
d7cceabbb4 Merge branch 'feature/upgrade_c_cxx_standards' into 'master'
build system: use C17 and C++2a by default

Closes IDF-1499, IDFGH-1788, IDFGH-2781, and IDFGH-7617

See merge request espressif/esp-idf!18371
2022-06-20 12:24:08 +08:00
Martin Vychodil
339fcbf14d System/Security: Memprot API unified (ESP32S3)
Unified Memory protection API for all PMS-aware chips - ESP32S3 port
2022-06-20 02:36:44 +00:00
Zim Kalinowski
d209cb3a6b Merge branch 'bugfix/freertos_tlsp_del_cb_tests' into 'master'
freertos: Fix SMP FreeRTOS TSLP deletion callback tests

Closes IDF-5252

See merge request espressif/esp-idf!18576
2022-06-18 04:05:25 +08:00
Ivan Grokhotkov
3973db7664
soc: make register access macros compatible with C++20
In C++20, using the result of an assignment to a 'volatile' value is
deprecated.

Breaking change: register "setter" or modification macros can no
longer be used as expressions.

Closes https://github.com/espressif/esp-idf/issues/9170
2022-06-17 18:09:22 +02:00
simon.chupin
45482bd1c0 components: Change copyright in components files 2022-06-17 16:59:56 +02:00
Ivan Grokhotkov
7f971429bc
cmake: allow lower language versions when building for linux target 2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
0a1e83c599
build system: use C17 and C++2a by default
Closes https://github.com/espressif/esp-idf/pull/4846
Related to https://github.com/espressif/esp-idf/issues/5003
Related to https://github.com/espressif/esp-idf/issues/6885
Related to https://github.com/espressif/arduino-esp32/issues/5859
2022-06-17 16:44:16 +02:00
Darian Leung
97cf44cbe0 freertos: Fix SMP FreeRTOS TSLP deletion callback tests
The TLSP deletion callback feature is not compatible with the CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP
option. However, the "freertos_options" unit test configuration will enable that option.

This commit disables all CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP related features when compiling with
SMP FreeRTOS.
2022-06-17 21:57:11 +08:00
Aditya Patwardhan
6222d43984 protocomm: Added option to enable/disable supported security versions. 2022-06-17 13:16:20 +00:00
Aditya Patwardhan
f2cce5fa0d wifi_provisioning: Update the APIs with reference to the new APIs from protocomm
esp_local_ctrl: Update the code with reference to new changes in protocomm component
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
eb7ff34c89 protocomm: Added SRP6a implementation as the security version 2.
1) Rename srp component to esp_srp
2) Remove dependency on hkdf sha
3) Restructure protocomm component APIs to make them more flexible for allowing multiple security versions
4) esp_srp: convert API return type from int to esp_err_t
5) esp_srp: Formatting changes
6) Added mbedtls_gcm instead of aes_ctr

Co-authored-by: Laukik hase <laukik.hase@espressif.com>
2022-06-17 13:16:20 +00:00
Laukik Hase
3235206624 esp_prov: Added provision for SRP6a-based security scheme 2022-06-17 13:16:20 +00:00
Laukik Hase
5169e22277 protocomm: Generated proto-c and python files for SRP6a scheme
- Added protobuf auto-generated files to pre-commit check
  ignore lists
2022-06-17 13:16:20 +00:00
Roland Dobai
60f845384f Merge branch 'refactor/add_types_to_tools' into 'master'
tools: add python types hints

See merge request espressif/esp-idf!18434
2022-06-17 17:08:19 +08:00
Roland Dobai
a988cc9a64 Merge branch 'tools/csv_handling_overhaul' into 'master'
tools: Overhaul csv handling for mfg_gen and nvs_partition_gen

Closes IDFGH-5434

See merge request espressif/esp-idf!18365
2022-06-17 15:20:50 +08:00
Zim Kalinowski
3f2411c691 Merge branch 'bugfix/freertos_smp_disable_pm_tests' into 'master'
freertos: Disable esp_pm when SMP FreeRTOS is enabled

Closes IDF-5103, IDF-5104, and IDF-5127

See merge request espressif/esp-idf!18363
2022-06-16 15:11:11 +08:00
Omar Chebib
752026a174 Merge branch 'refactor/remove_g0_dep_on_g1_riscv' into 'master'
G0: RISC-V targets have now an independent G0 layer

See merge request espressif/esp-idf!17926
2022-06-16 11:53:39 +08:00
simon.chupin
44f3c19fa9 tools: Add python types hints 2022-06-15 14:33:29 +02:00
Djordje Nedic
bbc3add0e3 tools: overhaul csv handling for mfg_gen and nvs_partition_gen
This fixes the issue where multiline strings and strings with delimiters inside the nvs input csv file were incorrectly parsed, and adds back the ability to add comment lines anywhere in the CSV file.

The issue stems from the move away from the python built in csv module to manual parsing, which was made after moving away from using the csv module to parse mfg data.

This reverts back to using the csv module for parsing and writing csv data in both mfg_gen and nvs_partition_gen, fixes the original issue in mfg_gen and improves code quality which makes the code more readable and maintainable.

Closes https://github.com/espressif/esp-idf/issues/7175
2022-06-15 12:31:49 +00:00
Armando (Dou Yiwen)
0b80546f8e Merge branch 'feature/new_esp_psram_component' into 'master'
esp_psram: new esp psram component

Closes IDF-4318, IDF-4382, IDF-4841, and IDFGH-7192

See merge request espressif/esp-idf!18050
2022-06-15 19:16:56 +08:00
Darian Leung
546a7fc495 esp_pm: Disable esp_pm when SMP FreeRTOS is enabled
SMP FreeRTOS currently does not support power management yet. This
commit makes SMP FreeRTOS and esp_pm mutually exclusive.
2022-06-15 16:17:59 +08:00
Jing Li
074c708cf0 Merge branch 'refactor/simplify_code_for_time_compensation_when_sleep' into 'master'
system/sleep: simplify code for time compensation when wakeup from light sleep

See merge request espressif/esp-idf!18491
2022-06-15 14:38:40 +08:00
Kevin (Lao Kaiyao)
bb30edf35a Merge branch 'refactor/i2s_driver_rewrite' into 'master'
🔨 i2s: i2s driver-NG

Closes IDF-3714 and IDF-4592

See merge request espressif/esp-idf!15175
2022-06-15 14:22:58 +08:00
Mahavir Jain
0f8d149525 Merge branch 'feature/enable_mbedtls_tests_for_c2' into 'master'
mbedtls: enable all tests except SHA for ESP32-C2

See merge request espressif/esp-idf!18372
2022-06-15 12:53:05 +08:00
laokaiyao
621d0aa942 i2s: Introduced a brand new driver 2022-06-15 10:29:06 +08:00
Darian
e213e66ba3 Merge branch 'refactor/esp_hw_support_cpu' into 'master'
esp_hw_support: Add new esp_cpu.h abstraction

Closes IDF-4769

See merge request espressif/esp-idf!17091
2022-06-14 21:11:30 +08:00
Michael (XIAO Xufeng)
7b8e5888ca Merge branch 'refactor/add_clk_tree_ll' into 'master'
clk_tree: Stage3 - HAL for clock subsystem

Closes IDF-4334

See merge request espressif/esp-idf!18270
2022-06-14 17:16:29 +08:00
Armando
cdad8a02fe esp_psram: remove g_spiram_ok 2022-06-14 15:44:27 +08:00