This merges the existing GENERIC, GENERIC_1M, and GENERIC_512k boards into variants of the new ESP8266_GENERIC board (renamed from GENERIC so as not to clash with other ports). Also moves the generation of the "OTA" variant (previously generated by autobuild/build-esp8266-latest.sh) into the variant. Following the convention established for the WEACTSTUDIO rp2 board, the names of the variants are FLASH_1M and FLASH_512K (but rename the .ld files to use MiB and kiB). Updates autobuild to build esp8266 firmware the same way as other ports. This requires renaming the output from firmware-combined.bin to just firmware.bin. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
20 lines
338 B
Python
20 lines
338 B
Python
# base modules
|
|
include("$(PORT_DIR)/boards/manifest.py")
|
|
|
|
# asyncio
|
|
include("$(MPY_DIR)/extmod/asyncio")
|
|
|
|
# drivers
|
|
require("ssd1306")
|
|
|
|
# micropython-lib: file utilities
|
|
require("upysh")
|
|
|
|
# micropython-lib: requests
|
|
require("urequests")
|
|
require("urllib.urequest")
|
|
|
|
# micropython-lib: umqtt
|
|
require("umqtt.simple")
|
|
require("umqtt.robust")
|