Commit Graph

1527 Commits

Author SHA1 Message Date
morris
f1235d8418 Merge branch 'bugfix/esp_common_copyrights' into 'master'
esp_common: update copyright headers

See merge request espressif/esp-idf!17213
2022-02-22 04:45:17 +00:00
Song Ruo Jing
da3b7f106b Merge branch 'feature/support_esp32c2_reset_cause' into 'master'
esp_system: support esp32c2 reset reason

Closes IDF-3832 and IDF-4244

See merge request espressif/esp-idf!17158
2022-02-22 03:12:44 +00:00
Ivan Grokhotkov
911a8fc714
spiffs, wear_levelling: update copyright headers 2022-02-22 00:09:24 +03:00
Adam Múdry
bb8587a139 fatfs: Update to version 0.14b
Updated FATFS to 0.14b from 0.13c and patched for ESP32
2022-02-21 14:54:55 +01:00
morris
116197040f i2s: update copyright 2022-02-21 21:28:48 +08:00
Ivan Grokhotkov
f071558117
partition_table: add a test for total partition size error 2022-02-21 10:28:29 +03:00
Ivan Grokhotkov
413375453b
esp_common: update copyright headers 2022-02-21 00:51:49 +03:00
Jakob Hasse
41e1eea9a9 Merge branch 'contrib/github_pr_8388' into 'master'
esp_event: constify event_data pointer (GitHub PR)

Closes IDFGH-6760

See merge request espressif/esp-idf!17195
2022-02-17 14:44:32 +00:00
Mahavir Jain
69f51a989c Merge branch 'feature/pre_encrypted_binary' into 'master'
feature: Pre Encrypted Binary during OTA updates

Closes IDF-3256, IDF-3254, and IDFGH-4334

See merge request espressif/esp-idf!16434
2022-02-17 13:36:54 +00:00
Mahavir Jain
3eb8f3b54e esp_https_ota: add some return values to API documentation 2022-02-17 10:49:15 +05:30
Roland Dobai
a93e372364 Tools: Fix silent failure about the incompatible Python 2022-02-16 18:44:13 +01:00
Amaryllis Kulla
1858901241 esp_event: constify event_data pointer
Also update copyright headers.
2022-02-16 16:16:45 +01:00
Mahavir Jain
71e29053cf Merge branch 'refactor/esp_https_server_api_cleanup' into 'master'
esp_https_server: API cleanup

Closes IDFGH-6540

See merge request espressif/esp-idf!17136
2022-02-15 16:11:09 +00:00
songruojing
bcf24c80df ci: Add esp32c2/rom/rtc.h to check_public_headers_exceptions.txt to pass ci 2022-02-15 15:31:33 +08:00
songruojing
b860fa96e0 esp_system: support esp32c2 reset reason 2022-02-15 13:50:22 +08:00
David Cermak
2553fb5845 esp_eth: Make EMAC DMA burst size configurable
Merges https://github.com/espressif/esp-idf/pull/7874
Closes  https://github.com/espressif/esp-idf/issues/7380
2022-02-14 16:17:29 +00:00
Roland Dobai
9027c30237 Merge branch 'feat/python_reqs_directory' into 'master'
Tools: Make easier the detection of the list of Python features

See merge request espressif/esp-idf!17009
2022-02-14 16:06:36 +00:00
Harshit Malpani
94056fd4a5 esp_https_server: API cleanup 2022-02-14 16:25:54 +05:30
morris
dbfde65515 lcd: refactor ut into test app 2022-02-14 18:43:50 +08:00
morris
84b750cbe8 Merge branch 'refactor/lcd_soc_ll_update_according_trm' into 'master'
lcd soc ll update according trm

See merge request espressif/esp-idf!16900
2022-02-12 08:13:34 +00:00
Marius Vikhammer
5ef585b1b9 Merge branch 'feature/remove_frc2_timer' into 'master'
esp_timer: remove legacy ESP32 FRC timer implementation

Closes IDF-3805

See merge request espressif/esp-idf!16406
2022-02-11 06:08:15 +00:00
Roland Dobai
51bfd280f8 Merge branch 'update/drop_python36' into 'master'
Drop Python 3.6

See merge request espressif/esp-idf!16676
2022-02-10 13:09:42 +00:00
Chen Yu Dong
06a5384f32 Merge branch 'ci/auto_deploy_test_result_timeout' into 'master'
CI: add timeout for jobs and expire_in for artifacts

