Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
jbishop9 committed Nov 14, 2023
2 parents cc9a0b4 + 05d1dc3 commit 832a36d
Show file tree
Hide file tree
Showing 235 changed files with 40,976 additions and 45,768 deletions.
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
*.l#7
*.l#8
*.l#9
.DS_Store
Binary file modified Boards/.DS_Store
Binary file not shown.
Binary file modified Boards/BITSv5/.DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion Boards/BITSv5/BITSv5/BITSv5.kicad_prl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
39,
40
],
"visible_layers": "004d9f0_ffffffff",
"visible_layers": "9ffffff_ffffffff",
"zone_display_mode": 0
},
"meta": {
Expand Down
2 changes: 1 addition & 1 deletion Boards/BITSv5/BITSv5/BITSv5.round-tracks-config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default True 2.0 3
False False False
False True False
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions Boards/XBee Joint/XBee_Joint/XBee_Joint.kicad_sch
Original file line number Diff line number Diff line change
Expand Up @@ -1896,6 +1896,7 @@
(uuid fc2e4dc5-ff21-4e41-be23-4faff4f6ca75)
)
(no_connect (at 100.33 50.8) (uuid 07b0b099-2f9f-431c-b93e-77c82282d584))
(no_connect (at 100.33 88.9) (uuid 131bd045-eaae-4242-b63c-00c6c8495e7c))
(no_connect (at 207.01 146.05) (uuid 177e7f29-3b6a-48c1-9e51-f0c76e5a7043))
(no_connect (at 100.33 78.74) (uuid 1ff8f958-aa96-4d4a-a416-8e5c4f3a2567))
Expand Down
1 change: 1 addition & 0 deletions Boards/kicad-lib
Submodule kicad-lib added at 1e5a68
Binary file modified Code/.DS_Store
Binary file not shown.
Binary file modified Code/BITS/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions Code/BITS/BITSv5/pico-sdk
Submodule pico-sdk added at 6a7db3
16 changes: 16 additions & 0 deletions Code/BITS/BITSv5/radio-test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 3.13)
include(pico_sdk_import.cmake)
project(test_project C CXX ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
pico_sdk_init()
add_executable(radio-test
radio_test.cpp
radio.cpp
sx126x-board.cpp
sx126x.cpp
)
pico_enable_stdio_usb(radio-test 1)
pico_enable_stdio_uart(radio-test 1)
pico_add_extra_outputs(radio-test)
target_link_libraries(radio-test pico_stdlib hardware_spi hardware_gpio hardware_sync)
73 changes: 73 additions & 0 deletions Code/BITS/BITSv5/radio-test/pico_sdk_import.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# This is a copy of <PICO_SDK_PATH>/external/pico_sdk_import.cmake

# This can be dropped into an external project to help locate this SDK
# It should be include()ed prior to project()

if (DEFINED ENV{PICO_SDK_PATH} AND (NOT PICO_SDK_PATH))
set(PICO_SDK_PATH $ENV{PICO_SDK_PATH})
message("Using PICO_SDK_PATH from environment ('${PICO_SDK_PATH}')")
endif ()

if (DEFINED ENV{PICO_SDK_FETCH_FROM_GIT} AND (NOT PICO_SDK_FETCH_FROM_GIT))
set(PICO_SDK_FETCH_FROM_GIT $ENV{PICO_SDK_FETCH_FROM_GIT})
message("Using PICO_SDK_FETCH_FROM_GIT from environment ('${PICO_SDK_FETCH_FROM_GIT}')")
endif ()

if (DEFINED ENV{PICO_SDK_FETCH_FROM_GIT_PATH} AND (NOT PICO_SDK_FETCH_FROM_GIT_PATH))
set(PICO_SDK_FETCH_FROM_GIT_PATH $ENV{PICO_SDK_FETCH_FROM_GIT_PATH})
message("Using PICO_SDK_FETCH_FROM_GIT_PATH from environment ('${PICO_SDK_FETCH_FROM_GIT_PATH}')")
endif ()

set(PICO_SDK_PATH "${PICO_SDK_PATH}" CACHE PATH "Path to the Raspberry Pi Pico SDK")
set(PICO_SDK_FETCH_FROM_GIT "${PICO_SDK_FETCH_FROM_GIT}" CACHE BOOL "Set to ON to fetch copy of SDK from git if not otherwise locatable")
set(PICO_SDK_FETCH_FROM_GIT_PATH "${PICO_SDK_FETCH_FROM_GIT_PATH}" CACHE FILEPATH "location to download SDK")

if (NOT PICO_SDK_PATH)
if (PICO_SDK_FETCH_FROM_GIT)
include(FetchContent)
set(FETCHCONTENT_BASE_DIR_SAVE ${FETCHCONTENT_BASE_DIR})
if (PICO_SDK_FETCH_FROM_GIT_PATH)
get_filename_component(FETCHCONTENT_BASE_DIR "${PICO_SDK_FETCH_FROM_GIT_PATH}" REALPATH BASE_DIR "${CMAKE_SOURCE_DIR}")
endif ()
# GIT_SUBMODULES_RECURSE was added in 3.17
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.17.0")
FetchContent_Declare(
pico_sdk
GIT_REPOSITORY https://github.com/raspberrypi/pico-sdk
GIT_TAG master
GIT_SUBMODULES_RECURSE FALSE
)
else ()
FetchContent_Declare(
pico_sdk
GIT_REPOSITORY https://github.com/raspberrypi/pico-sdk
GIT_TAG master
)
endif ()

if (NOT pico_sdk)
message("Downloading Raspberry Pi Pico SDK")
FetchContent_Populate(pico_sdk)
set(PICO_SDK_PATH ${pico_sdk_SOURCE_DIR})
endif ()
set(FETCHCONTENT_BASE_DIR ${FETCHCONTENT_BASE_DIR_SAVE})
else ()
message(FATAL_ERROR
"SDK location was not specified. Please set PICO_SDK_PATH or set PICO_SDK_FETCH_FROM_GIT to on to fetch from git."
)
endif ()
endif ()

get_filename_component(PICO_SDK_PATH "${PICO_SDK_PATH}" REALPATH BASE_DIR "${CMAKE_BINARY_DIR}")
if (NOT EXISTS ${PICO_SDK_PATH})
message(FATAL_ERROR "Directory '${PICO_SDK_PATH}' not found")
endif ()

set(PICO_SDK_INIT_CMAKE_FILE ${PICO_SDK_PATH}/pico_sdk_init.cmake)
if (NOT EXISTS ${PICO_SDK_INIT_CMAKE_FILE})
message(FATAL_ERROR "Directory '${PICO_SDK_PATH}' does not appear to contain the Raspberry Pi Pico SDK")
endif ()

set(PICO_SDK_PATH ${PICO_SDK_PATH} CACHE PATH "Path to the Raspberry Pi Pico SDK" FORCE)

include(${PICO_SDK_INIT_CMAKE_FILE})
Loading

0 comments on commit 832a36d

Please sign in to comment.