File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
COMPONENT_FLASHIAP/include/FlashIAP
COMPONENT_QSPIF/include/QSPIF
COMPONENT_SPIF/include/SPIF Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ class FlashIAPBlockDevice : public mbed::BlockDevice {
134
134
* @param size Size to erase in bytes
135
135
* @return True if erase is valid for underlying block device
136
136
*/
137
- virtual bool is_valid_erase (bd_addr_t addr, bd_size_t size) const ;
137
+ virtual bool is_valid_erase (mbed:: bd_addr_t addr, mbed:: bd_size_t size) const ;
138
138
139
139
140
140
private:
Original file line number Diff line number Diff line change 53
53
*/
54
54
enum qspif_bd_error {
55
55
QSPIF_BD_ERROR_OK = 0 , /* !< no error */
56
- QSPIF_BD_ERROR_DEVICE_ERROR = BD_ERROR_DEVICE_ERROR, /* !< device specific error -4001 */
56
+ QSPIF_BD_ERROR_DEVICE_ERROR = mbed:: BD_ERROR_DEVICE_ERROR, /* !< device specific error -4001 */
57
57
QSPIF_BD_ERROR_PARSING_FAILED = -4002 , /* SFDP Parsing failed */
58
58
QSPIF_BD_ERROR_READY_FAILED = -4003 , /* Wait for Mem Ready failed */
59
59
QSPIF_BD_ERROR_WREN_FAILED = -4004 , /* Write Enable Failed */
@@ -289,7 +289,7 @@ class QSPIFBlockDevice : public mbed::BlockDevice {
289
289
qspi_status_t _qspi_set_frequency (int freq);
290
290
291
291
// Update the 4-byte addressing extension register with the MSB of the address if it is in use
292
- qspi_status_t _qspi_update_4byte_ext_addr_reg (bd_addr_t addr);
292
+ qspi_status_t _qspi_update_4byte_ext_addr_reg (mbed:: bd_addr_t addr);
293
293
294
294
/* ********************************/
295
295
/* Flash Configuration Functions */
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ class SPIFBlockDevice : public mbed::BlockDevice {
280
280
mbed::sfdp_hdr_info _sfdp_info;
281
281
282
282
unsigned int _page_size_bytes; // Page size - 256 Bytes default
283
- bd_size_t _device_size_bytes;
283
+ mbed:: bd_size_t _device_size_bytes;
284
284
285
285
// Bus configuration
286
286
unsigned int _address_size; // number of bytes for address
You can’t perform that action at this time.
0 commit comments