mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Merge pull request #7955 from yossi2le/add_frequency_to_dataflash_conig
Add SPI_FREQ parameter to DATAFLASH block device configurationpull/8238/head
						commit
						6fca23ece1
					
				| 
						 | 
				
			
			@ -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