ESP8266 how compile firmware with FS and Graphics libs? #5669
Replies: 1 comment
-
|
Posted at 2017-05-17 by @MaBecker Hi @pressanykey this is a good point to start https://github.com/espruino/Espruino/blob/master/README_Building.md#for-esp8266 Posted at 2017-05-18 by PressAnyKey Hi @MaBecker I read this file and got stuck in make. This is terminal output. Posted at 2017-05-19 by PressAnyKey Make of the firmware was successed (without errors and with few warnings) but after flash firmware on my esp8266 devboard i can't connect by WebIDE to this board (Wemos D1 mini board and LoLin v3 board). At this time i can connect to original Espruino board and it's weird. I don't know why but it's happened. I'll try to fix it but i don't know what i need to do :( When i try to connect to this boards WebIDE write to console Posted at 2017-05-19 by Wilberforce After flashing the USB/serial device gets left in an odd state. I have found if you connect with a serial programme ( screen on linux, putty ) on windows with a baud of 115200 after flashing, you get a command prompt. Then quit this, and try the connection from the web ide with baud rate 115200. The other related factor is the ESP8266 outputs on the UART and boot at 76800 baud and spits out: I think this output confuses the web ide, an if you look in the console you see 'overrun' or something similar, and the nodejs serialport connection is disconnected. Perhaps this could be commented out and see if this works a work around? Posted at 2017-05-19 by hungryforcodes What were the warnings? I never get any warnings anymore when compiling my firmware (and yes I do use the FS + FLASH options), since @wilberforce fixed all the type casting. Posted at 2017-05-19 by @MaBecker @pressanykey, please share the used flash command Posted at 2017-05-19 by PressAnyKey @hungryforcodes there is few not critical (i think so) warnings about declaration variables. and this Posted at 2017-05-19 by PressAnyKey @MaBecker, i used this flash commands. Posted at 2017-05-19 by PressAnyKey @wilberforce, yep at first connect i have message like I connect to board by minicom and get it as output when reset the board Attachments: Posted at 2017-05-19 by @MaBecker @pressanykey - great, so it works. if you like do and you will get a Flash map 4MB:1024/1024 with lots off free flash areas Posted at 2017-05-19 by PressAnyKey @MaBecker, yes, firmware is working fine but the first line on output is weird and WebIDE won't connect to the board. Maybe you know how can i fix the first weird line of output? It's totaly not comfortable without WebIDE :( Thank you again. p.s. Now i use minicom and web ide at the same time. If i connected to port with minicom, WebIDE connected fine but can't use the terminal side, but WebIDE can upload code from the right side. Posted at 2017-05-19 by PressAnyKey @wilberforce, where i can comment it out? Posted at 2017-05-19 by @MaBecker please share the CONSOLE output of the WEB IDE Posted at 2017-05-19 by PressAnyKey I was flash some code to the board and it start connect to the WebIDE. I don't know why but it work for me. Posted at 2017-05-19 by @MaBecker glad to hear that it now works for you. Posted at 2017-05-19 by PressAnyKey I have new problem. but when i try to start SD card at original espruino i have this in output What i'm doing wrong? Posted at 2017-07-25 by Polypod @pressanykey, how did you solve the "error: conflicting types for 'int32_t'" ? |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-05-17 by PressAnyKey
Hello everyone.
I have ESP-12E devboard.
I need FS and Graphics libs for my project but this libs are removed from firmware by default.
How can i compile firmware with this libs for my board with 4mb flash size?
Thanks for reply.
Beta Was this translation helpful? Give feedback.
All reactions