esp8266: Remove release-specific manifest, disable osdebug by default.

This commit removes release-specific builds for the esp8266 and makes the
normal build of the GENERIC board more like the release build.  This makes
esp8266 like all the other ports, for which there is no difference between
a daily build and a release build, making things less confusing.

Release builds were previously defined by UART_OS=-1 (disable OS messages)
and using manifest_release.py to include more frozen modules.

The changes in this commit are:
- Remove manifest_release.py.
- Add existing modules from manifest_release.py (except example code)
  to the GENERIC board's manifest.py file.
- Change UART_OS default to -1 to disable OS messages by default.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2020-09-11 16:47:29 +10:00
parent ecb36d2439
commit b28758054b
3 changed files with 20 additions and 24 deletions

View File

@ -50,7 +50,7 @@ INC += -I$(ESP_SDK)/include
# UART for "os" messages. 0 is normal UART as used by MicroPython REPL,
# 1 is debug UART (tx only), -1 to disable.
UART_OS = 0
UART_OS = -1
CFLAGS_XTENSA = -fsingle-precision-constant -Wdouble-promotion \
-D__ets__ -DICACHE_FLASH \

View File

@ -1,2 +1,21 @@
# base modules
include("$(PORT_DIR)/boards/manifest.py")
# uasyncio
include("$(MPY_DIR)/extmod/uasyncio/manifest.py")
# drivers
freeze("$(MPY_DIR)/drivers/display", "ssd1306.py")
# Libraries from micropython-lib, include only if the library directory exists
if os.path.isdir(convert_path("$(MPY_LIB_DIR)")):
# file utilities
freeze("$(MPY_LIB_DIR)/upysh", "upysh.py")
# requests
freeze("$(MPY_LIB_DIR)/urequests", "urequests.py")
freeze("$(MPY_LIB_DIR)/urllib.urequest", "urllib/urequest.py")
# umqtt
freeze("$(MPY_LIB_DIR)/umqtt.simple", "umqtt/simple.py")
freeze("$(MPY_LIB_DIR)/umqtt.robust", "umqtt/robust.py")

View File

@ -1,23 +0,0 @@
include("manifest.py")
# drivers
freeze("$(MPY_DIR)/drivers/display", "ssd1306.py")
# file utilities
freeze("$(MPY_LIB_DIR)/upysh", "upysh.py")
# requests
freeze("$(MPY_LIB_DIR)/urequests", "urequests.py")
freeze("$(MPY_LIB_DIR)/urllib.urequest", "urllib/urequest.py")
# umqtt with examples
freeze("$(MPY_LIB_DIR)/umqtt.simple", "umqtt/simple.py")
freeze("$(MPY_LIB_DIR)/umqtt.robust", "umqtt/robust.py")
freeze("$(MPY_LIB_DIR)/umqtt.simple", "example_pub_button.py")
freeze("$(MPY_LIB_DIR)/umqtt.simple", "example_sub_led.py")
# HTTP examples
freeze("$(MPY_DIR)/examples/network", "http_client.py")
freeze("$(MPY_DIR)/examples/network", "http_client_ssl.py")
freeze("$(MPY_DIR)/examples/network", "http_server.py")
freeze("$(MPY_DIR)/examples/network", "http_server_ssl.py")