update memory layout
This commit is contained in:
1 parent
4a0b0caaf8
commit
c22eb3e9ca
5 files changed
+54
-11
No files matched your search
@@ -24,13 +24,9 @@ void setup() {
|
||||
|
||||
// the loop function runs over and over again forever
|
||||
void loop() {
|
||||
#if 0
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
digitalToggle(LED_BLUE); // turn the LED on (HIGH is the voltage level)
|
||||
delay(1000); // wait for a second
|
||||
}
|
||||
#endif
|
||||
|
||||
systemOff(A0, HIGH);
|
||||
}
|
||||
@@ -14,12 +14,12 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
/* This example erase the content of 28KB User Data starting from 0x6D000
|
||||
/* This example erase the content of 28KB User Data starting from 0x6F000
|
||||
* (used by NFFS) using low level API sd_flash_page_erase() with SoftDevice
|
||||
* DISABLED. In other words, it performs low level formating of NFFS.
|
||||
*/
|
||||
|
||||
#define STARTING_ADDR 0x06D000
|
||||
#define STARTING_ADDR 0x06F000
|
||||
#define SECTOR_SIZE 4096
|
||||
#define ERASE_SIZE (7*SECTOR_SIZE)
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ extern "C" {
|
||||
|
||||
// Adafruit
|
||||
#define NFFS_SECTOR_NUM 7
|
||||
#define NFFS_START_ADDR 0x6D000
|
||||
#define NFFS_START_ADDR 0x6F000
|
||||
|
||||
#define FLASH_AREA_NFFS 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user