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:
Jim Mussared
2022-07-15 23:46:28 +10:00
committed by Damien George
parent ccd210984e
commit 203dae41fb
38 changed files with 126 additions and 107 deletions

View File

@@ -0,0 +1 @@
module("wm8960.py", opt=3)

1
drivers/dht/manifest.py Normal file
View File

@@ -0,0 +1 @@
module("dht.py", opt=3)

View File

@@ -0,0 +1,11 @@
# TODO: Split these into separate directories with their own manifests.
options.defaults(lcd160cr=False, ssd1306=False, test=True)
if options.lcd160cr:
module("lcd160cr.py", opt=3)
if options.test:
module("lcd160cr_test.py", opt=3)
if options.ssd1306:
module("ssd1306.py", opt=3)

View File

@@ -0,0 +1 @@
module("hts221.py", opt=3)

View File

@@ -0,0 +1 @@
module("lps22h.py", opt=3)

View File

@@ -0,0 +1 @@
module("lsm6dsox.py", opt=3)

View File

@@ -0,0 +1 @@
module("lsm9ds1.py", opt=3)

View File

@@ -1,5 +1 @@
freeze(
".",
"neopixel.py",
opt=3,
)
module("neopixel.py", opt=3)

View File

@@ -0,0 +1 @@
module("nrf24l01.py", opt=3)

View File

@@ -0,0 +1,6 @@
options.defaults(ds18x20=False)
module("onewire.py", opt=3)
if options.ds18x20:
module("ds18x20.py", opt=3)

View File

@@ -0,0 +1 @@
module("sdcard.py", opt=3)