Compare commits
	
		
			53 Commits
		
	
	
		
			feature/lc
			...
			feature/ne
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					ecd5bf3213 | ||
| 
						 | 
					92b1d5609d | ||
| 
						 | 
					1e3f781bb3 | ||
| 
						 | 
					585e48ab75 | ||
| 
						 | 
					c711e7454c | ||
| 
						 | 
					09a3e3ecd1 | ||
| 
						 | 
					f88cc8a39a | ||
| 
						 | 
					f9de3a4f8f | ||
| 
						 | 
					e2fcc7af9c | ||
| 
						 | 
					8b638e2f27 | ||
| 
						 | 
					de84a56ab3 | ||
| 
						 | 
					570819ea0b | ||
| 
						 | 
					99e99f3e0f | ||
| 
						 | 
					52d6566325 | ||
| 
						 | 
					1c415a44ac | ||
| 
						 | 
					f32fa39117 | ||
| 
						 | 
					73d5d950ea | ||
| 
						 | 
					407d267025 | ||
| 
						 | 
					ed94c11db3 | ||
| 
						 | 
					0acac46293 | ||
| 
						 | 
					5922835236 | ||
| 
						 | 
					edc70d528d | ||
| 
						 | 
					31bed7ae8f | ||
| 
						 | 
					7f19c508c1 | ||
| 
						 | 
					849aeba26e | ||
| 
						 | 
					fefe950223 | ||
| 
						 | 
					de790486a2 | ||
| 
						 | 
					b0c958ae59 | ||
| 
						 | 
					13fa4d279e | ||
| 
						 | 
					7692a45c51 | ||
| 
						 | 
					c7ae8c42fe | ||
| 
						 | 
					32ca698e19 | ||
| 
						 | 
					32b085001a | ||
| 
						 | 
					684639b9e2 | ||
| 
						 | 
					c266998d6f | ||
| 
						 | 
					82cbbdf857 | ||
| 
						 | 
					7a9fd0f88d | ||
| 
						 | 
					68ffa9e038 | ||
| 
						 | 
					1ef70f2a1c | ||
| 
						 | 
					7aeed40d2d | ||
| 
						 | 
					1a6647111b | ||
| 
						 | 
					7227be47a8 | ||
| 
						 | 
					4f8ab7805a | ||
| 
						 | 
					2e1bdc638f | ||
| 
						 | 
					a9d220a53e | ||
| 
						 | 
					d34d4740e6 | ||
| 
						 | 
					81c8368e02 | ||
| 
						 | 
					41f6ca083e | ||
| 
						 | 
					5b6cda04a2 | ||
| 
						 | 
					1dac252899 | ||
| 
						 | 
					0e06bd4823 | ||
| 
						 | 
					271a171fc7 | ||
| 
						 | 
					16fd1a30c5 | 
							
								
								
									
										52
									
								
								rules/czmq/default.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								rules/czmq/default.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
			
		||||
version=\
 | 
			
		||||
