Gustavo Jose de Sousa
84b5555a1a
Tools: 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
a3546a3ac2
CPUInfo: convert example from .pde to .cpp
10 years ago
Andrew Tridgell
75229ebf6c
Tools: removed fast_atan
10 years ago
Andrew Tridgell
9e02ce44ae
Tools: fix for HAL_SITL rename
10 years ago
Randy Mackay
ff5f0f1d23
CPUInfo: add include to fix compile error
10 years ago
Randy Mackay
82df53ed80
CPUInfo: fix compile error
10 years ago
Andrew Tridgell
b3316865fa
CPUInfo: fixed build
10 years ago
Andrew Tridgell
2918b04f17
CPUInfo: fixed build
11 years ago
Andrew Tridgell
72d35e8da4
CPUInfo: fixed build
11 years ago
Andrew Tridgell
7b8287793c
CPUInfo: fixed build
11 years ago
Andrew Tridgell
9c69e736f1
CPUInfo: fixed build
11 years ago
Randy Mackay
919b0ea29b
CPUInfo: add fast_atan2
11 years ago
Andrew Tridgell
b9939368ea
CPUInfo: fixed build
11 years ago
Andrew Tridgell
30fd792d40
CPUInfo: fixed SITL build
11 years ago
Andrew Tridgell
0749cc1fd9
Tools: we don't have AP_NavEKF.h yet
11 years ago
Andrew Tridgell
4d5346be79
CPUInfo: fixed SITL build
11 years ago
Andrew Tridgell
bdbf9a8935
CPUInfo: fixed build
11 years ago
Randy Mackay
a8970ee509
Tools: add additional divide timing
12 years ago
Andrew Tridgell
896dd648c9
Tools: fixed indent-tabs-mode
12 years ago
Andrew Tridgell
3f8fb48479
CPUInfo: test NaN and Infinity printing
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Andrew Tridgell
75c1666302
CPUInfo: added note on dataflash write cost
12 years ago
Andrew Tridgell
477ed294c6
CPUInfo: begin_atomic/end_atomic have been removed
12 years ago
Andrew Tridgell
1c3031f50d
CPUInfo: added output for PX4FMU
12 years ago
Andrew Tridgell
a56b8c7b67
Tools: port a couple of test sketches to PX4
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
2760c182f5
Tools: fixed CPUInfo build under SITL
12 years ago
Andrew Tridgell
07d8690fbe
Tools: convert CPUInfo to AP_HAL
12 years ago
Andrew Tridgell
adf6030cfa
CPUInfo: added acos(), asin() and atan2()
13 years ago
Andrew Tridgell
353186e822
CPUInfo: update with 64 bit timings
13 years ago
Andrew Tridgell
bb352c6bcf
don't need AP_Math.h here any more
13 years ago
Andrew Tridgell
85ecb05261
CPUInfo: added timing of sqrt()
13 years ago
Andrew Tridgell
81e52e43c1
added some notes on EEPROM speed
13 years ago
Andrew Tridgell
11ff665ca0
CPUInfo: show the speed of 64 bit maths
13 years ago
Andrew Tridgell
19781d5e4a
put output of CPUInfo test in git
14 years ago
Andrew Tridgell
d5b19840f0
Tools: added CPUInfo sketch
...
this shows the approximate cost of a wide range of common operations,
and the sizes of most data types
14 years ago