Searched +full:patterns +full:- +full:c +full:- +full:files (Results 1 – 17 of 17) sorted by relevance
/hal_espressif-3.5.0/.gitlab/ci/ |
D | rules.yml | 2 # Patterns # 4 .patterns-c-files: &patterns-c-files anchor 5 - ".gitlab/ci/static-code-analysis.yml" 7 - "tools/ci/static-analysis-rules.yml" 8 - "tools/ci/clang_tidy_dirs.txt" 10 - "**/*.{c,C}" 11 - "**/*.{h,H}" 12 - "components/**/Kconfig" 13 - "components/**/CMakeList.txt" 15 .patterns-python-files: &patterns-python-files [all …]
|
D | static-code-analysis.yml | 4 - .pre_check_base_template 5 - .rules:patterns:clang_tidy 9 - $OUTPUT_DIR 13 CLANG_TIDY_RUNNER_PROJ: 2107 # idf/clang-tidy-runner 15 RULES_FILE: ${CI_PROJECT_DIR}/tools/ci/static-analysis-rules.yml 18 - python -m pip install -U pip 19 - internal_pip_install $CLANG_TIDY_RUNNER_PROJ pyclang 20 - export PATH=$PATH:$(python -c "import sys; print(sys.executable.rsplit('/', 1)[0])") 21 …- dirs=$(cat ${CLANG_TIDY_DIRS_TXT} | while read line; do echo ${CI_PROJECT_DIR}/${line}; done | x… 22 - run_cmd idf_clang ${dirs} [all …]
|
D | pre_check.yml | 5 - host_test 10 - .pre_check_base_template 11 - .before_script_no_sync_submodule 15 image: "$CI_DOCKER_REGISTRY/esp-idf-pre-commit:1" 17 - source tools/ci/utils.sh 18 - export PYTHONPATH="$CI_PROJECT_DIR/tools:$CI_PROJECT_DIR/tools/ci/python_packages:$PYTHONPATH" 22 - .check_pre_commit_template 23 - .rules:protected 25 … - git diff-tree --no-commit-id --name-only -r $PIPELINE_COMMIT_SHA | xargs pre-commit run --files 29 - .check_pre_commit_template [all …]
|
/hal_espressif-3.5.0/tools/ci/ |
D | check_tools_files_patterns.py | 3 # SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD 4 # SPDX-License-Identifier: Apache-2.0 16 # glob.glob will ignore all files starts with ``.`` 60 …parser = argparse.ArgumentParser(description='check if all tools files are in rules patterns or ex… 61 parser.add_argument('-c', '--pattern-yml', 63 help='yml file path included file patterns') 64 parser.add_argument('-e', '--exclude-list', 74 …print('This test is used for making sure of all the tools dir files are recorded in .gitlab/ci/rul… 75 'trigger the related tests, except those files should be excluded.') 77 print('Missing Files:') [all …]
|
D | check_codeowners.py | 3 # Utility script for ESP-IDF developers to work with the CODEOWNERS file. 5 # SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD 6 # SPDX-License-Identifier: Apache-2.0 17 CODEOWNER_GROUP_PREFIX = '@esp-idf-codeowners/' 25 …return subprocess.check_output(['git', 'ls-files'], cwd=IDF_PATH).decode('utf-8').strip().split('\… 64 Return all files in the repository matching the given regular expresion. 71 Return all the files in the repository matching the given CODEOWNERS pattern. 90 files = files_by_pattern(all_files, path_pattern) 91 if args.path in files: 104 files = files_by_regex(get_all_files(), re.compile(re_pattern)) [all …]
|
/hal_espressif-3.5.0/docs/en/contribute/ |
D | style-guide.rst | 6 ---------------- 8 Purpose of this style guide is to encourage use of common coding practices within the ESP-IDF. 10 … future changes will produce huge unreadable diffs. By following common patterns for module struct… 14 When doing modifications to third-party code used in ESP-IDF, follow the way that particular projec… 16 C Code Formatting 17 ----------------- 19 .. highlight:: c 21 .. _style-guide-naming: 27 …-static variables and functions) should be namespaced with a per-component or per-unit prefix, to … 81 const int y = y0 + (x - x0) * (y1 - y0) / (x1 - x0); // correct [all …]
|
/hal_espressif-3.5.0/docs/en/api-guides/ |
D | error-handling.rst | 1 .. highlight:: c 8 -------- 10 Identifying and handling run-time errors is important for developing robust applications. There can… 12 - Recoverable errors: 14 - Errors indicated by functions through return values (error codes) 15 - C++ exceptions, thrown using ``throw`` keyword 17 - Unrecoverable (fatal) errors: 19 …- Failed assertions (using ``assert`` macro and equivalent methods, see :ref:`assertions`) and ``a… 20 - CPU exceptions: access to protected regions of memory, illegal instruction, etc. 21 …- System level checks: watchdog timeout, cache access error, stack overflow, stack smashing, heap … [all …]
|
D | fatal-errors.rst | 8 -------- 10 In certain situations, execution of the program can not be continued in a well defined way. In ESP-… 12 - CPU Exceptions: |CPU_EXCEPTIONS_LIST| 13 - System level checks and safeguards: 17 - :doc:`Interrupt watchdog <../api-reference/system/wdts>` timeout 18 …- :doc:`Task watchdog <../api-reference/system/wdts>` timeout (only fatal if :ref:`CONFIG_ESP_TASK… 19 - Cache access error 20 :CONFIG_ESP_SYSTEM_MEMPROT_FEATURE: - Memory protection fault 21 - Brownout detection event 22 - Stack overflow [all …]
|
/hal_espressif-3.5.0/ |
D | .pylintrc | 3 # A comma-separated list of package or module names from where C extensions may 6 extension-pkg-whitelist= 9 fail-under=10 11 # Add files or directories to the blacklist. They should be base names, not 15 # Add files or directories matching the regex patterns to the blacklist. The 17 ignore-patterns= 21 #init-hook= 23 # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the 30 limit-inference-results=100 34 load-plugins= [all …]
|
/hal_espressif-3.5.0/docs/en/api-guides/tools/ |
D | idf-tools.rst | 4 ESP-IDF build process relies on a number of tools: cross-compiler toolchains, CMake build system, a… 6 Installing the tools using an OS-specific package manager (like apt, yum, brew, etc.) is the prefer… 8 …-specific and are not available in OS package repositories. Furthermore, different versions of ESP… 10 …ent refers to these downloadable tools simply as "tools". Other kinds of tools used in ESP-IDF are: 12 * Python scripts bundled with ESP-IDF (such as ``idf.py``) 19 … their installation, users who wish to understand the installation process, and ESP-IDF developers. 21 …ctions on how to install the tools, see the :doc:`Getting Started Guide <../../get-started/index>`. 25 ------------------- 31 .. _idf-tools-path: 34 ---------------------------- [all …]
|
/hal_espressif-3.5.0/make/ |
D | component_wrapper.mk | 12 …r a component directory; invoke make from the project directory. See the ESP-IDF README for detail… 41 #Names of binary & text files to embed as raw content in the component library 47 COMPONENT_ADD_LDFLAGS = -l$(COMPONENT_NAME) 49 # Name of the linker fragment files this component presents to the Linker 116 ifndef COMPONENT_CONFIG_ONLY # Skip steps 3-5 if COMPONENT_CONFIG_ONLY is set 118 # Object files which need to be linked into the library 119 # By default we take all .c, .cpp, .cc & .S files in COMPONENT_SRCDIRS. 121 # Find all source files in all COMPONENT_SRCDIRS 122 …each compsrcdir,$(COMPONENT_SRCDIRS),$(patsubst %.c,%.o,$(wildcard $(COMPONENT_PATH)/$(compsrcdir)… 147 # Object files with embedded binaries to add to the component library [all …]
|
/hal_espressif-3.5.0/examples/common_components/qrcode/ |
D | qrcodegen.c | 2 * QR Code generator library (C) 4 * Copyright (c) Project Nayuki. (MIT License) 5 * https://www.nayuki.io/page/qr-code-generator-library 8 * this software and associated documentation files (the "Software"), to deal in 13 * - The above copyright notice and this permission notice shall be included in 15 * - The Software is provided "as is", without warranty of any kind, express or 37 /*---- Forward declarations for private functions ----*/ 40 // - They require all pointer/array arguments to be not null unless the array length is zero. 41 // - They only read input scalar/array arguments, write to output pointer/array 43 // - They don't read mutable global variables or write to any global variables. [all …]
|
D | qrcodegen.h | 2 * QR Code generator library (C) 4 * Copyright (c) Project Nayuki. (MIT License) 5 * https://www.nayuki.io/page/qr-code-generator-library 8 * this software and associated documentation files (the "Software"), to deal in 13 * - The above copyright notice and this permission notice shall be included in 15 * - The Software is provided "as is", without warranty of any kind, express or 32 extern "C" { 37 * This library creates QR Code symbols, which is a type of two-dimension barcode. 45 * - High level: Take the payload data and call qrcodegen_encodeText() or qrcodegen_encodeBinary(). 46 * - Low level: Custom-make the list of segments and call [all …]
|
/hal_espressif-3.5.0/docs/en/api-reference/system/ |
D | heap_debug.rst | 5 -------- 7 …-IDF integrates tools for requesting :ref:`heap information <heap-information>`, :ref:`detecting h… 9 … about the heap memory allocator, see the :doc:`Heap Memory Allocation </api-reference/system/mem_… 11 .. _heap-information: 14 ---------------- 18 - :cpp:func:`xPortGetFreeHeapSize` is a FreeRTOS function which returns the number of free bytes in… 19 - :cpp:func:`heap_caps_get_free_size` can also be used to return the current free memory for differ… 20 - :cpp:func:`heap_caps_get_largest_free_block` can be used to return the largest free block in the … 21 - :cpp:func:`xPortGetMinimumEverFreeHeapSize` and the related :cpp:func:`heap_caps_get_minimum_free… 22 - :cpp:func:`heap_caps_get_info` returns a :cpp:class:`multi_heap_info_t` structure which contains … [all …]
|
/hal_espressif-3.5.0/docs/en/api-guides/performance/ |
D | speed.rst | 5 {IDF_TARGET_RF_TYPE:default="Wi-Fi/BT", esp32s2="Wi-Fi"} 8 -------- 10 …overall power consumption. However, improving execution speed may have trade-offs with other aspec… 13 ----------------------- 20 --------------------- 31 .. code-block:: c 46 MEASUREMENTS, (end - start)/1000, (end - start)/MEASUREMENTS); 51 - Using :cpp:func:`esp_timer_get_time` generates "wall clock" timestamps with microsecond precision… 52 - It's also possible to use the standard Unix ``gettimeofday()`` and ``utime()`` functions, althoug… 53 - Otherwise, including ``hal/cpu_hal.h`` and calling the HAL function ``cpu_hal_get_cycle_count()``… [all …]
|
/hal_espressif-3.5.0/docs/en/get-started/ |
D | index.rst | 16 …chip by Espressif. After that, a simple example will show you how to use ESP-IDF (Espressif IoT De… 18 .. include-build-file:: inc/version-note.inc 27 * Wi-Fi (2.4 GHz band) 29 * Dual high performance Xtensa® 32-bit LX6 CPU cores 30 * Ultra Low Power co-processor 35 * Wi-Fi (2.4 GHz band) 36 * High performance single core Xtensa® 32-bit LX7 CPU 37 * Ultra Low Power co-processor running either RISC-V or FSM core 39 * Built-in security hardware 44 * Wi-Fi (2.4 GHz band) [all …]
|
/hal_espressif-3.5.0/tools/catch/ |
D | catch.hpp | 3 * Generated: 2016-06-09 19:20:41.460328 4 * ---------------------------------------------------------- 6 * Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved. 29 # pragma clang diagnostic ignored "-Wglobal-constructors" 30 # pragma clang diagnostic ignored "-Wvariadic-macros" 31 # pragma clang diagnostic ignored "-Wc99-extensions" 32 # pragma clang diagnostic ignored "-Wunused-variable" 34 # pragma clang diagnostic ignored "-Wpadded" 35 # pragma clang diagnostic ignored "-Wc++98-compat" 36 # pragma clang diagnostic ignored "-Wc++98-compat-pedantic" [all …]
|