Commit Graph

1531 Commits

Author SHA1 Message Date
Michael (XIAO Xufeng)
c1b30491dd Merge branch 'feature/esp32c3_uart_add_wakeup_event' into 'master'
UART: add uart wakeup event for esp32c3 and esp32s3

Closes IDF-3416

See merge request espressif/esp-idf!14482
2022-02-04 17:23:29 +00:00
Ivan Grokhotkov
21834f8362
ci: make pytest build script compatible with pytest 7.x 2022-02-04 15:44:29 +01:00
Roland Dobai
fddc73759e Tools: Make easier the detection of the list of Python features 2022-02-03 19:02:14 +01:00
Ivan Grokhotkov
4cedf84626
app_trace: add SPDX headers, mention SystemView in copyrights doc
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-02-03 17:44:59 +01:00
Darian Leung
e49f56a96d tools: Check copyright now checks assembly files
This commit updates the pre-commit configuration and check copyright
script to check assembly files (extensions '.s' and '.S').
2022-02-03 20:50:52 +08:00
Darian Leung
1c60d6a895 freertos: Add SPDX license identifiers and update xtensa port files
This commit does the following:

- Adds SPDX license identifiers to FreeRTOS sources. Remove those FreeRTOS sources from
  the copyright ignore list.
- Update xtensa port files to match FreeRTOS v10.4.3. Added SPDX license identifiers
  to the port files.
- Fixed some improperly licensed files
- Removed portbenchmark.h from RISC-V port
2022-02-03 17:08:14 +08:00
Mahavir Jain
a32a7729b3 Merge branch 'fix/prod_mode_in_configure_ds_script' into 'master'
configure_ds.py: Fix the error for prod mode. They script now only verifies...

Closes IDFGH-6649

See merge request espressif/esp-idf!16995
2022-02-01 05:05:10 +00:00
Laukik Hase
db914d6272 wifi_prov_mgr: Fix provisioning not stopping in release mode
- For the wifi_prov_mgr example in release mode (with NDEBUG defined -
  assertions disabled), the task to stop provisioning is never started
  as it is voided by the assert function it is called in.

Closes https://github.com/espressif/esp-idf/issues/8309
2022-01-31 15:03:54 +05:30
Aditya Patwardhan
b284016bfd configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
Closes https://github.com/espressif/esp-idf/issues/8285
2022-01-31 14:13:25 +05:30
Marius Vikhammer
65a302a6f6 kconfig: confgen.py now handles many-to-one config renames
All old symbols will now be included in the output when renaming
multiple symbols to the same new symbol.
2022-01-31 11:36:13 +08:00
Marius Vikhammer
23c55946a6 kconfig: also parse target specific sdkconfig.rename.TARGET files
Adds functionality for target specific sdkconfig.rename files which can be
used when certain renames are only needed for a specific target.
2022-01-31 11:36:08 +08:00
Jakob Hasse
e899edd793 Merge branch 'bugfix/nvs_coverity_issues' into 'master'
bugfix (nvs): Fixed issues found by Coverity

Closes IDF-4391

See merge request espressif/esp-idf!16951
2022-01-29 21:52:18 +00:00
Anton Maklakov
7cdd151612 Merge branch 'bugfix/nocommon' into 'master'
enable and fix warnings on common symbols

Closes IDFGH-3055 and IDF-3013

See merge request espressif/esp-idf!16802
2022-01-28 14:39:51 +00:00
Roland Dobai
8fc1fc6ac3 Merge branch 'bugfix/docs_rm_gen_chart' into 'master'
Docs: Remove the script for generating the version chart

Closes RDT-91

See merge request espressif/esp-idf!16973
2022-01-28 13:59:08 +00:00
Fu Hanxi
bf69db2e76 Merge branch 'ci/raise_error_when_pytest_collect_failed' into 'master'
ci: raise exception when pytest collect failed