(
 | 
			
		||||
    "3.0.2"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
url=\
 | 
			
		||||
(
 | 
			
		||||
    "https://github.com/zeromq/czmq/archive/v$version.tar.gz"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
md5=\
 | 
			
		||||
(
 | 
			
		||||
    "23e9885f7ee3ce88d99d0425f52e9be1"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
configure()
 | 
			
		||||
{
 | 
			
		||||
    ./autogen.sh && \
 | 
			
		||||
    ./configure \
 | 
			
		||||
        --prefix="${cfg_dir_toolchain_sysroot}/usr" \
 | 
			
		||||
        --target="$cfg_target_canonical" \
 | 
			
		||||
        --host="$cfg_target_canonical" \
 | 
			
		||||
        --build="$cfg_host_canonical"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
build()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
host_install()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make install
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
requires=\
 | 
			
		||||
(
 | 
			
		||||
    'libtool/host'
 | 
			
		||||
    'zeromq'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
target_install()
 | 
			
		||||
{
 | 
			
		||||
  # Libs:
 | 
			
		||||
  for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libczmq.*; do
 | 
			
		||||
    if [ -L "$f" ]; then
 | 
			
		||||
      $cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
 | 
			
		||||
    else
 | 
			
		||||
      $cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
 | 
			
		||||
    fi
 | 
			
		||||
  done
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										37
									
								
								rules/dune/default.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								rules/dune/default.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,37 @@
 | 
			
		||||
version=\
 | 
			
		||||
(
 | 
			
		||||
    'mission/necsave'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
requires=\
 | 
			
		||||
(
 | 
			
		||||
    'cmake/host'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
download()
 | 
			
		||||
{
 | 
			
		||||
    git clone "git@github.com:LSTS/dune.git" dune &&
 | 
			
		||||
        cd dune && git checkout "$version" && cd - &&
 | 
			
		||||
        git clone "git@git.lsts.pt:dune-private.git" dune/private &&
 | 
			
		||||
        cd dune/private && git checkout "$version" && cd -
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
configure()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_mkdir build &&
 | 
			
		||||
        cd build &&
 | 
			
		||||
        cmake \
 | 
			
		||||
            -DCMAKE_INSTALL_PREFIX="$cfg_dir_toolchain_sysroot/usr" \
 | 
			
		||||
            -DCROSS="$cmd_target_cc" \
 | 
			
		||||
            ../dune
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
build()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make -C build
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
host_install()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make -C build install
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										45
									
								
								rules/jansson/default.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								rules/jansson/default.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
			
		||||
version=\
 | 
			
		||||
(
 | 
			
		||||
    "2.7"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
url=\
 | 
			
		||||
(
 | 
			
		||||
    "http://www.digip.org/jansson/releases/jansson-2.7.tar.gz"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
md5=\
 | 
			
		||||
(
 | 
			
		||||
    "3a106a465bbb77637550b422f5b262ef"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
configure()
 | 
			
		||||
{
 | 
			
		||||
    ./configure \
 | 
			
		||||
        --prefix="${cfg_dir_toolchain_sysroot}/usr" \
 | 
			
		||||
        --target="$cfg_target_canonical" \
 | 
			
		||||
        --host="$cfg_target_canonical" \
 | 
			
		||||
        --build="$cfg_host_canonical"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
build()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
host_install()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make install
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
target_install()
 | 
			
		||||
{
 | 
			
		||||
  # Libs:
 | 
			
		||||
  for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libjansson.*; do
 | 
			
		||||
    if [ -L "$f" ]; then
 | 
			
		||||
      $cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
 | 
			
		||||
    else
 | 
			
		||||
      $cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
 | 
			
		||||
    fi
 | 
			
		||||
  done
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										79
									
								
								rules/necsave/default.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										79
									
								
								rules/necsave/default.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,79 @@
 | 
			
		||||
version=\
 | 
			
		||||
(
 | 
			
		||||
    'master'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
branch=\
 | 
			
		||||
(
 | 
			
		||||
    'master'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
maintainer=\
 | 
			
		||||
(
 | 
			
		||||
    "Jose Pinto <zepinto@fe.up.pt>"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
requires=\
 | 
			
		||||
(
 | 
			
		||||
    'jansson/default'
 | 
			
		||||
    'czmq/default'
 | 
			
		||||
    'boost/default'
 | 
			
		||||
    'cmake/host'
 | 
			
		||||
    'dune/default'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
download()
 | 
			
		||||
{
 | 
			
		||||
    git clone -b $branch "git@necsave.info:necsave/communications.git" source &&
 | 
			
		||||
    cd source && 
 | 
			
		||||
    ./update.sh &&
 | 
			
		||||
    cd -
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
configure()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_mkdir build && cd build
 | 
			
		||||
    PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig" \
 | 
			
		||||
    cmake \
 | 
			
		||||
        -DCMAKE_INSTALL_PREFIX="$cfg_dir_toolchain_sysroot/usr/necsave" \
 | 
			
		||||
        -DCMAKE_CXX_COMPILER="$cmd_target_cxx" \
 | 
			
		||||
        -DCMAKE_C_COMPILER="$cmd_target_cc" \
 | 
			
		||||
        -DCMAKE_FIND_ROOT_PATH:PATH="$cfg_dir_toolchain_sysroot/usr" \
 | 
			
		||||
        -DDUNE_HOME="$cfg_dir_toolchain_sysroot/usr" \
 | 
			
		||||
        -DCMAKE_SYSTEM_NAME:STRING=Linux \
 | 
			
		||||
        -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE:STRING=BOTH \
 | 
			
		||||
        -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY:STRING=ONLY \
 | 
			
		||||
        -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM:STRING=BOTH \
 | 
			
		||||
        ../source
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
refresh()
 | 
			
		||||
{
 | 
			
		||||
  cd ../default
 | 
			
		||||
  rm .build .host_install .target_install .postconfigure
 | 
			
		||||
  cd -
 | 
			
		||||
  cd integration && git pull && cd - &&
 | 
			
		||||
  cd source && git pull && cd - &&
 | 
			
		||||
  for r in duneplatform missionplanner perception vehicleplanner; do
 | 
			
		||||
            cd "source/src/Modules/$r" && git pull && cd -
 | 
			
		||||
        done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
build()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make -C build
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
host_install()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make -C build install
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#target_install()
 | 
			
		||||
#{
 | 
			
		||||
#    rm -rf "$cfg_dir_rootfs/usr/necsave" &&
 | 
			
		||||
#        $cmd_cp -r "$cfg_dir_toolchain_sysroot/usr/necsave" "$cfg_dir_rootfs/usr" &&
 | 
			
		||||
#        ln -fs /opt/lsts/necsave/log "$cfg_dir_rootfs/usr/necsave/log" &&
 | 
			
		||||
#    $cmd_cp -r "integration/REP16"/* "$cfg_dir_rootfs/usr/necsave"
 | 
			
		||||
#
 | 
			
		||||
#}
 | 
			
		||||
							
								
								
									
										46
									
								
								rules/zeromq/default.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								rules/zeromq/default.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,46 @@
 | 
			
		||||
version=\
 | 
			
		||||
(
 | 
			
		||||
    "4.1.3"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
url=\
 | 
			
		||||
(
 | 
			
		||||
    "http://download.zeromq.org/zeromq-$version.tar.gz"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
md5=\
 | 
			
		||||
(
 | 
			
		||||
    "d0824317348cfb44b8692e19cc73dc3a"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
configure()
 | 
			
		||||
{
 | 
			
		||||
    ./configure \
 | 
			
		||||
        --prefix="${cfg_dir_toolchain_sysroot}/usr" \
 | 
			
		||||
        --target="$cfg_target_canonical" \
 | 
			
		||||
        --host="$cfg_target_canonical" \
 | 
			
		||||
        --build="$cfg_host_canonical" \
 | 
			
		||||
        --without-libsodium
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
build()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
host_install()
 | 
			
		||||
{
 | 
			
		||||
    $cmd_make install
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
target_install()
 | 
			
		||||
{
 | 
			
		||||
  # Libs:
 | 
			
		||||
  for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libzmq.*; do
 | 
			
		||||
    if [ -L "$f" ]; then
 | 
			
		||||
      $cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
 | 
			
		||||
    else
 | 
			
		||||
      $cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
 | 
			
		||||
    fi
 | 
			
		||||
  done
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										7
									
								
								systems/lauv-aux-rpi/lauv-xtreme-2-aux.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								systems/lauv-aux-rpi/lauv-xtreme-2-aux.cfg
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
cfg_hostname='lauv-xtreme-2-aux'
 | 
			
		||||
cfg_eth_ext_ip='10.0.10.53'
 | 
			
		||||
cfg_eth_ext_mk='255.255.0.0'
 | 
			
		||||
cfg_eth_ext_gw='10.0.0.1'
 | 
			
		||||
cfg_ptpd_interface='eth0'
 | 
			
		||||
cfg_lauv_storage='internal'
 | 
			
		||||
cfg_packages="$cfg_packages necsave"
 | 
			
		||||
							
								
								
									
										9
									
								
								systems/lauv-aux-rpi/necsave-aux.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								systems/lauv-aux-rpi/necsave-aux.cfg
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
cfg_hostname='lauv-xplore-2-aux'
 | 
			
		||||
cfg_eth_ext_ip='10.0.10.183'
 | 
			
		||||
cfg_eth_ext_mk='255.255.0.0'
 | 
			
		||||
cfg_eth_ext_gw='10.0.0.1'
 | 
			
		||||
cfg_ptpd_interface='eth0'
 | 
			
		||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
 | 
			
		||||
cfg_services1=''
 | 
			
		||||
cfg_services2='trex'
 | 
			
		||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c jansson zeromq czmq boost europa'
 | 
			
		||||
@@ -1529,7 +1529,7 @@ CONFIG_USB_SERIAL_GENERIC=y
 | 
			
		||||
# CONFIG_USB_SERIAL_CP210X is not set
 | 
			
		||||
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
 | 
			
		||||
# CONFIG_USB_SERIAL_EMPEG is not set
 | 
			
		||||
# CONFIG_USB_SERIAL_FTDI_SIO is not set
 | 
			
		||||
CONFIG_USB_SERIAL_FTDI_SIO=y
 | 
			
		||||
# CONFIG_USB_SERIAL_VISOR is not set
 | 
			
		||||
# CONFIG_USB_SERIAL_IPAQ is not set
 | 
			
		||||
# CONFIG_USB_SERIAL_IR is not set
 | 
			
		||||
@@ -2209,3 +2209,4 @@ CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
 | 
			
		||||
# CONFIG_AVERAGE is not set
 | 
			
		||||
# CONFIG_CORDIC is not set
 | 
			
		||||
# CONFIG_DDR is not set
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,4 @@
 | 
			
		||||
cfg_hostname='lauv-xplore-2'
 | 
			
		||||
cfg_eth_ext_ip='10.0.10.130'
 | 
			
		||||
cfg_packages="$cfg_packages necsave"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										7
									
								
								systems/lctr-b2xx/lauv-noptilus-1-aux.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								systems/lctr-b2xx/lauv-noptilus-1-aux.cfg
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
cfg_hostname='lauv-noptilus-1-aux'
 | 
			
		||||
cfg_storage='data0:ext4:/opt'
 | 
			
		||||
cfg_eth_ext_ip='10.0.10.83'
 | 
			
		||||
cfg_eth_ext_mk='255.255.0.0'
 | 
			
		||||
cfg_eth_ext_gw='10.0.0.1'
 | 
			
		||||
cfg_ptpd_interface='eth0'
 | 
			
		||||
cfg_packages="$cfg_packages necsave"
 | 
			
		||||
							
								
								
									
										7
									
								
								systems/lctr-b2xx/lauv-noptilus-2-aux.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								systems/lctr-b2xx/lauv-noptilus-2-aux.cfg
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
cfg_hostname='lauv-noptilus-2-aux'
 | 
			
		||||
cfg_storage='data0:ext4:/opt'
 | 
			
		||||
cfg_eth_ext_ip='10.0.10.93'
 | 
			
		||||
cfg_eth_ext_mk='255.255.0.0'
 | 
			
		||||
cfg_eth_ext_gw='10.0.0.1'
 | 
			
		||||
cfg_ptpd_interface='eth0'
 | 
			
		||||
cfg_packages="$cfg_packages necsave"
 | 
			
		||||
@@ -4,3 +4,4 @@ cfg_eth_ext_ip='10.0.10.103'
 | 
			
		||||
cfg_eth_ext_mk='255.255.0.0'
 | 
			
		||||
cfg_eth_ext_gw='10.0.0.1'
 | 
			
		||||
cfg_ptpd_interface='eth0'
 | 
			
		||||
cfg_packages="$cfg_packages necsave"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user