Commit Graph

37 Commits

Author SHA1 Message Date
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.
2015-08-11 16:28:41 +10:00
Andrew Tridgell a3546a3ac2 CPUInfo: convert example from .pde to .cpp 2015-06-01 17:07:08 +10:00
Andrew Tridgell 75229ebf6c Tools: removed fast_atan 2015-05-05 13:57:10 +10:00
Andrew Tridgell 9e02ce44ae Tools: fix for HAL_SITL rename 2015-05-05 09:45:57 +10:00
Randy Mackay ff5f0f1d23 CPUInfo: add include to fix compile error 2015-04-29 10:10:21 +09:00
Randy Mackay 82df53ed80 CPUInfo: fix compile error 2015-02-09 22:26:51 +09:00
Andrew Tridgell b3316865fa CPUInfo: fixed build 2015-01-05 07:36:49 +11:00
Andrew Tridgell 2918b04f17 CPUInfo: fixed build 2014-08-13 18:46:44 +10:00
Andrew Tridgell 72d35e8da4 CPUInfo: fixed build 2014-08-10 22:36:03 +10:00
Andrew Tridgell 7b8287793c CPUInfo: fixed build 2014-08-06 18:56:39 +10:00
Andrew Tridgell 9c69e736f1 CPUInfo: fixed build 2014-07-25 18:41:30 +10:00
Randy Mackay 919b0ea29b CPUInfo: add fast_atan2 2014-06-06 18:51:05 +09:00
Andrew Tridgell b9939368ea CPUInfo: fixed build 2014-03-19 12:13:44 +09:00
Andrew Tridgell 30fd792d40 CPUInfo: fixed SITL build 2014-02-18 19:16:26 +11:00
Andrew Tridgell 0749cc1fd9 Tools: we don't have AP_NavEKF.h yet 2014-01-15 13:48:50 +11:00
Andrew Tridgell 4d5346be79 CPUInfo: fixed SITL build 2014-01-14 20:50:34 +11:00
Andrew Tridgell bdbf9a8935 CPUInfo: fixed build 2013-12-17 11:51:36 +11:00
Randy Mackay a8970ee509 Tools: add additional divide timing 2013-07-18 23:08:13 +09:00
Andrew Tridgell 896dd648c9 Tools: fixed indent-tabs-mode 2013-05-30 09:56:00 +10:00
Andrew Tridgell 3f8fb48479 CPUInfo: test NaN and Infinity printing 2013-04-17 21:39:22 +10:00
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.
2013-01-16 13:52:01 +11:00
Andrew Tridgell 75c1666302 CPUInfo: added note on dataflash write cost 2013-01-08 14:37:39 -08:00
Andrew Tridgell 477ed294c6 CPUInfo: begin_atomic/end_atomic have been removed 2013-01-04 14:59:56 +11:00
Andrew Tridgell 1c3031f50d CPUInfo: added output for PX4FMU 2013-01-03 15:45:23 +11:00
Andrew Tridgell a56b8c7b67 Tools: port a couple of test sketches to PX4 2013-01-02 18:00:49 +11:00
Andrew Tridgell 374af1cd14 build: change from Arduino.mk to apm.mk 2013-01-02 17:29:37 +11:00
Pat Hickey eb530b86e8 move Arduino.mk to /mk/Arduino.mk 2012-12-20 14:52:35 +11:00
Andrew Tridgell 2760c182f5 Tools: fixed CPUInfo build under SITL 2012-12-20 14:52:34 +11:00
Andrew Tridgell 07d8690fbe Tools: convert CPUInfo to AP_HAL 2012-12-20 14:52:30 +11:00
Andrew Tridgell adf6030cfa CPUInfo: added acos(), asin() and atan2() 2012-07-05 13:00:46 +10:00
Andrew Tridgell 353186e822 CPUInfo: update with 64 bit timings 2012-05-23 17:33:33 +10:00
Andrew Tridgell bb352c6bcf don't need AP_Math.h here any more 2012-02-18 10:51:57 +11:00
Andrew Tridgell 85ecb05261 CPUInfo: added timing of sqrt() 2012-02-18 10:51:57 +11:00
Andrew Tridgell 81e52e43c1 added some notes on EEPROM speed 2012-02-13 16:22:51 +11:00
Andrew Tridgell 11ff665ca0 CPUInfo: show the speed of 64 bit maths 2011-12-19 18:52:56 +11:00
Andrew Tridgell 19781d5e4a put output of CPUInfo test in git 2011-09-17 15:06:17 +10:00
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
2011-09-17 14:58:02 +10:00