Browse Source

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 3 years ago
committed by Damien George
parent
commit
04f92a2825
  1. 4
      ports/mimxrt/boards/manifest.py

4
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

Loading…
Cancel
Save