Search found 4 matches

by xgaroux
Mon May 10, 2021 6:19 pm
Forum: ESP-IDF
Topic: Getting current transmit status of the UART driver
Replies: 2
Views: 3416

Re: Getting current transmit status of the UART driver

You might be able to call /** * @brief Wait until UART TX FIFO is empty. * * @param uart_num UART port number, the max port number is (UART_NUM_MAX -1). * @param ticks_to_wait Timeout, count in RTOS ticks * * @return * - ESP_OK Success * - ESP_FAIL Parameter error * - ESP_ERR_TIMEOUT Timeout */ esp...
by xgaroux
Fri Apr 23, 2021 3:37 pm
Forum: ESP-IDF
Topic: Getting current transmit status of the UART driver
Replies: 2
Views: 3416

Getting current transmit status of the UART driver

Hi! I'm trying to figure out if there is a way to get current transmit status of UART driver? I found a function in the HAL that fully matches my question: #define uart_hal_is_tx_idle(hal) uart_ll_is_tx_idle((hal)->dev) But it use only in block waiting for the transmission ends and internal ISR rout...
by xgaroux
Tue Oct 13, 2020 8:27 am
Forum: IDEs for ESP-IDF
Topic: Unable to launch debug in VSCode ESP-IDF ext with system-installed openocd
Replies: 3
Views: 4151

Re: Unable to launch debug in VSCode ESP-IDF ext with system-installed openocd

My Custom Extra Paths look like this: /home/user/.espressif/python_env/idf4.1_py3.8_env/bin:/usr/bin:/home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin:/home/user/.espressif/tools/xtensa-esp32s2-elf/esp-2020r2-8.2.0/xtensa-esp32s2-elf/bin:/home/user/.espressif/tools/e...
by xgaroux
Mon Oct 12, 2020 2:40 pm
Forum: IDEs for ESP-IDF
Topic: Unable to launch debug in VSCode ESP-IDF ext with system-installed openocd
Replies: 3
Views: 4151

Unable to launch debug in VSCode ESP-IDF ext with system-installed openocd

Hi! I am facing the following problem: I have installed ESP-IDF extension for VSCode with downloading all tools. It successfully installed, but in last step on checking tools was some error with openocd not found. I checked - it exist in .espressif/tools/openocd-esp32/v0.10.0-esp32-20191114 director...