Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#8 decouple project top level... merge into v0.3pre #27

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ target_link_libraries(${PROJ_NAME} PUBLIC
cli
littlefs
cmake_git_version_tracking
hardware_i2c
hardware_spi
hardware_flash
hardware_adc
cmsis_core
tinyusb_device
${hardware_libs}
)
target_include_directories(${PROJ_NAME} PUBLIC
Expand Down
10 changes: 9 additions & 1 deletion hardware/rp2xxx/prebuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ include(${hardware_dir}/pico_sdk_import.cmake)

# Platform-specific variable for paths/libraries/etc
set(hardware_includes ${hardware_dir})
set(hardware_libs "pico_unique_id" "pico_stdlib")
set(hardware_libs "pico_unique_id"
"pico_stdlib"
"hardware_i2c"
"hardware_spi"
"hardware_flash"
"hardware_adc"
"cmsis_core"
"tinyusb_device"
)

# FreeRTOS port subdirectory for this platform (relative to $FREERTOS_KERNEL_PATH)
# If it is a RP2350 board the board name needs to be added here to select the right port
Expand Down