Wykres commitów

20995 Commity (7e39aa61fa0dbcb02bb327aa62fe6117eafe69c9)

Autor SHA1 Wiadomość Data
Ivan Grokhotkov 7056fd3129 bootloader: don't add nonexistent directories to EXTRA_COMPONENT_DIRS 2021-12-14 19:17:53 +01:00
Ivan Grokhotkov 09e50b27ed cmake: handling of space-separated EXTRA_COMPONENT_DIRS
COMPONENT_DIRS and EXTRA_COMPONENT_DIRS should be defined as CMake
lists, using 'set' or 'list' commands. Some applications written
for earlier versions of ESP-IDF used to define these variables as
space separated strings.

For example, the following is correct:

  set(EXTRA_COMPONENT_DIRS path/to/components path/to/more/components)

The following is not correct:

  set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} component1")
  set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} component2")

The string "component1 component2" may indicate a single directory
name with a space, or two directory names separated by space.

However due to the fact that such way of defining EXTRA_COMPONENT_DIRS
was supported in IDF 4.3 and earlier, we need to provide backward
compatibility for it.

This commit introduces a new script, split_paths_by_spaces.py, which
is invoked if EXTRA_COMPONENT_DIRS or COMPONENT_DIRS variable contains
spaces. The script tries to determine if each space should be
interpreted as a separator or as part of the directory name.

When this cannot be done unambiguously, the script reports an error.

In all cases when space separators are detected, the script reports
a warning, and prints instructions for fixing the CMakeLists.txt.

Breaking change in this commit: specifying non-existent directories
in COMPONENT_DIRS or EXTRA_COMPONENT_DIRS is no longer allowed.
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov 29489a3303 build system: fix quoting of fragments list passed to ldgen 2021-12-14 19:17:53 +01:00
Ivan Grokhotkov 6b361d923c esptool_py: fix quoting issues in run_serial_tool.cmake 2021-12-14 19:17:53 +01:00
Ivan Grokhotkov 50799e3026 esptool_py: fix passing arguments to cmake -P
Fixes WORKING_DIRECTORY argument being passed with spaces escaped `\ `
which causes failure in run_cmd.cmake, since the WORKING_DIRECTORY is
interpreted as having a literal backslash character in it.
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov 8da98b864d build system: pass semicolon-separated directory lists to kconfig
New —-list-separator argument of confgen.py and
prepare_kconfig_files.py is used to select which character is used
as list separator. For compatibility with esp-docs, we still keep
support for space separator. Otherwise esp-docs would have to choose
the separator depending on the IDF version.
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov 01033a3a60 newlib: stdatomic: implement missing "op_fetch", "nand" builtins
* Adds implementations of __{atomic,sync}_nand_fetch_n. These builtins
  were implemented for other operations but were not defined for NAND.
* Adds implementation of __atomic_OP_fetch_n for all OPs.
* Adds implementation of __sync_OP_and_fetch_n for all OPs.

Reported in https://github.com/espressif/arduino-esp32/issues/5948
2021-12-14 16:06:12 +01:00
Mahavir Jain b208d832a3 Merge branch 'contrib/github_pr_8041' into 'master'
print Firmware Upgrade URL to help user debug (GitHub PR)

Closes IDFGH-6382

See merge request espressif/esp-idf!16387
2021-12-14 14:59:23 +00:00
Ondrej Kosta 30e03e2c1d netif_glue: removal of unused global variable 2021-12-14 15:23:07 +01:00
Suren Gabrielyan e0d5fca390 mdns: added test app
Closes IDF-4132
2021-12-14 16:35:38 +04:00
Hrudaynath Dhabe a65eff3b88 Merge branch 'bugfix/wpa_supplicant_logs' into 'master'
esp_wifi: Change the verbosity of wpa_supplicant logs.

Closes IDFGH-6370

See merge request espressif/esp-idf!16332
2021-12-14 12:17:49 +00:00
Ivan Grokhotkov 636ce4750f ldgen: remove unused variables 2021-12-14 13:14:55 +01:00
Simon 1c82e6eac7 Merge branch 'ci/8684_build_ci' into 'master'
CI: Enable ESP8684 build (2nd stage) CI on master (except example build)

Closes IDF-4388

