Andrew Tridgell
af7381e9e0
AP_HAL: added register_io_process()
...
this is used to register a low priority IO task. Used for file IO in
DataFlash_File.cpp
2013-04-17 21:33:50 +10:00
Andrew Tridgell
8e2a20bea8
HAL_PX4: enable ttyACM0 as main console, ttyS1 as telemetry port
2013-02-18 13:55:33 +11:00
Andrew Tridgell
02b4ecc273
HAL_PX4: get RC input from PX4IO board
...
this allows us to support DSM and SBUS receivers
2013-01-27 12:52:14 +11:00
Andrew Tridgell
8f2f4b1bc5
HAL_PX4: use write() to /dev/pwm_output for servo output
...
this lowest the cost of PWM output a lot, but relies on the new I2C
based IO firmware
2013-01-25 20:44:36 +11:00
Andrew Tridgell
70227d5d93
HAL_PX4: added scheduler performance counters
2013-01-24 15:04:57 +11:00
Andrew Tridgell
966b9b9b9c
HAL_PX4: format panic messages with a newline
2013-01-23 16:54:44 +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
6ffa18fa61
HAL_PX4: rewrite UART driver to be much more efficient
...
this does the IO in the timer thread, and uses buffers in the main
task to avoid system call costs in the flight code.
The cost of PX4 read and write system calls is quite high - about 10
to 15 usec. We can't afford to pay that per byte
2013-01-22 21:22:01 +11:00
Andrew Tridgell
39e28d48c2
HAL_PX4: switched scheduler to use a pthread
...
this allows the timer tasks to access file descriptors in the main APM
task, which makes writing PX4 device drivers much easier
2013-01-21 13:54:09 +11:00
Andrew Tridgell
7c7a215934
HAL_PX4: fixes for new Scheduler API
2013-01-11 12:25:26 +11:00
Andrew Tridgell
5829d44a22
HAL_PX4: disable failsafe handler
...
this won't work until we can set RC output values in timers
2013-01-04 22:26:16 +11:00
Andrew Tridgell
9f423a24ad
HAL_PX4: yield CPU in delay()
...
this allows other apps to run
2013-01-04 12:34:35 +11:00
Andrew Tridgell
1e69b88261
HAL_PX4: use write() in panic()
...
this allows panic from the UARTDriver
2013-01-03 21:11:37 +11:00
Andrew Tridgell
b30fa6535b
HAL_PX4: support reboot
2013-01-03 19:34:36 +11:00
Andrew Tridgell
c6305b5876
HAL_PX4: rework Scheduler using hrt calls
...
thanks to Julian Oes for the suggestion
2013-01-03 13:15:57 +11:00
Andrew Tridgell
5053fb8acc
HAL_PX4: implement atomic operations
2013-01-02 21:45:17 +11:00
Andrew Tridgell
5a70f3becf
HAL_PX4: added a scheduler implementation
2013-01-02 21:39:26 +11:00