See merge request espressif/esp-idf!16974
2022-01-28 13:07:46 +00:00
Sudeep Mohanty
1c393a32c4 Merge branch 'refactor/refactor_ulp_component' into 'master'
ulp: refactor ulp component

Closes IDF-4520

See merge request espressif/esp-idf!16886
2022-01-28 10:23:56 +00:00
David Čermák
5dcd630444 Merge branch 'feature/dhcps_more_client_info' into 'master'
lw-IP: Add more client's infor to dhcp server cb

Closes IDFGH-5839

See merge request espressif/esp-idf!16433
2022-01-28 07:31:32 +00:00
Kapil Gupta
f57ccaabee esp_example: Enable MbedTLS for DPP enrollee by default 2022-01-28 13:53:39 +08:00
Fu Hanxi
63b0d2b11f ci: raise exception when pytest collect failed 2022-01-28 11:31:33 +08:00
Roland Dobai
a78884a41c Docs: Remove the script for generating the version chart 2022-01-27 18:44:11 +01:00
Jakob Hasse
4c8c2a8079 bugfix (nvs): Fixed issues found by Coverity
*  Fixed potential memory leak
*  Fixed wrong strncpy usage
*  Fixed potential out of bounds access
2022-01-27 19:30:58 +08:00
Mahavir Jain
d587a1ce6d Merge branch 'refactor/provisioning_examples' into 'master'
provisioning: Remove legacy examples

Closes IDF-4558

See merge request espressif/esp-idf!16776
2022-01-27 07:28:52 +00:00
Sudeep Mohanty
2fc9bd61bf ulp: refactor ulp component
This commit refactors the ulp component.
Files are now divided based on type of ulp, viz., fsm or risc-v.
Files common to both are maintained in the ulp_common folder.

This commit also adds menuconfig options for ULP within the ulp
component instead of presenting target specific configuations for ulp.
2022-01-27 11:54:42 +05:30
Ivan Grokhotkov
7dac0abdff examples: advanced_https_ota: make some globals static 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
f770cf721a fatfs: make global constants extern 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
336d0b64de riscv: fix panic_reasons being an instance of enum, not type name 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
d4190a9471 wpa_supplicant: mark global variables defined in headers 'extern'
...to avoid defining common symbols.
GCC since version 10 defaults to -fno-common and doesn't generate
common symbols, leading to duplicate definitions of these symbols.
2022-01-27 11:00:09 +07:00
Roland Dobai
0ac6a105ef Merge branch 'bugfix/checkout_ref_branch' into 'master'
bugfix: checkout ref failed for origin branches

See merge request espressif/esp-idf!16936
2022-01-26 16:25:23 +00:00
Chen Yudong
d48cbdd1e9 bugfix: checkout ref failed for origin branches 2022-01-26 20:22:29 +08:00
Konstantin Kondrashov
c4d91581ca Merge branch 'bugfix/efuse_timesettings_for_esp32s3' into 'master'
efuse: Fixes eFuse timesettings issue on esp32S3

See merge request espressif/esp-idf!16907
2022-01-26 09:33:39 +00:00
Zim Kalinowski
67f51a4ce5 Merge branch 'bugfix/riscv_i2c_description' into 'master'
i2c: fix the controller count in the header description

Closes IDFGH-6476

See merge request espressif/esp-idf!16718
2022-01-26 03:13:07 +00:00
KonstantinKondrashov
45d2d2470b efuse: Fixes eFuse timesettings issue on esp32S3 2022-01-25 22:09:14 +08:00
Jiang Jiang Jian
3fa37be643 Merge branch 'ci/split_assign_test_and_add_c3_integration_test' into 'master'
ci: split assign test and add esp32c3 integration tests

See merge request espressif/esp-idf!16664
2022-01-25 13:06:06 +00:00
Mahavir Jain
0027483e93 Merge branch 'feature/mbedtls-2.28.0' into 'master'
mbedtls: Upgrading to v2.28.0

Closes IDFGH-6478

