/hal_espressif-3.5.0/examples/protocols/https_request/ |
D | example_test.py | 26 # Check for connection using crt bundle 27 Utility.console_log("Testing for \"https_request using crt bundle\"") 29 dut1.expect(re.compile('https_request using crt bundle'), timeout=30) 36 Utility.console_log("Failed the test for \"https_request using crt bundle\"") 38 Utility.console_log("Passed the test for \"https_request using crt bundle\"") 40 # Check for connection using cacert_buf 41 Utility.console_log("Testing for \"https_request using cacert_buf\"") 43 dut1.expect(re.compile('https_request using cacert_buf'), timeout=20) 49 Utility.console_log("Passed the test for \"https_request using cacert_buf\"") 51 Utility.console_log("Passed the test for \"https_request using cacert_buf\"") [all …]
|
/hal_espressif-3.5.0/components/sdmmc/include/ |
D | sdmmc_cmd.h | 18 * Probe and initialize SD/MMC card using given host 35 * @param stream stream obtained using fopen or fdopen 36 * @param card card information structure initialized using sdmmc_card_init 44 * using sdmmc_card_init 55 * using sdmmc_card_init 71 * using sdmmc_card_init 84 * Read one byte from an SDIO card using IO_RW_DIRECT (CMD52) 87 * using sdmmc_card_init 99 * Write one byte to an SDIO card using IO_RW_DIRECT (CMD52) 102 * using sdmmc_card_init [all …]
|
/hal_espressif-3.5.0/docs/en/api-reference/system/ |
D | sleep_modes.rst | 23 …using several sources. These sources can be combined, in this case the chip will wake up when any … 25 …n force specific powerdown modes for the RTC peripherals and RTC memories using :cpp:func:`esp_sle… 27 Once wakeup sources are configured, application can enter sleep mode using :cpp:func:`esp_light_sle… 34 …ng deep sleep or light sleep modes, applications must disable WiFi and BT using appropriate calls … 41 … entering deep sleep or light sleep modes, applications must disable WiFi using appropriate calls … 59 :cpp:func:`esp_sleep_enable_timer_wakeup` function can be used to enable deep sleep wakeup using a … 81 …resistors can also be used. They need to be configured by the application using :cpp:func:`rtc_gpi… 89 …d for wakeup will be configured as RTC IO. Before using this pad as digital GPIO, reconfigure it u… 94 …RTC controller contains logic to trigger wakeup using multiple RTC GPIOs. One of the two logic fun… 99 …omain to be kept on during sleep, and configure pullup/pulldown resistors using ``rtc_gpio_`` func… [all …]
|
D | pthread.rst | 9 …uivalent FreeRTOS features. The runtime memory or performance overhead of using the pthreads API i… 11 …pecific header, ``esp_pthread.h``, provides additional non-POSIX APIs for using some ESP-IDF featu… 13 …read``, ``std::mutex``, ``std::condition_variable``, etc. are implemented using pthreads (via GCC … 18 Unlike many operating systems using POSIX Threads, ESP-IDF is a real-time operating system with a r… 63 .. note:: This function can be called from tasks created using either pthread or FreeRTOS APIs 82 .. note:: These functions can be called from tasks created using either pthread or FreeRTOS APIs 99 .. note:: These functions can be called from tasks created using either pthread or FreeRTOS APIs 114 .. note:: These functions can be called from tasks created using either pthread or FreeRTOS APIs. N… 120 …, calls ``pthread_exit()``, or if the underlying task is deleted directly using the FreeRTOS funct… 124 .. note:: These functions can be called from tasks created using either pthread or FreeRTOS APIs [all …]
|
D | console.rst | 20 …using 'backspace' key, navigating within the command using left/right keys, navigating to previous… 24 …o work are GNU screen, minicom, and idf_monitor.py (which can be invoked using ``idf.py monitor``… 34 Clear terminal screen using an escape sequence and position the cursor at the top left corner. 59 …ts of the command typed so far and provide a list of possible completions using calls to :cpp:func… 77 … recently typed commands to be kept in memory. Users can navigate the history using up/down arrows. 99 - If spaces within arguments are required, they can be escaped using ``\`` (backslash) character. 101 - Arguments can be quoted using double quotes. Quotes may appear only in the beginning and at the e… 126 Application first initializes command registration module using a call to :cpp:func:`esp_console_in… 138 …This function takes the command line string, splits it into argc/argv argument list using :cpp:fun…
|
/hal_espressif-3.5.0/examples/peripherals/sdio/host/main/ |
D | Kconfig.projbuild | 7 If this is set, the host tries using SPI bus to communicate with slave. 11 bool "Host tries using 4-bit mode to communicate with slave" 15 If this is set, the host tries using 4-bit mode to communicate with 22 using 3.3V flash which requires a pull-down on the MTDI pin. 25 bool "Host tries using HS mode to communicate with slave" 28 If this is set, the host tries using high-speed mode to communicate 53 bool "Not using Espressif master-slave board." 55 bool "Using slave B1"
|
/hal_espressif-3.5.0/components/fatfs/vfs/ |
D | esp_vfs_fat.h | 89 * Using larger allocation unit size will result in higher read/write 107 * - mounts FAT partition on SD card using FATFS library, with configuration in mount_config 119 * @param host_config Pointer to structure describing SDMMC host. When using 120 * SDMMC peripheral, this structure can be initialized using 121 * SDMMC_HOST_DEFAULT() macro. When using SPI peripheral, 122 * this structure can be initialized using SDSPI_HOST_DEFAULT() 126 * structure initialized using SDMMC_SLOT_CONFIG_DEFAULT. 128 * structure initialized using SDSPI_SLOT_CONFIG_DEFAULT(). 151 * - mounts FAT partition on SD card using FATFS library, with configuration in mount_config 165 * initialized using SDSPI_HOST_DEFAULT() macro. [all …]
|
/hal_espressif-3.5.0/components/freertos/include/freertos/ |
D | semphr.h | 54 * xSemaphoreCreateBinary() function. Note that binary semaphores created using 57 * created using xSemaphoreCreateBinary() are created in a state such that the 60 * <i>Macro</i> that implements a semaphore by using the existing queue mechanism. 125 * is created using xSemaphoreCreateBinary() then the required memory is 128 * is created using xSemaphoreCreateBinaryStatic() then the application writer 130 * binary semaphore to be created without using any dynamic memory allocation. 133 * xSemaphoreCreateBinary() function. Note that binary semaphores created using 136 * created using xSemaphoreCreateBinary() are created in a state such that the 192 * is created using xSemaphoreCreateBinary() then the required memory is 195 * is created using xSemaphoreCreateBinaryStatic() then the application writer [all …]
|
/hal_espressif-3.5.0/docs/en/api-guides/jtag-debugging/ |
D | index.rst | 5 This document provides a guide to installing OpenOCD for {IDF_TARGET_NAME} and debugging using GDB.… 18 …bug session with GDB from :ref:`jtag-debugging-using-debugger-eclipse` and from :ref:`jtag-debuggi… 41 …ts. A better (and in many cases quicker) way to debug such problems is by using a debugger, connec… 45 This document provides a guide to installing OpenOCD for {IDF_TARGET_NAME} and debugging using GDB … 49 …what a particular user interface looks like, depending on whether you are using Windows, macOS or … 90 …using |devkit-name-with-link|. Each version of this development board has JTAG interface already b… 102 …-solution/en/latest/hw-reference/ESP-Prog_guide.html>`_ is an example for using an external board … 147 This step depends on the JTAG and {IDF_TARGET_NAME} board you are using (see the two cases describe… 167 Open a terminal and set it up for using the ESP-IDF as described in the :ref:`setting up the enviro… 200 Another option is to write application image to flash using OpenOCD via JTAG with commands like thi… [all …]
|
D | using-debugger.rst | 1 Using Debugger 5 This section covers configuration and running debugger using several methods: 7 * from :ref:`jtag-debugging-using-debugger-eclipse` 8 * from :ref:`jtag-debugging-using-debugger-command-line` 9 * using :ref:`jtag-debugging-with-idf-py` 12 .. _jtag-debugging-using-debugger-eclipse: 19 … debugger works using :ref:`jtag-debugging-with-idf-py` or from :ref:`jtag-debugging-using-debugge… 106 .. _jtag-debugging-using-debugger-command-line: 210 … It is possible to override the script location using command line argument ``--openocd-scripts``. 221 …Starts the gdb the same way as the :ref:`jtag-debugging-using-debugger-command-line`, but generate…
|
/hal_espressif-3.5.0/docs/en/api-reference/peripherals/ |
D | uart.rst | 9 …e that handles communication (i.e., timing requirements and data framing) using widely-adopted asy… 24 …tablish communication between an {IDF_TARGET_NAME} and other UART devices using the functions and … 30 5. :ref:`uart-api-using-interrupts` - Triggering interrupts on specific communication events 35 The UART driver's functions identify each of the UART controllers using :cpp:type:`uart_port_t`. Th… 126 // Install UART driver using an event queue here 152 …tion will be limited to writing and reading data from a respective buffer using :cpp:func:`uart_wr… 187 …using the function :cpp:func:`uart_read_bytes`. Before reading data, you can check the number of b… 204 …ontrol is disabled, you can manually set the RTS and DTR signal levels by using the functions :cpp… 210 …using the function :cpp:func:`uart_set_mode`. Once a specific mode is selected, the UART driver wi… 218 .. _uart-api-using-interrupts: [all …]
|
/hal_espressif-3.5.0/components/esptool_py/esptool/docs/en/espsecure/ |
D | index.rst | 15 Remote Signing using an external HSM 20 You must install ``esptool.py`` package with the ``hsm`` extra using the command, ``pip install 'es… 24 …r to `Signing using an External HSM <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/s… 26 The following command should be used to get an image signed using an external HSM. :: 30 … extracts the public key from the HSM, generates a signature for an image using the HSM, and then … 39 Once the signed image is generated, we can verify it using the following command: :: 54 Below is a sample HSM config file (``hsm_config.ini``) for using `SoftHSMv2 <https://github.com/ope…
|
/hal_espressif-3.5.0/docs/en/api-guides/ |
D | ulp.rst | 17 Programming using macros (legacy) <ulp_macros> 20 …mple FSM (Finite State Machine) which is designed to perform measurements using the ADC, temperatu… 25 The ULP coprocessor code is written in assembly and compiled using the `binutils-esp32ulp toolchain… 31 …If you are using ESP-IDF with the legacy GNU Make based build system, refer to the instructions on… 69 …6. **Generate a list of global symbols** (``ulp_app_name.sym``) in the ELF file using ``esp32ulp-e… 71 …_name.h``) containing the symbols from ``ulp_app_name.sym``. This is done using the ``esp32ulp_map… 101 …ables from the main program, the generated header file should be included using an ``include`` sta… 119 …eeds to load the ULP program into RTC memory using the ``ulp_load_binary`` function, and then star… 130 0 /* load address, set to 0 when using default linker scripts */, 155 …using ``SENS_ULP_CP_SLEEP_CYCx_REG`` registers (x = 0..4). When starting the ULP for the first tim… [all …]
|
D | ulp-legacy.rst | 10 Programming using macros (legacy) <ulp_macros> 14 …mple FSM (Finite State Machine) which is designed to perform measurements using the ADC, temperatu… 19 The ULP coprocessor code is written in assembly and compiled using the `binutils-esp32ulp toolchain… 48 …e must be absolute paths, i.e. start with ``$(COMPONENT_PATH)``. Consider using ``$(addprefix)`` f… 70 …6. **Generate a list of global symbols** (``ulp_app_name.sym``) in the ELF file using ``esp32ulp-e… 72 …_name.h``) containing the symbols from ``ulp_app_name.sym``. This is done using the ``esp32ulp_map… 102 …ables from the main program, the generated header file should be included using an ``include`` sta… 120 …eeds to load the ULP program into RTC memory using the ``ulp_load_binary`` function, and then star… 131 0 /* load address, set to 0 when using default linker scripts */, 153 …using ``SENS_ULP_CP_SLEEP_CYCx_REG`` registers (x = 0..4). When starting the ULP for the first tim… [all …]
|
D | usb-otg-console.rst | 5 …munication Device Class (CDC) to implement the serial console, instead of using UART with an exter… 8 * Flashing using ``esptool.py`` and ``idf.py flash``. 9 * :doc:`Device Firmware Update (DFU) <dfu>` interface for flashing the device using ``dfu-util`` an… 46 USB console feature can be enabled using ``CONFIG_ESP_CONSOLE_USB_CDC`` option in menuconfig tool (… 67 Initial upload using the ROM download mode, over USB CDC 71 …er, Linux, macOS) driver installation is not required. Find the port name using Device Manager (Wi… 74 Initial upload using the ROM download mode, over USB DFU 82 Initial upload using UART 105 …``ESP_EARLY_LOG`` are disabled when USB CDC is used. These can be enabled using :ref:`CONFIG_ESP_C… 111 …scriptors, errors in the USB stack usage, or other reasons. In this case, using the UART console f… [all …]
|
/hal_espressif-3.5.0/examples/storage/sd_card/sdmmc/ |
D | README.md | 13 … - mount FAT filesystem using FATFS library (and format card, if the filesystem cannot be mounted), 16 3. Create a file using `fopen` and write to it using `fprintf`. 17 …ore renaming, check if destination file already exists using `stat` function, and remove it using … 42 …nter UART download mode. One way to do this is to connect GPIO0 and GPIO2 using a jumper, and then… 53 …* In most cases, external pullup can be omitted and an internal pullup can be enabled using a `gpi… 103 I (336) example: Using SDMMC peripheral 135 …2 to work around the flashing issue, connect it back and reset the ESP32 (using a button on the de… 139 Connections between the card and the ESP32 are too long for the frequency used. Try using shorter c… 146 The example will be able to mount only cards formatted using FAT32 filesystem. If the card is forma…
|
/hal_espressif-3.5.0/examples/storage/partition_api/partition_ops/ |
D | README.md | 3 This example demonstrates how to perform partition read, write and erase operations using API funct… 9 …. Once found, the entire partition is erased using `esp_partition_erase_range`. Sample data is wri… 10 and read back using `esp_partition_read`, verifying the read and written data match. The partition …
|
/hal_espressif-3.5.0/docs/en/api-reference/storage/ |
D | sdmmc.rst | 35 …es. This example initializes the card, then writes and reads data from it using POSIX and C librar… 45 Using API with SD memory cards 54 Using API with eMMC chips 62 Using API with SDIO cards 84 * - Read and write a single byte using IO_RW_DIRECT (CMD52) 87 * - Read and write multiple bytes using IO_RW_EXTENDED (CMD53) in byte mode 90 * - Read and write blocks of data using IO_RW_EXTENDED (CMD53) in block mode 94 …interrupts can be enabled by the application using the function :cpp:func:`sdmmc_io_enable_int`. W…
|
/hal_espressif-3.5.0/examples/protocols/sntp/ |
D | README.md | 4 # Example: using LwIP SNTP module and time functions 18 * When using Make build system, set `Default serial port` under `Serial flasher config`. 20 ## Obtaining time using LwIP SNTP module 22 When this example boots first time after ESP32 is reset, it connects to WiFi and obtains time using… 27 Once time is synchronized, ESP32 will perform timekeeping using built-in timers. 33 Timekeeping using RTC timer is demonstrated in this example by going into deep sleep mode. After wa… 79 * `SNTP_SYNC_MODE_SMOOTH` - Smooth time updating. Time error is gradually reduced using adjtime fun… 95 To stop the smooth time adjustment, you need to record the current time using the function `settime…
|
/hal_espressif-3.5.0/examples/cxx/experimental/experimental_cpp_component/include/ |
D | gpio_cxx.hpp | 57 using StrongValueComparable<uint32_t>::operator==; 58 using StrongValueComparable<uint32_t>::operator!=; 74 using GPIONum = GPIONumBase<class GPIONumType>; 117 using StrongValueComparable<uint32_t>::operator==; 118 using StrongValueComparable<uint32_t>::operator!=; 155 …led mapping for values to drive strengths, please refer to the datasheet of the chip you are using. 210 using StrongValueComparable<uint32_t>::operator==; 211 using StrongValueComparable<uint32_t>::operator!=; 315 using GPIOBase::set_drive_strength; 316 using GPIOBase::get_drive_strength; [all …]
|
/hal_espressif-3.5.0/examples/build_system/cmake/idf_as_lib/ |
D | README.md | 4 # Using ESP-IDF in Custom CMake Projects 6 This example illustrates using ESP-IDF components as libraries in custom CMake projects. The applic… 83 If using ninja directly: 89 … the host CMake builds, the config is only read when the project is built using the ESP-IDF build … 93 …e is a discussion on using ESP-IDF in custom CMake projects in the programming guide under `API Gu…
|
/hal_espressif-3.5.0/components/esp_timer/include/ |
D | esp_timer.h | 83 * to call this function before using other esp_timer APIs. 97 * to call this function before using other esp_timer APIs. 123 * @note When done using the timer, delete it with esp_timer_delete function. 144 * @param timer timer handle created using esp_timer_create 159 * @param timer timer handle created using esp_timer_create 171 * This function stops the timer previously started using esp_timer_start_once 174 * @param timer timer handle created using esp_timer_create 187 * @param timer timer handle allocated using esp_timer_create 259 * @param timer timer handle created using esp_timer_create
|
/hal_espressif-3.5.0/components/spi_flash/include/ |
D | esp_partition.h | 140 * using esp_partition_iterator_release when not used any more. 163 * @param iterator Iterator obtained using esp_partition_find. Must be non-NULL. 175 * @param iterator Iterator obtained using esp_partition_find. Must be non-NULL. 184 * @param iterator Iterator obtained using esp_partition_find. 217 * @param partition Pointer to partition structure obtained using 238 * This can be done using esp_partition_erase_range function. 247 * @param partition Pointer to partition structure obtained using 273 * @param partition Pointer to partition structure obtained using 297 * This can be done using esp_partition_erase_range function. 299 * @param partition Pointer to partition structure obtained using [all …]
|
/hal_espressif-3.5.0/components/esptool_py/esptool/docs/en/esptool/ |
D | basic-options.rst | 13 * The target chip type can be selected using the ``--chip``/ ``-c`` option, e.g. ``esptool.py --chi… 23 * The serial port is selected using the ``-p`` option, like ``-p /dev/ttyUSB0`` (Linux and macOS) … 33 …using Cygwin or WSL on Windows, you have to convert the Windows-style name into a Unix-style path … 44 …erent rates may be set using ``-b 921600`` (or another baud rate of your choice). A default baud r…
|
/hal_espressif-3.5.0/examples/storage/wear_levelling/ |
D | README.md | 9 - initialize wear levelling library using this partition 10 …- mount FAT filesystem using FATFS library (and format the filesystem, if the filesystem can not b… 12 2. Create a file using `fopen` and write to it using `fprintf`. 49 I (920) example: Read from file: 'written using ESP-IDF v3.1-dev-171-gf9ad17eee-dirty'
|