Hi,
Thanks both, this is great advice. :)
I added a line in component.mk to help the complier find the file I guess ...
COMPONENT_EMBED_TXTFILES := fine.html
For netconn, the sizeof the data to send ...
extern const uint8_t fine_html_start[] asm("_binary_fine_html_start");
extern const uint8 ...
Search found 4 matches
- Tue Feb 14, 2017 8:51 pm
- Forum: General Discussion
- Topic: problem developing http server
- Replies: 5
- Views: 8790
- Mon Feb 13, 2017 7:32 pm
- Forum: General Discussion
- Topic: Question regarding developing in Eclipse
- Replies: 4
- Views: 10042
Re: Question regarding developing in Eclipse
Hi Rick,
There's more info on setting up Eclipse in the ESP-IDF Programming Guide http://esp-idf.readthedocs.io/en/latest/eclipse-setup.html , I followed those instructions before I found the video which got me up and running.
With those settings auto-complete works for me, I'm very new to this ...
There's more info on setting up Eclipse in the ESP-IDF Programming Guide http://esp-idf.readthedocs.io/en/latest/eclipse-setup.html , I followed those instructions before I found the video which got me up and running.
With those settings auto-complete works for me, I'm very new to this ...
- Sun Feb 12, 2017 2:46 pm
- Forum: General Discussion
- Topic: problem developing http server
- Replies: 5
- Views: 8790
Re: problem developing http server
Hi, I found out the " characters were the problem, so I can easily escape them like \".
but is there a better way to store a static page on the esp32? As I develop the page further, it's getting boring adding \'s again and again.
Thanks
Rob
but is there a better way to store a static page on the esp32? As I develop the page further, it's getting boring adding \'s again and again.
Thanks
Rob
- Fri Feb 10, 2017 5:31 pm
- Forum: General Discussion
- Topic: problem developing http server
- Replies: 5
- Views: 8790
problem developing http server
Hi,
I'd like to serve up an html page, my server works fine with simple pages but when I try to use svg I get errors compiling and the build failed.
const static char http_index_html[] =
"<html><body><svg width=100% height=100% viewbox="0 0 200 200" id="svg"><rect .... etc
/home/rob/esp32 ...
I'd like to serve up an html page, my server works fine with simple pages but when I try to use svg I get errors compiling and the build failed.
const static char http_index_html[] =
"<html><body><svg width=100% height=100% viewbox="0 0 200 200" id="svg"><rect .... etc
/home/rob/esp32 ...