summaryrefslogtreecommitdiff
path: root/tools/metrics.py
diff options
context:
space:
mode:
authorPhil Howard <phil@gadgetoid.com>2024-02-27 10:19:35 +0000
committerDamien George <damien@micropython.org>2024-06-03 16:26:08 +1000
commit932f76c6ba64c5a3e68de3324556d9979f09303b (patch)
tree00069a86508c807ceea9d7c418c287e9f1857579 /tools/metrics.py
parenta84c7a0ed931667cda44a8e27888f066e085d5eb (diff)
rp2/CMakeLists: Use MICROPY_BOARD_DIR to find pins.csv.
Assuming that ${MICROPY_PORT_DIR}/boards/${MICROPY_BOARD} is equal to ${MICROPY_BOARD_DIR} is not valid, because the latter could point to a path outside the main MicroPython repository. Replace this path with the canonical ${MICROPY_BOARD_DIR} so that pins.csv is correctly located when building against out-of-tree board definitions. Additionally remove MICROPY_BOARDS_DIR to discourage similar mistakes. Signed-off-by: Phil Howard <phil@gadgetoid.com>
Diffstat (limited to 'tools/metrics.py')
0 files changed, 0 insertions, 0 deletions