summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-02-06 17:33:24 +0100
committerDamien George <damien@micropython.org>2022-03-08 23:10:41 +1100
commit04f92a28251058756d776e90c044441e8f876f3f (patch)
tree49e79965134b15ae5a1bce4a0ad94d3689cf3e87
parentc72dfbcef96ef137c8faf72f0ccdb2ce6aab514c (diff)
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.
-rw-r--r--ports/mimxrt/boards/manifest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/mimxrt/boards/manifest.py b/ports/mimxrt/boards/manifest.py
index ccbd33cae..2e1a1d63d 100644
--- a/ports/mimxrt/boards/manifest.py
+++ b/ports/mimxrt/boards/manifest.py
@@ -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