See merge request espressif/esp-idf!16568
2022-01-25 12:41:19 +00:00
David Cermak
e3d71c984a lwip: Add client's MAC addr to dhcp server cb
* Extended storage for staipassigned events to pass client's MAC address.
* Added client's MAC to dhcp server callback
* Posting the staipassigned events with clients IP and MAC address
2022-01-25 13:08:43 +01:00
laokaiyao
c4cfb654d2 uart: support light sleep on esp32s3 2022-01-25 17:43:02 +08:00
Chen Wu
35941de800 debug: esp32c3 uart1 wakeup 2022-01-25 17:43:02 +08:00
Laukik Hase
424c45df91 ci: Fix issues for build stage
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
2022-01-25 10:51:27 +05:30
Laukik Hase
befc93aa2d mbedtls: Added option MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
- Removed code regarding MBEDTLS_DYNAMIC_FREE_PEER_CERT
  (config was kept for backward compatibility)
- Combined mbedTLS v2.28.x related options under a separate Kconfig menu
2022-01-25 10:51:27 +05:30
Laukik Hase
09de379731 protocomm: Updated function for constant time buffer comparison
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-01-25 10:51:27 +05:30
Chen Yudong
b4c4e3a79d ci: do not retry on 404 when LOCAL_GITLAB_HTTPS_HOST not set 2022-01-25 11:49:55 +08:00
Chen Yudong
11d4542165 ci: update intergration test to support esp32c3 2022-01-25 11:49:55 +08:00
Chen Yudong
ec4175b127 ci: optimize downloading build_ssc artifacts 2022-01-25 11:49:55 +08:00
Chen Yudong
dd4f27801f ci: move integration test related files outside of components 2022-01-25 11:49:55 +08:00
Mahavir Jain
c4ddfc9f06 Merge branch 'bugfix/efuse_timesettigs_in_burn_op' into 'master'
efuse: Fixes eFuse timesettings issue on esp32c3

Closes FCS-849

See merge request espressif/esp-idf!16885
2022-01-25 03:44:51 +00:00
morris
1938d7c006 log: skip unused tag string wanring in esp_check.h 2022-01-24 18:45:46 +08:00
Fu Hanxi
a801555299 ci: replace all component ut with pytest-embedded 2022-01-24 16:37:23 +08:00
Fu Hanxi
d0cdfdc5d8 tools: allow component test apps files use cc0-1.0 license 2022-01-24 15:54:36 +08:00
KonstantinKondrashov
4ede9aaa26 efuse: Fixes eFuse timesettings issue on esp32c3 2022-01-21 16:45:50 +08:00
Marius Vikhammer
cbe23087fc Merge branch 'feature/ulp_stop' into 'master'
ULP: add functions for stopping/restarting the ulp-riscv

Closes IDFGH-6588

See merge request espressif/esp-idf!16853
2022-01-21 01:37:04 +00:00
morris
c1b79951fd cmake: assign toolchain prefix manually 2022-01-20 15:46:50 +08:00
David Čermák
d7d22ef0fd Merge branch 'bugfix/fix_tcp_transport_exeception' into 'master'
tcp_transport: fix tcp trasnport exception

See merge request espressif/esp-idf!16793
2022-01-20 06:48:07 +00:00
Marius Vikhammer
ff6f927b5f ULP: add functions for stopping/restarting the ulp-riscv
Closes https://github.com/espressif/esp-idf/issues/8232
2022-01-20 11:34:53 +08:00
Fu Hanxi
64fdcd506a Merge branch 'fix/gitlab_404_local_mirror' into 'master'
Handle gitlab 404 error

See merge request espressif/esp-idf!16818
2022-01-20 01:17:16 +00:00
xutao
e794786c74 tcp_transport: fix tcp transport execption pointer 2022-01-19 13:44:20 +01:00
Laukik Hase
583b984837 esp_prov: Removed features used in legacy provisioning examples 2022-01-19 12:09:21 +05:30
laokaiyao
cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
Roland Dobai
636401dfa8 Merge branch 'bugfix/ci_copyright_no_date_update' into 'master'
Tools: Don't update the copyright year automatically in the headers

