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")
freeze("modules")
include("$(MPY_DIR)/drivers/display", ssd1306=True)
require("ssd1306")
include("$(PORT_DIR)/boards/manifest.py")
freeze("./modules")
include("$(MPY_DIR)/drivers/display", ssd1306=True)
require("ssd1306")
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("dht")
require("ds18x20")
require("neopixel")
require("ntptime")
require("onewire")
require("umqtt.robust")
require("umqtt.simple")
require("upysh")
require("urequests")
require("webrepl")
......@@ -5,7 +5,7 @@ include("$(PORT_DIR)/boards/manifest.py")
include("$(MPY_DIR)/extmod/uasyncio")
# drivers
include("$(MPY_DIR)/drivers/display", ssd1306=True)
require("ssd1306")
# micropython-lib: file utilities
require("upysh")
......
module("_boot.py", opt=3)
module("apa102.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)
include("$(MPY_DIR)/drivers/dht")
include("$(MPY_DIR)/drivers/onewire")
include("$(MPY_DIR)/extmod/webrepl")
include("$(MPY_DIR)/drivers/neopixel")
require("ntptime")
require("dht")
require("onewire")
require("ds18x20")
require("webrepl")
require("neopixel")
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)/extmod/webrepl")
include("$(MPY_DIR)/drivers/neopixel")
require("ntptime")
require("dht")
require("onewire")
require("ds18x20")
require("neopixel")
require("webrepl")
freeze("$(PORT_DIR)/modules")
include("$(MPY_DIR)/drivers/onewire")
include("$(MPY_DIR)/drivers/dht")
include("$(MPY_DIR)/extmod/uasyncio")
require("onewire")
require("ds18x20")
require("dht")
include("$(PORT_DIR)/modules/manifest.py")
include("$(MPY_DIR)/drivers/hts221")
include("$(MPY_DIR)/drivers/lps22h")
include("$(MPY_DIR)/drivers/lsm9ds1")
require("hts221")
require("lps22h")
require("lsm9ds1")
# 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,
include("$(MPY_DIR)/drivers/sdcard")
require("sdcard")
include("$(MPY_DIR)/extmod/uasyncio")
include("$(MPY_DIR)/drivers/dht")
include("$(MPY_DIR)/drivers/onewire", ds18x20=False)
include("$(MPY_DIR)/drivers/sdcard")
require("dht")
require("onewire")
require("sdcard")
include("$(PORT_DIR)/boards/manifest.py")
# Networking
include("$(MPY_DIR)/extmod/webrepl")
require("webrepl")
require("urequests")
# Drivers
include("$(MPY_DIR)/drivers/lsm6dsox")
require("lsm6dsox")
# Bluetooth
require("aioble", client=True, central=True, l2cap=True, security=True)
......@@ -2,6 +2,6 @@ include("../manifest.py")
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)
require("ntptime")
require("urequests")
freeze("$(PORT_DIR)/modules")
include("$(MPY_DIR)/drivers/onewire")
include("$(MPY_DIR)/drivers/dht")
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("$(MPY_DIR)/extmod/webrepl")
require("webrepl")
require("aioble", client=True, central=True, l2cap=True, security=True)
# Note: Freezes to display.ssd1306, so must use deprecated "freeze" function.
freeze("$(MPY_DIR)/drivers/", ("display/ssd1306.py"))
require("ssd1306")
include("$(PORT_DIR)/boards/manifest.py")
include("$(PORT_DIR)/boards/manifest_pyboard.py")
include("$(MPY_DIR)/extmod/webrepl")
require("webrepl")
include("$(MPY_DIR)/extmod/uasyncio")
include("$(MPY_DIR)/drivers/dht")
include("$(MPY_DIR)/drivers/onewire", ds18x20=False)
require("dht")
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