Closed nkolban closed 8 years ago
Yes, that'd be fine.
You'll want to make sure the image and CSS in BOARD.py matches up nicely first.
IIRC scripts/build_board_docs.py
is the thing that builds the HTML you need to check
A somewhat related forum discussion can be found here:
What is the background to having multiple ESP8266 boards as opposed to just one? I would have assumed that we would have had one "logical" ESP8266 board encompasing ESP-1, ESP-12, NodeMCU devkit, Hazzah and others.
In the Makefile we need several targets in order to distinguish the various amounts of flash and the completely different linking process for the larger flash sizes with OTA update capability. I think it also makes sense to have two boards, one for esp-01 and one for esp-12 because the available pins are very different and the pinout is also different. Finally the flash save area address is different between the non-OTA and the OTA versions because it needs to fit into some free space. If you manage to combine them, great :-)
I don't have any great ideas for the Makefile/build system ... maybe we can all put our heads to it as a community. If it weren't for the build system, would you be in favor of a single ESP8266 logical board with flash memory variants? ... Eg. ESP8266 512K, ESP8266 1MB, ESP8266 4MB ... etc?
Honestly, I don't care too much. The esp-01 is dead for me anyways... But at this point I'm not volunteering to refactor...
esp8266 is now added to web pages :-)
In the boards page found here:
http://www.espruino.com/Reference#boards
It is approaching time to consider adding the ESP8266. I suggest a picture of the NodeMCU board with content for NodeMCU and commentary that any ESP8266 hosting board will work (ESP-1, ESP-12, Huzzah and more). Since this would appear on a primary Espruino page, permission and concurrence from @gfwilliams must be obtained.