Page 1 of 1

tty2oledhelp needed

Posted: Sat Oct 30, 2021 2:50 pm
by Hackshed_Carl
Good afternoon all.
I've finally found some time to build my tty2oled setup.
I've come to a complete standstill when trying to compile the code for my esp8266.
I've followed the guide several times but now I'm getting errors. I've added the log as an attachment.
Is anyone able to advise?
Thanks
Error.zip

Re: tty2oledhelp needed

Posted: Sat Oct 30, 2021 3:48 pm
by Hackshed_Carl
Quick update
Just started from scratch and followed the instructions more closely in regards to setting up the folders as venice mentioned.
I now have the same problem but potentially different errors
Error2.zip

Re: tty2oledhelp needed

Posted: Sat Oct 30, 2021 4:15 pm
by Hackshed_Carl
OK, scrap all that
I've just grabbed my macbook and installed everything on there.
My esp8266 is now fully flashed and working correctly.
I can only assume that the fault is with my Arduino software on the main PC.

:)

Re: tty2oledhelp needed

Posted: Sat Oct 30, 2021 4:58 pm
by Flandango
More than likely at one point or another you may have told it to include both the monochrome and the greyscale libraries into your sketch (not installed them, just include them) and that can lead to those kind of errors.
Glad you got it working.

Re: tty2oledhelp needed

Posted: Sat Oct 30, 2021 11:36 pm
by dave18
The Windows libraries seem a bit funky. I had similar issues and ended up programming my unit from a Linux vm running from within Windows and everything worked fine. Go figure!

Re: tty2oledhelp needed

Posted: Sun Oct 31, 2021 4:18 pm
by venice
Glad to see you got it working.

Is the Arduino HowTo not clear enough?
Flandango wrote: Sat Oct 30, 2021 4:58 pm More than likely at one point or another you may have told it to include both the monochrome and the greyscale libraries into your sketch (not installed them, just include them) and that can lead to those kind of errors.
I agree. If the Arduino libraries are at the right place (installed/unpacked) there is no need to include them through the Arduino-IDE as well.
They will be found automatically.
No need to use the libraries U8G2 and U8G2_for_adafruit_GFX together with the actual Arduino Sktech.
But it's not a problem to have both of them installed.

Was the MiSTer Software install part working well?

Re: tty2oledhelp needed

Posted: Sun Oct 31, 2021 5:08 pm
by Hackshed_Carl
I'll be perfectly honest, I haven't connected it to the MiSTer yet but intend to do so this week