diff options
| author | danicampora <danicampora@gmail.com> | 2015-03-04 13:52:39 +0100 |
|---|---|---|
| committer | danicampora <danicampora@gmail.com> | 2015-03-11 17:00:33 +0100 |
| commit | 9e44383e3f4092940a1e1b49a278978df99f7b08 (patch) | |
| tree | 606ad67566b41bb037bd02e678891dfb69db6c70 /cc3200/fatfs | |
| parent | 73aee8da54f847341d0fd9718d05ca964654a6dd (diff) | |
cc3200: Add power management framework. Add mpcallback class.
Supports suspend and hibernate modes. Waking is possible throug GPIO
and WLAN.
The mpcallback class is generic and can be reused by other classes.
Diffstat (limited to 'cc3200/fatfs')
| -rw-r--r-- | cc3200/fatfs/src/drivers/sflash_diskio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/fatfs/src/drivers/sflash_diskio.h b/cc3200/fatfs/src/drivers/sflash_diskio.h index 26669f589..de3093439 100644 --- a/cc3200/fatfs/src/drivers/sflash_diskio.h +++ b/cc3200/fatfs/src/drivers/sflash_diskio.h @@ -2,7 +2,7 @@ #define SFLASH_DISKIO_H_ #define SFLASH_BLOCK_SIZE 2048 -#define SFLASH_BLOCK_COUNT 32 // makes for 64KB of space +#define SFLASH_BLOCK_COUNT MICROPY_PORT_SFLASH_BLOCK_COUNT #define SFLASH_SECTOR_SIZE 512 #define SFLASH_SECTOR_COUNT ((SFLASH_BLOCK_SIZE * SFLASH_BLOCK_COUNT) / SFLASH_SECTOR_SIZE) #define SFLASH_SECTORS_PER_BLOCK (SFLASH_BLOCK_SIZE / SFLASH_SECTOR_SIZE) |
