mimxrt/boards: Support using an optional board-specific manifest.py.

If the board directory contains a manifest.py file, it will be included.
File not found errors will be ignored.
pull/8401/head
robert-hh 2022-02-06 17:33:24 +01:00 zatwierdzone przez Damien George
rodzic c72dfbcef9
commit 04f92a2825
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -2,3 +2,7 @@ freeze("$(PORT_DIR)/modules")
freeze("$(MPY_DIR)/drivers/onewire")
freeze("$(MPY_DIR)/drivers/dht", "dht.py")
include("$(MPY_DIR)/extmod/uasyncio/manifest.py")
try:
include("$(BOARD_DIR)/manifest.py")
except FileNotFoundError:
pass