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.
This commit is contained in:
robert-hh 2022-02-06 17:33:24 +01:00 committed by Damien George
parent c72dfbcef9
commit 04f92a2825
1 changed files with 4 additions and 0 deletions

View File

@ -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