See merge request espressif/esp-idf!16799
2022-01-18 14:21:29 +00:00
Tomas Sebestik
33edc13743 Handle gitlab 404 error 2022-01-18 13:13:53 +01:00
Sudeep Mohanty
2ed15d8b1e ulp: Added ULP RISC-V support for esp32s3
This commit adds support for ULP RISC-V for esp32s3.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-01-18 10:58:00 +05:30
Roland Dobai
b28d7e6850 Tools: Improve the Python package system
Introduce features into the Python package management system & manage
package versions outside of ESP-IDF repo.
2022-01-17 16:54:36 +01:00
David Čermák
c45d34aea2 Merge branch 'bugfix/lwipopts_cleanup' into 'master'
lw-IP: Cleanup of config options and flags

Closes IDF-3594

See merge request espressif/esp-idf!15248
2022-01-17 06:46:27 +00:00
Mahavir Jain
7b87ea2a15 Merge branch 'feature/expat_to_component_manager' into 'master'
Push out `expat` to idf-extra-components repository

Closes IDF-4546

See merge request espressif/esp-idf!16785
2022-01-16 05:49:36 +00:00
David Cermak
66438366a2 ci: Create a copyright entry for lwip-component 2022-01-14 16:44:44 +01:00
David Cermak
5d7489eae4 lwip: Fix minor lwip dependency issue
Clean-up config option rename file
2022-01-14 16:41:38 +01:00
Roland Dobai
f4bf2a0fd7 Tools: Don't update the copyright year automatically in the headers 2022-01-14 12:33:18 +01:00
caixf
6c3b528917 vfs: fix wrong VFS being freed when esp_vfs_register_fd_range fails
Closes https://github.com/espressif/esp-idf/pull/7413
2022-01-13 17:17:42 +01:00
Omar Chebib
bb730292d4 i2c: fix the controller count in the header description
Closes https://github.com/espressif/esp-idf/issues/8133
2022-01-13 18:25:41 +08:00
Jiacheng Guo
d6c4e2cb34 lwip: add ip6 input hook
The MR adds Kconfig options and a default weak implementation for the
lwIP ip6 input hook.
2022-01-13 12:23:38 +08:00
Ivan Grokhotkov
b83d249e61 Merge branch 'feature/cmake_time_t_automatic' into 'master'
newlib: auto-detect sizeof(time_t)

See merge request espressif/esp-idf!16682
2022-01-12 23:49:22 +00:00
Armando (Dou Yiwen)
342c830d9b Merge branch 'feature/support_spi_on_8684' into 'master'
spi: support spi on 8684

Closes IDF-4470 and IDF-4024

See merge request espressif/esp-idf!16475
2022-01-12 09:10:21 +00:00
Mahavir Jain
b08323c903 Push out expat to idf-extra-components repository
This component will be used through IDF component manager.
2022-01-12 10:13:23 +05:30
Armando
6a74cb695d spi: support spi on 8684 2022-01-12 11:30:29 +08:00
Ivan Grokhotkov
d2b894862c newlib: auto-detect sizeof(time_t)
To make the transition from 32-bit time_t to 64-bit time_t smoother,
detect the size of this type in CMake and remove the manual option in
Kconfig.
The information about 64-bit time_t support is moved from Kconfig help
string into the "system time" section of the API reference.
2022-01-11 19:01:21 +01:00
yuanjm
467a8726c4 esp_https_ota: Fix esp_https_ota_begin may return ESP_OK when http status code is not 200 and may exist memory leak
Closes https://github.com/espressif/esp-idf/issues/8195
2022-01-11 22:01:17 +08:00
Mahavir Jain
fba8582da4 Merge branch 'feature/nghttp_sh2lib_component_manager' into 'master'
Push out nghttp and sh2lib to IDF component manager

