Gustavo Jose de Sousa
a80ae0cde3
AP_HAL_AVR: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-19 20:42:35 +09:00
Andrew Tridgell
273bc230e6
HAL_AVR: renamed pins_arduino_mega.c to .cpp
...
this fixes a compiler hang on at least one Ubuntu platform. May be a
problem building empty C files?
It also makes our build more consistent
2014-07-14 09:44:36 +10:00
Andrew Tridgell
60122f9877
AP_HAL: moved printf implementation from AP_HAL_AVR to AP_HAL
...
this gives a common printf implementation on all boards, which
simplifies testing, and also simplifies porting to new boards
2013-09-21 13:28:46 +10:00
Andrew Tridgell
16a0dfc38c
HAL_AVR: changed to C implementation of float formatting
...
Many thanks to Soren Kuula for this work!
2013-09-21 11:16:08 +10:00
Pat Hickey
563ca3f79b
AP_HAL_AVR: expose gpio pin 70 for mpu6000 interrupt input
2012-12-22 09:11:14 +11:00
Pat Hickey
1ed6a49a7a
AP_HAL_AVR: implementation for each BetterStream vprintf
...
* had to rename the utility vprintf function calls to print_vprintf
to make the naming work.
2012-12-20 14:53:22 +11:00
Pat Hickey
5ab4e57673
AP_HAL_AVR: rename vprintf function to print_vprintf
...
* because it takes an AP_HAL::Print
2012-12-20 14:53:22 +11:00
Pat Hickey
1b0bde2779
AP_HAL_AVR: rename vprintf files to print_vprintf
2012-12-20 14:53:22 +11:00
Andrew Tridgell
562b6a20c9
AP_HAL_AVR: conditionally build AVR specific helper code
2012-12-20 14:51:38 +11:00
Pat Hickey
de81267bd5
AP_HAL_AVR: utility/vprintf.cpp fixed for avr-gcc 4.6
2012-12-20 14:51:26 +11:00
Pat Hickey
6f4d208ffc
AP_HAL_AVR: fixup in vprintf header
2012-12-20 14:51:24 +11:00
Pat Hickey
a3a6482fd3
AP_HAL_AVR: vprintf implementation exists outside of class hierchary.
...
* Makes it easier to mix into other classes.
2012-12-20 14:51:24 +11:00
Pat Hickey
a1863ec1f5
AP_HAL_AVR ISRRegistry: use AP_HAL::Proc types instead of private typedef
2012-12-20 14:51:22 +11:00
Pat Hickey
776a1074c9
AP_HAL_AVR: check in utility/ISRRegistry
2012-12-20 14:51:20 +11:00
Pat Hickey
2c14a77693
AP_HAL_AVR: add ISRRegistry class, member of HAL_AVR
...
* derived from Arduino_Mega_ISR_Registry class
2012-12-20 14:51:20 +11:00
Pat Hickey
e9c5f07db2
AP_HAL: Working GPIO interface & implementation
...
* actually, tested the output only... gotta do input next
2012-12-20 14:51:20 +11:00
Pat Hickey
8eb9b39a44
AP_HAL_AVR move library classes to their own AP_HAL_AVR namespace
2012-12-20 14:51:19 +11:00