Skip to content

Commit

Permalink
add pico sdk as submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-goddard committed Dec 11, 2023
1 parent c13d74a commit f5b1348
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 77 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "lib/no-OS-FatFS-SD-SDIO-SPI-RPi-Pico"]
path = lib/no-OS-FatFS-SD-SDIO-SPI-RPi-Pico
url = https://github.com/carlk3/no-OS-FatFS-SD-SDIO-SPI-RPi-Pico.git
[submodule "lib/pico-sdk"]
path = lib/pico-sdk
url = [email protected]:raspberrypi/pico-sdk.git
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.27)

# Pull in SDK (must be before project)
include(pico_sdk_import.cmake)
include(lib/pico-sdk/pico_sdk_init.cmake)

project(fsw C CXX ASM)
set(CMAKE_C_STANDARD 11)
Expand Down
1 change: 1 addition & 0 deletions lib/pico-sdk
Submodule pico-sdk added at 6a7db3
73 changes: 0 additions & 73 deletions pico_sdk_import.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion test/bus_scan/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.21)

# Pull in SDK (must be before project)
include(../../pico_sdk_import.cmake)
include(../../lib/pico_sdk_init.cmake)

project(bus_scan C CXX ASM)
set(CMAKE_C_STANDARD 11)
Expand Down
2 changes: 1 addition & 1 deletion test/detect_armed/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.27)

# Pull in SDK (must be before project)
include(../../pico_sdk_import.cmake)
include(../../lib/pico_sdk_init.cmake)

project(detect_armed C CXX ASM)
set(CMAKE_C_STANDARD 11)
Expand Down
2 changes: 1 addition & 1 deletion test/sd_write/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.27)

# Pull in SDK (must be before project)
include(../../pico_sdk_import.cmake)
include(../../lib/pico_sdk_init.cmake)

project(sd_write C CXX ASM)
set(CMAKE_C_STANDARD 11)
Expand Down

0 comments on commit f5b1348

Please sign in to comment.