Andrew Tridgell
4cff98dcae
AP_HAL: added AP_HAL_BOARD_DRIVER define
...
this makes example sketches easier to read
12 years ago
Pat Hickey
d2f7402243
AP_HAL: add bulk transaction to SPIDeviceDriver
12 years ago
Pat Hickey
c86004d676
AP_HAL: Add panic method to scheduler
12 years ago
Pat Hickey
eda450a166
AP_HAL: I2CDriver bug fixed for pure virtual base class
12 years ago
Pat Hickey
b79bd01761
SPIDriver: namespace explicit to better permit copypasta
12 years ago
Pat Hickey
527dfb5af4
AP_HAL: remove EmptyUARTDriver
12 years ago
Pat Hickey
d18b9feaa1
AP_HAL: add HAL_BOARD_EMPTY to AP_HAL_BOARDS
12 years ago
Andrew Tridgell
e10e3ee3be
AP_HAL: fixed argv declaration to match getopt()
12 years ago
Andrew Tridgell
18824c7ef5
AP_HAL: expose argc/argv in hal.init()
...
used for SITL port
12 years ago
Pat Hickey
fa02ad7d4c
AP_HAL: preprocessor enum of HAL_BOARD
12 years ago
Pat Hickey
9cee6cc941
AP_HAL: remove Dataflash driver
12 years ago
Pat Hickey
cb38651df5
AP_HAL: RCInput has overrides
12 years ago
Pat Hickey
8879cbbc69
AP_HAL: Console uses only sized int types
12 years ago
Pat Hickey
de4adefe4e
AP_HAL: AnalogIn uses only sized int types
12 years ago
Pat Hickey
243590bb73
AP_HAL: UARTDriver & Stream uses only sized int types
...
Signed-off-by: Pat Hickey <pat@galois.com>
12 years ago
Pat Hickey
709869f8ce
AP_HAL: use sized ints in GPIO
12 years ago
Pat Hickey
ca4bc8d760
AP_HAL: AnalogIn read changed to read_latest and read_average
12 years ago
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