To access the internal flash of STM32F042K6.
You are viewing an older revision! See the latest version
Homepage
This library provides a Partition class used to segment the STM32F042K6 internal flash so that the caller can read/write/erase the partition.
FlashPartition config(0x7c00, 0x400);
uint8_t buf[16]; config.Read(address, buf, sizeof(buf));
config.EraseAll(); config.Write(address, buf, sizeof(buf));