See merge request espressif/esp-idf!16197
2021-12-14 11:12:10 +00:00
Simon 2fa0b2fb4c Merge branch 'flash/add_th_support' into 'master'
spi_flash: add support for TH 1M flash

Closes IDF-4071

See merge request espressif/esp-idf!16210
2021-12-14 09:53:44 +00:00
Jakob Hasse b856ea2ff6 Merge branch 'contrib/github_pr_8037' into 'master'
Don't return a hard coded errno in vfs_fat_access (GitHub PR)

Closes IDFGH-6377

See merge request espressif/esp-idf!16366
2021-12-14 09:49:14 +00:00
morris ac5c2eaa28 mcpwm: fix implicit conversion in LL function
Closes https://github.com/espressif/esp-idf/issues/8066
2021-12-14 17:26:55 +08:00
Mahavir Jain 0054732991 Fix debug print to handle URL in internal testing scenarios as well 2021-12-14 14:29:02 +05:30
Ivan Grokhotkov 44d18506b2 Merge branch 'feature/posix_compat_functions' into 'master'
newlib: implement posix_memalign, sysconf, realpath

Closes IDFGH-4268 and IDFGH-6119

See merge request espressif/esp-idf!16355
2021-12-14 08:56:33 +00:00
Hrudaynath Dhabe 9469f08a0b esp_wifi: Change the verbosity of wpa_supplicant logs.
Closes https://github.com/espressif/esp-idf/issues/8030
2021-12-14 14:23:31 +05:30
Armando (Dou Yiwen) a86d2aff2c Merge branch 'bugfix/fix_adc1_chan8_9_not_defined_on_s3' into 'master'
adc: fix adc1 channel 8 and 9 not defined bug on s3

Closes IDF-4421

See merge request espressif/esp-idf!16326
2021-12-14 08:10:00 +00:00
Michael (XIAO Xufeng) b23ed0ee81 Merge branch 'feature/update_adc_cali_due_to_efuse_version_change' into 'master'
adc: update s3 adc calibration efuse version

Closes IDF-4069

See merge request espressif/esp-idf!15843
2021-12-14 07:27:35 +00:00
zhangwenxu 50f6302c5d mdns: support multiple instance for mdns service txt set 2021-12-14 15:10:25 +08:00
Michael (XIAO Xufeng) 590c18f5c8 Merge branch 'feature/support_s3_octal_psram_ecc_feature' into 'master'
psram: add octal psram Error Correcting Code (ECC) feature

Closes IDF-4258

See merge request espressif/esp-idf!15832
2021-12-14 06:56:21 +00:00
morris 11b2973b0a Merge branch 'bugfix/gdma_potential_uaf_bug' into 'master'
gdma: fix potential use after free issue

See merge request espressif/esp-idf!16196
2021-12-14 06:16:11 +00:00
morris d87b6ec7e2 Merge branch 'feature/gc9a01_driver_pr' into 'master'
lcd: added gc9a01 driver (PR + Example)

Closes IDFGH-6232

See merge request espressif/esp-idf!15985
2021-12-14 05:26:05 +00:00
Wang Meng Yang 7e2a9feb27 Merge branch 'bugfix/fix_blufi_encryption_fail' into 'master'
components/bt: fix blufi encryption fail

See merge request espressif/esp-idf!16313
2021-12-14 03:17:03 +00:00
Wang Meng Yang 92ffcba739 Merge branch 'feature/support_ble_direct_ind_low_adv' into 'master'
components/bt: Support low duty cycle directed advertising

See merge request espressif/esp-idf!16371
2021-12-14 03:15:14 +00:00
Mo Fei Fei 7929f6eb65 Merge branch 'docs/fix_typo_in_head_file' into 'master'
docs: fix typo in sdmmc_cmd.h and inconsistency in spi_master.h

Closes DOC-2397 and DOC-2382

