Skip to content

Commit

Permalink
added multiple build targets for BITSv5
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Shipman committed Dec 10, 2023
1 parent 4a5491b commit 96335b1
Show file tree
Hide file tree
Showing 1,180 changed files with 142,960 additions and 35,139 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/build-BITSv5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: Build BITSv5
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: [ "master" ]
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -49,3 +49,15 @@ jobs:
/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
Binary file modified Code/.DS_Store
Binary file not shown.
50 changes: 49 additions & 1 deletion Code/BITS/BITSv5/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,52 @@ pico_enable_stdio_usb(test 1)

pico_add_extra_outputs(test)

target_link_libraries(test pico_stdlib hardware_flash hardware_sync hardware_spi hardware_i2c pico_unique_id pico_rand)
target_link_libraries(test pico_stdlib hardware_flash hardware_sync hardware_spi hardware_i2c pico_unique_id pico_rand)

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
)

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

pico_enable_stdio_usb(test_rx_tx 1)

pico_add_extra_outputs(test_rx_tx)

target_link_libraries(test_rx_tx pico_stdlib hardware_flash hardware_sync hardware_spi pico_rand pico_unique_id)

target_compile_definitions(test_rx_tx PRIVATE
RX_TEST=1
TX_TEST=1
)
2 changes: 1 addition & 1 deletion Code/BITS/BITSv5/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/BITS/BITSv5/pico-sdk/cmake/preload/platforms
PICO_CMAKE_PRELOAD_PLATFORM_FILE:INTERNAL=/Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/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/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs
PICO_DOXYGEN_EXCLUDE_PATHS:INTERNAL= /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common/cmsis /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2040/hardware_regs
PICO_DOXYGEN_PATHS:INTERNAL= /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/common /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/lib/cyw43-driver/src /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/pico-sdk/src/rp2_common /Users/michaelshipman/Developer/command_module/Code/BITS/BITSv5/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_3 = 2
CMAKE_PROGRESS_4 = 3
CMAKE_PROGRESS_5 = 4
CMAKE_PROGRESS_6 = 5
CMAKE_PROGRESS_7 = 6
CMAKE_PROGRESS_8 = 7
CMAKE_PROGRESS_2 =
CMAKE_PROGRESS_3 =
CMAKE_PROGRESS_4 = 1
CMAKE_PROGRESS_5 =
CMAKE_PROGRESS_6 =
CMAKE_PROGRESS_7 = 2
CMAKE_PROGRESS_8 =

3 changes: 3 additions & 0 deletions Code/BITS/BITSv5/test/build/CMakeFiles/Makefile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ set(CMAKE_MAKEFILE_PRODUCTS
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/test.dir/DependInfo.cmake"
"CMakeFiles/ELF2UF2Build.dir/DependInfo.cmake"
"CMakeFiles/test_rx.dir/DependInfo.cmake"
"CMakeFiles/test_tx.dir/DependInfo.cmake"
"CMakeFiles/test_rx_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 96335b1

Please sign in to comment.