Skip to content

Commit

Permalink
Merge pull request #797 from 32blit/patch-fix-pico-toolchain
Browse files Browse the repository at this point in the history
Fix builds using pico.toochain with SDK 1.5.0
  • Loading branch information
Gadgetoid authored Feb 23, 2023
2 parents 9adbf2e + 2d6a50b commit 52e87e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 32blit-pico/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ pico_sdk_init()

set(32BLIT_PICO 1 PARENT_SCOPE)

# prevent find_package errors in pico_add_uf2_output later
set(PICO_SDK_VERSION_MAJOR ${PICO_SDK_VERSION_MAJOR} PARENT_SCOPE)
set(PICO_SDK_VERSION_MINOR ${PICO_SDK_VERSION_MINOR} PARENT_SCOPE)
set(PICO_SDK_VERSION_REVISION ${PICO_SDK_VERSION_REVISION} PARENT_SCOPE)

add_library(BlitHalPico INTERFACE)
target_sources(BlitHalPico INTERFACE
${CMAKE_CURRENT_LIST_DIR}/../3rd-party/fatfs/ff.c
Expand Down

0 comments on commit 52e87e6

Please sign in to comment.