Enable support for RAMTRON, enable support for EEPROM on FMU 1.x

This commit is contained in:
Lorenz Meier
2013-04-18 22:27:55 +02:00
parent 5f26018365
commit 94084ec22a
12 changed files with 1142 additions and 15 deletions
-1
View File
@@ -65,7 +65,6 @@ CONFIGURED_APPS += systemcmds/perf
CONFIGURED_APPS += systemcmds/top
CONFIGURED_APPS += systemcmds/boardinfo
CONFIGURED_APPS += systemcmds/mixer
CONFIGURED_APPS += systemcmds/eeprom
CONFIGURED_APPS += systemcmds/param
CONFIGURED_APPS += systemcmds/pwm
CONFIGURED_APPS += systemcmds/bl_update
+1 -5
View File
@@ -65,9 +65,7 @@ CONFIGURED_APPS += systemcmds/perf
CONFIGURED_APPS += systemcmds/top
CONFIGURED_APPS += systemcmds/boardinfo
CONFIGURED_APPS += systemcmds/mixer
# No I2C EEPROM - need new param interface
#CONFIGURED_APPS += systemcmds/eeprom
#CONFIGURED_APPS += systemcmds/param
CONFIGURED_APPS += systemcmds/param
CONFIGURED_APPS += systemcmds/pwm
CONFIGURED_APPS += systemcmds/bl_update
CONFIGURED_APPS += systemcmds/preflight_check
@@ -95,10 +93,8 @@ CONFIGURED_APPS += sdlog
CONFIGURED_APPS += sensors
ifneq ($(CONFIG_APM),y)
#CONFIGURED_APPS += ardrone_interface
CONFIGURED_APPS += multirotor_att_control
CONFIGURED_APPS += multirotor_pos_control
#CONFIGURED_APPS += fixedwing_control
CONFIGURED_APPS += fixedwing_att_control
CONFIGURED_APPS += fixedwing_pos_control
CONFIGURED_APPS += position_estimator
+4
View File
@@ -365,6 +365,10 @@ CONFIG_I2C_RESET=y
# XXX fixed per-transaction timeout
CONFIG_STM32_I2CTIMEOMS=10
#
# MTD support
#
CONFIG_MTD=y
# XXX re-enable after integration testing
+8
View File
@@ -161,6 +161,14 @@ struct ramtron_dev_s
static struct ramtron_parts_s ramtron_parts[] =
{
{
"FM25V01", /* name */
0x21, /* id1 */
0x00, /* id2 */
16L*1024L, /* size */
2, /* addr_len */
40000000 /* speed */
},
{
"FM25V02", /* name */
0x22, /* id1 */