Closes IDF-4529

See merge request espressif/esp-idf!16618
2022-01-11 13:45:59 +00:00
Mahavir Jain
5db7ab0710 Add entry for http_parser in CODEOWNERS and sonar exclusion list 2022-01-11 10:26:25 +05:30
Mahavir Jain
517862de9e Remove references to nghttp from CI, docs and other places 2022-01-11 10:26:25 +05:30
Mahavir Jain
0da44db394 sh2lib: Remove component and move to idf-extra-components
This component will be used through ESP-IDF component manager
2022-01-11 10:26:25 +05:30
Mahavir Jain
d2956f208b http_parser: Split nghttp port and create new http_parser component
Note: nghttp will be moved to IDF component manager
2022-01-11 10:26:24 +05:30
Marius Vikhammer
6c8426ea92 Merge branch 'docs/dynamic_copyright_date' into 'master'
docs: update copyright date for docs automatically

Closes IDF-4548

See merge request espressif/esp-idf!16727
2022-01-11 01:48:04 +00:00
Fu Hanxi
60c5b37bfe Merge branch 'refactor/ldgen' into 'master'
refactor: ldgen

Closes IDF-605 and IDFGH-6271

See merge request espressif/esp-idf!16509
2022-01-10 09:15:44 +00:00
Marius Vikhammer
93430c9eab docs: update copyright date for docs automatically 2022-01-10 15:05:33 +08:00
Omar Chebib
c60ff26ec2 Merge branch 'staging/add_idf_as_lib_to_ci' into 'master'
CI: idf_as_lib is now run on all suported targets

See merge request espressif/esp-idf!16672
2022-01-10 02:23:54 +00:00
Aleksei Apaseev
ad0526e9a0 Merge branch 'feat/idf_monitor_made_elf_file_optional' into 'master'
idf_monitor: made the elf file optional

Closes IDF-3775

See merge request espressif/esp-idf!16539
2022-01-07 11:05:41 +00:00
Aleksei Apaseev
e30329ffe2 idf_monitor: Changed the elf file to be optional when running "idf.py monitor" command
This feature allows to start IDF Monitor without (re-)building the project.
2022-01-07 17:36:08 +08:00
Fu Hanxi
8b928bf22f ci: temporary bypass tinyxml2 cmake deprecated warning 2022-01-07 16:18:32 +08:00
David Cermak
1882cbe44e mdns: Make fuzzer layers compatible with llvm>=6 2022-01-07 16:18:32 +08:00
Fu Hanxi
172854a850 refactor: rewrite ldgen fragment file parser
closes https://github.com/espressif/esp-idf/issues/7940
2022-01-07 16:18:32 +08:00
Fu Hanxi
a44953ecd4 refactor: move ldgen into a separate package 2022-01-07 16:18:32 +08:00
morris
705788a13f unit_tests: replace legacy timer group with gptimer 2022-01-07 14:59:09 +08:00
morris
6bf3af7c8e examples: replace legacy timer group with gptimer 2022-01-07 14:59:09 +08:00
Omar Chebib
598246d287 CI: idf_as_lib is now run on all suported targets 2022-01-07 12:10:35 +08:00
Anton Maklakov
d500c8205e Merge branch 'bugfix/fix_spi_cs_hold_time_issue' into 'master'
spi_master: fix spi cs_ena_posttrans issue

Closes IDFGH-6077

See merge request espressif/esp-idf!15925
2022-01-07 04:06:12 +00:00
Wang Meng Yang
5f28c0c36b Merge branch 'bugfix/PRs_on_esp_hid' into 'master'
bugfix/handle_3_esp_hid_PRs

Closes IDFGH-5889, IDFGH-3402, and IDFGH-2586

