Skip to content

Commit

Permalink
(Not)Xbee Joint automation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Shipman committed Dec 10, 2023
1 parent 96335b1 commit 695b624
Show file tree
Hide file tree
Showing 350 changed files with 125,842 additions and 36,344 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/build-NotXbeeJoint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# This is a basic workflow to help you get started with Actions

name: Build (Not) Xbee Joint

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: ["master"]
pull_request:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
sudo apt update
sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
pwd
git submodule update --init
cd Code/Not_XbeeJoint/test
rm -rf build
mkdir build
cd build
export PICO_SDK_PATH=../../pico-sdk
cmake ..
make
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: NotXbeeJoint-v0.0.0
files: |
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test.uf2
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test.bin
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test.hex
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test.elf
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_rx.uf2
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_rx.bin
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_rx.hex
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_rx.elf
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_tx.uf2
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_tx.bin
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_tx.hex
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_tx.elf
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_rx_tx.uf2
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_rx_tx.bin
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_rx_tx.hex
/home/runner/work/command_module/command_module/Code/BITS/BITSv5/test/build/test_rx_tx.elf
32 changes: 32 additions & 0 deletions Code/Not_XbeeJoint/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,36 @@ target_link_libraries(test_rx_tx pico_stdlib hardware_flash hardware_sync hardwa
target_compile_definitions(test_rx_tx PRIVATE
RX_TEST=1
TX_TEST=1
)

add_executable(test_rx
test.cpp
../../libraries/rp2040-drf1262-lib/SX1262.cpp
)

pico_enable_stdio_usb(test_rx 1)

pico_add_extra_outputs(test_rx)

target_link_libraries(test_rx pico_stdlib hardware_flash hardware_sync hardware_spi pico_rand pico_unique_id)

target_compile_definitions(test_rx PRIVATE
RX_TEST=1
TX_TEST=0
)

add_executable(test_tx
test.cpp
../../libraries/rp2040-drf1262-lib/SX1262.cpp
)

pico_enable_stdio_usb(test_tx 1)

pico_add_extra_outputs(test_tx)

target_link_libraries(test_tx pico_stdlib hardware_flash hardware_sync hardware_spi pico_rand pico_unique_id)

target_compile_definitions(test_tx PRIVATE
RX_TEST=0
TX_TEST=1
)
2 changes: 1 addition & 1 deletion Code/Not_XbeeJoint/test/build/CMakeCache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ PICO_BOOT_STAGE2_DIR:INTERNAL=/Users/michaelshipman/Developer/command_module/Cod
PICO_CMAKE_PRELOAD_PLATFORM_DIR:INTERNAL=/Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/cmake/preload/platforms
PICO_CMAKE_PRELOAD_PLATFORM_FILE:INTERNAL=/Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/cmake/preload/platforms/rp2040.cmake
PICO_COMPILER_ASM:INTERNAL=/opt/homebrew/bin/arm-none-eabi-gcc
PICO_DOXYGEN_EXCLUDE_PATHS:INTERNAL= /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/src/rp2040/hardware_regs
PICO_DOXYGEN_EXCLUDE_PATHS:INTERNAL= /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/src/rp2040/hardware_regs
PICO_DOXYGEN_PATHS:INTERNAL= /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/src/common /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/lib/cyw43-driver/src /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/src/rp2_common /Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/pico-sdk/src/rp2040
PICO_NO_HARDWARE:INTERNAL=0
PICO_ON_DEVICE:INTERNAL=1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
CMAKE_PROGRESS_1 =
CMAKE_PROGRESS_2 = 1
CMAKE_PROGRESS_2 =
CMAKE_PROGRESS_3 =
CMAKE_PROGRESS_4 = 2
CMAKE_PROGRESS_4 = 1
CMAKE_PROGRESS_5 =
CMAKE_PROGRESS_6 = 3
CMAKE_PROGRESS_7 = 4
CMAKE_PROGRESS_6 =
CMAKE_PROGRESS_7 = 2
CMAKE_PROGRESS_8 =

85 changes: 2 additions & 83 deletions Code/Not_XbeeJoint/test/build/CMakeFiles/Makefile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -118,96 +118,20 @@ set(CMAKE_MAKEFILE_DEPENDS
"elf2uf2/tmp/ELF2UF2Build-mkdirs.cmake"
"pico-sdk/src/rp2_common/tinyusb/pioasm/tmp/PioasmBuild-mkdirs.cmake"
"/Users/michaelshipman/Developer/command_module/Code/Not_XbeeJoint/test/pico_sdk_import.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeASMCompiler.cmake.in"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeASMInformation.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeCCompiler.cmake.in"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeCCompilerABI.c"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeCInformation.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeCXXCompiler.cmake.in"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeCXXCompilerABI.cpp"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeCXXInformation.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeCommonLanguageInclude.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeCompilerIdDetection.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeDetermineASMCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeDetermineCCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeDetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeDetermineCompilerABI.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeDetermineCompilerId.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeDetermineSystem.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeFindBinUtils.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeGenericSystem.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeInitializeConfigs.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeLanguageInformation.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeParseImplicitIncludeInfo.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeParseImplicitLinkInfo.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeParseLibraryArchitecture.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeSystem.cmake.in"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeSystemSpecificInformation.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeTestASMCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeTestCCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeTestCXXCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeTestCompilerCommon.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/CMakeUnixFindMake.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Borland-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Clang-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Cray-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/GHS-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/GNU-ASM.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/GNU-C.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/GNU-CXX.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/GNU-FindBinUtils.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/GNU.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/IAR-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Intel-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/LCC-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/PGI-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/SCO-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/TI-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Tasking-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/ExternalProject.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/ExternalProject/PatchInfo.txt.in"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/ExternalProject/RepositoryInfo.txt.in"
Expand All @@ -220,7 +144,6 @@ set(CMAKE_MAKEFILE_DEPENDS
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/FindPackageMessage.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/FindPython/Support.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/FindPython3.cmake"
"/opt/homebrew/Cellar/cmake/3.27.7/share/cmake/Modules/Internal/FeatureTesting.cmake"
)

# The corresponding makefile is:
Expand All @@ -231,12 +154,6 @@ set(CMAKE_MAKEFILE_OUTPUTS

# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/3.27.7/CMakeSystem.cmake"
"CMakeFiles/3.27.7/CMakeCCompiler.cmake"
"CMakeFiles/3.27.7/CMakeCXXCompiler.cmake"
"CMakeFiles/3.27.7/CMakeASMCompiler.cmake"
"CMakeFiles/3.27.7/CMakeCCompiler.cmake"
"CMakeFiles/3.27.7/CMakeCXXCompiler.cmake"
"elf2uf2/tmp/ELF2UF2Build-mkdirs.cmake"
"elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-source_dirinfo.txt"
"elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-update-info.txt"
Expand Down Expand Up @@ -338,6 +255,8 @@ set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/test.dir/DependInfo.cmake"
"CMakeFiles/ELF2UF2Build.dir/DependInfo.cmake"
"CMakeFiles/test_rx_tx.dir/DependInfo.cmake"
"CMakeFiles/test_rx.dir/DependInfo.cmake"
"CMakeFiles/test_tx.dir/DependInfo.cmake"
"pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/DependInfo.cmake"
"pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default_bin.dir/DependInfo.cmake"
"pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default_padded_checksummed_asm.dir/DependInfo.cmake"
Expand Down
Loading

0 comments on commit 695b624

Please sign in to comment.