mirror of https://github.com/ARMmbed/mbed-os.git
Adding the configuration parameter as default value in the constructor.
parent
1eab0723ba
commit
47aea6b719
|
@ -74,7 +74,7 @@ public:
|
||||||
PinName miso,
|
PinName miso,
|
||||||
PinName sclk,
|
PinName sclk,
|
||||||
PinName csel,
|
PinName csel,
|
||||||
int freq = 40000000,
|
int freq = MBED_CONF_DATAFLASH_SPI_FREQ,
|
||||||
PinName nowp = NC);
|
PinName nowp = NC);
|
||||||
|
|
||||||
/** Initialize a block device
|
/** Initialize a block device
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
"SPI_MISO": "NC",
|
"SPI_MISO": "NC",
|
||||||
"SPI_CLK": "NC",
|
"SPI_CLK": "NC",
|
||||||
"SPI_CS": "NC",
|
"SPI_CS": "NC",
|
||||||
|
"SPI_FREQ": "40000000",
|
||||||
"binary-size": {
|
"binary-size": {
|
||||||
"help": "Configure device to use binary address space.",
|
"help": "Configure device to use binary address space.",
|
||||||
"value": "0"
|
"value": "0"
|
||||||
|
|
Loading…
Reference in New Issue