mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 04:43:34 +08:00
Enable support for RAMTRON, enable support for EEPROM on FMU 1.x
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user