diff options
| author | robert-hh <robert@hammelrath.com> | 2022-02-06 17:33:24 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-03-08 23:10:41 +1100 |
| commit | 04f92a28251058756d776e90c044441e8f876f3f (patch) | |
| tree | 49e79965134b15ae5a1bce4a0ad94d3689cf3e87 | |
| parent | c72dfbcef96ef137c8faf72f0ccdb2ce6aab514c (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.py | 4 |
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 |
