NVM: consideration of SoftDevice memory layout (#977)

This commit is contained in:
d00616
2017-11-07 21:54:00 +01:00
committed by Henrik Ekblad
parent 2d5404de97
commit 0042cd4bee
3 changed files with 21 additions and 10 deletions
+4 -6
View File
@@ -30,12 +30,6 @@
#include <Arduino.h>
#include <stdio.h> // for size_t
#ifdef __RFduino__
#include <chip.h>
#else
#include <nrf.h>
#endif
/*
* Define characteristics of Flash
*
@@ -133,6 +127,10 @@ public:
* @return address of given page
*/
uint32_t *page_address(size_t page);
/** Get top of available flash for application data
* @return Last available address + 1
*/
uint32_t *top_app_page_address();
//----------------------------------------------------------------------------
/*
* Accessing flash memory