Commit Graph

12 Commits

Author SHA1 Message Date
Trevor Joynson
ec2c230633 Remove conflicting optimization flags (-mcpu includes -march) (#10165) 2018-08-05 10:09:38 -04:00
Daniel Agar
1481015675 ROMFS cmake update dependency handling 2018-07-24 09:12:44 +02:00
Daniel Agar
73f825e4b3 cmake toolchain enable double fpu for cortex-m7 2018-06-30 19:57:51 +00:00
Matthias Grob
463217a5f9 Cygwin: repair NuttX build (#8737)
* Cygwin: repaired NuttX build after 1f63d85869
all the NuttX specific WINTOOL define handling was skiped in cmake Make.defs generation
The Nuttx build is makfile based and needs its cygwin treatment

Additionally the ${PX4_SOURCE_DIR}/src/include which was added through cmake needs path conversion

The two root causes for the special handling are:
- ARM GCC for Windows doesn't support cygwin paths passed as an argument
  so they need to be either relative or converted via cypath tool
- Symbolic links are totally different under Windows and because NuttX uses them extensively
  it has special handling scripts that need to be fed with the correct defines

* Cygwin: NuttX include paths all converted in Make.defs.in

differentiate between WINTOOL define (MSYS & cygwin) and cygwin using uname command:
- MSYS needs symbolic link handling for ARM GCC but no path conversion
- Cygwin needs both
2018-01-20 23:26:12 -05:00
Daniel Agar
01b3e6fd25 NuttX upgrade cmake wrapper (#7873)
* NuttX cmake

* px4_macros:Pass the stringified predicate as second arg to static assert

   CC_ASSERT mapes to the c++ static_assert or provides the same
   funtionality for c via the other macros. The c++ static assert
   takes 2 argumants the prdicate and a message. This fixes the
   lacking second argument.

* Updated nuttx and apps submodule to upstream nuttx 7.21+==master

   This is the latest uptake of upstream nuttx and apps.

* ROMFS generate with xxd instead of objcopy

* delete nuttx-patches

* NuttX update submodules to latest px4_nuttx-master

* fix nuttx apps and board dependency

* docker_run update to latest container 2017-08-29

* cmake ROMFS portable sed usage

* NuttX update submodules to latest px4_nuttx-master
2017-09-29 10:13:51 -04: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
James Goppert
55f963be07 Added ddd support. 2015-10-06 12:18:32 -04: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
James Goppert
bf18c84652 Cleanup of module building. 2015-09-09 23:00:58 -04:00