Search found 238 matches

by zliudr
Sat Mar 06, 2021 1:56 am
Forum: ESP-IDF
Topic: Writing your own library module
Replies: 0
Views: 53

Writing your own library module

I have a library module that I have been using since IDF 3.3 and it's been working. Now that I'm upgrading to 4.3, some of the things such as CMakeLists.txt are not working. I was using make in 3.3 so I started looking at V 4.3 libraries for understanding. It seems that for a library component to wo...
by zliudr
Fri Mar 05, 2021 9:49 pm
Forum: ESP-IDF
Topic: Printing IP address
Replies: 0
Views: 38

Printing IP address

I'm going through the WiFi migration document. What I don't understand is the use of IPSTR and IP2STR macros. I expanded them in eclipse and it's a long of stuff with a do-while loop. What are they intended to do? Doc doesn't explain what. It discourages the use of the other method. But if you just ...
by zliudr
Fri Mar 05, 2021 5:50 pm
Forum: ESP-IDF
Topic: Upgrading IDF 3.3 to 4.3: question 1 on event handler
Replies: 0
Views: 75

Upgrading IDF 3.3 to 4.3: question 1 on event handler

I'm upgrading my huge project from 3.3 to 4.3. I encountered a number of problems so I would like to break them down into individual problems in case others encounter them as well. The first question is event handler. I admit I didn't read the event handler's mechanism before. I'm doing search and r...
by zliudr
Mon Feb 22, 2021 3:07 am
Forum: ESP-IDF
Topic: I would like to use tinyUSB on ESP32-S2 in ESP-IDF
Replies: 6
Views: 533

Re: I would like to use tinyUSB on ESP32-S2 in ESP-IDF

Great! I've started reading libusb documentation. It's good to know how it does its work. TinyUSB doesn't have a good usb host stack so it's good to not use it for host. I will definitely test out libusb once you release a version of ESP-IDF with the support.
by zliudr
Fri Feb 19, 2021 1:50 pm
Forum: ESP-IDF
Topic: I would like to use tinyUSB on ESP32-S2 in ESP-IDF
Replies: 6
Views: 533

Re: I would like to use tinyUSB on ESP32-S2 in ESP-IDF

Thank you! Would you be posting in the announcement if you have something like basic host setup function and control_transfer, bulk in/out? I am happy to test your code. I just started reading the hardware reference manual on S2's USB peripheral and could provide some assistance in testing your code...
by zliudr
Thu Feb 18, 2021 10:00 pm
Forum: ESP-IDF
Topic: I would like to use tinyUSB on ESP32-S2 in ESP-IDF
Replies: 6
Views: 533

Re: I would like to use tinyUSB on ESP32-S2 in ESP-IDF

Thanks for your response and sorry it took so long to get back. I'm still interested in tinyUSB host stuff. When you said the host code won't be ready, do you mean there's currently no way to interact with the ESP32-s2 USB controller in the host mode using tinyUSB calls? Are the basic functions supp...
by zliudr
Wed Feb 10, 2021 6:46 pm
Forum: ESP-IDF
Topic: How to format sd card?
Replies: 3
Views: 202

Re: How to format sd card?

Thanks. Which header file should I include for ff_memalloc()? I can't find it in ESP-IDF doc so I assume it may be part of POSIX or RTOS call?
by zliudr
Wed Feb 10, 2021 5:58 pm
Forum: ESP-IDF
Topic: How to format sd card?
Replies: 3
Views: 202

How to format sd card?

I'm considering formatting the sd card (surface-mount IC) with a command or function, as a maintenance option. I know that you can format the card if it fails to mount but I'm talking about a healthy card that may have developed some file system corruptions and a quick format is necessary for stabil...
by zliudr
Wed Feb 10, 2021 5:52 pm
Forum: IDEs for ESP-IDF
Topic: Trying to install ESP-IDF VS extension failed
Replies: 6
Views: 485

Re: Trying to install ESP-IDF VS extension failed

Steep learning curve ahead.

What's choco? Do I have to install that to get VC build tools? That link isn't clear at all.
OpenSSL installed and configured for pip: how?
by zliudr
Tue Feb 09, 2021 3:16 am
Forum: IDEs for ESP-IDF
Topic: Trying to install ESP-IDF VS extension failed
Replies: 6
Views: 485

Re: Trying to install ESP-IDF VS extension failed

ESP_bignacio, Thanks. I'll look into those. BUT, big but, my pip WAS version 21 and the error message still complains about version number. I only has that one python version 3.7.3 installed, no other python versions. I need some help how to install OpenSSL and configure for pip. I read OpenSSL and ...

Go to advanced search