Commit Graph

3714 Commits

Author SHA1 Message Date
Marius Vikhammer
96965d5d64 Merge branch 'ci/app_type_elf_reduce_ram' into 'master'
CI: reduce memory footprint for "Loadable ELF build"

Closes IDFCI-1272

See merge request espressif/esp-idf!18185
2022-05-20 15:48:15 +08:00
Marius Vikhammer
27045f5e74 CI: reduce memory footprint for "Loadable ELF build"
Build test was failing due to IRAM overflow, building with the recommended
options for reducing memory footprint should give us some breathing room.
2022-05-20 14:39:46 +08:00
Omar Chebib
68ddce7c0b Merge branch 'bugfix/esp32_i2c_incorrect_speed' into 'master'
I2C: Fix SCL period timings on ESP targets

See merge request espressif/esp-idf!17999
2022-05-20 13:33:03 +08:00
Roland Dobai
f49df63a16 Merge branch 'fix/arm-architecture-detection' into 'master'
Tools: fix architecture armhf/armel detection

Closes IDFCI-1238, IDFCI-1239, IDFCI-1240, IDFCI-1241, IDFCI-1242, IDFCI-1243, IDFCI-1244, IDFCI-1245, IDFCI-1246, and IDFCI-1247

See merge request espressif/esp-idf!18122
2022-05-19 18:59:42 +08:00
morris
5d46bf3429 check_term: allow alacritty term 2022-05-19 11:10:59 +08:00
Alexey Lapshin
0afd70c362 Tools: fix architecture armhf/armel detection 2022-05-18 15:18:09 +04:00
Roland Dobai
3bf6e06a80 Merge branch 'tools/fix_cmake_variables_propagation' into 'master'
tools: Fix cmake variable propagation

Closes IDFGH-7212 and IDFGH-7292

See merge request espressif/esp-idf!17983
2022-05-18 15:44:22 +08:00
Omar Chebib
477bc9e64c I2C: Fix SCL period timings on ESP targets
The output frequency is now more accurate as the SCL period timings have been fixed.
This fix applies for ESP32, ESP32S3, ESP32C3, ESP32C2 and ESP32H2
2022-05-18 05:36:08 +00:00
Roland Dobai
37b641608a Merge branch 'fix/gdb-version-check' into 'master'
tools: Fix gdb version check

Closes IDFGH-7385

See merge request espressif/esp-idf!18129
2022-05-17 18:59:25 +08:00
Roland Dobai
762820971c Merge branch 'tools/update_cmake' into 'master'
tools: Update CMake

Closes IDFGH-7227

See merge request espressif/esp-idf!17991
2022-05-17 17:27:48 +08:00
Martin Gano
e9716b1498 Merge branch 'feature/add-fatfs-parser' into 'master'
fatfsgen.py implement functionality for parsing fatfs

Closes IDF-4360

See merge request espressif/esp-idf!17951
2022-05-17 17:07:13 +08:00
Alexey Lapshin
41bbdcc26b tools: Fix gdb version check
Closes https://github.com/espressif/esp-idf/issues/8965
2022-05-17 12:17:03 +04:00
Darian
4d751b9d6b Merge branch 'feature/task_watchdog_freeertos_smp' into 'master'
esp_system: Add task watchdog user feature and fix SMP FreeRTOS idle task watchdog

Closes IDF-3340

See merge request espressif/esp-idf!17768
2022-05-17 15:13:43 +08:00
Djordje Nedic
2ee43cf6c4 tools: Update CMake
This updates CMake to the latest version (3.23).
There are no deprecations and feature removals that affect us going from the previous version:

https://cmake.org/cmake/help/latest/release/3.21.html#deprecated-and-removed-features

https://cmake.org/cmake/help/latest/release/3.22.html#deprecated-and-removed-features

https://cmake.org/cmake/help/latest/release/3.23.html#deprecated-and-removed-features

Closes https://github.com/espressif/esp-idf/issues/8821
2022-05-17 05:06:35 +00:00
Kapil Gupta
ba1daac5f0 Merge branch 'bugfix/wnm_rrm_caps_validation' into 'master'
esp_wifi: Add APIs to check for BTM, RRM support of connected AP