See merge request espressif/esp-idf!16368
2021-12-14 02:44:03 +00:00
morris 14c926350a gdma: fix potential use after free issue 2021-12-14 10:08:26 +08:00
Marius Vikhammer 6fbef44ffc rom: remove deprecated headers from esp32 components
These have been replaced by headers in the esp_rom component.
2021-12-14 09:48:11 +08:00
Ivan Grokhotkov 8df306ab60 freertos,esp_system: make dependencies on some components optional
Dependencies on gdbstub, espcoredump, app_trace will only be added
if these components are present in the build.
2021-12-13 18:39:49 +01:00
Ivan Grokhotkov d83ce227aa newlib: implement posix_memalign, sysconf, realpath
Closes https://github.com/espressif/esp-idf/issues/6119
Closes https://github.com/espressif/esp-idf/issues/7798
2021-12-13 14:40:21 +01:00
Mahavir Jain 1d0ae38c11 Merge branch 'bugfix/advanced_ota_redirect_url_failure' into 'master'
Fix for advanced_ota_redirect_url example failure in CI

See merge request espressif/esp-idf!16330
2021-12-13 13:13:40 +00:00
Kapil Gupta 8d329951c3 Merge branch 'bugfix/static_analysis_fixes' into 'master'
ESP_WIFI: Remove static analysis warnings

See merge request espressif/esp-idf!15871
2021-12-13 12:57:03 +00:00
Jiang Jiang Jian e3137693c1 Merge branch 'bugfix/fix_rx_fragment_error_issue' into 'master'
esp_wifi: fix fragment issue and PMF compatible for faulty APs

Closes WIFI-4218

See merge request espressif/esp-idf!16321
2021-12-13 12:32:33 +00:00
Armando 9a6f894046 psram: add octal psram ECC feature 2021-12-13 20:24:52 +08:00
Armando fee1d38467 psram: add a ut to test if it's heap allocable 2021-12-13 20:24:52 +08:00
Armando 021e8817cf psram: make psram wrap mode unavailable 2021-12-13 20:19:32 +08:00
xiewenxiang 0030fba89c components/bt: Fix high duty cycle directed advertising will not be stopped when timeout 2021-12-13 20:10:21 +08:00
Cao Sen Miao 4a32253306 Add codeowner on gitlab for /esp8684 2021-12-13 19:18:47 +08:00
Cao Sen Miao be510e0498 cleanup: dalete makefile in esp8684 folder 2021-12-13 19:18:47 +08:00
Cao Sen Miao e81841318f CI: Enable ESP8684 build stage CI on master 2021-12-13 19:18:47 +08:00
David Čermák 0b77be5108 Merge branch 'bugfix/eth_test_app_race' into 'master'
esp_eth/CI: Fix app-test to start recv test after sock bound

See merge request espressif/esp-idf!16350
2021-12-13 10:36:52 +00:00
Ivan Grokhotkov 7a5ed12c6b lwip: make some of the component dependencies optional 2021-12-13 10:53:22 +01:00
Ivan Grokhotkov 71a884571c cmake: add idf_component_optional_requires utility function
It can be used in component CMakeLists.txt files when adding "weak"
dependencies between component. A "weak" dependency from A to B is
similar to target_link_libraries(A PRIVATE B), but it gets added only
if B is included in the build.
Use it instead of specifying B as part of PRIV_REQUIRES when the
component can be built (even if with reduced functionality) without
component B being available.
2021-12-13 10:53:22 +01:00
xiewenxiang 132875a6eb components/bt: Support low duty cycle directed advertising 2021-12-13 17:07:23 +08:00
Sudeep Mohanty ee9a102841 freertos: remove portmacro.h inclusion from task.h
This commit removes the portmacro.h include from task.h as portmacro.h
gets pulled in via FreeRTOS.h. This aligns with upstream FreeRTOS code.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-13 14:33:37 +05:30
Mo Fei Fei 2934010950 Merge branch 'docs/sync_up_cn_trans_user_guides' into 'master'
docs: sync up cn trans for esp32-devkitc and esp32-s2-kaluga-1-kit user guides

Closes DOC-2403 and DOC-2388

See merge request espressif/esp-idf!16360
2021-12-13 06:36:33 +00:00
Harshit Malpani 66a8615c18 Fix for advanced_ota_redirect_url example failure in CI 2021-12-13 10:50:43 +05:30
Jakob Hasse c08cf68584 Merge branch 'bugfix/nvs_oom_check_wrong_pointer' into 'master'
nvs: fixed OOM check wrong pointer issue

See merge request espressif/esp-idf!16120
2021-12-13 05:18:26 +00:00