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 sclk,
|
||||
PinName csel,
|
||||
int freq = 40000000,
|
||||
int freq = MBED_CONF_DATAFLASH_SPI_FREQ,
|
||||
PinName nowp = NC);
|
||||
|
||||
/** Initialize a block device
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"SPI_MISO": "NC",
|
||||
"SPI_CLK": "NC",
|
||||
"SPI_CS": "NC",
|
||||
"SPI_FREQ": "40000000",
|
||||
"binary-size": {
|
||||
"help": "Configure device to use binary address space.",
|
||||
"value": "0"
|
||||
|
|
Loading…
Reference in New Issue