Skip to content

Commit

Permalink
mimxrt/boards: Support using an optional board-specific manifest.py.
Browse files Browse the repository at this point in the history
If the board directory contains a manifest.py file, it will be included.
File not found errors will be ignored.
  • Loading branch information
robert-hh authored and dpgeorge committed Mar 8, 2022
1 parent c72dfbc commit 04f92a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/mimxrt/boards/manifest.py
Expand Up @@ -2,3 +2,7 @@
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

0 comments on commit 04f92a2

Please sign in to comment.