PageRenderTime 48ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/cmake/configs/nuttx_px4fmu-v4_default.cmake

https://gitlab.com/SJWink623/Firmware
CMake | 198 lines | 124 code | 23 blank | 51 comment | 0 complexity | 2648ff9076e72a31221ef7c4dd7b35f4 MD5 | raw file
  1. include(nuttx/px4_impl_nuttx)
  2. set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-none-eabi.cmake)
  3. set(config_uavcan_num_ifaces 1)
  4. set(config_module_list
  5. #
  6. # Board support modules
  7. #
  8. drivers/device
  9. drivers/stm32
  10. drivers/stm32/adc
  11. drivers/stm32/tone_alarm
  12. drivers/led
  13. drivers/px4fmu
  14. drivers/boards/px4fmu-v4
  15. drivers/rgbled
  16. drivers/mpu6000
  17. drivers/mpu9250
  18. drivers/hmc5883
  19. drivers/ms5611
  20. drivers/mb12xx
  21. drivers/srf02
  22. drivers/sf0x
  23. drivers/ll40ls
  24. drivers/trone
  25. drivers/gps
  26. drivers/pwm_out_sim
  27. drivers/hott
  28. drivers/hott/hott_telemetry
  29. drivers/hott/hott_sensors
  30. drivers/blinkm
  31. drivers/airspeed
  32. drivers/ets_airspeed
  33. drivers/meas_airspeed
  34. drivers/frsky_telemetry
  35. modules/sensors
  36. drivers/mkblctrl
  37. drivers/px4flow
  38. drivers/oreoled
  39. drivers/gimbal
  40. drivers/pwm_input
  41. drivers/camera_trigger
  42. drivers/bst
  43. drivers/snapdragon_rc_pwm
  44. drivers/lis3mdl
  45. drivers/bmp280
  46. drivers/bma180
  47. drivers/bmi160
  48. #
  49. # System commands
  50. #
  51. systemcmds/bl_update
  52. systemcmds/mixer
  53. systemcmds/param
  54. systemcmds/perf
  55. systemcmds/pwm
  56. systemcmds/esc_calib
  57. systemcmds/reboot
  58. systemcmds/topic_listener
  59. systemcmds/top
  60. systemcmds/config
  61. systemcmds/nshterm
  62. systemcmds/mtd
  63. systemcmds/dumpfile
  64. systemcmds/ver
  65. systemcmds/sd_bench
  66. systemcmds/tests
  67. #
  68. # General system control
  69. #
  70. modules/commander
  71. modules/load_mon
  72. modules/navigator
  73. modules/mavlink
  74. modules/gpio_led
  75. modules/uavcan
  76. modules/land_detector
  77. #
  78. # Estimation modules (EKF/ SO3 / other filters)
  79. #
  80. # Too high RAM usage due to static allocations
  81. # modules/attitude_estimator_ekf
  82. modules/attitude_estimator_q
  83. modules/ekf_att_pos_estimator
  84. modules/position_estimator_inav
  85. modules/ekf2
  86. #
  87. # Vehicle Control
  88. #
  89. # modules/segway # XXX Needs GCC 4.7 fix
  90. modules/fw_pos_control_l1
  91. modules/fw_att_control
  92. modules/mc_att_control
  93. modules/mc_pos_control
  94. modules/vtol_att_control
  95. #
  96. # Logging
  97. #
  98. modules/sdlog2
  99. modules/logger
  100. #
  101. # Library modules
  102. #
  103. modules/param
  104. modules/systemlib
  105. modules/systemlib/mixer
  106. modules/uORB
  107. modules/dataman
  108. #
  109. # Libraries
  110. #
  111. lib/controllib
  112. lib/mathlib
  113. lib/mathlib/math/filter
  114. lib/rc
  115. lib/ecl
  116. lib/external_lgpl
  117. lib/geo
  118. lib/geo_lookup
  119. lib/conversion
  120. lib/launchdetection
  121. lib/terrain_estimation
  122. lib/runway_takeoff
  123. lib/tailsitter_recovery
  124. lib/DriverFramework/framework
  125. platforms/nuttx
  126. # had to add for cmake, not sure why wasn't in original config
  127. platforms/common
  128. platforms/nuttx/px4_layer
  129. #
  130. # OBC challenge
  131. #
  132. modules/bottle_drop
  133. #
  134. # Rover apps
  135. #
  136. examples/rover_steering_control
  137. #
  138. # Demo apps
  139. #
  140. #examples/math_demo
  141. # Tutorial code from
  142. # https://px4.io/dev/px4_simple_app
  143. examples/px4_simple_app
  144. # Tutorial code from
  145. # https://px4.io/dev/daemon
  146. #examples/px4_daemon_app
  147. # Tutorial code from
  148. # https://px4.io/dev/debug_values
  149. #examples/px4_mavlink_debug
  150. # Tutorial code from
  151. # https://px4.io/dev/example_fixedwing_control
  152. #examples/fixedwing_control
  153. # Hardware test
  154. #examples/hwtest
  155. )
  156. set(config_extra_builtin_cmds
  157. serdis
  158. sercon
  159. )
  160. set(config_extra_libs
  161. uavcan
  162. uavcan_stm32_driver
  163. )
  164. set(config_io_extra_libs
  165. )
  166. add_custom_target(sercon)
  167. set_target_properties(sercon PROPERTIES
  168. PRIORITY "SCHED_PRIORITY_DEFAULT"
  169. MAIN "sercon"
  170. STACK_MAIN "2048")
  171. add_custom_target(serdis)
  172. set_target_properties(serdis PROPERTIES
  173. PRIORITY "SCHED_PRIORITY_DEFAULT"
  174. MAIN "serdis"
  175. STACK_MAIN "2048")