Skip to content

Commit

Permalink
Noise proxy testing setup
Browse files Browse the repository at this point in the history
* Rebased Noise proxy setup to latest px4-firmware
  • Loading branch information
jmlepisto committed Dec 17, 2024
1 parent b97355e commit f35df31
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,15 @@
[submodule "Tools/packaging"]
path = Tools/saluki_packaging
url = [email protected]:tiiuae/saluki_low_level_sw_build.git
[submodule "src/lib/noise_transport_core"]
path = src/lib/noise_transport_core
url = [email protected]:tiiuae/noise_transport_core.git
[submodule "src/lib/noise_transport_px4_lib"]
path = src/lib/noise_transport_px4_lib
url = [email protected]:tiiuae/noise_transport_px4_lib.git
[submodule "src/lib/rust_px4_nuttx_lib"]
path = src/lib/rust_px4_nuttx_lib
url = [email protected]:tiiuae/rust_px4_nuttx_lib.git
[submodule "src/modules/noise_transport_px4_proxy"]
path = src/modules/noise_transport_px4_proxy
url = [email protected]:tiiuae/noise_transport_px4_proxy.git
2 changes: 1 addition & 1 deletion boards/ssrc/saluki-v2
6 changes: 6 additions & 0 deletions packaging/Dockerfile.build_env
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# px4-firmware builder environment
FROM ghcr.io/tiiuae/px4-firmware-builder-base:latest

RUN apt-get update && apt-get install -y --no-install-recommends libclang1

ARG UID=1000
ARG GID=1000

Expand All @@ -18,6 +20,10 @@ USER builder
ENV RUSTUP_HOME=/opt/rust CARGO_HOME=/home/builder/.cargo
ENV PATH=$PATH:/opt/rust/bin

# Rust bindgen
RUN cargo install bindgen-cli
ENV PATH=$PATH:/home/builder/.cargo/bin

VOLUME /px4-firmware/sources
WORKDIR /px4-firmware/sources

Expand Down
3 changes: 3 additions & 0 deletions src/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,6 @@ 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()
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/noise_transport_px4_lib/CMakeLists.txt")
add_subdirectory(noise_transport_px4_lib EXCLUDE_FROM_ALL)
endif()
1 change: 1 addition & 0 deletions src/lib/noise_transport_core
Submodule noise_transport_core added at 2693d0
1 change: 1 addition & 0 deletions src/lib/noise_transport_px4_lib
2 changes: 1 addition & 1 deletion src/lib/rust_px4_nuttx
1 change: 1 addition & 0 deletions src/modules/noise_transport_px4_proxy

0 comments on commit f35df31

Please sign in to comment.