Karl Schwabe
48c467f602
Remove CONFIG_ARCH_BOARD #ifdef dependencies from mtd
...
Since mtd already checks whether CONFIG_MTD_RAMTRON is set in
defconfig use this define to check whether to call ramtron_attach()
or at24xxx_attach() in the main function, instead of checking
CONFIG_ARCH_BOARD_PX4FMU-V1.
Also instead of using #ifdef CONFIG_ARCH_BOARD_AEROCORE to determine
whether to start mtd on spi 2 or 4, rather use a new board define
PX4_SPI_BUS_RAMTRON in the board_config.h file.
2015-11-13 16:30:57 +01:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Daniel Agar
edf010c6a9
format src/systemcmds/mtd
2015-09-05 12:21:11 -04:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Daniel Agar
5b600a815c
Replace use of -Wno-error and only ignore specific warnings
2014-12-23 11:18:36 -05:00
Daniel Agar
d511e39ea7
turn on -Werror and fix resulting errors
2014-12-22 17:56:59 -05:00
Lorenz Meier
1d50af272f
EEPROM driver: Do not issue warnings that result from our special case handling - this driver is only used for this one particular eeprom and out of the NuttX tree.
2014-10-09 09:29:05 +02:00
Lorenz Meier
54fc6aa678
Hotfix: Optimize shell commands for size - we do not need massive performance there
2014-08-13 10:33:46 +02:00
Lorenz Meier
e380aa3f62
AT24C: Fix warning due to missing function prototype.
2014-07-08 13:54:33 +02:00
Lorenz Meier
ee8f4dcee6
systemcmds: Warning fixes
2014-06-30 12:19:44 +02:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Don Gagne
2448e2adbc
More tab fixes
2014-06-29 13:55:55 -07:00
Don Gagne
d5b5dcef24
Fix bugs found through compiler warnings
2014-06-29 12:01:43 -07:00
Lorenz Meier
97e6090700
Merge pull request #937 from gumstix/aerocore
...
Aerocore
2014-05-15 01:31:24 -07:00
Lorenz Meier
15eaa3aed4
eeprom driver: Use less excessive perf counters on EEPROM
2014-05-14 14:00:51 +02:00
Ash Charles
e5508a1aa0
Add Gumstix AeroCore device
...
Based on the work of Andrew Smith [1], add board configuration and device
drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The
AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2.
[1] https://github.com/smithandrewc/Firmware
[2] https://store.gumstix.com/index.php/products/585/
Signed-off-by: Ash Charles <ashcharles@gmail.com >
2014-05-13 09:41:41 -07:00
Lorenz Meier
71d0d1c404
Make MTD startup less verbose, there are diagnostic commands to read off its state
2014-02-01 15:01:11 +01:00
Andrew Tridgell
e5ad3c31e0
mtd: added "mtd readtest" and "mtd rwtest"
...
this allows for verification of MTD operation on startup
2014-01-16 07:58:45 +01:00
Andrew Tridgell
ff59aa9a0f
mtd: use new MTDIOC_SETSPEED ioctl
...
set SPI speed to 10MHz
2014-01-16 07:57:32 +01:00
Andrew Tridgell
778cbcb5cc
mtd: fixed creation and erase of a single partition
2014-01-15 09:33:58 +01:00
Lorenz Meier
202e89de91
Introducing mtd status command, fixing compile errors for I2C setup
2014-01-14 08:58:58 +01:00
Lorenz Meier
ba26fc32c9
Enabled EEPROM as MTD backend device
2014-01-14 07:49:33 +01:00
Lorenz Meier
85ca6e6991
Eliminated magic number
2014-01-14 07:34:35 +01:00
Andrew Tridgell
f30ae8c9f3
Added MTD erase command
2014-01-14 07:32:34 +01:00
Lorenz Meier
1694171435
Compile / bugfixes on MTD commandline tool
2014-01-12 17:40:29 +01:00
Lorenz Meier
3387aa64d4
Enabled MTD partitions, successfully tested params
2014-01-12 16:33:23 +01:00
Lorenz Meier
29e2c841bb
Added support for N MTD / ramtron partitions / files
2014-01-12 15:34:05 +01:00
Lorenz Meier
7e3802297c
Added MTD adapter driver
2014-01-11 20:56:28 +01:00