mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
cleanup/unify flash sector size define value (#5327)
* cleanup/unify sector size define value * replicate spi_flash_sec_size.h file for host tests * further flash geometry cleanup, remove host test duplicate file
This commit is contained in:
@ -25,6 +25,8 @@
|
||||
#ifndef SPI_FLASH_H
|
||||
#define SPI_FLASH_H
|
||||
|
||||
#include <spi_flash_geometry.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -44,8 +46,6 @@ typedef struct{
|
||||
uint32 status_mask;
|
||||
} SpiFlashChip;
|
||||
|
||||
#define SPI_FLASH_SEC_SIZE 4096
|
||||
|
||||
extern SpiFlashChip * flashchip; // in ram ROM-BIOS
|
||||
|
||||
uint32 spi_flash_get_id(void);
|
||||
|
Reference in New Issue
Block a user