See merge request espressif/esp-idf!16538
2022-01-07 01:49:47 +00:00
morris
869bed1bb5 soc: don't expose unstable soc header files in public api 2022-01-06 23:10:22 +08:00
morris
24acdf23ee soc: move peripheral base address into reg_base.h 2022-01-06 21:43:12 +08:00
morris
8cdcb4e291 rmt: move RMT item definition from soc to driver 2022-01-06 21:43:12 +08:00
morris
d8f2eaf94e gpio: remove legacy rtc_io description for esp32 2022-01-06 21:43:12 +08:00
morris
3b371d2d64 ci: check unstable soc headers wont be leaked by public api 2022-01-06 21:43:12 +08:00
Armando
56a707eef4 spi_master: fix spi cs_ena_posttrans issue 2022-01-06 17:54:58 +08:00
Zim Kalinowski
779de561f4 Merge branch 'bugfix/fix_idf_as_lib_build' into 'master'
Build: fix idf_as_lib example not building

Closes IDFGH-6453

See merge request espressif/esp-idf!16514
2022-01-06 03:17:30 +00:00
Omar Chebib
cb90544a04 Build: fix idf_as_lib example not building 2022-01-06 03:17:29 +00:00
Tomas Rezucha
af28416116 Merge branch 'feature/usb_device/multi_cdc' into 'master'
USB: Extend USB CDC device with second channel

See merge request espressif/esp-idf!16458
2022-01-05 09:53:04 +00:00
Ondrej Kosta
fa9cc49b9e Merge branch 'bugfix/esp_eth_start_tx_buff' into 'master'
Fixed ESP32 EMAC driver `insufficient TX buffer size`

Closes WIFI-4194

See merge request espressif/esp-idf!16457
2022-01-05 09:40:12 +00:00
Jiang Jiang Jian
477cf09f45 Merge branch 'bugfix/ci_check_blobs' into 'master'
ci: improve checks for Wi-Fi/PHY libraries

See merge request espressif/esp-idf!16625
2022-01-05 09:26:42 +00:00
Tomas Rezucha
6330d5d312 usb: Extend CDC device with second CDC channel
Closes https://github.com/espressif/esp-idf/issues/7020
Closes https://github.com/espressif/esp-idf/pull/8011
2022-01-05 08:18:03 +01:00
Mahavir Jain
6e1f534cab Merge branch 'feature/esp_tls_api_cleanup' into 'master'
esp-tls: mark esp_tls_conn_delete API as deprecated

See merge request espressif/esp-idf!16647
2022-01-05 07:04:09 +00:00
Murray Fordyce
00a23ec544 Fixed left right key confusion in comments.
"Left" and "Right" were swapped in some comments.
2022-01-05 14:23:47 +08:00
morris
ce2a220098 Merge branch 'refactor/make_adc2_wifi_private' into 'master'
clean up deprecated and private header files for driver and esp_hw_support component

See merge request espressif/esp-idf!16605
2022-01-05 05:42:42 +00:00
Li Kun Qiao
b05b70c7f3 Merge branch 'feature/Add_zigbee_rcp_gateway' into 'master'
Zigbee example: rcp and gateway

See merge request espressif/esp-idf!16205
2022-01-05 03:28:03 +00:00
morris
ef5cfb217c Merge branch 'contrib/github_pr_8172' into 'master'
Fix compile issue when TinyUSB task is not enabled. (GitHub PR)

Closes IDFGH-6521

See merge request espressif/esp-idf!16611
2022-01-04 13:21:23 +00:00
Mahavir Jain
c26500cd5a esp-tls: mark esp_tls_conn_delete API as deprecated
It is recommended to use `esp_tls_conn_destroy` API instead
2022-01-04 15:40:07 +05:30
likunqiao
8c577cd208 Zigbee example: add rcp and gateway
* provide Zigbee rcp and Zigbee gateway example
 * minor comment fix for light example
