Skip to content

Commit b287580

Browse files
committed
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 <[email protected]>
1 parent ecb36d2 commit b287580

File tree

3 files changed

+20
-24
lines changed

3 files changed

+20
-24
lines changed

ports/esp8266/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ INC += -I$(ESP_SDK)/include
5050

5151
# UART for "os" messages. 0 is normal UART as used by MicroPython REPL,
5252
# 1 is debug UART (tx only), -1 to disable.
53-
UART_OS = 0
53+
UART_OS = -1
5454

5555
CFLAGS_XTENSA = -fsingle-precision-constant -Wdouble-promotion \
5656
-D__ets__ -DICACHE_FLASH \
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
1+
# base modules
12
include("$(PORT_DIR)/boards/manifest.py")
3+
4+
# uasyncio
25
include("$(MPY_DIR)/extmod/uasyncio/manifest.py")
6+
7+
# drivers
8+
freeze("$(MPY_DIR)/drivers/display", "ssd1306.py")
9+
10+
# Libraries from micropython-lib, include only if the library directory exists
11+
if os.path.isdir(convert_path("$(MPY_LIB_DIR)")):
12+
# file utilities
13+
freeze("$(MPY_LIB_DIR)/upysh", "upysh.py")
14+
15+
# requests
16+
freeze("$(MPY_LIB_DIR)/urequests", "urequests.py")
17+
freeze("$(MPY_LIB_DIR)/urllib.urequest", "urllib/urequest.py")
18+
19+
# umqtt
20+
freeze("$(MPY_LIB_DIR)/umqtt.simple", "umqtt/simple.py")
21+
freeze("$(MPY_LIB_DIR)/umqtt.robust", "umqtt/robust.py")

ports/esp8266/boards/manifest_release.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)