Search found 599 matches

by mikemoy
Wed Sep 26, 2018 4:00 pm
Forum: General Discussion
Topic: ESP-IDF SPIFFS open file issues
Replies: 6
Views: 8672

Re: ESP-IDF SPIFFS open file issues

Thank you so much that took care of it!
by mikemoy
Wed Sep 26, 2018 3:40 pm
Forum: General Discussion
Topic: ESP-IDF SPIFFS can't find files on ESP32?
Replies: 18
Views: 25380

Re: ESP-IDF SPIFFS can't find files on ESP32?

You can't open the files Nope, i get an error. I found that you can embed files into your project. I though this to be a better solution than to upload files, as that would get old if you had to program many devices for production. I started following down this rabbit hole here but now ran into a i...
by mikemoy
Wed Sep 26, 2018 3:37 pm
Forum: General Discussion
Topic: ESP-IDF SPIFFS open file issues
Replies: 6
Views: 8672

Re: ESP-IDF SPIFFS open file issues

Ah.. my problem before was I didn't use "./"
it does not report a version.
Mike@DESKTOP-J24VA57 MINGW32 ~/mkspiffs-0.2.0
$ ./mkspiffs.exe --version

./mkspiffs version:


Mike@DESKTOP-J24VA57 MINGW32 ~/mkspiffs-0.2.0
$
by mikemoy
Wed Sep 26, 2018 2:59 pm
Forum: General Discussion
Topic: Component Makefiles - Adding source directories
Replies: 2
Views: 3301

Component Makefiles - Adding source directories

I created a test.txt file and included it in my root directory. In component.mk i have: COMPONENT_EMBED_FILES := test.txt This compiles fine with no issues. I want to put my files in a subdirectory. accoding to the docs, i need to add "COMPONENT_SRCDIRS. https://docs.espressif.com/projects/esp-idf/e...
by mikemoy
Wed Sep 26, 2018 2:41 pm
Forum: General Discussion
Topic: ESP-IDF SPIFFS open file issues
Replies: 6
Views: 8672

Re: ESP-IDF SPIFFS open file issues

Thanks, but i can't do that as I am on Windows using mingw32 terminal
by mikemoy
Wed Sep 26, 2018 1:34 pm
Forum: General Discussion
Topic: ESP-IDF SPIFFS can't find files on ESP32?
Replies: 18
Views: 25380

Re: ESP-IDF SPIFFS can't find files on ESP32?

Thanks, I have seen that. For some reason even though its printing the directory, I cannot open files yet for reading.
by mikemoy
Wed Sep 26, 2018 1:25 pm
Forum: General Discussion
Topic: ESP-IDF SPIFFS open file issues
Replies: 6
Views: 8672

ESP-IDF SPIFFS open file issues

I have been pulling my hair out trying to figure out how to upload files, and open them for reading. I created a simple test for this, when the app first runs it says . W (302) SPIFFS: mount failed, -10025. formatting... which is what I would expect. After its done formatting I reboot, and it says: ...
by mikemoy
Wed Sep 26, 2018 12:10 pm
Forum: General Discussion
Topic: ESP-IDF SPIFFS can't find files on ESP32?
Replies: 18
Views: 25380

Re: ESP-IDF SPIFFS can't find files on ESP32?

Well, i spoke too soon. Though it lists the files and directories just fine. I can open a file without error, but when i try fread, i get an error. Also, I found out that you have to (enable) long filename support: → Component config → FAT Filesystem support → Long filename support Then you can sele...
by mikemoy
Wed Sep 26, 2018 11:09 am
Forum: General Discussion
Topic: ESP-IDF SPIFFS can't find files on ESP32?
Replies: 18
Views: 25380

Re: ESP-IDF SPIFFS can't find files on ESP32?

I got this working last night. There is allot the docs assume you already know :roll: I am still honing in values but this should get you started as well. #1) create a "partitions.csv" file in your project folder. This is what I have in there. # Name, Type, SubType, Offset, Size, Flags # Note: if yo...
by mikemoy
Tue Sep 25, 2018 10:40 pm
Forum: General Discussion
Topic: ESP-IDF SPIFFS can't find files on ESP32?
Replies: 18
Views: 25380

Re: ESP-IDF SPIFFS can't find files on ESP32?

Did you ever find a solution to this ?