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>
12 lines
303 B
Python
12 lines
303 B
Python
# 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)
|