Commit Graph

25166 Commits

Author SHA1 Message Date
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
Roland Dobai
5ed34ea3c2 Tools: Add support for ESP32-C2 ECO1 flasher stub
requires esptool v3.3.1 or newer
2022-05-13 09:21:49 +02: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
Roland Dobai
57e1a52a1e Merge branch 'feature/update_tool_version_with_checksum_file' into 'master'
tools: Add tool's versions update with checksum file

See merge request espressif/esp-idf!17504
2022-05-13 15:01:52 +08:00
Anton Maklakov
b69efa20ad bluedroid: fix -Wchar-subscripts warning
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
2022-05-13 06:55:22 +00:00
Anton Maklakov
bcfec4ad74 bluedroid: suppress some -Waddress-of-packed-member warnings 2022-05-13 06:55:22 +00:00
Anton Maklakov
e44d7fbaed bluedroid: fix argument type according its usage 2022-05-13 06:55:22 +00:00
Anton Maklakov
9a5f0f6c53 bluedroid: fix argument type to correct narrow one 2022-05-13 06:55:22 +00:00
Anton Maklakov
29b2beffc0 bluedroid: fix type for passing argument in function 2022-05-13 06:55:22 +00:00
Anton Maklakov
87bf3260dd bluedroid: fix argument type in functions 2022-05-13 06:55:22 +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
mofeifei
4be8497391 docs: add cn trans for system_time 2022-05-13 14:10:35 +08:00
Mahavir Jain
dcaa74ebb3 Merge branch 'feature/optimize_wifi_provisioning_memory' into 'master'
feat(wifi_provisioning): Optimize memory for wifi scan ap number

Closes AEG-67

See merge request espressif/esp-idf!18067
2022-05-13 13:58:34 +08:00
Yuan Jian Min
74ae372c73 feat(wifi_provisioning): Optimize memory for wifi scan ap number 2022-05-13 13:58:34 +08:00
Kapil Gupta
72e53d116a Merge branch 'feature/internal_tls_code_update' into 'master'
wpa_supplicant: sync eap code with upstream

See merge request espressif/esp-idf!16962
2022-05-13 12:57:48 +08:00
Kapil Gupta
c2429f1cf9 wpa_supplicant: sync eap code with upstream 2022-05-13 12:57:47 +08:00
Harshit Malpani
1c0987814b target-test.yml: Add job for wifi runner 2022-05-13 04:41:00 +00:00
Harshit Malpani
57e2e7a27c Migrate cbor example to pytest framework 2022-05-13 04:41:00 +00:00
Fu Hanxi
3697cd0440 docs: add multi dut chapter 2022-05-13 11:56:59 +08: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
Fu Hanxi
4a7315b1b0 ci: improve import path 2022-05-13 11:54:42 +08:00
Sudeep Mohanty
1f47466664 Merge branch 'test/ignore_freertos_yield_tests' into 'master'
freertos: ignore freertos yield test failures

See merge request espressif/esp-idf!18078
2022-05-13 11:45:15 +08:00
Armando
ed1e4c854e ci: support distribute ut based on psram type 2022-05-13 10:49:02 +08:00
Jakob Hasse
847f3813a0 Merge branch 'bugfix/sdcard_example_test' into 'master'
examples: sd_card: fix example test not getting the expected name

Closes IDFCI-1249

See merge request espressif/esp-idf!18070
2022-05-13 10:01:46 +08:00
Ondrej Kosta
c229766900 Merge branch 'bugfix/eth_examples_gpio_range' into 'master'
Bugfix/eth examples gpio range

Closes IDFGH-5826

See merge request espressif/esp-idf!17822
2022-05-13 06:44:07 +08:00
Adam Múdry
e5cff100b7 fatfs: add new ESP32 targets to external flash example 2022-05-12 18:57:10 +00:00
Ivan Grokhotkov
849a296675 Merge branch 'bugfix/newlib_implement_atomic_load_store' into 'master'
newlib: implement __atomic_load/__atomic_store functions

