Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Resource Files (Read 2060 times)
SonicPLD
Junior Member
**
Offline


Posts: 21
Joined: Aug 5th, 2018
Resource Files
Aug 26th, 2018 at 9:18am
Print Post  
Hello.
I would like to use a "favicon.ico" file for my webserver project, and I am thinking on puting it as a resource.
Anyway seems like I am missing something, because SPIFFS.open( "/favicon.ico" ) does not returning it.
Where should I look for the resource files after they have been deployed to ESP32, and how can I access them properly ?
As well - do I need some special configuration for them ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Resource Files
Reply #1 - Aug 27th, 2018 at 3:49am
Print Post  
Normal esp devices allow files in or below the \data folder. Then the vmicro publish server data files menu item can be used.

The guidelines are same as arduino ide but with different menu name.
  
Back to top
IP Logged
 
SonicPLD
Junior Member
**
Offline


Posts: 21
Joined: Aug 5th, 2018
Re: Resource Files
Reply #2 - Aug 27th, 2018 at 8:22am
Print Post  
I am speaking about this one. How to use it please in order to deploy the files within it to ESP32 ?
I can't find any help on it. Please help.

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Resource Files
Reply #3 - Aug 30th, 2018 at 12:34am
Print Post  
I see. We use visual studio c++ projects and they have a few options that we don't use. We try to stay compatible with the arduino ide so the instructions are common. For example esp produce a guide for the arduino ide and we support that.

It's a good idea that we might add the resources to the list of files to send with the spiffs upload but might be confusing as to the location. By forcing people to use the \data folder same as arduino) we have a known file structure in a single location that can be mirrored to spiffs
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint