Gustavo Jose de Sousa
12423814ef
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.
10 years ago
Andrew Tridgell
0cc31c2db5
AP_HAL_AVR: convert example from .pde to .cpp
10 years ago
Andrew Tridgell
84cda98bec
HAL_AVR: fixed example build
10 years ago
Randy Mackay
7c293f01d9
HAL_AVR: fix example sketch
10 years ago
Andrew Tridgell
4bb72f8d85
HAL_AVR: fixed example build
11 years ago
Andrew Tridgell
02dec5634f
AP_HAL: fixed example builds
11 years ago
Andrew Tridgell
d36989f6a1
AP_HAL: fixed example build
11 years ago
Randy Mackay
42d9225fbe
HAL_AVR: ArduCopterLibs to use AC_P library
11 years ago
Andrew Tridgell
fc7f3c8aa6
AP_HAL: fixed example build
12 years ago
Andrew Tridgell
de4d505f62
HAL_AVR: fixed examples build
12 years ago
Andrew Tridgell
23fc6f8aed
AP_HAL_AVR: changed to AP_Vehicle.h
12 years ago
Andrew Tridgell
0bfc18b72d
HAL_AVR: fixed examples build
12 years ago
Andrew Tridgell
63873d6af3
HAL_AVR: fixed example build
12 years ago
Andrew Tridgell
ba8ba36af4
HAL_AVR: fixed build.Examples in autotest
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Pat Hickey
b89c45735b
AP_HAL_AVR: provide 'int main (void)' impl as a macro
...
* avoid extra typing
* makes it HAL implementation specific
12 years ago
Pat Hickey
93f6267334
AP_HAL_AVR: create ArduCopterLibs test sketch
...
* used to make sure all ArduCopter deps build
12 years ago