See merge request espressif/esp-idf!18092
2022-05-17 11:33:23 +08:00
Shu Chen
f1d1c5a876 Merge branch 'support/esp32h2beta2_phy_build' into 'master'
esp_phy: support esp32h2beta2 phy build

See merge request espressif/esp-idf!17856
2022-05-17 10:32:07 +08:00
Djordje Nedic
11f3898e33 tools: Fix cmake variable propagation
This fixes the issue where component CMAKE variables propagate by default to the entire project, for instance compiler flags.
Useful for when you want to have component specific compiler flags or defines.

Closes https://github.com/espressif/esp-idf/pull/8806
Closes https://github.com/espressif/esp-idf/issues/8881
2022-05-16 16:55:34 +02:00
Roland Dobai
31b7694551 Merge branch 'contrib/github_pr_8955' into 'master'
Tools: fix idf.py monitor reset with hotkey with --no-reset arg (GitHub PR)

Closes IDFGH-7375

See merge request espressif/esp-idf!18118
2022-05-16 21:50:16 +08:00
Martin Gaňo
005af75da3 Added FATFS partition parser 2022-05-16 14:32:17 +02:00
Tomas Rezucha
0a511e576e Merge branch 'feature/remove_extra_components' into 'master'
examples: Use components from idf-extra-components repository

See merge request espressif/esp-idf!17992
2022-05-16 19:56:11 +08:00
Nonoo
c063cbd7f7 Tools: Set idf.py monitor DTR to the default state when reset is not needed
This lets use the reset hotkey (Ctrl+T Ctrl+R).

Tools: fix idf.py monitor reset with hotkey with --no-reset arg

Tools: Set idf.py monitor DTR to the default state when reset is not needed
2022-05-16 13:06:35 +02:00
zhangwenxu
9440430db2 esp_phy: support esp32h2beta2 phy build 2022-05-16 10:50:44 +00:00
Kapil Gupta
ee33c6ae05 esp_wifi: Add APIs to check BTM and RRM support of connected AP 2022-05-16 15:57:59 +05:30
Fu Hanxi
38345d9cd8 Merge branch 'ci/improve_build_scripts_for_multi_targets' into 'master'
CI: improve build scripts for multi targets

See merge request espressif/esp-idf!17895
2022-05-16 11:18:11 +08:00
Armando (Dou Yiwen)
ad747b237a Merge branch 'toos/add_s3_ut_based_on_quad_octal_psram' into 'master'
ci: add s3 ut based on quad octal psram

See merge request espressif/esp-idf!18087
2022-05-16 09:57:21 +08:00
Michael (XIAO Xufeng)
6f507d527c rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
Sync configuration from other chips

Closes: https://github.com/espressif/esp-idf/issues/8007, https://github.com/espressif/esp-idf/pull/8089
2022-05-14 22:35:41 +08:00
Jing Li
ac0d16cdc8 Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup' into 'master'
sleep: fix cannot lightsleep again after a wakeup from ULP

Closes IDFGH-4396

See merge request espressif/esp-idf!17970
2022-05-13 22:25:23 +08:00
Darian Leung
4877a9fcba esp_system: Refactor task_wdt
This commit refactors the task watchdog as follows:

- Renamed variables, types, and functions
- Replaced manual linked list implementation with SLIST()
- Moved calloc()/free() calls out of critical sections
- Shortened ISR critical sections
- Updated API description
- Updated code formatting
2022-05-13 17:57:44 +08:00
Roland Dobai
4bd5c4ef53 Merge branch 'partition_table/warn_partition_nearly_full' into 'master'
partition_table: Add warning when partitions are nearly full

Closes IDF-4533

See merge request espressif/esp-idf!17916
2022-05-13 16:28:35 +08:00
Roland Dobai
6cbe0ceaa7 Merge branch 'feature/enable_component_manager_by_default_for_pure_cmake' into 'master'
tools: Enable the component manager by default in CMake

Closes IDF-4322

