NuttX use toolchain math.h and avoid empty drivers/Kconfig

This commit is contained in:
Daniel Agar
2019-11-09 14:00:05 -05:00
committed by Lorenz Meier
parent a8e7ddd44e
commit 99aae8b891
80 changed files with 15 additions and 723 deletions

View File

@@ -71,6 +71,9 @@ function(px4_os_add_flags)
add_definitions(
-D__PX4_NUTTX
-D__DF_NUTTX
-D_SYS_CDEFS_H_ # skip toolchain's <sys/cdefs.h>
-D_SYS_REENT_H_ # skip toolchain's <sys/reent.h>
)
if("${CONFIG_ARMV7M_STACKCHECK}" STREQUAL "y")