15166 Commits

Author SHA1 Message Date
Lorenz Meier
8eb8909a3c Merge branch 'master' of github.com:PX4/Firmware into px4io-adc-integration-battery-msg 2013-01-06 00:50:51 +01:00
Simon Wilks
0a89ab7075 Send rc channel ordering and channel attributes from FMU to IO 2013-01-05 22:13:12 +01:00
Andrew Tridgell
375d3c14d7 increase the UART buffer sizes to 256
The most critical one is the GPS serial port receive buffer size,
which needs to be at least 128 to support the UBLOX protocol, but it
seems a good idea for people running a FMU without a IO board to
increase the UART buffer sizes generally
2013-01-06 06:33:44 +11:00
Andrew Tridgell
318609bf59 fixed PWM_SERVO_GET
this was using the wrong channel
2013-01-06 06:31:37 +11:00
Andrew Tridgell
0134186420 fixup rate 2013-01-06 06:31:00 +11:00
Andrew Tridgell
219ab05a70 added PWM_SERVO_SET_UPDATE_RATE ioctl
this allows apps to set the PWM update rate. APM needs this to honor
the user configurable PWM rate setting for copters.
2013-01-06 06:29:28 +11:00
patacongo
362d3bb5d2 Extend tools/configure.c for better compatibility with configure.sh
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5481 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 16:07:37 +00:00
patacongo
3e91a8a290 Clean up a few tools/ build issues
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5480 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 14:57:43 +00:00
Simon Wilks
1b81724ef7 Manually remap the channel assignements for testing. 2013-01-05 15:46:26 +01:00
patacongo
470c2e71df Correct some errors in the LPC17xx SYSCON register bit definitions (from Rommel Marcello)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5479 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 13:19:53 +00:00
px4dev
69cdab9afc Fix a typo that caused PWM_SERVO_GET ioctls to fail on the FMU PWM outputs. 2013-01-04 23:41:21 -08:00
px4dev
91ca80e634 Fix the handling of FIONREAD/FIONWRITE; thanks Tridge. 2013-01-04 21:28:26 -08:00
patacongo
5c572a3cb5 Add tools/configure.c and configure.bat
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5478 42af7a65-404d-4744-a932-0658087f49c3
2013-01-04 21:37:31 +00:00
Andrew Tridgell
920608bf36 added vdprintf() library function 2013-01-05 07:58:50 +11:00
patacongo
b66a46decc Working on configure.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5477 42af7a65-404d-4744-a932-0658087f49c3
2013-01-04 16:50:15 +00:00
patacongo
c504d9e32e Renaming some files in tools/
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5476 42af7a65-404d-4744-a932-0658087f49c3
2013-01-04 16:00:38 +00:00
patacongo
19752b4453 The default should be CONFIG_LIB_KBDCODEC=n
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5475 42af7a65-404d-4744-a932-0658087f49c3
2013-01-03 16:18:44 +00:00
patacongo
60bd93728b Fix bad conditional in nuttx/libc/misc/Make.defs
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5474 42af7a65-404d-4744-a932-0658087f49c3
2013-01-03 15:45:57 +00:00
patacongo
8d75785fad STM32 FLASH changes from Freddie Chopin
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5473 42af7a65-404d-4744-a932-0658087f49c3
2013-01-03 13:39:16 +00:00
Andrew Tridgell
73b787a8dd serial: fixed up FIONREAD and FIONWRITE
the device ioctl returns -ENOTTY when it hasn't handled the command
2013-01-03 20:42:36 +11:00
px4dev
3916230d8f Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only. 2013-01-03 19:35:44 +11:00
px4dev
e787fa5bce Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only. 2013-01-03 00:33:22 -08:00
px4dev
e7723e0d52 Force a configure before compiling in order to work around more NuttX/config dependency issues. 2013-01-02 22:13:30 -08:00
Julian Oes
e4bfd78847 Attention: flipped the yaw direction of multirotors in order to be compatible to APM 2013-01-02 13:29:33 -08:00
patacongo
d0d3328d9c Misc fixes for LM3S kconfig-frontends build
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5472 42af7a65-404d-4744-a932-0658087f49c3
2013-01-02 14:02:07 +00:00
Andrew Tridgell
8ffba22771 build: allow for external apps via EXTERNAL_APPS
this is used by the APM build
2013-01-02 17:39:12 +11:00
Andrew Tridgell
890b1ac068 build: cope better with absolute paths 2013-01-02 17:38:52 +11:00
Andrew Tridgell
0fff8aa23b GPS: added comment on units for variance 2013-01-02 17:38:28 +11:00
Andrew Tridgell
63464a8959 mavlink: fixed build warning 2013-01-02 17:37:55 +11:00
px4dev
3f42006696 Don't re-run the configuration phase every time we build; NuttX will re-build just about everything if you do. 2013-01-01 20:35:43 -08:00
px4dev
b3f037e876 Forgot to save this one; more build system tweaks. 2013-01-01 20:35:07 -08:00
px4dev
eaf1d8063c Build system updates to match the NuttX merge. 2013-01-01 19:39:17 -08:00
px4dev
dc50d96b5d Merge commit '0f2decb70f505b108999fcdb80e89d7aae6760ce' into nuttx-merge-0f2decb 2013-01-01 15:33:39 -08:00
patacongo
5d6b2017a0 All lm3s6965-ek configurations converted to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5471 42af7a65-404d-4744-a932-0658087f49c3
2013-01-01 16:34:12 +00:00
patacongo
41731a71ef All lm3s6965-ek configurations converted to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5470 42af7a65-404d-4744-a932-0658087f49c3
2013-01-01 16:33:47 +00:00
patacongo
29da58a677 Updates from Darcy Gong for UG-2864SWEG01 OLED
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5469 42af7a65-404d-4744-a932-0658087f49c3
2013-01-01 14:55:01 +00:00
Lorenz Meier
803352e722 Fixed stupid copy/paste typo 2013-01-01 13:39:00 +01:00
Lorenz Meier
4eb7df6ff5 Introduced battery_status uORB topic, changed sensors app to publish to it, extended px4io driver to publish to it. Both do only so if the battery voltage is reasonably high, at 3.3V 2013-01-01 13:30:24 +01:00
px4dev
d93fda20fd Add ADC measurements and reporting to PX4IO, including calibration for the battery input. 2012-12-31 21:06:26 -08:00
px4dev
9be1f99935 Add trivial ADC support to PX4IO. 2012-12-31 19:41:18 -08:00
px4dev
bd2f6b58e6 Configure ADC GPIOs on IO 2012-12-31 19:40:41 -08:00
px4dev
b167912b1b Enable the temperature sensor channel for F2/F4 devices. 2012-12-31 18:31:37 -08:00
px4dev
bc432b1feb Cleanup and add support for multiple channels. 2012-12-31 17:06:30 -08:00
Julian Oes
805c08815e The multirotor mixer return 0 instead of the number of channels, my Hex is flying now (not reliably now, random flips 2012-12-31 16:12:55 -08:00
Julian Oes
8d1b1354e1 A wrong parameter name in commander was responsible for manual override always ok 2012-12-31 12:31:31 -08:00
patacongo
167854a980 Remove non-functional WLAN examples, configurations
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5468 42af7a65-404d-4744-a932-0658087f49c3
2012-12-31 13:44:36 +00:00
px4dev
22f5a1dc94 First cut at a simple® ADC driver built on our driver framework. 2012-12-31 01:30:57 -08:00
px4dev
476db46869 kill off the NuttX ADC driver config; we're not going to use it 2012-12-31 01:26:58 -08:00
Lorenz Meier
0cc723dbc3 Fixed connection loss / failsafe detection, added decoding of two switch channels if IO supports 18 RC channels. Loss is tested, switch channels are not. 2012-12-31 09:21:44 +01:00
Lorenz Meier
5ba54cd921 Added rc mode docs 2012-12-31 02:22:57 +01:00