Pat Hickey
6218d7779f
AP_HAL: expose DF_LOGGING_FORMAT to user
12 years ago
Pat Hickey
3bca50f422
AP_HAL: BetterStream removes printf attribute from _printf_P
12 years ago
Pat Hickey
592d32ba47
AP_HAL: add reboot to scheduler
12 years ago
Pat Hickey
7049934a69
AP_HAL: AnalogIn channel gets scale, source gets set_pin
12 years ago
Pat Hickey
dbb6a2a0e5
AP_HAL: change uart0,1,2,3 to uartA,B,C
12 years ago
Pat Hickey
f543cede01
AP_HAL & AP_HAL_AVR: new SPI driver model
12 years ago
Pat Hickey
2a12392b9e
AP_HAL: export semaphore header
12 years ago
Pat Hickey
b2c44d8a81
AP_HAL: move AP_Semaphore to be part of the HAL
12 years ago
Pat Hickey
f4b5ef9fad
AP_HAL AnalogIn: gets constants for BOARD_VCC and NONE
12 years ago
Pat Hickey
47f555feac
AP_HAL_AVR: I2CDriver increments lockup count on any error
...
tridge made these changes to the "I2c" lib in a3589f2956
12 years ago
Pat Hickey
c9541d3b00
AP_HAL: added begin_atomic and end_atomic to scheduler
12 years ago
Pat Hickey
7908e41416
AP_HAL Storage: use a int type rather than pointer type for location
12 years ago
Pat Hickey
a399851ca2
AP_HAL: Depend on AP_Progmem rather than AP_Common to provide pstr
12 years ago
Pat Hickey
bae7e4b88e
AP_HAL Scheduler: simplify register_timer_process, min time for delay cb
12 years ago
Andrew Tridgell
87e300b119
AP_HAL: added double print functions
...
this copes with the fact that the compiler doesn't really know that
float and double are the same things
12 years ago
Pat Hickey
7480707f9e
AP_HAL: Add attach_interrupt method to GPIO
12 years ago
Pat Hickey
d422ab7806
AP_HAL: Extend Scheduler to support defered timer procs
...
* based on queue_proc from AP_PeriodicProcess
12 years ago
Pat Hickey
73ccfaf2d7
AP_HAL: implement DigitalSource abstraction
...
* GPIO's complement to AnalogSource
12 years ago
Pat Hickey
017f592eef
AP_HAL: add ConsoleDriver interface
12 years ago
Pat Hickey
36154559fc
AP_HAL: change txspace from a BetterStream method to a Stream method.
12 years ago
Pat Hickey
279a755ab3
AP_HAL: AnalogIn interface fleshed out
12 years ago
Pat Hickey
6671310399
AP_HAL Scheduler: interface has AP_PeriodicProcess functionality
12 years ago
Pat Hickey
af68c09591
AP_HAL Namespace: typedef Proc and TimedProc
12 years ago
Pat Hickey
187571cca9
AP_HAL Scheduler fixes & AP_HAL_AVR Scheduler changed to match
12 years ago
Pat Hickey
2adfc4fbc5
AP_HAL Scheduler add method register_delay_callback (unimplemented)
12 years ago
Pat Hickey
1d89419059
AP_HAL: Scheduler should use stdint types, conform names
12 years ago
Pat Hickey
06441b4117
AP_HAL_AVR Dataflash implemented, tested for APM2
...
* Need to get my APM1 board from home to test it on there...
12 years ago
Pat Hickey
34ec5081e2
AP_HAL: Dataflash interface populated
12 years ago
Pat Hickey
3b697fe299
AP_HAL: rename Log to Dataflash
...
* I'd love to build a proper abstraction for logging, but I don't have the
time to do so right now.
* The dataflash libs need to be pushed into the AP_HAL_AVR anyway, so I'll
do that now and replace the interface with a better logging driver later.
12 years ago
Pat Hickey
5d2327f52f
AP_HAL: Don't need a separate Console class, BetterStream will do.
12 years ago
Pat Hickey
261ef791a7
AP_HAL Storage: trivial interface and implementation wraps avr/eeprom funcs
12 years ago
Pat Hickey
b0d8f43111
AP_HAL_AVR: Implemented SPIDriver based on Arduino, but it doesn't work yet
...
* I don't have an APM2.5 board I can easily connect a logic analyzer to see
the traffic on the bus...
12 years ago
Pat Hickey
5445ad02f8
AP_HAL_AVR: RCOutput tested implementation for APM2
12 years ago
Pat Hickey
acfbddef0d
AP_HAL: proper RCOutput interface specification
12 years ago
Pat Hickey
fb6abbe191
AP_HAL: proper RCInput interface specification
12 years ago
Pat Hickey
db76562cd5
AP_HAL: global rename PPMInput -> RCInput, PWMOutput -> RCOutput
...
* for clarity. nobody cares that PPM/PWM is the implementation, and with
sbus etc it might not be
12 years ago
Pat Hickey
46f31aa69c
AP_HAL_AVR: Implement I2CDriver based on libraries/I2C
...
* Removed a ton of code we don't need from that driver, which should make
writing new drivers easier.
12 years ago
Pat Hickey
cae931a93a
AP_HAL_AVR UARTDriver does basic hello world printing
...
* will import more complex tests next
12 years ago
Pat Hickey
e9c5f07db2
AP_HAL: Working GPIO interface & implementation
...
* actually, tested the output only... gotta do input next
12 years ago
Pat Hickey
ea8242ace1
AP_HAL: Add scheduler interface, move Arduino init code to implementation
12 years ago
Pat Hickey
18329b1a5d
AP_HAL: add virtual init method to HAL class
12 years ago
Pat Hickey
8eb9b39a44
AP_HAL_AVR move library classes to their own AP_HAL_AVR namespace
12 years ago
Pat Hickey
afd1f36400
AP_HAL: add BetterStream, Stream, and Print interfaces
...
* BetterStream Means AP_HAL depends on AP_Common, for now, in order to have
the AVR specific pgm_char_t defined.
I'll need to factor that out in the future but for now it can stay
12 years ago
Pat Hickey
29a425c0dd
AP_HAL: import utility Print, Stream, and BetterStream headers
12 years ago
Pat Hickey
dc03b1190f
AP_HAL: Stub implementations of pure virtual AP_HAL classes
12 years ago