from stm32lx.c:104
struct stm32lx_part_info
{
uint16_t id;
const char *device_str;
const struct stm32lx_rev *revs;
size_t num_revs;
unsigned int page_size;
unsigned int pages_per_sector;
uint16_t max_flash_size_kb;
uint16_t first_bank_size_kb;
bool has_dual_banks;
uint32_t flash_base;
uint32_t fsize_base;
};