Browse Source

atsamv: Support for ATSAMS70N19 Memory Configuration

Change-Id: I3c17fcb7ee053f92aa583149bea7b8e33b3b86f7
Signed-off-by: gtrotter@bulogics.com
Reviewed-on: http://openocd.zylin.com/3834
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
tags/v0.10.0-rc1
Gabrielle Trotter 7 years ago
committed by Andreas Fritiofson
parent
commit
b9ee6dd465
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/flash/nor/atsamv.c

+ 3
- 0
src/flash/nor/atsamv.c View File

@@ -363,6 +363,9 @@ static int samv_probe(struct flash_bank *bank)

uint8_t nvm_size_code = (device_id >> 8) & 0xf;
switch (nvm_size_code) {
case 10:
bank->size = 512 * 1024;
break;
case 12:
bank->size = 1024 * 1024;
break;


Loading…
Cancel
Save