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
0383324a89
Merge pull request #3214 from mcharleb/driver_framework_latest
...
Driver framework latest
2015-11-19 09:02:03 -08:00
Mark Charlebois
054b5420a6
Code style fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:35:16 -08:00
Mark Charlebois
169a873457
Fix compiler complaint about bogus uninitialized variable
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:33:38 -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
Lorenz Meier
bb87dafdff
Merge pull request #3206 from mcharleb/driver_framework_latest
...
Added changes to sensors.cpp for DriverFramework
2015-11-18 22:23:39 +01:00
Mark Charlebois
af155b8e59
Fixed SITL build
...
The SITL build seems to run correctly now
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 13:02:39 -08:00
Mark Charlebois
b8c40ecb6b
Enabled DriverFramework drivers for SITL build
...
The code here works only for SITL at the present time.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 11:58:21 -08:00
Mark Charlebois
d2cacb9bc6
Added changes to sensors.cpp for DriverFramework
...
This only works for DF based builds (not NuttX).
NuttX is not yet ported to DF.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-17 23:17:52 -08:00
Mark Charlebois
0e1ddff5b7
Merge pull request #3205 from mcharleb/driver_framework_latest
...
Driver framework latest
2015-11-17 19:37:11 -08:00
Mark Charlebois
238db8c6d7
Moved IOCTL definitions to DevIOCTL.h in DriverFramework
...
Removed sched.h from platform/qurt since it is now in DSPAL.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-17 19:30:51 -08:00
Mark Charlebois
0544d06ad0
Changed dspal submodule to come from ATLFlight
...
The dspal headers were moved to a github organization.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-17 16:13:42 -08:00
Mark Charlebois
64a05f43bd
Merge pull request #3194 from mcharleb/driver_framework_latest
...
Set flags for building the proper DriverFramework target
2015-11-16 23:46:48 -08:00
Mark Charlebois
8882e10278
Updated DriverFramework
...
Fixed static function that was not marked static
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 23:41:53 -08:00
Mark Charlebois
8a6b719897
Updated DriverFramework
...
Fixed failure due to float promotiion to double
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 23:35:39 -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
Mark Charlebois
9afec98740
Merge pull request #3191 from mcharleb/driver_framework_latest
...
Updated to latest DriverFramework
2015-11-16 21:10:00 -08:00
Mark Charlebois
62eba58fb4
Code format fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 17:46:22 -08:00
Mark Charlebois
befec98e17
Fixed adcsim
...
Was missing call of base class init().
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 17:42:33 -08:00
Mark Charlebois
b6963be9eb
Fixed gyrosim
...
Was not calling base class init()
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 17:35:54 -08:00
Mark Charlebois
618626103f
Use DevMgr::getNextDevicePath()
...
Also, a fix for number of args passed for accelsim.
Updated to newest version of DriverFramework.
DF drvices show up now in list_devices
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 16:57:57 -08:00
Mark Charlebois
3f20d78dfe
Fixed code style
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 14:01:39 -08:00
Mark Charlebois
dbe3b0e52b
Re-enabling code to handle DF framework
...
Updated to latest DriverFramework and changed ioctl args to
unsigned int from void *.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 13:51:39 -08:00
Mark Charlebois
40b488d693
Updated to latest DriverFramework
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 11:59:30 -08:00
Lorenz Meier
1fa20819d8
sdlog2: Fix string overflow in file name
2015-11-14 11:18:56 +01:00
Lorenz Meier
a26d7c35cd
Baro sim: use right IOCTL API
2015-11-14 11:17:28 +01:00
Lorenz Meier
cd7834292a
MAVLink log: Use right context for checking
2015-11-14 11:17:10 +01:00
Lorenz Meier
65cf8caef2
POSIX Device: Fix IOCTL interface
2015-11-14 11:16:42 +01:00
Lorenz Meier
fc0ff0d2f6
Baro sim: Initialize struct
2015-11-14 10:31:37 +01:00
Lorenz Meier
fa2b1ffa14
Tone alarm: IOCTL interface fix
2015-11-14 00:09:26 +01:00
Lorenz Meier
fd0584e95d
Gyro sim IOCTL fix
2015-11-14 00:08:01 +01:00
Lorenz Meier
6c43b6c964
Baro sim: fix baro ioctl interface
2015-11-14 00:06:18 +01:00
Lorenz Meier
b05294d4b4
Accel sim: Fix ioctl interface
2015-11-14 00:05:45 +01:00
Lorenz Meier
c5c783bad9
Update driver framework
2015-11-14 00:04:32 +01:00
Lorenz Meier
4c47fa70a8
Airspeed: No module file
2015-11-13 23:58:14 +01:00
Lorenz Meier
df08ee52cf
Tone alarm: no module file
2015-11-13 23:57:57 +01:00
Lorenz Meier
aac1afd83d
Gyro sim: No module file
2015-11-13 23:57:23 +01:00
Lorenz Meier
72bd43d972
GPS sim: no module file
2015-11-13 23:57:09 +01:00
Lorenz Meier
50820157ce
Baro sim: No module file
2015-11-13 23:56:51 +01:00
Lorenz Meier
3607d80de2
ADC sim: no module file
2015-11-13 23:56:38 +01:00
Lorenz Meier
643fccb014
Accel sim: No module file
2015-11-13 23:56:23 +01:00
Lorenz Meier
a3f2c7ac13
Baro sim: Code style
2015-11-12 15:32:48 +01:00
Lorenz Meier
b50c332c76
Accel sim: Code style
2015-11-12 15:32:40 +01:00
Lorenz Meier
cc8f159bcc
REVERT THIS COMMIT LATER: Temporarily disable the device listing
2015-11-12 15:31:38 +01:00
Lorenz Meier
260eaa9d95
Update driver framework
2015-11-12 15:29:09 +01:00
Lorenz Meier
dda6ec3d5f
Fix missing errno header
2015-11-12 15:28:26 +01:00
Lorenz Meier
5552a98de4
Updated driver framework
2015-11-12 15:24:50 +01:00
Lorenz Meier
f6798c6b85
Gyro sim: Fix merge fail
2015-11-12 15:24:38 +01:00
Lorenz Meier
437133aac4
Merged driver_framework from mcharleb
2015-11-12 15:20:15 +01:00