Commit Graph

43 Commits

Author SHA1 Message Date
Julian Oes f8a1631077 DriverFramework/cmake_hexagon: use defines with DF
This changes the following defines:

__QURT -> __DF_QURT
__RPI -> __DF_RPI
__EDISON -> __DF_EDISON
__BEBOP -> __DF_BEBOP
__LINUX -> __DF_LINUX
2016-10-18 08:07:14 +02:00
Hidenori 211c2b9ca6 Rename clang toolchain file 2016-08-18 16:11:05 +02:00
Hidenori a8d3b15d73 RPi: add clang & clang-check support 2016-08-18 16:11:05 +02:00
Julian Oes fa614a3cc1 RPi: just use RPI instead of RPI2.
The reason for this change is that RPi2 and RPi3 are compatible, and
hopefully all differences coming up can be resolved without ifdefs but
at runtime.
2016-07-16 15:51:00 +01:00
Julian Oes eea102f63d cmake: POSIX/RPi build don't need patch/genromfs (#4733) 2016-06-05 12:02:13 +02:00
Kabir Mohammed e185352f56 Add RPI2 definitions for DF 2016-05-19 15:41:50 +02:00
Kabir Mohammed 529460d573 Fix RPi2 build system 2016-05-19 15:41:50 +02:00
Kabir Mohammed 4ed112b259 Remove old toolchain 2016-05-09 16:13:01 +02:00
Mark Charlebois 169259059b Updated cmake_hexagon and all the associated files that use it
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-04-18 23:40:56 +02:00
Lorenz Meier 07d926bab8 Show fatal error for tools missing 2016-04-18 09:27:58 +02:00
Daniel Agar f754119ff6 cmake - I don't care what you couldn't find unless you need it 2016-04-17 16:27:05 -04:00
Mark Charlebois caa94d58a6 Manually integrated Jim's changes from integrate2_jim branch
Signed-off-by: Jim Wilson <jywilson99@hotmail.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois f25613ebeb Removed extra returns
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 473fe773b4 Provide impelmentation of px4muorb_KraitRpcWrapper
The Terminate function is not properly implemented yet.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois ba282bd30d Require HEXAGON_ARM_SYSROOT for arm-linux-gnueabihf
The Toolchain-arm-linux-gnueabihf.cmake is currently used for
the SnapdragonFlight Apps processor.

The sysroot is required for cross building for Ubuntu 14.04 armhf.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 014f15d8b0 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois 0c42c469af Removed extra returns
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois 01d0543e0a Provide impelmentation of px4muorb_KraitRpcWrapper
The Terminate function is not properly implemented yet.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois 252eca9fb5 Require HEXAGON_ARM_SYSROOT for arm-linux-gnueabihf
The Toolchain-arm-linux-gnueabihf.cmake is currently used for
the SnapdragonFlight Apps processor.

The sysroot is required for cross building for Ubuntu 14.04 armhf.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois 9f3bf8e9f4 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois a8c49809fa Fixes for other qurt builds to use QURT_BUNDLE
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-01-10 20:54:26 +01:00
Lorenz Meier 6c3c18b7c9 Robustify toolchain string matching 2015-10-25 14:35:46 +01:00
Mark Charlebois 01ccbd8886 qurt: added HEXAGON_TOOLS_ROOT variable
The environment variable HEXAGON_TOOLS_ROOT must be set to the location
of the installed HexagonTools. This could be a global install at
/opt/HEXAGON_Tools/7.2.10/Tools or it could be a personal install
${HOME}/Qualcomm/HEXAGON_Tools/7.2.10/Tools.

The default install path used by the installer is exported in the Vagrantfile.

There is still an issue that the hexagon linker fails on mmap of the shared folder.
If the shared folder was mounted via NFS for Linux and MacOS the problem would be
resolved.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-23 20:52:03 -07:00
Lorenz Meier bf09c46c2f Fix Hexagon toolchain detection for default installer 2015-10-23 23:28:26 +02:00
Mark Charlebois 4b1e4e63f0 eagle: Added posix_eagle_release to Makefile
Enable build of posix_eagle_release.
Added path to ARM cross compiler in qrlsdk install.
Fixed warnings in Toolchain-arm-linux-gnueabihf.cmake

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-23 09:06:18 +02:00
Mark Charlebois 0e967d0874 qurt: Change to Hexagon 7.2.10 compiler
Switched to 7.2.10 since the Linux version of this is available.

Added -DHAS_C9X flag to fix isses with undefined math functions
when using hexagon-clang++.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-22 10:07:22 -07:00
Mark Charlebois 938798f4db Removed qurt patch for Eigen and updated eigen commit
The patches for Hexagon support are in the eigen repo so
the patch can now be removed.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-20 08:48:11 +02:00
Daniel Agar e4a78124d8 posix add -Wno-varargs for OS X 2015-10-06 18:41:48 -04:00
Daniel Agar 644a0cd30c adjust attitude_estimator_ekf for posix_sitl_simple 2015-10-06 18:28:30 -04:00
James Goppert 55f963be07 Added ddd support. 2015-10-06 12:18:32 -04:00
Mark Charlebois 3f758490a4 QuRT: move to HexagonTools 7.4 toolchain
Some subsystems error on frame size without the included patches.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-24 15:16:01 -07:00
Mark Charlebois 1abd61303f qurt: Added patch for Eigen to use latest version
Updated to 7.2 Hexagon toolchain

Fixed issuse with stack usage

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-24 15:16:00 -07:00
Lorenz Meier bc8f4cf47f CLANG: Add more errors 2015-09-20 10:26:11 +02:00
Lorenz Meier 78f698a642 Merge branch 'cmake-2' of github.com:PX4/Firmware into cmake-2-pthread 2015-09-20 00:52:41 +02:00
Lorenz Meier 16717dc2d4 CLANG: Make deprecated warnings errors 2015-09-20 00:30:49 +02:00
Lorenz Meier a9f82c0537 CLANG: Improve compiler flags 2015-09-20 00:26:30 +02:00
James Goppert 9f5edb32bf Made debugger tools optional. 2015-09-19 11:52:35 -04:00
James Goppert 4830c7c9c1 Added io debug target. 2015-09-19 10:39:54 -04:00
James Goppert 676a3d230c Work on px4io firmware building. 2015-09-13 23:20:00 -04:00
James Goppert 3203f9ac9e Improvements to make support, added debug target. 2015-09-13 14:39:19 -04:00
Lorenz Meier 4bc44841f6 CMAKE: Move flags to general location, disable sections for linker on Mac OS 2015-09-12 11:25:48 +02:00
Mark Charlebois 0047b38c54 cmake: added Toolchain-arm-linux-gnueabihf
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-10 19:52:23 -07:00
James Goppert bf18c84652 Cleanup of module building. 2015-09-09 23:00:58 -04:00