mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
all: Update all manifest.py files to use new features.
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 fbe9417b90.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
committed by
Damien George
parent
ccd210984e
commit
203dae41fb
@@ -1,2 +1,2 @@
|
||||
# We do not want to include default frozen modules,
|
||||
freeze("$(MPY_DIR)/drivers/sdcard", "sdcard.py")
|
||||
include("$(MPY_DIR)/drivers/sdcard")
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# We do not want to include default frozen modules,
|
||||
freeze("$(MPY_DIR)/drivers/sdcard", "sdcard.py")
|
||||
include("$(MPY_DIR)/drivers/sdcard")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include("$(MPY_DIR)/extmod/uasyncio/manifest.py")
|
||||
freeze("$(MPY_DIR)/drivers/dht", "dht.py")
|
||||
freeze("$(MPY_DIR)/drivers/onewire", "onewire.py")
|
||||
freeze("$(MPY_DIR)/drivers/sdcard", "sdcard.py")
|
||||
include("$(MPY_DIR)/extmod/uasyncio")
|
||||
include("$(MPY_DIR)/drivers/dht")
|
||||
include("$(MPY_DIR)/drivers/onewire", ds18x20=False)
|
||||
include("$(MPY_DIR)/drivers/sdcard")
|
||||
|
||||
Reference in New Issue
Block a user