- Apr 20, 2015
-
-
Mark Charlebois authored
The High Resilution Timer functions are stubbed out for now. Certain queue functions are required to compile uORB so adding the queue.c from NuttX. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Moved posix-like functions to vcdev_posix.cpp and updated the copyright notice. Added test case to make sure poll unblocks when a write occurs. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
hello should have been hello_main Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The -Ur option is not supported in gold Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
"clang-3.5 -dumpversion" returns 4.2.1 as the GCC version. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
A Ubuntu 12.04 compatible version of clang-3.4.1 can be downloaded from http://llvm.org/releases/3.4.1/clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04.tar.xz Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
GCC 4.6 is too old for -std=c++11 but it supports -std=c++0x Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Modified uint32_t casts of pointers to unsigned long for portability. It otherwise breaks on x86_64. Added _PX4_IOC to handle the conflice between _IOC on Linux and NuttX. Removed use of px4::ok() because it cannot be used in a thread based implementation. Changed to use px4::AppMgr which uses ok() on ROS. Removed up_cxxinitialize.c from Linux build. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Fixes to compile with gcc Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Use clang-3.5 if found, otherwise gcc Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The following libs can now be built under Linux: lib/mathlib lib/geo lib/geo_lookup The constants used for ROS are now shared with Linux in px4_defines.h Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Modified code to use OS independent header file for config settings. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Use OS independent header file for config info. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Keep existing API use in code. Bind the use of the OS independent implementation in the systemlib layer. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Calls to task_delete and task_spawn_cmd are now px4_task_delete and px4_task_spawn_cmd respectively. The px4_tasks.h header was added to the affected files and incusions of nuttx/config.h were removed. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Moved checksubmodules target back to Makefile. NuttX download still done for Linux as it would require too much surgery to remove it. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Uncomment the following line in setup.mk and comment out the line above to enable the Linux build. export PX4_TARGET_OS = linux The build uses the clang compiler by default. The final bundled executable is mainapp located in: Build/linux_default.build/mainapp When you run mainapp it will provide a list of the built-in apps. You can type in the commands to run such as: hello_main start Because the Linux build is threaded and does not support tasks or processes, it cannot call errx, exit() _exit(), etc. It also requires unique scoped variables to test if a thread is running or if an application should exit. The px4::AppMgr class was added in px4_app.h for this purpose. The hello sample app demonstrates how this is used. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Moved the NuttX specific board files to makefiles/nuttx and added a makfiles/linux directory with sample config and board files. Created a makefiles/toolchain_native.mk file for building for Linux with the native system compiler. GCC or clang can be used by setting a flag in the file. The Linux build creates an archive file and will build the tasks as threads. Other code changes are required to support both task based and thread based builds. The NuttX source should not be required for the Linux build. The target OS (NuttX or Linux) is selected by commenting out the desired line in setup.mk Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Roman Bapst authored
-
Roman Bapst authored
-
Roman Bapst authored
-
Lorenz Meier authored
-
Lorenz Meier authored
-
Lorenz Meier authored
-
Lorenz Meier authored
-
Lorenz Meier authored
-
Lorenz Meier authored
Commander: Improved preflight check routines. Running checks on all connected sensors. Re-run checks once GCS is connected.
-
Lorenz Meier authored
-
Lorenz Meier authored
-
Johan Jansen authored
-
Johan Jansen authored
-
Johan Jansen authored
-
Johan Jansen authored
-
Johan Jansen authored
-