Forum Replies Created
-
AuthorPosts
-
slickParticipantHi Samer,
I just wanted to say thanks for the info. I have a lot to learn, and you’ve helped me get started, I appreciate it.
slickParticipantThanks Ray, if Samer has more info, it’ll be good to know, but this will give me something to start looking at 🙂
slickParticipantHello, and Happy New Year.
I’m trying to compile this version using the instructions provided.
I have been successful using earlier versions.
One of the differences I see is the addition of the Arduino/libraries/pubsubclient code that I’ve cloned from git like I did for the esp8266_2.5.2 code.When I compile using make -f make.lin32, I get the following (among several others, but this is the first error):
/home/brian/Arduino/libraries/pubsubclient/tests/src/receive_spec.cpp: In function ‘int test_receive_stream()’:
/home/brian/Arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:65:12: error: cannot declare variable ‘stream’ to be of abstract type ‘Stream’
Stream stream;
^
In file included from /home/brian/esp8266_2.5.2//cores/esp8266/HardwareSerial.h:32:0,
from /home/brian/esp8266_2.5.2//cores/esp8266/Arduino.h:263,
from /home/brian/Arduino/libraries/pubsubclient/src/PubSubClient.h:10,
from /home/brian/Arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:
/home/brian/esp8266_2.5.2//cores/esp8266/Stream.h:38:7: note: because the following virtual functions are pure within ‘Stream’:Any suggestions would be greatly appreciated.
Sorry for the newbie questions, but I’m a hardware guy 🙂
Thank you for all you’ve done on this topic.
slickParticipantHi all,
Wow, it’s working now.
It appears there may have been another browser window open (different browser), but even so, it seems like all the resets and restarts would have cleared that out.
I’m now 100% sure what made it start working, but since it is now, this thread can be closed.Thanks,
Brian
slickParticipantHi, Thanks for the comments.
I had considered it, and just played with it a bit more based on your comments. It’s nice, and does work without the router… I had no idea it would!
However, I want to customize the interface a bit and am trying to avoid having to learn how to write a phones App on top of everything else 🙂I suspect in your case that OS was still connected to your router, even though your internet was down, and that’s why the <ipaddress>/index worked.
In my case (OS is in AP mode) so 192.168.4.1/index gives me WiFi configuration page. This is the page I’m trying to customize with some more advanced html/javascript.I’ve been able to replace that page (I actually just added a different page) but am finding it difficult to give it much content. I’m having trouble understanding how big the ‘html.h’ string can be, and it seems like I can’t seem have a separate style.css file because the browser tries to request it before the full page has finished loading. This pushed me into putting everything in one big html.h string. Maybe I’m running out of flash space. When make the build I see this:
Memory usage
Ram: 44924 bytes
Flash: 603768 bytesDo you or does anyone know the max flash available for use? (am I over the limit, what is the limit…)
So thank you for the comment; it led me to learn lot I didn’t know.
slickParticipantHi Ray,
Ah… That tidbit about not needing a formal Arduino installation and clarifying the purpose of the Arduino directory helped a lot, I get it now. I’m now able to compile and actually loaded a bin file it onto a bare ESP (can’t do much with out the rest of the hardware, but I’m excited none-the-less).
I’m so impressed with what you (and company) have done. Thanks for responding and helping a the new guy out, I appreciate it.
All the best
slickParticipantHello,
I hope someone will lend a hand; I’m simply trying to compile the project.
I’ve tried to follow: https://openthings.freshdesk.com/support/solutions/articles/5000165132-how-to-compile-opensprinkler-firmware
I’ve build a CentOS VM and am running the make.lin32 make file.
I have arduino installed, but noticed the make file is looking for it to be installed in ~/Arduino. Since my install went to arduino-1.8.10, I renamed the path in the make file.When I do, I get this:
server.cpp: In function ‘void on_sta_upload()’:
server.cpp:1974:3: error: ‘stopAll’ is not a member of ‘WiFiUDP‘
WiFiUDP::stopAll();
^
make: *** [/tmp/mainArduino/mainArduino_generic/server.cpp.o] Error 1
make: *** Waiting for unfinished jobs….Any suggestions would be greatly appreciated.
Thank you! -
AuthorPosts