Commit Graph

55 Commits

Author SHA1 Message Date
Daniel Agar 7badf645b3 fix missing stack check instrument_flags (#4593) 2016-05-20 21:17:54 -04:00
Daniel Agar 5da9e7e653 cmake nuttx copy with rsync 2016-05-19 21:49:34 +02:00
Daniel Agar b0b2cfaa65 cmake nuttx stackcheck fix for current master 2016-05-19 21:49:34 +02:00
David Sidrane 4e26c7fcd4 Use the value of nuttx CONFIG_ARMV7M_STACKCHECK to configure PX4 build for HW stack checking 2016-05-19 21:49:34 +02:00
David Sidrane d7daab9620 Move the build log to nuttx directory 2016-05-11 14:59:36 +02:00
Mark Charlebois 8cb8987bcd Use DriverFramework as a PX4 module (#4415)
* Use DriverFramework as a PX4 module

Targets wanting to use DriverFramework must add

   lib/DriverFramework/framework

to their config file.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Removed spurious code

No need to add if check before for loop

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Added DriverFramework to NuttX configs

Added lib/DriverFramework/firmware to nuttx configs

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Updated src/lib/DriverFramework

* Removed DF_TARGET and __DF_${OS} defines

These are now handled inside DriverFramework

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Updated DriverFramework

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Restored __DF_${OS}

The include files in DriverFramwork need to know the target OS.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-03 10:03:28 +02:00
Daniel Agar 0b54bb99f9 NuttX quiet build
cmake combine NuttX copy and export

-NuttX wasn't recopying if it fails to compile
2016-04-17 16:02:28 -04:00
James Goppert 967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
Felix Hu bd580e09bf supports MindPXv2 borad which is a product from AirMind. 2016-03-30 19:45:39 +02:00
lchish 6e1f54e2ff Add missing stm32f4discovery make targets 2015-12-29 11:57:29 +01:00
Lorenz Meier f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
David Sidrane a67097731a Renamed pax4fmu-v3 to pax4fmu-v4 2015-11-28 09:13:15 +01:00
David Sidrane f3b7585a89 Wip FMUV3 2015-11-28 09:13:15 +01:00
Mark Charlebois c4438bf50a Fix to move DriverFramework includes to common
Nuttx now gets to link phase. But there are two unresolved symbols:

arm-none-eabi/include/c++/4.7.4/bits/basic_string.h:1128: undefined reference to `std::string::assign(char const*, unsigned int)'
arm-none-eabi/include/c++/4.7.4/bits/stl_list.h:1534: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 09:35:18 -08:00
Mark Charlebois 7111e9d4c9 Removed -lstdc++ for nuttx build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:18:22 -08:00
Mark Charlebois 52957ab0cc Don't add DriverFramework dir for NuttX
I am unable to get the nuttx build dependencies set up so that
it builds the export dir before it builds df_driver_framework.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:14:48 -08:00
Mark Charlebois 1bcb93180b Set flags for building the proper DriverFramework target
The DF_TARGET cmake variable needs to be set to (linux, darwin, qurt, nuttx)
The define __DF_LINUX or __DF_QURT needs to be set.
The __DF_DARWIN target is untested

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 23:24:59 -08:00
Daniel Agar e2fda01545 nuttx only show stderr
-failures will still be displayed, but we don't need to see normal
successful compile output
2015-10-14 12:19:39 -04:00
Daniel Agar 75b3564789 cmake better nuttx copy 2015-10-14 12:13:33 -04:00
Daniel Agar a45fe63430 bin_to_obj.py fix windows regex size match 2015-10-14 01:56:18 -04:00
Daniel Agar 3f0653e824 bin_to_obj.py don't use full path to visibility.h 2015-10-14 01:56:18 -04:00
Daniel Agar 2c1e999e1a cmake remove rsync dep 2015-10-14 01:56:15 -04:00
Lorenz Meier 428297fd6f Revert "Remove rsync dependency"
This reverts commit 5b9a19aa65.
2015-10-10 22:25:14 +02:00
Lorenz Meier 5b9a19aa65 Remove rsync dependency 2015-10-10 17:45:31 +02:00
Thomas Gubler 2bbb1ad35f python3 fixes 2015-10-10 11:03:04 +02:00
Daniel Agar f13daa7314 cmake fix NuttX copy
-on the 2nd run this was copying NuttX to NuttX/Nuttx
2015-10-06 18:28:30 -04:00
Daniel Agar 330bacd229 cmake nuttx slightly quieter 2015-10-06 18:28:29 -04:00
Daniel Agar 7749d1cb1c cmake fix export paths for ninja
-make nuttx build a bit quieter
2015-10-06 18:28:29 -04:00
James Goppert 4dd59cd09a Fixed param dependencies. 2015-10-06 15:20:38 -04:00
Lorenz Meier d0ca0ff837 Added FMUv1 config 2015-10-03 17:25:49 +02:00
James Goppert 501f3cf2df Fix for tracking nuttx config changes. 2015-09-20 10:29:13 +02:00
James Goppert 2101ffbeca Removed extra print message. 2015-09-19 18:15:17 -04:00
James Goppert bd33d546e3 Fixed extra dir. 2015-09-19 18:10:57 -04:00
James Goppert 7b6dff7cdc Fix for romfs generation. 2015-09-19 17:57:54 -04:00
James Goppert cd98cfe555 cmake: ROMFS build overhaul. 2015-09-19 13:44:02 -04:00
James Goppert 8165cd2171 Fixed romfs dependency. 2015-09-19 11:36:20 -04:00
James Goppert cc053bffcd Added px4io bin to ROMFS. 2015-09-19 09:58:10 -04:00
James Goppert 676a3d230c Work on px4io firmware building. 2015-09-13 23:20:00 -04:00
James Goppert a58416235d Re-enable autostart. 2015-09-13 17:35:15 -04:00
James Goppert 3203f9ac9e Improvements to make support, added debug target. 2015-09-13 14:39:19 -04:00
Lorenz Meier c19fa0c822 Revert "Revert "Disable autostart for now so usb works.""
This reverts commit 998acf4d08.
2015-09-12 12:06:45 +02:00
Lorenz Meier 998acf4d08 Revert "Disable autostart for now so usb works."
This reverts commit b2c67a4cf9.
2015-09-12 09:53:59 +02:00
James Goppert b2c67a4cf9 Disable autostart for now so usb works. 2015-09-12 02:22:27 -04:00
James Goppert ad321927e9 Added install target for nuttx. 2015-09-11 06:38:39 -04:00
James Goppert 0e8cc821a9 More config cleanup. 2015-09-11 00:15:33 -04:00
James Goppert 07851b79c2 Work on config only for cmake arguments. 2015-09-10 23:43:59 -04:00
James Goppert 2c33f4921c Add makefile magic to simplify maintenance. 2015-09-10 21:15:55 -04:00
James Goppert 6966331a88 Working on param xml gen. Haven't updated qurt config yet. 2015-09-10 17:44:27 -04:00
James Goppert 149deeb11f Fixed autostart. 2015-09-10 14:38:09 -04:00
James Goppert 34eeee9fa9 Added defautl config for nuttx, nuttx now works over usb. 2015-09-10 13:57:54 -04:00