• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

SPIFFS

Q&A Forum › Category: ESP32 › SPIFFS
0 Vote Up Vote Down
marcjeanvandenbril asked 2 years ago

Hello everyone,
I reinstalled the “EP32 Sketch Data Upload” to use the SPIFFS files of a sketch. To do this, I used IDE version 1.8.19.
Compiling the sketch “SPIFFS_Test.ino” gives a compilation error.
I got several messages:
1.”SPIFFS Warning: mkspiffs canceled!
2. Arduino.h:194:12: error: ‘std::round’ has not been declared
using std::round;
3. cc1plus.exe: warning: unrecognized command line option ‘-Wno-frame-address’
I used SPIFFS a year or two ago without problem..
Is there any change?
Thank you in advance for your advice and opinions.

Question Tags: New version ?
7 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
I don’t think there was any change. I didn’t have any problems.
Do you get that error when compiling the code or when uploading the files to the filesystem?
Regards,
Sara

0 Vote Up Vote Down
marcjeanvandenbril answered 2 years ago

When compiling the code
 
Regards,
 
Marc

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi again.
What ESP32 board do you have selected in Tools > Board?
And what is the ESP32 version that you have installed? (Go to Tools > Boards > Boards Manager, search for “ESP32” and check the version that you have.
What is the ESP32 board model you’re using?
Regards,
Sara

0 Vote Up Vote Down
marcjeanvandenbril answered 2 years ago

Good morning,
I tried
-MUST ESP32 -Dev Kit V1
ESP32 Dev Module
MH and LIVE ESP32 DevKit
There is a compilation error before uploading and the message is always the same, whatever the card:
“In file included from C:\Users\marcj\AppData\Local\Temp\arduino_build_81092\sketch\SPIFFS_Test.ino.cpp:1:0:
C:\Users\marcj\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\cores\esp32/Arduino.h:194:12: error: ‘std::round’ has not been declared
using std::round;
^
cc1plus.exe: warning: unrecognized command line option ‘-Wno-frame-address’ ”
This is tested with your “SPIFFS_Test” file from the book
 
Regards,
 
Marc

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
I’m not sure, but it seems like a problem with your Arduino installation or something similar.
What boards do you have installed in Tools > Board > Boards Manager > Search for ESP32.. Then, there are two options. You must have the one by Espressif System, version 2.0.11
 
Regards,
Sara
 

0 Vote Up Vote Down
marcjeanvandenbril answered 2 years ago

You are a magician!!!
I use Arduino 1.8.19 and 2.2.1 at the same time. Entering the code in version 2 is much easier, but this version does not support SPIFFS. I regularly update the cards and libraries in both versions. I had already had card (board?) problems between the two versions.. I am (almost) certain to have installed a version 2* on Arduino 1.8. When I checked following your excellent advice, it was version 1.0.6!
I updated. Now it is 2.0.11 for Arduino 1.8.19 and 2.0.14 for Arduino 2.2.1.
FYI, I had to reinstall almost all libraries. No more compilation problems and your book code now works perfectly.
thanks again

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
That’s great.
I’m glad the issue is solved.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.