mirror of https://github.com/ARMmbed/mbed-os.git
cfstore flash-journal integration sync mode test fixes.
parent
ca2fd64722
commit
8f6957e195
|
@ -535,7 +535,14 @@
|
|||
"progen": {"target": "frdm-k64f"},
|
||||
"detect_code": ["0240"],
|
||||
"device_has": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES", "STORAGE"],
|
||||
"features": ["IPV4"]
|
||||
"features": ["IPV4"],
|
||||
"config": {
|
||||
"storage_driver_mode": {
|
||||
"help": "Configuration parameter to select flash storage driver mode. 1 => async operation, 0 => sync operation",
|
||||
"macro_name": "STORAGE_DRIVER_CONFIG_HARDWARE_MTD_ASYNC_OPS",
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"MTS_GAMBIT": {
|
||||
"inherits": ["Target"],
|
||||
|
@ -569,7 +576,7 @@
|
|||
"inherits": ["Target"],
|
||||
"progen": {"target": "nucleo-f030r8"},
|
||||
"detect_code": ["0725"],
|
||||
"device_has": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
|
||||
"device_has": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
|
||||
"default_build": "small"
|
||||
},
|
||||
"NUCLEO_F031K6": {
|
||||
|
@ -605,7 +612,7 @@
|
|||
"inherits": ["Target"],
|
||||
"progen": {"target": "nucleo-f070rb"},
|
||||
"detect_code": ["0755"],
|
||||
"device_has": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
|
||||
"device_has": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
|
||||
"default_build": "small"
|
||||
},
|
||||
"NUCLEO_F072RB": {
|
||||
|
@ -617,7 +624,7 @@
|
|||
"inherits": ["Target"],
|
||||
"progen": {"target": "nucleo-f072rb"},
|
||||
"detect_code": ["0730"],
|
||||
"device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
|
||||
"device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
|
||||
"default_build": "small"
|
||||
},
|
||||
"NUCLEO_F091RC": {
|
||||
|
@ -629,7 +636,7 @@
|
|||
"inherits": ["Target"],
|
||||
"progen": {"target": "nucleo-f091rc"},
|
||||
"detect_code": ["0750"],
|
||||
"device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
|
||||
"device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
|
||||
"default_build": "small"
|
||||
},
|
||||
"NUCLEO_F103RB": {
|
||||
|
|
|
@ -212,10 +212,10 @@ static const ARM_STORAGE_CAPABILITIES caps = {
|
|||
* 1, drivers may still complete asynchronous operations synchronously as
|
||||
* necessary--in which case they return a positive error code to indicate
|
||||
* synchronous completion. */
|
||||
#ifndef YOTTA_CFG_CONFIG_HARDWARE_MTD_ASYNC_OPS
|
||||
#ifndef STORAGE_DRIVER_CONFIG_HARDWARE_MTD_ASYNC_OPS
|
||||
.asynchronous_ops = 1,
|
||||
#else
|
||||
.asynchronous_ops = YOTTA_CFG_CONFIG_HARDWARE_MTD_ASYNC_OPS,
|
||||
.asynchronous_ops = STORAGE_DRIVER_CONFIG_HARDWARE_MTD_ASYNC_OPS,
|
||||
#endif
|
||||
|
||||
/* Enable chip-erase functionality if we own all of block-1. */
|
||||
|
|
Loading…
Reference in New Issue