See merge request espressif/esp-idf!17079
2022-02-10 08:38:21 +00:00
Marius Vikhammer
edb76f14d6 esp_timer: remove legacy ESP32 FRC timer implementation. 2022-02-10 15:17:49 +08:00
Tomas Sebestik
fb12d03dc3 Drop Python 3.6 2022-02-10 07:20:52 +01:00
Darian
61639fe1ec Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
FreeRTOS: Remove usage of legacy data types

Closes IDF-4566

See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Song Ruo Jing
40d1102ca5 Merge branch 'bugfix/cpu_reset_perip_clk_disable' into 'master'
esp_system: change range comparsion for reset reason to specifc cpu reset reason comparison

See merge request espressif/esp-idf!15492
2022-02-10 03:44:15 +00:00
Darian Leung
57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Chen Yudong
de7e67ccec CI: add expire_in and timeout for jobs
add timeout 4 hours and retry for deploy_test_result
add missing expire_in for artifacts
add timeout 1 hour for tartget test jobs
add retry when job_execution_timeout
2022-02-09 22:06:37 +08:00
morris
5810ed1d04 Merge branch 'refactor/remove_ets_sys_from_public_header' into 'master'
esp_rom: remove ets_sys.h dependency from public header files

See merge request espressif/esp-idf!16919
2022-02-09 12:27:06 +00:00
songruojing
c1dedb33fa esp_system: replace the range comparsion for reset reason in perip clk init with specific reset reason check, also add a test case in LEDC to check for the perip clk not being disabled after cpu reset 2022-02-09 15:54:34 +08:00
morris
5893797bf0 Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap' into 'master'
rmt: rx wrap doesn't support on esp32s2

Closes IDFGH-6725

See merge request espressif/esp-idf!17052
2022-02-09 06:54:41 +00:00
morris
ef00bd59dc esp_rom: extract int matrix route and cpu ticks getter 2022-02-09 13:52:20 +08:00
Anton Maklakov
db9c5507f2 Merge branch 'ci/remove_pytest_dir_non_test_apps' into 'master'
ci: build_pytest_app will now remove the non-test apps

Closes IDFCI-1075

See merge request espressif/esp-idf!16984
2022-02-09 03:29:32 +00:00
morris
955cb4c656 Merge branch 'bugfix/perfmon_copyright_headers' into 'master'
perfmon: add SDPX headers

See merge request espressif/esp-idf!17030
2022-02-08 08:38:49 +00:00
morris
9887c7e780 rmt: do not support rx wrap on esp32s2
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-08 13:57:31 +08:00
Mahavir Jain
79d95455de Merge branch 'contrib/github_pr_8337' into 'master'
Set success when closing socket (GitHub PR)

Closes IDFGH-6709

See merge request espressif/esp-idf!17022
2022-02-08 04:41:26 +00:00
Marius Vikhammer
0ffeaf9350 Merge branch 'feature/confgen_rename_many_to_one' into 'master'
kconfig: update confgen to handle sdkconfig.rename with target specific markup

Closes IDF-4544

See merge request espressif/esp-idf!16949
2022-02-08 02:38:22 +00:00
Mahavir Jain
e97b034b3e transport_ssl: use return value from close for non-TLS case
Also fix copyright header for this file
2022-02-07 17:17:16 +05:30
Ivan Grokhotkov
d3f1867725 Merge branch 'bugfix/apptrace_copyright_headers' into 'master'
app_trace: add SPDX headers, mention SystemView in copyrights doc

See merge request espressif/esp-idf!17029
2022-02-07 10:38:58 +00:00
Ivan Grokhotkov
e27679b636 perfmon: add SDPX headers 2022-02-07 08:02:13 +00:00
Fu Hanxi
e761153cff ci: adjust parallel count based on build item count 2022-02-07 10:55:54 +08:00
Fu Hanxi
30f098cd49 ci: add build_non_test_component_apps 2022-02-07 10:55:54 +08:00
Fu Hanxi
b91f8fb4eb ci: skip building pytest apps in normal find_apps build_apps 2022-02-07 10:55:54 +08:00
Fu Hanxi
153433d47d ci: build_pytest_app will now remove the non-test apps
simplify the cli as well
2022-02-07 10:55:54 +08:00
Ivan Grokhotkov
3441dd1e98 Merge branch 'bugfix/ci_pytest_7.x' into 'master'
ci: make pytest build script compatible with pytest 7.x

See merge request espressif/esp-idf!17032
2022-02-05 09:06:09 +00:00
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