See merge request espressif/esp-idf!17724
2022-05-13 15:39:01 +08:00
Djordje Nedic
e09ef86d7c partition_table: Add warning when partitions are nearly full
This adds a warning in cases where the smallest partition is nearly full.
A test with a specially crafted partition table is created for the smallest partition warning.
If the threshold or the template itself change, change the factory app partition size as well.
2022-05-13 07:14:04 +00:00
Alexey Lapshin
e49d4a83d9 tools: Add tool's versions update with checksum file
'idf_tools.py add-version' has new options:
--override            Override tool versions with new data
--checksum-file       URL or path to local file with checksum/size for artifacts

Usage e.g.:
CHECKSUM_URL=https://github.com/espressif/crosstool-NG/releases/download/esp-2021r2/crosstool-NG-esp-2021r2-checksum.sha256
idf_tools.py add-version --tool xtensa-esp32-elf --version esp-2021r2 --override --checksum-file $CHECKSUM_URL

Positional argument 'files' moved to optional argument '--artifact-file'

Add tests for add-version logic
2022-05-13 06:51:59 +00:00
Fu Hanxi
52b5a8348e test: add pytest_wifi_getting_started script 2022-05-13 11:56:59 +08:00
Fu Hanxi
511ccdcb70 ci(pytest): support multi-dut different app 2022-05-13 11:54:42 +08:00
Fu Hanxi
5c997bd5dd ci(pytest): upgrade to 0.7.0 2022-05-13 11:54:42 +08:00
Armando
ed1e4c854e ci: support distribute ut based on psram type 2022-05-13 10:49:02 +08:00
jingli
dd414b9305 esp_hw_‎support/sleep: ‎fix cannot lightsleep again after a wakeup from ULP
Since ulp wakeup signal are connected to ulp int raw(except esp32), we
need to clear ulp int raw before sleep when ulp wakeup enabled. Otherwise,
if the ulp int raw is already set, chip will not sleep properly.

Closes https://github.com/espressif/esp-idf/issues/6229
2022-05-12 17:57:08 +08:00
Tomas Rezucha
4dde197cca examples: Use components from idf-extra-components repository 2022-05-12 08:37:44 +00:00
Marius Vikhammer
c8617fe965 docs: fix all doxygen warnings
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
Mahavir Jain
af1f342ee8 Merge branch 'fix/make_esp_tls_t_private' into 'master'
Make esp_tls_t as private structure

Closes IDF-2812

See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
morris
47e4fe83ba ci: enable build pytest ut and examples on esp32c2 2022-05-12 05:18:57 +00:00
morris
6d288575dc test: fix broken host test of idf_as_lib 2022-05-12 05:18:57 +00:00
morris
24f5fecef0 hal: use ROM implementation for systimer and wdt on esp32c2 2022-05-12 05:18:57 +00:00
morris
334126315f esp32c2: level up from preview targets 2022-05-12 05:18:57 +00:00
Mahavir Jain
42aac8d1d7 Merge branch 'contrib/github_pr_8816' into 'master'
Don't ignore return value of `httpd_stop` (GitHub PR)

Closes IDFGH-7222

See merge request espressif/esp-idf!18040
2022-05-12 12:00:03 +08:00
Kapil Gupta
97d7bde1ea Merge branch 'feature/wps_code_updation' into 'master'
wpa_supplicant: wps code cleanup

See merge request espressif/esp-idf!16577
2022-05-12 11:56:58 +08:00
Ivan Grokhotkov
2e506bd93e Merge branch 'bugfix/iperf_output_regex' into 'master'
ci: iperf: recognize report results from newer iperf versions

Closes IDFCI-1226 and IDFCI-1229

See merge request espressif/esp-idf!18055
2022-05-12 03:26:34 +08:00
Kapil Gupta
ecc87cfc8d wpa_supplicant: wps code updation
Update WPS code with upstream. Also moved ESP specific code
in another esp code folder.
2022-05-11 12:18:52 +00:00
Nathan Phillips
e8e63a06e8 Don't ignore return value of httpd_stop 2022-05-11 08:58:01 +00:00
Aditya Patwardhan
aa9de02259 esp_tls.h: Clean up included header files. 2022-05-11 07:09:34 +00:00