To access the internal flash of STM32F042K6.

This library provides a Partition class used to segment the STM32F042K6 internal flash so that the caller can read/write/erase the partition.

Examples

    FlashPartition config(0x7c00, 0x400);

    uint8_t buf[16];
    config.Read(address, buf, sizeof(buf));

    config.EraseAll();
    config.Write(address, buf, sizeof(buf));

Revisions of f042k6_flash.cpp

Revision Date Message Actions
1:7a490a05943a 2017-09-11 Remove debug message. File  Diff  Annotate
0:a71e3b72379a 2017-08-29 First commit File  Diff  Annotate