ports: Use micropython-lib version of drivers in manifests.
This commit is contained in:
parent
aeff6911d7
commit
d84c6ef0e8
@ -1,4 +1,3 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
freeze("modules")
|
||||
|
||||
include("$(MPY_DIR)/drivers/display", ssd1306=True)
|
||||
require("ssd1306")
|
||||
|
@ -1,4 +1,3 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
freeze("./modules")
|
||||
|
||||
include("$(MPY_DIR)/drivers/display", ssd1306=True)
|
||||
require("ssd1306")
|
||||
|
@ -1,15 +1,16 @@
|
||||
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")
|
||||
|
@ -1,8 +1,9 @@
|
||||
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")
|
||||
|
@ -1,8 +1,9 @@
|
||||
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")
|
||||
|
@ -1,4 +1,5 @@
|
||||
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")
|
||||
|
@ -1,4 +1,4 @@
|
||||
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")
|
||||
|
@ -1,2 +1,2 @@
|
||||
# We do not want to include default frozen modules,
|
||||
include("$(MPY_DIR)/drivers/sdcard")
|
||||
require("sdcard")
|
||||
|
@ -1,2 +1,2 @@
|
||||
# We do not want to include default frozen modules,
|
||||
include("$(MPY_DIR)/drivers/sdcard")
|
||||
require("sdcard")
|
||||
|
@ -1,4 +1,4 @@
|
||||
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")
|
||||
|
@ -1,11 +1,11 @@
|
||||
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")
|
||||
|
@ -1,5 +1,6 @@
|
||||
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")
|
||||
|
@ -1,3 +1,3 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
include("$(MPY_DIR)/extmod/webrepl")
|
||||
require("webrepl")
|
||||
require("aioble", client=True, central=True, l2cap=True, security=True)
|
||||
|
@ -1,2 +1 @@
|
||||
# Note: Freezes to display.ssd1306, so must use deprecated "freeze" function.
|
||||
freeze("$(MPY_DIR)/drivers/", ("display/ssd1306.py"))
|
||||
require("ssd1306")
|
||||
|
@ -1,3 +1,3 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
include("$(PORT_DIR)/boards/manifest_pyboard.py")
|
||||
include("$(MPY_DIR)/extmod/webrepl")
|
||||
require("webrepl")
|
||||
|
@ -1,4 +1,4 @@
|
||||
include("$(MPY_DIR)/extmod/uasyncio")
|
||||
|
||||
include("$(MPY_DIR)/drivers/dht")
|
||||
include("$(MPY_DIR)/drivers/onewire", ds18x20=False)
|
||||
require("dht")
|
||||
require("onewire")
|
||||
|
@ -1 +1 @@
|
||||
include("$(MPY_DIR)/drivers/display", lcd160cr=True)
|
||||
require("lcd160cr")
|
||||
|
Loading…
Reference in New Issue
Block a user