diff --git a/lib/flash_internal.h b/lib/flash_internal.h index aaee58b..9908209 100644 --- a/lib/flash_internal.h +++ b/lib/flash_internal.h @@ -15,20 +15,11 @@ /** library to read/write internal flash (API) * @file flash_internal.h * @author King Kévin - * @date 2016 + * @date 2016-2017 * @note peripherals used: none */ #pragma once -#include // device signature utilities - -/** how much data (in bytes) should we be able to store (be sure it's available and does not overlap the firmware) */ -#define STORAGE_SIZE 2048 -/** the end of the flash area where to store data */ -#define STORAGE_END FLASH_BASE+DESIG_FLASH_SIZE -/** the start of the flash area where to store data (be sure it's after the firmware data) */ -#define STORAGE_START STORAGE_END-STORAGE_SIZE - /** read data from internal flash * @param[in] address start address of the data to read * @param[out] buffer where to store the read data