Search found 1491 matches

by ESP_igrr
Tue Aug 06, 2019 7:01 am
Forum: ESP-IDF 中文讨论版
Topic: 如何彻底关闭中断
Replies: 3
Views: 129

Re: 如何彻底关闭中断

These 2 macros disable interrupts up to and including level 3. Interrupts level 4 and 5 are still allowed in FreeRTOS critical sections. In practice, you may find that disabling interrupts up to level 4 will give the result you need. Note however that your timing requirements come from some bitbangi...
by ESP_igrr
Mon Jul 29, 2019 8:58 pm
Forum: ESP32 IDF
Topic: [toolchain v2.0] How to flash binary? (ImportError: No module named serial)
Replies: 4
Views: 196

Re: [toolchain v2.0] How to flash binary? (ImportError: No module named serial)

Ah, I see now. Can you please try adding 'python' in front of the pyserial command? I.e.

python ..\..\..\..\..\esp-idf\components\esptool_py\esptool\esptool.py -p com26 (rest of the command)
by ESP_igrr
Mon Jul 29, 2019 1:08 pm
Forum: ESP32 IDF
Topic: [toolchain v2.0] How to flash binary? (ImportError: No module named serial)
Replies: 4
Views: 196

Re: [toolchain v2.0] How to flash binary? (ImportError: No module named serial)

If you are using a new cmd.exe window (not the one where you were using idf.py) then run path\to\idf\export.bat first. Then you can use esptool.

Or open the "ESP-IDF Command Prompt" shortcut in start menu, it is created by the installer.
by ESP_igrr
Sun Jul 28, 2019 2:56 pm
Forum: General Discussion
Topic: Uptime in millis
Replies: 3
Views: 224

Re: Uptime in millis

esp_timer_get_time()/1000 ?
by ESP_igrr
Fri Jul 26, 2019 2:36 pm
Forum: General Discussion
Topic: [SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
Replies: 13
Views: 557

Re: esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration

Sorry, this is only documented in the UART API reference at the moment — wakep only works on the IO MUX pins:

https://docs.espressif.com/projects/esp ... rt_port_ti

(see note in the function description)
by ESP_igrr
Tue Jul 23, 2019 11:18 am
Forum: ESP32 IDF
Topic: Documentation on external flash partitions
Replies: 5
Views: 312

Re: Documentation on external flash partitions

Most likely not more than two weeks.
by ESP_igrr
Sun Jul 21, 2019 6:08 pm
Forum: ESP32 IDF
Topic: Problem installing IDF on linux
Replies: 6
Views: 412

Re: Problem installing IDF on linux

Are you running a 32-bit (x86) version of Linux?

It seems we don't have 32-bit builds of some of the tools which are marked "required" for the installation. We will correct that.
by ESP_igrr
Fri Jul 19, 2019 10:02 am
Forum: General Discussion
Topic: Using printf inside Task
Replies: 6
Views: 309

Re: Using printf inside Task

Indeed, printf implementation does need a fair amount of stack to work, regardless of what the format string is. Actually if the printf statement doesn't use any format arguments, the compiler should be able to optimize it, converting it into "puts". I wonder why this hasn't happened here (possibly ...
by ESP_igrr
Fri Jul 19, 2019 9:52 am
Forum: General Discussion
Topic: Unable to build esp32 code using cmake setup in Windows 10
Replies: 6
Views: 316

Re: Unable to build esp32 code using cmake setup in Windows 10

Okay, thanks for the extra details. The installer fails due to a space character in the user name. We will fix this bug in the installer and release a new version. Note that since install.bat and export.bat work correctly, you don't need to assemble all the tools manually as you did with the esp32_w...

Go to advanced search