2020-09-11 07:47:29 +01:00
|
|
|
# base modules
|
2020-03-22 12:16:37 +00:00
|
|
|
include("$(PORT_DIR)/boards/manifest.py")
|
2020-09-11 07:47:29 +01:00
|
|
|
|
|
|
|
# uasyncio
|
2020-03-22 12:16:37 +00:00
|
|
|
include("$(MPY_DIR)/extmod/uasyncio/manifest.py")
|
2020-09-11 07:47:29 +01:00
|
|
|
|
|
|
|
# drivers
|
|
|
|
freeze("$(MPY_DIR)/drivers/display", "ssd1306.py")
|
|
|
|
|
|
|
|
# Libraries from micropython-lib, include only if the library directory exists
|
|
|
|
if os.path.isdir(convert_path("$(MPY_LIB_DIR)")):
|
|
|
|
# file utilities
|
2021-05-27 15:09:34 +01:00
|
|
|
freeze("$(MPY_LIB_DIR)/micropython/upysh", "upysh.py")
|
2020-09-11 07:47:29 +01:00
|
|
|
|
|
|
|
# requests
|
2021-05-27 15:09:34 +01:00
|
|
|
freeze("$(MPY_LIB_DIR)/python-ecosys/urequests", "urequests.py")
|
|
|
|
freeze("$(MPY_LIB_DIR)/micropython/urllib.urequest", "urllib/urequest.py")
|
2020-09-11 07:47:29 +01:00
|
|
|
|
|
|
|
# umqtt
|
2021-05-27 15:09:34 +01:00
|
|
|
freeze("$(MPY_LIB_DIR)/micropython/umqtt.simple", "umqtt/simple.py")
|
|
|
|
freeze("$(MPY_LIB_DIR)/micropython/umqtt.robust", "umqtt/robust.py")
|