2022-01-04 17:46:09 +08:00
morris
113cbb88a6 hw_support: remove deprecated header files 2022-01-04 14:16:17 +08:00
morris
cba1f57147 tusb: update copyright header 2022-01-04 10:25:06 +08:00
Ivan Grokhotkov
3049ac6dbb ci: improve checks for Wi-Fi/PHYlibraries
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
  checking Wi-Fi libraries. This used to happen until libphy.a was
  moved into a separate submodule.

Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-04 00:30:55 +01:00
Roland Dobai
93cb847424 Merge branch 'contrib/github_pr_8100' into 'master'
monitor: Print buffer when reading an escape character

Closes IDFGH-6443

See merge request espressif/esp-idf!16584
2022-01-03 18:52:14 +00:00
David Cermak
3ade0509c3 CI: Make public header checker print help/tips on failure
Also prints failing compilation command to the log
2022-01-03 09:34:21 +01:00
David Cermak
41706d8d54 CI: Make public header check verbose on *sll* failures 2022-01-03 09:34:21 +01:00
Martin Gaňo
931ad14979 Fixed copyright header 2022-01-03 00:09:31 +01:00
Yuan Jian Min
0c73f20afd docs: Add user-friendly guide about how to use ws_server_example_test.py
Closes https://github.com/espressif/esp-idf/issues/8060
2022-01-02 11:27:05 +00:00
Song Ruo Jing
2906fbfb9e Merge branch 'feature/support_esp8684_gpio' into 'master'
ESP8684: Support ESP8684 gpio

Closes IDF-4019 and IDF-3841

See merge request espressif/esp-idf!15667
2021-12-30 09:16:23 +00:00
Cao Sen Miao
3dd1cfea18 spi_flash: refactor spi_flash.h to decline duplicated code 2021-12-30 14:05:12 +08:00
Fu Hanxi
07ada54d20 Merge branch 'bugfix/pre-commit-windows-support' into 'master'
pre-commit: use pathlib to do glob pattern match

Closes IDF-4390

See merge request espressif/esp-idf!16547
2021-12-30 04:11:36 +00:00
Sudeep Mohanty
6a2a6e4220 Merge branch 'feature/remove-depricated-cpu-util-functions' into 'master'
esp_hw_support: Removed deprecated CPU util functions

Closes IDF-2868

See merge request espressif/esp-idf!16391
2021-12-29 16:44:17 +00:00
songruojing
e0bc3a923c esp8684: support GPIO peripheral, IO_MUX, GPIO matrix.
Generic GPIO example and GPIO unit test on esp8684 are both supported as well.
2021-12-29 22:01:45 +08:00
laokaiyao
4f28b33bbc apll: add lock for apll 2021-12-29 10:13:13 +08:00
laokaiyao
af4e448928 i2s: impove the clock division calculation
Reported from: https://esp32.com/viewtopic.php?f=25&t=24542&p=87595#p87595
2021-12-29 10:13:13 +08:00
Sudeep Mohanty
e22b4007d3 esp_hw_support: Removed deprecated CPU util functions
The following files were deleted:
- components/esp_hw_support/include/soc/cpu.h
- components/soc/esp32s3/include/soc/cpu.h

The following functions are deprecated:
- get_sp()

The following functions declared in soc/cpu.h are now moved to esp_cpu.h:
- esp_cpu_configure_region_protection()

The following functions declared in soc/cpu.h are now moved to components/xtensa/include/esp_cpu_utils.h:
- esp_cpu_process_stack_pc()

