cmake: add serial param & ROMFS generation to the build system

- only a few configs done yet
This commit is contained in:
Beat Küng
2018-06-07 14:02:47 +02:00
parent 5bb75a7ff8
commit c237221a81
16 changed files with 101 additions and 3 deletions
@@ -3,6 +3,12 @@ px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
set(config_uavcan_num_ifaces 1)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS0
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2)
set(config_module_list
#
# Board support modules
@@ -1,6 +1,12 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS5
TEL1:/dev/ttyS3
TEL2:/dev/ttyS1)
set(config_module_list
#
# Board support modules
@@ -1,6 +1,12 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2)
set(config_uavcan_num_ifaces 1)
set(config_module_list
@@ -1,6 +1,13 @@
px4_nuttx_configure(HWCLASS m7 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS6
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL4:/dev/ttyS3)
set(config_uavcan_num_ifaces 1)
set(config_module_list
@@ -1,6 +1,12 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2)
set(config_uavcan_num_ifaces 1)
set(config_module_list
@@ -5,6 +5,11 @@ set(UAVCAN_PLATFORM kinetis CACHE STRING "uavcan platform")
set(UAVCAN_TIMER 1)
set(config_uavcan_num_ifaces 2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS4)
set(config_module_list
#
# Board support modules
@@ -1,6 +1,11 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
TEL2:/dev/ttyS1
URT6:/dev/ttyS2)
set(config_module_list
#
# Board support modules
@@ -1,5 +1,12 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL4:/dev/ttyS6)
#set(config_uavcan_num_ifaces 2)
set(config_bl_file ${PX4_SOURCE_DIR}/ROMFS/px4fmu_common/extras/px4fmuv3_bl.bin)
@@ -7,6 +7,13 @@ set(LD_SCRIPT ld_full.script CACHE string "" FORCE)
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL4:/dev/ttyS6)
set(config_uavcan_num_ifaces 2)
set(config_module_list
@@ -1,6 +1,12 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2)
set(config_uavcan_num_ifaces 1)
set(config_module_list
@@ -1,6 +1,14 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL3:/dev/ttyS0
TEL4:/dev/ttyS6)
set(config_uavcan_num_ifaces 2)
set(config_module_list
@@ -1,6 +1,13 @@
px4_nuttx_configure(HWCLASS m7 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS0
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL4:/dev/ttyS3)
set(config_uavcan_num_ifaces 2)
set(config_module_list