From 6cafdfb733c88020ff3842336646d975fa64b398 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Fri, 7 Feb 2025 14:15:58 +0000 Subject: [PATCH] All: Fix common manifest paths to be relative to mpy dir. On local builds, these were picking up the Python files from an adjacent pimoroni-pico directory, rather than the one in the temporary build dir. --- boards/manifest-common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/manifest-common.py b/boards/manifest-common.py index 9e3b1da..75e820e 100644 --- a/boards/manifest-common.py +++ b/boards/manifest-common.py @@ -9,8 +9,8 @@ require("sdcard") # Bluetooth require("aioble") -freeze("../../pimoroni-pico/micropython/modules_py", "pimoroni.py") -freeze("../../pimoroni-pico/micropython/modules_py", "boot.py") -freeze("../../pimoroni-pico/micropython/modules_py", "lte.py") +freeze("$(MPY_DIR)/../pimoroni-pico/micropython/modules_py", "pimoroni.py") +freeze("$(MPY_DIR)/../pimoroni-pico/micropython/modules_py", "boot.py") +freeze("$(MPY_DIR)/../pimoroni-pico/micropython/modules_py", "lte.py") freeze("../modules/wireless") \ No newline at end of file