Gustavo Jose de Sousa
f714540d8b
AP_HAL_VRBRAIN: 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
LukeMike
edd0f13845
AP_HAL: mapped the different sizes of storage for all VR boards
10 years ago
Andrew Tridgell
d40d0f6aec
AP_HAL: removed old storage type read/write functions
...
not needed any more
11 years ago
Emile Castelnuovo
201332caef
AP_HAL: New VRBRAIN board definition and libraries
11 years ago
Andrew Tridgell
64fbadcc21
HAL_PX4: use eeprom on PX4 FMUv1 as well
...
this means we no longer store params on SD at all
11 years ago
Andrew Tridgell
626086063e
HAL_PX4: added a signature to FRAM
...
this makes for more reliable update
11 years ago
Andrew Tridgell
b88bb0751c
HAL_PX4: added support for MTD (FRAM) parameters
...
this allows us to store parameters and waypoints in FRAM, and
auto-upgrade from microSD
11 years ago
Andrew Tridgell
e78e35f3bd
HAL_PX4: try to use uppercase names on NuttX microSD card
11 years ago
Andrew Tridgell
9b3c54fc39
PX4: ensure storage buffer is DMA aligned
...
this helps for boards which use DMA for FAT IO
12 years ago
Andrew Tridgell
2316c3bd11
AP_HAL: make storage->write_block() take a const pointer
12 years ago
Andrew Tridgell
e4a204d2f6
HAL_PX4: reopen storage file on any IO error
12 years ago
Andrew Tridgell
0e79b93289
HAL_PX4: added storage performance counters
12 years ago
Andrew Tridgell
6cf1d5e1ff
HAL_PX4: handle IO errors on microsd
...
this should handle EINTR gracefully
12 years ago
Andrew Tridgell
c9799fb2b7
HAL_PX4: writing more than 512 bytes at a time can cause IO errors
...
the vfat fs in NuttX is really very picky!
12 years ago
Andrew Tridgell
952df2fced
HAL_PX4: new buffered storeage driver for microsd cards
...
this does all IO in the timer thread, avoids writes that don't change
data, and does all writes in multiples of 128 byte chunks. This should
be about as friendly to SD cards as we can get.
12 years ago
Andrew Tridgell
ac7117245a
HAL_PX4: added a storage driver
...
stores 'eeprom' to a sdcard file
12 years ago
Andrew Tridgell
8916b280fd
SITL: filled in more of the HAL SITL backend
12 years ago
Andrew Tridgell
d42cbb791f
HAL_SITL: start filling in more of SITL framework
12 years ago
Pat Hickey
87c55f68c2
AP_HAL_AVR Storage: conform to new API
12 years ago
Pat Hickey
261ef791a7
AP_HAL Storage: trivial interface and implementation wraps avr/eeprom funcs
12 years ago
Pat Hickey
75279dfa43
AP_HAL_AVR: header include fixups
12 years ago
Pat Hickey
8eb9b39a44
AP_HAL_AVR move library classes to their own AP_HAL_AVR namespace
12 years ago
Pat Hickey
00920b0483
AP_HAL_AVR: Stub implementations of AP_HAL_AVR concrete classes
12 years ago