/hal_espressif-3.5.0/.gitlab/ci/ |
D | rules.yml | 4 .patterns-c-files: &patterns-c-files 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 16 - ".gitlab/ci/static-code-analysis.yml" [all …]
|
D | docs.yml | 1 .patterns-docs: &patterns-docs 2 - ".gitlab/ci/docs.yml" 3 - "docs/**/*" 4 - "components/**/*.h" 5 - "components/**/Kconfig*" 6 - "components/**/CMakeList.txt" 7 - "components/**/sdkconfig*" 8 - "tools/kconfig_new/**/*" 9 - "CONTRIBUTING.rst" 11 .patterns-docs-preview: &patterns-docs-preview [all …]
|
D | README.md | 3 - [IDF CI](#idf-ci) 4 - [General Workflow](#general-workflow) 5 - [What if Expected Jobs ARE NOT Created?](#what-if-expected-jobs-are-not-created) 6 - [MR labels for additional jobs](#mr-labels-for-additional-jobs) 7 - [Supported MR Labels](#supported-mr-labels) 8 …- [How to trigger a `detached` pipeline without pushing new commits?](#how-to-trigger-a-detached-p… 9 - [How to Develop With `rules.yml`?](#how-to-develop-with-rulesyml) 10 - [General Concepts](#general-concepts) 11 - [How to Add a New `Job`?](#how-to-add-a-new-job) 12 - [How to Add a New `Rules` Template?](#how-to-add-a-new-rules-template) [all …]
|
/hal_espressif-3.5.0/tools/ci/python_packages/ttfw_idf/ |
D | CIScanTests.py | 36 def _has_build_all_label(): # type: () -> bool 37 for label in BUILD_ALL_LABELS: 38 if os.getenv(label): 43 def _judge_build_or_not(action, build_all): # type: (str, bool) -> tuple[bool, bool] 47 if build_all or _has_build_all_label() or (not os.getenv('BOT_TRIGGER_WITH_LABEL')): 48 logging.info('Build all apps') 52 if not isinstance(labels, list): 55 for label in labels: 56 if os.getenv(label): 57 logging.info('Build only test cases apps') [all …]
|
/hal_espressif-3.5.0/.gitlab/ci/dependencies/ |
D | README.md | 7 1. Auto-generate some labels/rules we need and update them in `rules.yml` 16 - `matrix`: An array of sub-arrays, used to replicate rules by formatting strings. You can use the … 17 - `labels`: An array of `labels`. 18 - `patterns`: An array of `patterns`. Patterns that not included 19 - `included_in`: An array of other `rule` names. It indicates the `labels` and `patterns` will be i… 20 - `deploy`: An array of strings, used to replicate rules by adding postfix `-<item in deploy array>… 27 "test-{0}-{1}": 29 - [a, b] 30 - [c, d] 32 - "{0}-{1}" [all …]
|
D | generate_rules.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 28 except ImportError: # used when pre-commit, skip generating image 39 def _list(str_or_list): # type: (Union[str, list]) -> list 40 if isinstance(str_or_list, str): 48 def _format_nested_dict(_dict, f_tuple): # type: (dict[str, dict], tuple[str, ...]) -> dict[str, d… 52 if isinstance(v, dict): 62 def _format_nested_list(_list, f_tuple): # type: (list[str], tuple[str, ...]) -> list[str] 65 if isinstance(item, list): 83 .if-label-{0}: &if-label-{0} 84 if: '$BOT_LABEL_{1} || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*{0}(?:,[^,\n\r]+)*$/i' [all …]
|
/hal_espressif-3.5.0/docs/en/api-guides/ |
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 …]
|
D | partition-tables.rst | 6 -------- 12 Each entry in the partition table has a name (label), type (app, data, or something else), subtype … 19 In both cases the factory app is flashed at offset 0x10000. If you execute `idf.py partition-table`… 21 Built-in Partition Tables 22 ------------------------- 26 # ESP-IDF Partition Table 37 # ESP-IDF Partition Table 47 …. The bootloader consults this data in order to know which app to execute. If "ota data" is empty,… 50 ------------------------- 52 If you choose "Custom partition table CSV" in menuconfig then you can also enter the name of a CSV … [all …]
|
/hal_espressif-3.5.0/docs/en/api-reference/peripherals/ |
D | rmt.rst | 19 a -> b -> c -> d; 20 e -> f -> g -- h; 21 d -> o [label=GPIO]; 22 h -> d [folded]; 24 a [style=none, width=100, label="{11,high,7,low},\n{5,high,5,low},\n..."] 25 b [label="Waveform\nGenerator"] 26 c [style=none, label="", background="../../../_static/rmt-waveform.png"] 27 d [shape=beginpoint, label="mod"] 28 e [style=none, width=60, height=40, label="Carrier\nenable"] 29 f [label="Carrier\nGenerator"] [all …]
|
/hal_espressif-3.5.0/examples/peripherals/i2s/i2s_adc_dac/ |
D | README.md | 2 | ----------------- | ----- | 4 # I2S Built-in ADC/DAC Example 19 …* Since the ADC can only play 8-bit data, the script will scale each 16-bit value to a 8-bit value. 26 * A development board with ESP32 SoC (e.g., ESP32-DevKitC, ESP-WROVER-KIT, etc.) 33 |:---:|:---:|:---:| 49 ### Build and Flash 51 Build the project and flash it to the board, then run monitor tool to view serial output: 54 idf.py -p PORT flash monitor 57 (To exit the serial monitor, type ``Ctrl-]``.) 59 See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. [all …]
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_msg.c | 3 * Copyright (C) 2002-2012 Broadcom Corporation 9 * http://www.apache.org/licenses/LICENSE-2.0 39 #if (defined(AVDT_INCLUDED) && AVDT_INCLUDED == TRUE) 209 /* command message-to-event lookup table */ 226 /* response message-to-event lookup table */ 243 /* reject message-to-event lookup table */ 275 /* for now, just build media transport, codec, and content protection, and multiplexing */ in avdt_msg_bld_cfg() 278 if (p_cfg->psc_mask & AVDT_PSC_TRANS) { in avdt_msg_bld_cfg() 283 #if AVDT_REPORTING == TRUE in avdt_msg_bld_cfg() 285 if (p_cfg->psc_mask & AVDT_PSC_REPORT) { in avdt_msg_bld_cfg() [all …]
|
/hal_espressif-3.5.0/docs/en/get-started-legacy/ |
D | make-project.rst | 1 Build and Flash with Make (Legacy GNU Make) 5 .. include:: ../gnu-make-legacy.rst 9 ----------------- 11 As well as the `esp-idf-template <https://github.com/espressif/esp-idf-template>`_ project, ESP-IDF… 13 …ound the project you want to work with, change to its directory and you can configure and build it. 17 ------------------------ 25 ---------------------- 35 --------------------- 41 This will flash the entire project (app, bootloader and partition table) to a new chip. Also if par… 42 It allows to run the newly loaded app from a factory partition (or the first OTA partition, if fact… [all …]
|
/hal_espressif-3.5.0/components/wpa_supplicant/src/wps/ |
D | wps_common.c | 2 * Wi-Fi Protected Setup - common functionality 3 * Copyright (c) 2008-2012, Jouni Malinen <j@w1.fi> 23 const char *label, u8 *res, size_t res_len) in wps_kdf() argument 38 addr[2] = (const u8 *) label; in wps_kdf() 39 len[2] = os_strlen(label); in wps_kdf() 43 iter = (res_len + SHA256_MAC_LEN - 1) / SHA256_MAC_LEN; in wps_kdf() 50 if (i < iter) { in wps_kdf() 53 left -= SHA256_MAC_LEN; in wps_kdf() 68 if (wps->dh_privkey == NULL) { in wps_derive_keys() 70 return -1; in wps_derive_keys() [all …]
|
/hal_espressif-3.5.0/examples/storage/ext_flash_fatfs/ |
D | README.md | 2 | ----------------- | ----- | 8 …xample, except that it uses an external SPI Flash chip. This can be useful if you need to add more… 12 …s chosen in this example correspond to IOMUX pins for the VSPI peripheral. If the pin assignment i… 14 …-time object which describes the flash chip (`esp_flash_t`), probing the flash chip, and configuri… 29 --------------|----------------|---------------- 39 ### Build and flash 41 Build the project and flash it to the board, then run monitor tool to view serial output: 44 idf.py -p PORT flash monitor 49 (To exit the serial monitor, type ``Ctrl-]``.) 51 See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects. [all …]
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/include/stack/ |
D | avrc_api.h | 3 * Copyright (C) 2006-2012 Broadcom Corporation 9 * http://www.apache.org/licenses/LICENSE-2.0 31 #if (AVRC_INCLUDED == TRUE) 46 /* Control role - same as AVCT_TARGET/AVCT_CONTROL */ 49 #define AVRC_CT_PASSIVE 4 /* If conflict, allow the other side to succeed */ 129 …UINT16 *p_attrs; /* The attributes filter. If NULL, AVRCP API sets the attribute filter 132 * If not NULL, the input is taken as the filter. */ 153 typedef void (tAVRC_MSG_CBACK) (UINT8 handle, UINT8 label, UINT8 opcode, 178 ** Description This function is called to build an AVRCP SDP record. 186 ** p_service_name: Pointer to a null-terminated character [all …]
|
/hal_espressif-3.5.0/docs/en/api-guides/jtag-debugging/ |
D | index.rst | 7 :ref:`jtag-debugging-introduction` 9 :ref:`jtag-debugging-how-it-works` 11 :ref:`jtag-debugging-selecting-jtag-adapter` 13 :ref:`jtag-debugging-setup-openocd` 15 :ref:`jtag-debugging-configuring-target` 17 :ref:`jtag-debugging-launching-debugger` 18 …session with GDB from :ref:`jtag-debugging-using-debugger-eclipse` and from :ref:`jtag-debugging-u… 19 :ref:`jtag-debugging-examples` 20 …If you are not familiar with GDB, check this section for debugging examples provided from :ref:`jt… 21 :ref:`jtag-debugging-building-openocd` [all …]
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/btc/profile/std/avrc/ |
D | btc_avrc.c | 1 // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 7 // http://www.apache.org/licenses/LICENSE-2.0 36 #if BTC_AV_INCLUDED 39 static void send_reject_response (UINT8 rc_handle, UINT8 label, UINT8 pdu, UINT8 status); 45 static void btc_rc_upstreams_evt(UINT16 event, tAVRC_COMMAND *pavrc_cmd, UINT8 ctype, UINT8 label); 55 #if AVRC_DYNAMIC_MEMORY == FALSE 118 if (cmd_set == NULL) { in btc_avrc_tg_check_supported_command() 122 // check if cmd_set is a subset of allowed command set in btc_avrc_tg_check_supported_command() 125 if (cs_psth_allowed_cmd[i] != (cmd_set[i] | cs_psth_allowed_cmd[i])) { in btc_avrc_tg_check_supported_command() 147 if (evt_super_set == cs_rn_allowed_evt) { in btc_avrc_tg_check_rn_supported_evt() [all …]
|
/hal_espressif-3.5.0/components/wpa_supplicant/src/eap_peer/ |
D | eap_peap.c | 2 * EAP peer method: EAP-PEAP (draft-josefsson-pppext-eap-tls-eap-10.txt) 3 * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi> 22 * 0 = Microsoft's PEAP version 0; draft-kamath-pppext-peapv0-00.txt 23 * 1 = draft-josefsson-ppext-eap-tls-eap-05.txt 24 * 2 = draft-josefsson-ppext-eap-tls-eap-10.txt 48 * EAP-Success 49 * 1 = reply with tunneled EAP-Success to inner 50 * EAP-Success and expect AS to send outer 51 * (unencrypted) EAP-Success after this 53 * EAP-Success and expect AS to send outer [all …]
|
D | eap_tls_common.c | 2 * EAP peer: EAP-TLS/PEAP/TTLS/FAST common functions 3 * Copyright (c) 2004-2013, Jouni Malinen <j@w1.fi> 22 if (type == EAP_UNAUTH_TLS_TYPE) in eap_tls_msg_alloc() 36 if (*name == NULL)// || os_strncmp(*name, "blob://", 7) != 0) in eap_tls_check_blob() 40 if (blob == NULL) { in eap_tls_check_blob() 43 return -1; in eap_tls_check_blob() 47 *data = blob->data; in eap_tls_check_blob() 48 *data_len = blob->len; in eap_tls_check_blob() 57 if (txt == NULL) in eap_tls_params_flags() 59 if (os_strstr(txt, "tls_allow_md5=1")) in eap_tls_params_flags() [all …]
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avrc/ |
D | avrc_api.c | 3 * Copyright (C) 2003-2012 Broadcom Corporation 9 * http://www.apache.org/licenses/LICENSE-2.0 32 #if (defined(AVRC_INCLUDED) && AVRC_INCLUDED == TRUE) 82 if (event <= AVRC_MAX_RCV_CTRL_EVT && avrc_cb.ccb[handle].p_ctrl_cback) { in avrc_ctrl_cback() 84 if (event == AVCT_CONNECT_CFM_EVT) { in avrc_ctrl_cback() 85 if (result != 0) { /* failed */ in avrc_ctrl_cback() 105 return (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_get_data_ptr() 120 const int offset = MAX(AVCT_MSG_OFFSET, p_pkt->offset); in avrc_copy_packet() 121 const int pkt_len = MAX(rsp_pkt_len, p_pkt->len); in avrc_copy_packet() 126 if (p_pkt_copy != NULL) { in avrc_copy_packet() [all …]
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avct/ |
D | avct_lcb_act.c | 3 * Copyright (C) 2003-2012 Broadcom Corporation 9 * http://www.apache.org/licenses/LICENSE-2.0 34 #if (defined(AVCT_INCLUDED) && AVCT_INCLUDED == TRUE) 51 ** Returns Pointer to reassembled message; NULL if no message 63 p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avct_lcb_msg_asmbl() 67 if (p_buf->len < avct_lcb_pkt_type_len[pkt_type]) { in avct_lcb_msg_asmbl() 73 else if (pkt_type == AVCT_PKT_TYPE_SINGLE) { in avct_lcb_msg_asmbl() 74 /* if reassembly in progress drop message and process new single */ in avct_lcb_msg_asmbl() 75 if (p_lcb->p_rx_msg != NULL) { in avct_lcb_msg_asmbl() 78 osi_free(p_lcb->p_rx_msg); in avct_lcb_msg_asmbl() [all …]
|
/hal_espressif-3.5.0/examples/system/himem/ |
D | README.md | 2 | ----------------- | ----- | 8 This example uses the [Himem API](https://docs.espressif.com/projects/esp-idf/en/latest/api-referen… 10 …l SPI RAM in the same way internal memory can be accessed. In other words, if enabled in project c… 12 …ions, this only works for up to 4 MiB of external memory. If you have, for instance, an ESP32-WROV… 22 This example requires an ESP32 with external SPI RAM connected, for instance an ESP32-WROVER module… 30 …le this.) It can be found under `Component config > ESP32-specific > Support for external, SPI-con… 32 ### Build and Flash 34 Build the project and flash it to the board, then run monitor tool to view serial output: 37 idf.py -p PORT flash monitor 40 (To exit the serial monitor, type ``Ctrl-]``.) [all …]
|
/hal_espressif-3.5.0/components/freertos/port/xtensa/ |
D | readme_xtensa.txt | 8 ------------ 18 -------------------------------------------------- 26 NOTE: It may be possible to build and run this with the open-source 27 xtensa-linux tools provided you have the correct overlay for your Xtensa 32 library that is distributed with Xtensa Tools, providing thread-safety on 37 provide thread safety at this time. However, if you are not concerned 47 - Timer interrupt option with at least one interruptible timer. 48 - Interrupt option (implied by the timer interrupt option). 49 - Exception Architecture 2 (XEA2). Please note that XEA1 is NOT supported. 59 interrupt-driven drivers - it is not specific to any RTOS. Note that [all …]
|
/hal_espressif-3.5.0/components/esptool_py/esptool/ |
D | CONTRIBUTING.rst | 7 ----------------- 9 …- fixing bugs, adding features, adding documentation - are welcome. We accept contributions via `G… 11 .. _development-setup: 14 ----------------- 18 .. code-block:: sh 22 $ pip install --user -e . 32 $ pip install --user -e ".[dev]" 37 ---------------- 39 Please report bugs in ``esptool.py`` if you find them. However, before reporting a bug please check… 41 …tps://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html>`_ - common problems and … [all …]
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/tutorial/ |
D | BLE_Mesh_Node_OnOff_Server_Example_Walkthrough.md | 15 - **Configuration Server model**: The role of this model is mainly to configure Provisioner device’… 16 - **Generic OnOff Server model**: This model implements the most basic function of turning the ligh… 28 ├── build 33 └── tutorial /* More in-depth information about the demo */ 47 - `ble_mesh_demo_main.c`: contains the following main application codes, which are needed to implem… 48 - Initialize Bluetooth Controller stack and Host stack (bluedroid) 49 - Initialize BLE Mesh stack 50 - Register the callback function of BLE Mesh provision and BLE Mesh model 51 - Implement and initialize BLE Mesh element 52 - Implement and initialize BLE Mesh Configuration Server model and Generic OnOff Server model [all …]
|