boards organization

This commit is contained in:
Daniel Agar
2018-11-26 14:40:14 -08:00
committed by David Sidrane
parent c1f851a600
commit f692ad04d0
507 changed files with 9976 additions and 10990 deletions
+2 -2
View File
@@ -32,7 +32,7 @@
############################################################################
set(SRCS_PLATFORM)
if (${OS} STREQUAL "nuttx")
if (${PX4_PLATFORM} STREQUAL "nuttx")
if ("${CONFIG_I2C}" STREQUAL "y")
list(APPEND SRCS_PLATFORM nuttx/I2C.cpp)
endif()
@@ -53,7 +53,7 @@ px4_add_library(drivers__device
${SRCS_PLATFORM}
)
if (${OS} STREQUAL "nuttx")
if (${PX4_PLATFORM} STREQUAL "nuttx")
target_link_libraries(drivers__device PRIVATE nuttx_arch)
endif()