Skip to content
Snippets Groups Projects
Commit 278f6317 authored by Tomas Vanek's avatar Tomas Vanek Committed by Freddie Chopin
Browse files

flash/nor: at91samd modified to use real erase sector size


Before this change SAMD driver defined "sector" equal to a flash
protection block. Oversize sectors (16kB for the biggest flash size)
made problems for flashing firmware split to two or more parts.

Removed superfluous test of sector protection before erase.

Change-Id: I8e6a6bda6ccd91eda2df67ec48270c69faa1bdd1
Signed-off-by: default avatarTomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/3546


Tested-by: jenkins
Reviewed-by: default avatarStian Skjelstad <stian@nixia.no>
Reviewed-by: default avatarFreddie Chopin <freddie.chopin@gmail.com>
parent 24c30275
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment