|
From: <ge...@op...> - 2017-03-15 10:44:30
|
This is an automated email from Gerrit. psocprogrammer (yur...@cy...) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4071 -- gerrit commit 2f93f436df6c37cc020c9083f733f5096d866c7d Author: Yuriy Vynnychek <yur...@cy...> Date: Wed Mar 15 12:42:31 2017 +0200 Added support for new PSoC 6 device. Change-Id: I945b0f21b9dca4b610859b65da816f2b1133098b Signed-off-by: Yuriy Vynnychek <yur...@cy...> diff --git a/src/flash/nor/psoc6.c b/src/flash/nor/psoc6.c index e375d2d..927596e 100755 --- a/src/flash/nor/psoc6.c +++ b/src/flash/nor/psoc6.c @@ -791,7 +791,7 @@ static int Psoc6Erase(struct flash_bank *bank, int first, int last) LOG_DEBUG("first-> 0x%x, last-> 0x%x", first, last - 1); if ((unsigned)(last - 1) != (psoc6Info->flashSizeInKb/FLASH_SECTOR_LENGTH)) { - hr = ERROR_OK + hr = ERROR_OK; LOG_INFO("Count of sector is more then real present"); } else hr = EraseSector(target, first, last - 1); -- |