{"push_id":668901779,"size":304,"distinct_size":304,"ref":"refs/heads/distance_sensor","head":"364492a325f25fa5dce10af28a03afb435294846","before":"37e96e230ccb056dc4d43113214901694c00b34b","commits":[{"sha":"838e9fc76943eabd78064a8f18effd3dcd0fd1bf","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Refactoring for multiplatform support\n\nMoved the NuttX specific board files to makefiles/nuttx and added\na makfiles/linux directory with sample config and board files.\n\nCreated a makefiles/toolchain_native.mk file for building for Linux\nwith the native system compiler. GCC or clang can be used by setting\na flag in the file.\n\nThe Linux build creates an archive file and will build the tasks as\nthreads. Other code changes are required to support both task based\nand thread based builds.\n\nThe NuttX source should not be required for the Linux build. The\ntarget OS (NuttX or Linux) is selected by commenting out the desired\nline in setup.mk\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/838e9fc76943eabd78064a8f18effd3dcd0fd1bf"},{"sha":"520459062d567fe3f1725b602be37771bebaed20","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Initial Linux support including execution shell\n\nUncomment the following line in setup.mk and comment out the line above\nto enable the Linux build.\n\n   export PX4_TARGET_OS\t = linux\n\nThe build uses the clang compiler by default. The final bundled executable\nis mainapp located in:\n\n   Build/linux_default.build/mainapp\n\nWhen you run mainapp it will provide a list of the built-in apps. You can\ntype in the commands to run such as:\n\n   hello_main start\n\nBecause the Linux build is threaded and does not support tasks or processes,\nit cannot call errx, exit() _exit(), etc. It also requires unique scoped\nvariables to test if a thread is running or if an application should exit.\nThe px4::AppMgr class was added in px4_app.h for this purpose. The\nhello sample app demonstrates how this is used.\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/520459062d567fe3f1725b602be37771bebaed20"},{"sha":"51a71d54c6fd55c81c92b75fbd59c3801e010600","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"checksubmodules target needed for Linux build\n\nMoved checksubmodules target back to Makefile.\nNuttX download still done for Linux as it would require\ntoo much surgery to remove it.\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/51a71d54c6fd55c81c92b75fbd59c3801e010600"},{"sha":"ddb32742ebd299e83e268c7ffa99c808bdaf4f8a","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Use OS independent API for task creation/deletion\n\nCalls to task_delete and task_spawn_cmd are now\npx4_task_delete and px4_task_spawn_cmd respectively.\n\nThe px4_tasks.h header was added to the affected files\nand incusions of nuttx/config.h were removed.\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/ddb32742ebd299e83e268c7ffa99c808bdaf4f8a"},{"sha":"bf429188b436e2b00cc614f20db4930b0c2497d4","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Reverted: Use OS independent API for task creation/deletion\n\nKeep existing API use in code. Bind the use of the OS independent\nimplementation in the systemlib layer.\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/bf429188b436e2b00cc614f20db4930b0c2497d4"},{"sha":"82a7fd5115a340c48d9b09cb3bc421e441c1f4a4","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Code uses px4_config.h instead of nuttx/config.h\n\nUse OS independent header file for config info.\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/82a7fd5115a340c48d9b09cb3bc421e441c1f4a4"},{"sha":"9758112e311b1c2746a8d0e85465179a0084f96b","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Use px4_config.h instead of nuttx/config.h\n\nModified code to use OS independent header file for config settings.\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/9758112e311b1c2746a8d0e85465179a0084f96b"},{"sha":"e3f152b5c136920cd032989df57051f45148f3f9","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Changed main_t to px4_main_t in systemlib.h\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/e3f152b5c136920cd032989df57051f45148f3f9"},{"sha":"62f8bd667987893e41968f5526bfb37a3152c041","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Linux build support for some libs\n\nThe following libs can now be built under Linux:\n\n   lib/mathlib\n   lib/geo\n   lib/geo_lookup\n\nThe constants used for ROS are now shared with Linux in\npx4_defines.h\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/62f8bd667987893e41968f5526bfb37a3152c041"},{"sha":"566c3ed3c36fae94fa6bcc26ecc28d4a0d01207a","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Linux: Autodetect clang-3.5 toolchain\n\nUse clang-3.5 if found, otherwise gcc\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/566c3ed3c36fae94fa6bcc26ecc28d4a0d01207a"},{"sha":"4a4fcb5d75e254ba4d53c93842acf7e449d153ed","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Linux: fixes for gcc\n\nFixes to compile with gcc\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/4a4fcb5d75e254ba4d53c93842acf7e449d153ed"},{"sha":"89e1b454af22e67e559f0d7f99a81a826bf62bbc","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Linux: added support for gcc 4.6\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/89e1b454af22e67e559f0d7f99a81a826bf62bbc"},{"sha":"5084a61f0ed5ed0910d3067c927c2787ee69a574","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Abstractions to compile systemlib for Linux and Nuttx\n\nModified uint32_t casts of pointers to unsigned long for portability.\nIt otherwise breaks on x86_64.\n\nAdded _PX4_IOC to handle the conflice between _IOC on Linux and NuttX.\n\nRemoved use of px4::ok() because it cannot be used in a thread based\nimplementation. Changed to use px4::AppMgr which uses ok() on ROS.\n\nRemoved up_cxxinitialize.c from Linux build.\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/5084a61f0ed5ed0910d3067c927c2787ee69a574"},{"sha":"35e00f0ba1cc4a0156782d48151c26c502788116","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Added missing _PX4_IOC substitutions\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/35e00f0ba1cc4a0156782d48151c26c502788116"},{"sha":"672ba1a43b210c872f404ab03ac3e8cd5d2dd052","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Linux: support gcc-4.6 and c++0x\n\nGCC 4.6 is too old for -std=c++11 but it supports -std=c++0x\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/672ba1a43b210c872f404ab03ac3e8cd5d2dd052"},{"sha":"a68f025ff97c26ff8ed84c8e937bd7355379c15e","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Added support for other clang on Ubuntu 12.04\n\nA Ubuntu 12.04 compatible version of clang-3.4.1 can be downloaded from\nhttp://llvm.org/releases/3.4.1/clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04.tar.xz\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/a68f025ff97c26ff8ed84c8e937bd7355379c15e"},{"sha":"aeb65702a2389588be392849ff26f273526e2ea7","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Fixed support for clang 3.5\n\n\"clang-3.5 -dumpversion\" returns 4.2.1 as the GCC version.\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/aeb65702a2389588be392849ff26f273526e2ea7"},{"sha":"a25ae71f990aaf1aca999941ece3551f7b8ce269","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Linux: support ld.gold\n\nThe -Ur option is not supported in gold\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/a25ae71f990aaf1aca999941ece3551f7b8ce269"},{"sha":"0553a68a1a1a367cfa14d0e5db3b3663b30ae3b3","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Fixed usage string for hello app\n\nhello should have been hello_main\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/0553a68a1a1a367cfa14d0e5db3b3663b30ae3b3"},{"sha":"f3596e555b1a906e75365f526652edd7f09e49bb","author":{"email":"f1891e7fc976ae1bd489627e2954fb730751d728@gmail.com","name":"Mark Charlebois"},"message":"Added\n\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TSC21/Firmware/commits/f3596e555b1a906e75365f526652edd7f09e49bb"}]}