Andrew Tridgell
f9d43f4c3e
HAL_PX4: prevent loop() overruns using hrt
...
this ensures if loop() takes more than 1 second, the main task gets
its priority dropped until loop() completes
2013-01-24 15:04:57 +11:00
Andrew Tridgell
952df2fced
HAL_PX4: new buffered storeage driver for microsd cards
...
this does all IO in the timer thread, avoids writes that don't change
data, and does all writes in multiples of 128 byte chunks. This should
be about as friendly to SD cards as we can get.
2013-01-23 16:37:40 +11:00
Andrew Tridgell
2a10727902
HAL_PX4: run timer thread as SCHED_FIFO
...
this ensures it never yields to the main thread, which would break our
locking assumptions
2013-01-23 09:21:50 +11:00
Andrew Tridgell
06e63d3167
HAL_PX4: use pthread_yield() in main loop
...
this lowers the latency of the main loop somewhat
2013-01-23 07:36:13 +11:00
Andrew Tridgell
1188c9e335
HAL_PX4: added Util instance
...
this fixes hal.util->vsnprintf_P()
2013-01-21 17:10:42 +11:00
Andrew Tridgell
52f560a4c2
HAL_PX4: enabled AnalogIn driver
2013-01-21 13:56:57 +11:00
Andrew Tridgell
0655b1a925
HAL_PX4: fixed thread_running on failed startup
2013-01-20 22:13:20 +11:00
Andrew Tridgell
bd9c61562f
HAL_PX4: added -d command line option to app
...
allows control of serial device
2013-01-14 16:21:27 +11:00
Andrew Tridgell
7c7a215934
HAL_PX4: fixes for new Scheduler API
2013-01-11 12:25:26 +11:00
Andrew Tridgell
5ac23d358f
HAL_PX4: update for new i2cdriver interface
2013-01-07 11:05:30 +11:00
Andrew Tridgell
0fcc6d7389
HAL_PX4: added an RC Output driver
2013-01-04 22:25:36 +11:00
Andrew Tridgell
965fc8a9d1
HAL_PX4: enable uartB as GPS port
2013-01-04 19:41:50 +11:00
Andrew Tridgell
155fca8a4b
HAL_PX4: make APM sketches into daemons
...
this also moves uartA onto UART5, allowing ttyS0 for nsh
2013-01-04 11:14:35 +11:00
Andrew Tridgell
38bccee230
HAL_PX4: initial RCInput driver (overrides only)
2013-01-03 21:30:35 +11:00
Andrew Tridgell
d492b72a2c
HAL_PX4: use /dev/ttyS0 for uartA
...
this also changes txspace and available to use FIONWRITE and FIONREAD
2013-01-03 21:12:10 +11:00
Andrew Tridgell
ac7117245a
HAL_PX4: added a storage driver
...
stores 'eeprom' to a sdcard file
2013-01-03 19:35:05 +11:00
Andrew Tridgell
9373a4e5b3
HAL_PX4: added a uartA driver
...
uses stdin/stdout for IO
2013-01-03 11:03:05 +11:00
Andrew Tridgell
5a70f3becf
HAL_PX4: added a scheduler implementation
2013-01-02 21:39:26 +11:00
Andrew Tridgell
da10e68e87
HAL_PX4: added basic console driver (output only)
2013-01-01 18:19:18 +11:00
Andrew Tridgell
b41440175f
HAL_PX4: started on new PX4 HAL structures
2012-12-30 20:02:45 +11:00