Andrew Tridgell
76092eb590
AP_HAL: remove unused peek() interface from UART drivers
...
this is a bit tricky to implement on some platforms, and is unused
anyway
12 years ago
Andrew Tridgell
e852d6300f
AP_HAL_AVR: fixed multi-channel RC output
12 years ago
Andrew Tridgell
a3556c8cf8
HAL_AVR: fixed example build
12 years ago
Andrew Tridgell
b5b7fd2f9a
HAL_AVR: added bulk transfer() method
...
this is quite a lot faster than the byte at a time method
12 years ago
Andrew Tridgell
6aecdb3d7d
HAL_AVR: tweak the default serial buffer sizes
...
this reduces memory fragmentation a lot, saving memory
12 years ago
Andrew Tridgell
0cb8192861
HAL_AVR: ensure we can handle a 256 size buffer
12 years ago
Andrew Tridgell
cf04935438
HAL_AVR: make Console a direct wrapper of uartA
...
this saves a bunch of memory, and we don't really need separate
console support on AVR
12 years ago
Pat Hickey
2b621dc579
AP_HAL_AVR: main calls system_initialized
12 years ago
Pat Hickey
930a789b25
AP_HAL_AVR: Implement new scheduler methods
12 years ago
Andrew Tridgell
130aaae168
HAL_AVR: switched to 8 bit mask
...
max buffer size is now 256. This makes serial faster
12 years ago
Pat Hickey
59365f1b90
AP_HAL_AVR: UARTDriver guard needs AP_HAL_Boards.h
12 years ago
Andrew Tridgell
8e1bee3a5e
HAL_AVR: make _taken volatile
12 years ago
Andrew Tridgell
7f20f720e8
HAL_AVR: started I2C in high speed mode
...
this speeds up the compass a lot
12 years ago
Pat Hickey
0660873fa7
AP_HAL_AVR: pull-up UART RX lines to fix GPS spoofing (Tridge)
...
Tridge discovered this bugfix:
https://groups.google.com/d/topic/drones-discuss/aek6LJeYQo8/discussion
12 years ago
Pat Hickey
4c31cc0c2b
AP_HAL_AVR: add semaphore to I2CDriver
12 years ago
Pat Hickey
688ec864dc
AP_HAL_AVR: deprecate begin/end atomic, timer procs run on resume
12 years ago
Pat Hickey
2d6b649aa4
AP_HAL_AVR: Semaphore unit test
12 years ago
Pat Hickey
0029148b3a
AP_HAL_AVR: Implements new Semaphore interface
12 years ago
Pat Hickey
74e2ba2168
AP_HAL_AVR Scheduler: _in_timer_proc is volatile protected
...
* and AVRSemaphore is a friend, so it can read _in_timer_proc
to know the current context.
12 years ago
Andrew Tridgell
e729a8b277
AP_HAL: rename Semaphores cpp file to match header
12 years ago
Andrew Tridgell
e25e500516
AP_HAL: fixed SPI3 Semaphores.h
12 years ago
Andrew Tridgell
a3c26d44e4
AP_HAL: rename Sempahore.h to Semaphores.h
...
this is needed to allow build on MacOS, as its case-insensitive
filesystem picks up the NuttX semaphore.h
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
8d901b3f5a
HAL_AVR: fixed a warning
12 years ago
Andrew Tridgell
18581d0220
HAL_AVR: change order of CS pin init - fixes APM2 boot problem
...
We now init the MPU6k CS pin before the MS5611 CS pin. This should not
matter at all, but it turns out that it solves the APM2 boot
problem. We should investigate why, as this may indicate an electrical
problem.
Pair-Programmed-With: Pat Hickey
12 years ago
Andrew Tridgell
24a291cf66
HAL_AVR: only build on APM boards
12 years ago
Pat Hickey
563ca3f79b
AP_HAL_AVR: expose gpio pin 70 for mpu6000 interrupt input
12 years ago
Andrew Tridgell
93040e5725
AP_HAL: removed the defer_timer_process() function
...
this is now unused
12 years ago
Andrew Tridgell
47358929e2
HAL_AVR: fixed attach_interrupt race condition
12 years ago
Andrew Tridgell
60d3df50ae
AP_HAL: changed delay() to take a uint16_t
...
this allows for up to 32 second delays, and saves a bit of flash space
12 years ago
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.
12 years ago
Pat Hickey
5ab4e57673
AP_HAL_AVR: rename vprintf function to print_vprintf
...
* because it takes an AP_HAL::Print
12 years ago
Pat Hickey
1b0bde2779
AP_HAL_AVR: rename vprintf files to print_vprintf
12 years ago
Andrew Tridgell
8a70e173a7
AP_HAL: restrict build to right board type
12 years ago
Pat Hickey
f9eff068f9
AP_HAL_AVR: UtilityStringTest added
12 years ago
Pat Hickey
defc539e57
AP_HAL_AVR: implement string Utils in terms of existing vprintf
12 years ago
Pat Hickey
b3abe89989
AP_HAL_AVR: add Util stubs
12 years ago
Pat Hickey
372c0074b1
AP_HAL_AVR: remove old style HAL_AVR classes (deprecated)
12 years ago
Andrew Tridgell
b8843489be
HAL_AVR: fixed example warnings
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Pat Hickey
3153105682
AP_HAL_AVR: spi transaction handle null RX properly
12 years ago
Pat Hickey
4fe889c9c5
AP_HAL_AVR: Implement bulk SPI transaction
12 years ago
Pat Hickey
087b1fa196
AP_HAL_AVR: AnalogIn returns new ADCSource each time a channel is requested
...
* fixes a bug where multiple sources created as pin -1, then change to
appropriate pin on mavlink messages. Make treat each creation as distinct
object.
12 years ago
Pat Hickey
90670cb499
AP_HAL_AVR: panic in spidevice0
12 years ago
Pat Hickey
9656b0ad0e
AP_HAL_AVR: add panic method to scheduler
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Pat Hickey
07be511f5e
AP_HAL_AVR: move AP_HAL_MAIN into separate header
12 years ago
Andrew Tridgell
e10e3ee3be
AP_HAL: fixed argv declaration to match getopt()
12 years ago
Andrew Tridgell
18824c7ef5
AP_HAL: expose argc/argv in hal.init()
...
used for SITL port
12 years ago
Pat Hickey
f060df9747
AP_HAL_AVR: now that we can detect the APM revision, use wdt reboot on apm2
12 years ago