|
|
@ -1,4 +1,4 @@
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Marlin 3D Printer Firmware
|
|
|
|
* Marlin 3D Printer Firmware
|
|
|
|
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|
|
|
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -21,10 +21,6 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
//#ifdef __cplusplus
|
|
|
|
|
|
|
|
//extern "C" { /* C-declarations for C++ */
|
|
|
|
|
|
|
|
//#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define W25X_WriteEnable 0x06
|
|
|
|
#define W25X_WriteEnable 0x06
|
|
|
@ -71,6 +67,4 @@ public:
|
|
|
|
static void SPI_FLASH_BufferRead(uint8_t* pBuffer, uint32_t ReadAddr, uint16_t NumByteToRead);
|
|
|
|
static void SPI_FLASH_BufferRead(uint8_t* pBuffer, uint32_t ReadAddr, uint16_t NumByteToRead);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
//#ifdef __cplusplus
|
|
|
|
extern W25QXXFlash W25QXX;
|
|
|
|
//} /* C-declarations for C++ */
|
|
|
|
|
|
|
|
//#endif
|
|
|
|
|
|
|
|