新手上路
- 积分
- 36
- 金钱
- 36
- 注册时间
- 2022-5-31
- 在线时间
- 6 小时
|

楼主 |
发表于 2023-4-17 09:55:31
|
显示全部楼层
- #ifdef STM32F10x_128
- struct FlashDevice const FlashDevice = {
- FLASH_DRV_VERS, // Driver Version, do not modify!
- "STM32F10x Med-density Flash", // Device Name (128kB/64kB/32kB)
- ONCHIP, // Device Type
- 0x08000000, // Device Start Address
- 0x00020000, // Device Size in Bytes (128kB)
- 1024, // Programming Page Size
- 0, // Reserved, must be 0
- 0xFF, // Initial Content of Erased Memory
- 100, // Program Page Timeout 100 mSec
- 500, // Erase Sector Timeout 500 mSec
- // Specify Size and Address of Sectors
- 0x0400, 0x000000, // Sector Size 1kB (128 Sectors)
- SECTOR_END
- };
- #endif
复制代码 |
|