Search found 202 matches

by zliudr
Wed Oct 14, 2020 5:00 am
Forum: ESP-IDF
Topic: Need some help to migrate from IDF 3V3 to IDF 4 extra folder with source code
Replies: 1
Views: 121

Re: Need some help to migrate from IDF 3V3 to IDF 4 extra folder with source code

Bump! Does anyone know how to include files from a different folder to the build?
by zliudr
Wed Oct 07, 2020 5:08 pm
Forum: Hardware
Topic: Connecting to FT313H USB 2.0 high speed host controller?
Replies: 0
Views: 108

Connecting to FT313H USB 2.0 high speed host controller?

I am considering my path from USB 2.0/1.1 full speed to high speed so I found this host controller from FTDI: https://www.ftdichip.com/Products/ICs/FT313H.html I wonder if anyone has interfaced it with ESP32. I'm not sure if the interfaces on FT313H works with ESP32: It says: Supports multiple bus i...
by zliudr
Thu Oct 01, 2020 4:34 pm
Forum: ESP-IDF
Topic: Need some help to migrate from IDF 3V3 to IDF 4 extra folder with source code
Replies: 1
Views: 121

Need some help to migrate from IDF 3V3 to IDF 4 extra folder with source code

Hi, I'm doing my best to migrate my project from IDF 3V3 to IDF 4. It's a lot of differences. Probably the c++ compiler is set to a different version and I had to do a lot of updates to make sure every complaints are addressed. That aside, it's using cmake and ninja, totally new things for me. Here ...
by zliudr
Thu Oct 01, 2020 4:07 pm
Forum: ESP-IDF
Topic: Proper way to de-assert RTS and/or DTR when UART is set to hardware flow control
Replies: 2
Views: 391

Re: Proper way to de-assert RTS and/or DTR when UART is set to hardware flow control

> Second, does uart_set_dtr() do anything since the dtr pad can't be brought out? Where did you get that from? In general, if you need to override an UART pin, another way would be to temporarily make it into a GPIO and setting the value that way. The esp_err_t uart_set_pin(uart_port_t uart_num, in...
by zliudr
Tue Sep 29, 2020 8:35 pm
Forum: ESP-IDF
Topic: Proper way to de-assert RTS and/or DTR when UART is set to hardware flow control
Replies: 2
Views: 391

Proper way to de-assert RTS and/or DTR when UART is set to hardware flow control

Here is my scenario: ESP32 talks to another device via UART with DTR hardware flow control. Since I can't output DTR to an IO pad, I use ESP32's RTS as DTR to connect to the other device's DSR. This works automatically. But at times i need to manually de-assert RTS to tell the other device to stop. ...
by zliudr
Sun Sep 27, 2020 7:23 pm
Forum: ESP-IDF
Topic: ESP-IDF V4.x with extra argements for idf.py to pass down?
Replies: 7
Views: 651

Re: How do you enable -j option for ESP-IDF V4.x with cmake?

I'm on the same boat. I have a list of cpp arguments that needs to be passed on but idf.py doesn't seem to do it. Here is my list: 'EXTRA_CPPFLAGS+=-DFIRMWARE_VER=20092501UL -DDEV_FEATURES=1 -DLATEST_AZURE=1 -DPRINT_MEMORY_DEBUG=1 -w' I'd say that everything CAN be accomplished if I just define them...
by zliudr
Sun Sep 27, 2020 5:23 am
Forum: ESP-IDF
Topic: ESP-IDF V4.x with extra argements for idf.py to pass down?
Replies: 7
Views: 651

Re: How do you enable -j option for ESP-IDF V4.x with cmake?

OK I added a "-j" to the option and saw it was used" Executing "cmake -j -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DWARN_UNINITIALIZED=1 -DCCACHE_ENABLE=1 c:\users\tarza\documents\hello_world"... It didn't seem to make a difference in the compile time so I'm happy. I'll...
by zliudr
Sun Sep 27, 2020 5:09 am
Forum: ESP-IDF
Topic: ESP-IDF V4.x with extra argements for idf.py to pass down?
Replies: 7
Views: 651

Re: How do you enable -j option for ESP-IDF V4.x with cmake?

It's hard to catch the exact command but I managed to catch this cmake command when I ran idf.py and it doesn't have -j option: https://liudr.files.wordpress.com/2020/09/screenshot-2020-09-27-000319.png So if I want to have the convenience of idf.py, then how do I add -j to it, is it here? cmake_arg...
by zliudr
Mon Sep 21, 2020 3:03 am
Forum: ESP-IDF
Topic: WiFi memory issue?
Replies: 0
Views: 115

WiFi memory issue?

Hi, I'm trying to find out why wifi stopped working. This is what I printed out right before WiFi reported memory error: I (4152946) POST_SKU: SPIRAM max free size :3566652 I (4152946) POST_SKU: SPIRAM max free block :3489460 I (4152956) POST_SKU: Internal max free size :76576 I (4152956) POST_SKU: ...
by zliudr
Sat Sep 05, 2020 4:10 pm
Forum: ESP-IDF
Topic: Redirect or duplicate console output to sd card file
Replies: 0
Views: 157

Redirect or duplicate console output to sd card file

Is there any way to do this? I'm trying to save the console logs for remote debugging purposes. Thanks.

Go to advanced search