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 Aug 19, 2024
1 parent 9b3c376 commit a850756
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 @@ -94,3 +94,9 @@
[submodule "Tools/simulation/gz/plugins/px4-gzsim-plugins"]
path = Tools/simulation/gz/plugins/px4-gzsim-plugins
url = https://github.com/tiiuae/px4-gzsim-plugins.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 6a12f0
1 change: 1 addition & 0 deletions src/modules/px4_fw_update_client
Submodule px4_fw_update_client added at 06cab6

0 comments on commit a850756

Please sign in to comment.