All files with soc/cpu.h inclusion are updated to include esp_cpu.h instead.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-28 16:58:37 +05:30
Fu Hanxi
70df376692 fix(ci): exclude patterns python files while checking tools pattern 2021-12-27 16:35:55 +08:00
Fu Hanxi
6980ad5e12 fix(ci): use pathlib do glob pattern match 2021-12-27 16:29:42 +08:00
lly
8fd34d4741 ble_mesh: example: Update example license 2021-12-24 09:08:45 +08:00
Ondrej Kosta
1150a11c56 Fixed ESP32 EMAC driver insufficient TX buffer size which could followed esp_eth_stop and esp_eth_start sequence 2021-12-23 10:48:38 +01:00
Ivan Grokhotkov
ef5bc71372 ci: enable ccache for build jobs 2021-12-22 00:58:49 +01:00
Ivan Grokhotkov
b3b90d6a85 ci: disable ccache when running CMake build system tests
Some tests check if certain files are rebuilt when source files are
'touch'ed. With ccache, 'touch'ing source files doesn't cause a
rebuild, hence the test fails. In case IDF_CCACHE_ENABLE was set in
the environment, unset it before starting the tests.
2021-12-22 00:36:00 +01:00
David Čermák
2c0d760816 Merge branch 'bugfix/mdns_network_socket_err_prints' into 'master'
mdns: Minor err print fix in socket-networking layer (GitHub PR)

Closes IDFGH-6447 and IDFGH-6434

See merge request espressif/esp-idf!16427
2021-12-21 13:59:01 +00:00
Ivan Grokhotkov
1cbea5a504 Merge branch 'feature/espefuse_adds_args_to_execute_scripts_cmd' into 'master'
esptool/espefuse: execute_scripts can be run nested way

See merge request espressif/esp-idf!16411
2021-12-21 12:24:06 +00:00
Martin Válik
4f7c36d859 Merge branch 'feature/usb-msc' into 'master'
USB MSC class

Closes IDFGH-4584

See merge request espressif/esp-idf!14573
2021-12-21 10:22:54 +00:00
Mahavir Jain
2264f4d9b8 Merge branch 'feature/memprot_api_unified_c3' into 'master'
Memprot API unified - ESP32C3

Closes IDF-3849

See merge request espressif/esp-idf!15086
2021-12-21 08:45:33 +00:00
Martin Vychodil
dd938eb952 System/Security: Memprot API unified (ESP32C3)
Unified Memory protection API for all PMS-aware chips (ESP32C3)

Closes JIRA IDF-3849
2021-12-21 01:50:36 +01:00
Martin Valik
73dce765d5 USB: added MSC Host Driver with VFS support
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-20 12:39:45 +01:00
Roland Dobai
b886dc6998 Merge branch 'feature/idf_py_savedefconfig' into 'master'
Tools: Add "idf.py save-defconfig" command to generate sdkconfig.defaults based on current sdkconfig

Closes IDF-2970

See merge request espressif/esp-idf!16409
2021-12-20 08:23:43 +00:00
Roland Dobai
eab738c79e Merge branch 'bugfix/ldgen_plus_in_archive_name' into 'master'
ldgen: allow + sign in archive names

Closes IDFGH-6414

See merge request espressif/esp-idf!16432
2021-12-17 12:08:03 +00:00
Ivan Grokhotkov
52fb8624cc ldgen: allow + sign in archive names
Closes https://github.com/espressif/esp-idf/issues/8073
2021-12-17 10:31:01 +01:00
Jakob Hasse
7572f75d6b refactor (cxx)!: I2C C++ classes use strong value types now
Added host-based I2C C++ unit tests

BREAKING CHANGE: I2C C++ interface changes, raw values for
    arguments are mostly not allowed anymore.
2021-12-17 14:05:52 +08:00
David Cermak
f1b8f5c102 mdns: Minor err print fix in socket-networking layer 2021-12-16 16:00:44 +01:00
KonstantinKondrashov
4cef1e2f8b esptool/espefuse: execute_scripts can be run nested way
Added args for execute_scripts cmd
Cleaned up only_burn_at_end args, it does not need anymore
2021-12-16 22:32:20 +08:00
morris
5efc7bf2b4 Merge branch 'bugfix/build_spaces_in_path_kconfig_ldgen_esptool' into 'master'
kconfig, ldgen, esptool, cmake: changes to support spaces in paths

See merge request espressif/esp-idf!15429
2021-12-16 10:32:49 +00:00
Armando
4dc0d6b2fe adc: support adc dma driver on all chips 2021-12-16 00:19:15 +00:00