Skip to content
Snippets Groups Projects
Commit e029ad41 authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

Makefile add travis-ci vectorcontrol build

parent c37236ec
No related branches found
No related tags found
No related merge requests found
...@@ -64,3 +64,7 @@ CMakeLists.txt.user ...@@ -64,3 +64,7 @@ CMakeLists.txt.user
GPATH GPATH
GRTAGS GRTAGS
GTAGS GTAGS
# uavcan firmware
ROMFS/px4fmu_common/uavcan/
vectorcontrol/
...@@ -106,7 +106,7 @@ script: ...@@ -106,7 +106,7 @@ script:
&& arm-none-eabi-gcc --version && arm-none-eabi-gcc --version
&& echo 'Building NuttX px4fmu-v1 Firmware..' && make px4fmu-v1_default && echo 'Building NuttX px4fmu-v1 Firmware..' && make px4fmu-v1_default
&& echo 'Building NuttX px4fmu-v2 Firmware..' && make px4fmu-v2_default && echo 'Building NuttX px4fmu-v2 Firmware..' && make px4fmu-v2_default
&& echo 'Building UAVCAN node firmware..' && (git clone https://github.com/thiemar/vectorcontrol && cd vectorcontrol && BOARD=s2740vc_1_0 make -s && BOARD=px4esc_1_6 make -s && ../Tools/uavcan_copy.sh) && echo 'Building UAVCAN node firmware..' && make uavcan_firmware
&& echo 'Building NuttX px4fmu-v4 Firmware..' && make px4fmu-v4_default && echo 'Building NuttX px4fmu-v4 Firmware..' && make px4fmu-v4_default
&& echo 'Building NuttX px4-stm32f4discovery Firmware..' && make px4-stm32f4discovery_default && echo 'Building NuttX px4-stm32f4discovery Firmware..' && make px4-stm32f4discovery_default
&& echo 'Running Tests..' && make tests && echo 'Running Tests..' && make tests
......
...@@ -191,6 +191,10 @@ run_sitl_ros: sitl_deprecation ...@@ -191,6 +191,10 @@ run_sitl_ros: sitl_deprecation
# Other targets # Other targets
# -------------------------------------------------------------------- # --------------------------------------------------------------------
uavcan_firmware:
@(rm -rf vectorcontrol && git clone https://github.com/thiemar/vectorcontrol && cd vectorcontrol && BOARD=s2740vc_1_0 make --no-print-directory -s && BOARD=px4esc_1_6 make --no-print-directory -s && ../Tools/uavcan_copy.sh)
check_format: check_format:
@./Tools/check_code_style.sh @./Tools/check_code_style.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment