Skip to content

Commit

Permalink
Add fw updater submodules
Browse files Browse the repository at this point in the history
New submodules:
  src/modules/px4_fw_update_client
  src/lib/secure_udp

Update clone_public to skip new private modules
  • Loading branch information
jnippula committed Jul 1, 2024
1 parent e2e390e commit dfe11d5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,9 @@
[submodule "boards/ssrc/saluki-nxp93"]
path = boards/ssrc/saluki-nxp93
url = [email protected]:tiiuae/saluki-nxp93.git
[submodule "src/modules/px4_fw_update_client"]
path = src/modules/px4_fw_update_client
url = [email protected]:tiiuae/px4-fw-update-client.git
[submodule "src/lib/secure_udp"]
path = src/lib/secure_udp
url = [email protected]:tiiuae/px4-lib-secure-udp.git
2 changes: 2 additions & 0 deletions clone_public.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ do
[[ "${repo}" == *pfsoc_crypto ]] || \
[[ "${repo}" == *pfsoc_keystore ]] || \
[[ "${repo}" == *pf_crypto ]] || \
[[ "${repo}" == *px4_fw_update_client ]] || \
[[ "${repo}" == *secure_udp ]] || \
[[ "${repo}" == *process ]] && continue
git submodule update --init --recursive "${repo}"
done <<< "$(git submodule status | awk '{print $2}')"
3 changes: 3 additions & 0 deletions src/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@ add_subdirectory(version EXCLUDE_FROM_ALL)
add_subdirectory(weather_vane EXCLUDE_FROM_ALL)
add_subdirectory(wind_estimator EXCLUDE_FROM_ALL)
add_subdirectory(world_magnetic_model EXCLUDE_FROM_ALL)
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/secure_udp/CMakeLists.txt")
add_subdirectory(secure_udp EXCLUDE_FROM_ALL)
endif()
1 change: 1 addition & 0 deletions src/lib/secure_udp
Submodule secure_udp added at 01bd1d
1 change: 1 addition & 0 deletions src/modules/px4_fw_update_client
Submodule px4_fw_update_client added at b9d706

0 comments on commit dfe11d5

Please sign in to comment.