Added defautl config for nuttx, nuttx now works over usb.

This commit is contained in:
James Goppert
2015-09-10 13:57:54 -04:00
parent f7fe33e6a4
commit 34eeee9fa9
9 changed files with 423 additions and 33 deletions

View File

@@ -96,7 +96,7 @@ endfunction()
# px4_nuttx_generate_builtin_commands
#
# This function generates the builtin_commands.c src for nuttx
#
# Usage:
# px4_nuttx_generate_builtin_commands(
# MODULE_LIST <in-list>
@@ -119,10 +119,12 @@ function(px4_nuttx_generate_builtin_commands)
MULTI_VALUE MODULE_LIST
REQUIRED MODULE_LIST OUT
ARGN ${ARGN})
message(STATUS "argn: ${ARGN}")
set(builtin_apps_string)
set(builtin_apps_decl_string)
set(command_count 0)
foreach(module ${MODULE_LIST})
message("generating builtin for: ${module}")
# default
set(MAIN_DEFAULT MAIN-NOTFOUND)
set(STACK_DEFAULT 1024)