Closes LLVM-144

See merge request espressif/esp-idf!17561
2022-05-13 02:14:15 +08:00
jingli
a85e187ea7 remove wrong function rtc_cntl_ll_ulp_wakeup_enable for esp32s2 and esp32s3 2022-05-12 21:51:21 +08:00
Darian
8dae294ab6 Merge branch 'refactor/freertos_kconfig_options' into 'master'
Freertos: Refactor Kconfig options

See merge request espressif/esp-idf!18043
2022-05-12 21:47:18 +08:00
Armando
591d45151d psram: add quad mode kconfig macro on 32/s2 2022-05-12 21:36:18 +08:00
jingli
abb6bb1181 esp_hw_support/sleep: fix cannot enable sleep reject in some cases
When enable sleep reject before this fix, we have two limitations:
1. it must be light sleep
2. RTC GPIO wakeup source must be set

We require light sleep because `esp_deep_sleep_start` function has
been declared with "noreturn" attribute, So developers don't expect
that this function may return (due to an error or a sleep reject).
But the requirement for RTC GPIO wakeup source is not reasonable for
all chips. This requirement exists because ESP32 only supports RTC GPIO
and SDIO sleep reject sources. But later chips support all sleep reject
sources.

This fix brings the following changes:
for ESP32: RTC GPIO and SDIO sleep reject sources can be enabled
           when corresponding wakeup source is set.

for later chips: all sleep reject sources can be enabled when
                 corresponding wakeup source is set.
2022-05-12 19:09:57 +08:00
jingli
ddcc5bfe38 improve ulp riscv test case
Add second sleep and wakeup test in test case `ULP-RISC-V is able to wakeup main CPU from light sleep`
2022-05-12 19:08:57 +08:00
Nachiket Kukade
2f4ec4e27d Merge branch 'bugfix/sap_mode_change_crash_issue' into 'master'
Fixes for SAP mode change and PMF issues

Closes WIFI-4322, WIFI-4394, and IDFCI-1147

See merge request espressif/esp-idf!17865
2022-05-12 19:08:05 +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
Marius Vikhammer
34910bee07 Merge branch 'bugfix/fix_doxygen_warnings' into 'master'
docs: fix  doxygen warnings

See merge request espressif/esp-idf!18071
2022-05-12 16:54:52 +08:00
Wei Tian Hua
aef62ba21f Merge branch 'bugfix/fix_bt_sphinx_warnings' into 'master'
components_bt: fix unstandard typedefs

Closes BT-2357

See merge request espressif/esp-idf!18047
2022-05-12 16:46:13 +08:00
Ivan Grokhotkov
13c3e13ecb Merge branch 'docs/update_readme_buildsystem' into 'master'
docs: update CN translation for readme and build-system

Closes DOC-2943 and DOC-2942

See merge request espressif/esp-idf!17741
2022-05-12 16:38:47 +08:00
Tomas Rezucha
4dde197cca examples: Use components from idf-extra-components repository 2022-05-12 08:37:44 +00:00
Sudeep Mohanty
ffae594e8b freertos: ignore freertos yield test failures
This commit updates the freertos yield tests to be ignored by the CI
during failures.
2022-05-12 13:57:02 +05:30
Ondrej Kosta
1a20b10fd3 Examples: common source for GPIO range in Kconfigs defined 2022-05-12 09:33:40 +02: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
KonstantinKondrashov
c8cd3e3da3 esp_hw_support: Adds a msg when 32k xtal was stopped 2022-05-12 06:28:52 +00:00
morris
8ff7b0c998 Merge branch 'feature/esp32c2_hal_rom_impl' into 'master'
esp32c2: clean up ROM impl && enable pytest build

See merge request espressif/esp-idf!18021
2022-05-12 14:11:45 +08:00
Fu Hanxi
c626297f81 ci: fix xfail test cases end up failed when existing known failure cases 2022-05-12 05:18:57 +00: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
aaa2eca57d blink: support ESP8684-DevKitM board 2022-05-12 05:18:57 +00:00