diff --git a/firmware/PIMORONI_COSMIC_UNICORN/micropython.cmake b/firmware/PIMORONI_COSMIC_UNICORN/micropython.cmake index 2298980..016ac04 100644 --- a/firmware/PIMORONI_COSMIC_UNICORN/micropython.cmake +++ b/firmware/PIMORONI_COSMIC_UNICORN/micropython.cmake @@ -1,4 +1,4 @@ -include_directories(${CMAKE_CURRENT_LIST_DIR}/../../) +set(PIMORONI_PICO_PATH ../../../../pimoroni-pico) include(${CMAKE_CURRENT_LIST_DIR}/../pimoroni_pico_import.cmake) include_directories(${PIMORONI_PICO_PATH}/micropython) diff --git a/firmware/PIMORONI_GALACTIC_UNICORN/micropython.cmake b/firmware/PIMORONI_GALACTIC_UNICORN/micropython.cmake index e247414..a2f1fbd 100644 --- a/firmware/PIMORONI_GALACTIC_UNICORN/micropython.cmake +++ b/firmware/PIMORONI_GALACTIC_UNICORN/micropython.cmake @@ -1,4 +1,4 @@ -include_directories(${CMAKE_CURRENT_LIST_DIR}/../../) +set(PIMORONI_PICO_PATH ../../../../pimoroni-pico) include(${CMAKE_CURRENT_LIST_DIR}/../pimoroni_pico_import.cmake) include_directories(${PIMORONI_PICO_PATH}/micropython)