Commit d84c6ef0 authored by Jim Mussared's avatar Jim Mussared

ports: Use micropython-lib version of drivers in manifests.

parent aeff6911
include("$(PORT_DIR)/boards/manifest.py") include("$(PORT_DIR)/boards/manifest.py")
freeze("modules") freeze("modules")
require("ssd1306")
include("$(MPY_DIR)/drivers/display", ssd1306=True)
include("$(PORT_DIR)/boards/manifest.py") include("$(PORT_DIR)/boards/manifest.py")
freeze("./modules") freeze("./modules")
require("ssd1306")
include("$(MPY_DIR)/drivers/display", ssd1306=True)
freeze("$(PORT_DIR)/modules") freeze("$(PORT_DIR)/modules")
module("upip.py", base_path="$(MPY_DIR)/tools", opt=3) module("upip.py", base_path="$(MPY_DIR)/tools", opt=3)
module("upip_utarfile.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/uasyncio")
include("$(MPY_DIR)/extmod/webrepl")
# Require some micropython-lib modules. # Require some micropython-lib modules.
require("urequests") require("dht")
require("upysh") require("ds18x20")
require("umqtt.simple") require("neopixel")
require("ntptime")
require("onewire")
require("umqtt.robust") require("umqtt.robust")
require("umqtt.simple")
require("upysh")
require("urequests")
require("webrepl")
...@@ -5,7 +5,7 @@ include("$(PORT_DIR)/boards/manifest.py") ...@@ -5,7 +5,7 @@ include("$(PORT_DIR)/boards/manifest.py")
include("$(MPY_DIR)/extmod/uasyncio") include("$(MPY_DIR)/extmod/uasyncio")
# drivers # drivers
include("$(MPY_DIR)/drivers/display", ssd1306=True) require("ssd1306")
# micropython-lib: file utilities # micropython-lib: file utilities
require("upysh") require("upysh")
......
module("_boot.py", opt=3) module("_boot.py", opt=3)
module("apa102.py", base_path="$(PORT_DIR)/modules", opt=3) module("apa102.py", base_path="$(PORT_DIR)/modules", opt=3)
module("port_diag.py", base_path="$(PORT_DIR)/modules", opt=3) module("port_diag.py", base_path="$(PORT_DIR)/modules", opt=3)
module("ntptime.py", base_path="$(MPY_DIR)/extmod", opt=3) require("ntptime")
include("$(MPY_DIR)/drivers/dht") require("dht")
include("$(MPY_DIR)/drivers/onewire") require("onewire")
include("$(MPY_DIR)/extmod/webrepl") require("ds18x20")
include("$(MPY_DIR)/drivers/neopixel") require("webrepl")
require("neopixel")
freeze("$(PORT_DIR)/modules") freeze("$(PORT_DIR)/modules")
module("upip.py", base_path="$(MPY_DIR)/tools", opt=3) module("upip.py", base_path="$(MPY_DIR)/tools", opt=3)
module("upip_utarfile.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) require("ntptime")
include("$(MPY_DIR)/drivers/dht") require("dht")
include("$(MPY_DIR)/drivers/onewire") require("onewire")
include("$(MPY_DIR)/extmod/webrepl") require("ds18x20")
include("$(MPY_DIR)/drivers/neopixel") require("neopixel")
require("webrepl")
freeze("$(PORT_DIR)/modules") freeze("$(PORT_DIR)/modules")
include("$(MPY_DIR)/drivers/onewire")
include("$(MPY_DIR)/drivers/dht")
include("$(MPY_DIR)/extmod/uasyncio") include("$(MPY_DIR)/extmod/uasyncio")
require("onewire")
require("ds18x20")
require("dht")
include("$(PORT_DIR)/modules/manifest.py") include("$(PORT_DIR)/modules/manifest.py")
include("$(MPY_DIR)/drivers/hts221") require("hts221")
include("$(MPY_DIR)/drivers/lps22h") require("lps22h")
include("$(MPY_DIR)/drivers/lsm9ds1") require("lsm9ds1")
# We do not want to include default frozen modules, # We do not want to include default frozen modules,
include("$(MPY_DIR)/drivers/sdcard") require("sdcard")
# We do not want to include default frozen modules, # We do not want to include default frozen modules,
include("$(MPY_DIR)/drivers/sdcard") require("sdcard")
include("$(MPY_DIR)/extmod/uasyncio") include("$(MPY_DIR)/extmod/uasyncio")
include("$(MPY_DIR)/drivers/dht") require("dht")
include("$(MPY_DIR)/drivers/onewire", ds18x20=False) require("onewire")
include("$(MPY_DIR)/drivers/sdcard") require("sdcard")
include("$(PORT_DIR)/boards/manifest.py") include("$(PORT_DIR)/boards/manifest.py")
# Networking # Networking
include("$(MPY_DIR)/extmod/webrepl") require("webrepl")
require("urequests") require("urequests")
# Drivers # Drivers
include("$(MPY_DIR)/drivers/lsm6dsox") require("lsm6dsox")
# Bluetooth # Bluetooth
require("aioble", client=True, central=True, l2cap=True, security=True) require("aioble", client=True, central=True, l2cap=True, security=True)
...@@ -2,6 +2,6 @@ include("../manifest.py") ...@@ -2,6 +2,6 @@ include("../manifest.py")
module("upip.py", base_path="$(MPY_DIR)/tools", opt=3) module("upip.py", base_path="$(MPY_DIR)/tools", opt=3)
module("upip_utarfile.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)
require("ntptime")
require("urequests") require("urequests")
freeze("$(PORT_DIR)/modules") freeze("$(PORT_DIR)/modules")
include("$(MPY_DIR)/drivers/onewire")
include("$(MPY_DIR)/drivers/dht")
include("$(MPY_DIR)/extmod/uasyncio") include("$(MPY_DIR)/extmod/uasyncio")
include("$(MPY_DIR)/drivers/neopixel") require("onewire")
require("ds18x20")
require("dht")
require("neopixel")
include("$(PORT_DIR)/boards/manifest.py") include("$(PORT_DIR)/boards/manifest.py")
include("$(MPY_DIR)/extmod/webrepl") require("webrepl")
require("aioble", client=True, central=True, l2cap=True, security=True) require("aioble", client=True, central=True, l2cap=True, security=True)
# Note: Freezes to display.ssd1306, so must use deprecated "freeze" function. require("ssd1306")
freeze("$(MPY_DIR)/drivers/", ("display/ssd1306.py"))
include("$(PORT_DIR)/boards/manifest.py") include("$(PORT_DIR)/boards/manifest.py")
include("$(PORT_DIR)/boards/manifest_pyboard.py") include("$(PORT_DIR)/boards/manifest_pyboard.py")
include("$(MPY_DIR)/extmod/webrepl") require("webrepl")
include("$(MPY_DIR)/extmod/uasyncio") include("$(MPY_DIR)/extmod/uasyncio")
include("$(MPY_DIR)/drivers/dht") require("dht")
include("$(MPY_DIR)/drivers/onewire", ds18x20=False) require("onewire")
include("$(MPY_DIR)/drivers/display", lcd160cr=True) require("lcd160cr")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment