Search found 127 matches

by gunar.kroeger
Mon Apr 08, 2019 3:20 pm
Forum: General Discussion
Topic: Get SD card free space not updating?
Replies: 2
Views: 941

Re: Get SD card free space not updating?

pilidfast-mail wrote:
Sat Apr 06, 2019 8:09 am
That's the software bug, nothing to do with hardware. Report the issue, next update might (will) solve it.
https://github.com/espressif/esp-idf/issues/3278
by gunar.kroeger
Fri Mar 29, 2019 7:43 pm
Forum: General Discussion
Topic: Get SD card free space not updating?
Replies: 2
Views: 941

Get SD card free space not updating?

I am able to read SD card free space by using this function: bool SD_getFreeSpace(uint32_t *tot, uint32_t *free) { FATFS *fs; DWORD fre_clust, fre_sect, tot_sect; /* Get volume information and free clusters of drive 0 */ if(f_getfree("0:", &fre_clust, &fs) == FR_OK) { /* Get total sectors and free s...
by gunar.kroeger
Sat Mar 23, 2019 1:50 pm
Forum: General Discussion
Topic: Invalid project path on Eclipse
Replies: 5
Views: 1450

Re: Invalid project path on Eclipse

was this before same setup where your compile runs before you did the move of headers? and did the compile runs without error? yes, for both. build command = python ${IDF_PATH}/tools/windows/eclipse_make.py -j5 build directory = ${workspace_loc:/ESP32_Project}/ I changed all the backslashes to forw...
by gunar.kroeger
Fri Mar 22, 2019 8:17 pm
Forum: General Discussion
Topic: Invalid project path on Eclipse
Replies: 5
Views: 1450

Re: Invalid project path on Eclipse

Yes, I'm on windows. Project settings are equivalent to the one you posted: Capture.PNG And this is my Makefile: PROJECT_NAME := ESP32_Project include $(IDF_PATH)/make/project.mk fullflash: python ${IDF_PATH}/components/esptool_py/esptool/esptool.py --chip esp32 --port COM4 --baud 921600 --before de...
by gunar.kroeger
Fri Mar 22, 2019 4:22 pm
Forum: General Discussion
Topic: Invalid project path on Eclipse
Replies: 5
Views: 1450

Invalid project path on Eclipse

Hi everyone, After I moved all my header files from main folder to main/include folder following a component structure, I get this warnings in Eclipse: Description Resource Path Location Type Invalid project path: Include path not found (\c\Users\gunar.kroeger\Desktop\eclipse\ESP32_Project\main\incl...
by gunar.kroeger
Wed Mar 13, 2019 1:05 pm
Forum: ESP32 IDF
Topic: Error on secondary bluetooth connection
Replies: 3
Views: 1271

Re: Error on secondary bluetooth connection

No I didn't
by gunar.kroeger
Tue Mar 12, 2019 4:20 pm
Forum: General Discussion
Topic: ESP32 Bluetooth SPP with bidirectional communication (send and receive)
Replies: 21
Views: 17147

Re: ESP32 Bluetooth SPP with bidirectional communication (send and receive)

suriyaelango wrote: Hi,
Can someone please tell me if Bluetooth SPP supports multiple clients in case of bi-directional communication? If yes, implementation code, please.
It does. You will have to save the connection handle from incoming clients and direct the messages with esp_spp_write to the correct handle
by gunar.kroeger
Thu Feb 14, 2019 1:33 pm
Forum: ESP32 IDF
Topic: Delete folder and contents?
Replies: 3
Views: 881

Re: Delete folder and contents?

Typo on forum or in code?
sorry, on forum.
Suggest you use the 'classic' opendir/readdir calls instead, and do the recursion yourself.
Ok. Thanks for the quick reply (:
by gunar.kroeger
Wed Feb 13, 2019 7:26 pm
Forum: ESP32 IDF
Topic: I²C clock problem
Replies: 18
Views: 4243

Re: I²C clock problem

We are also getting all sorts of issues when i2c is set to a clock higher than 10kHz trying to communicate with a GPS module... had to change back to uart, but still looking for a solution.
by gunar.kroeger
Wed Feb 13, 2019 7:20 pm
Forum: ESP32 IDF
Topic: Delete folder and contents?
Replies: 3
Views: 881

Delete folder and contents?

Hi, I wish to remove directory and and its contents like rm -rf <target> from SD card I found this example: #define _XOPEN_SOURCE 500 #include <stdio.h> #include <ftw.h> #include <unistd.h> int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf) { int rv = remove(fp...

Go to advanced search