203dae41fb
Changes in this commit: - Manifest include's now use the directory path where possible (no longer necessary to include the manifest.py file explicitly). - Add manifest.py for all drivers and components that are referenced by port/board manifests. - Replace all uses of freeze() with package()/module(), except for port and board modules. - Use opt=3 everywhere, for consistency and to reduce code size. - Use require() instead of include() for all micropython-lib references. - Remove support for optional board-level manifest.py in mimxrt port, to make it behave the same as other ports (the board must set FROZEN_MANIFEST to a custom manifest.py, which can optionally include the default, port-level manifest). - Also reinstates modules that were accidentally removed from the esp8266 512k build in fbe9417b90474dd1a08749b3a79311a8007a98fb. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> Signed-off-by: Damien George <damien@micropython.org>
16 lines
521 B
Python
16 lines
521 B
Python
freeze("$(PORT_DIR)/modules")
|
|
module("upip.py", base_path="$(MPY_DIR)/tools", opt=3)
|
|
module("upip_utarfile.py", base_path="$(MPY_DIR)/tools", opt=3)
|
|
module("ntptime.py", base_path="$(MPY_DIR)/extmod", opt=3)
|
|
include("$(MPY_DIR)/drivers/dht")
|
|
include("$(MPY_DIR)/drivers/onewire")
|
|
include("$(MPY_DIR)/drivers/neopixel")
|
|
include("$(MPY_DIR)/extmod/uasyncio")
|
|
include("$(MPY_DIR)/extmod/webrepl")
|
|
|
|
# Require some micropython-lib modules.
|
|
require("urequests")
|
|
require("upysh")
|
|
require("umqtt.simple")
|
|
require("umqtt.robust")
|