Andrew Tridgell
30b6b23b10
AP_ADC: enable APM1 ADC on Linux
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
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Andrew Tridgell
b673320f72
ADC: fixed example warnings
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Pat Hickey
b43b003777
AP_ADC: fix typo in test
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
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Andrew Tridgell
53105efbcd
HAL_AVR: more uart0 -> console changes
12 years ago
Pat Hickey
30deb76ea3
AP_ADC: ported to AP_HAL
...
AP_ADC_test run on bench with APM1, looks ok.
12 years ago
Pat Hickey
8a6017ea48
AP_ADC_test: fix build of test regressions.
...
I'm not convinced I was able to make the timing test meaningful.
Someone should please lookinto this.
13 years ago
uncrustify
796d23277c
uncrustify libraries/AP_ADC/examples/AP_ADC_test/AP_ADC_test.pde
13 years ago
Randy Mackay
cf25bbfa74
AP_ADC library - tiny fix to make example sketch work after some changes to AP_PeriodicProcess library
13 years ago
Andrew Tridgell
d442bad413
Revert "ADC: added an enable_channel() API"
...
This reverts commit dafeac01d8f14162600cf821404ba4072dcae14d.
ADC will be disabled on APM2
13 years ago
Andrew Tridgell
f6f808357c
removed AperiodicProcess code
...
this code was never being used, and was more complex than it was
worth.
13 years ago
Andrew Tridgell
9591317dbc
ADC: added an enable_channel() API
...
enable_channel() must be used before the Ch6() method is called to
enable gathering of data on the required channels
13 years ago
Pat Hickey
017f121566
AP_ADC: rework ADC library to use PeriodicProcess and ISR_Register
...
this makes it possible to build the ADC library when another driver
may also want that interrupt
13 years ago
Andrew Tridgell
840c256fe3
ADC: show timing information in ADC test
14 years ago
Andrew Tridgell
197b1d140a
show noise levels in ADC test
14 years ago
Andrew Tridgell
bd30840518
updated ADC test for new API
14 years ago
deweibel@gmail.com
4015e7f91a
Commit test - just adding an unneeded comment
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2740 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert@gmail.com
2d1b59e9a6
Eclipse makefile support for examples.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1861 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
cce122d387
Moved APM_ADC to AP_ADC
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@954 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago