From ee9daecda52b5c15237386de4c97fc6835fb85d7 Mon Sep 17 00:00:00 2001 From: Oren Cohen Date: Thu, 21 Mar 2019 15:13:02 +0200 Subject: [PATCH 1/4] Add RAM regions for cypress platforms --- tools/arm_pack_manager/index.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/tools/arm_pack_manager/index.json b/tools/arm_pack_manager/index.json index 9ece566809..12996ae2bf 100644 --- a/tools/arm_pack_manager/index.json +++ b/tools/arm_pack_manager/index.json @@ -462801,6 +462801,20 @@ "default": true, "start": "0x10002000", "size": "0x000FE000" + }, + "IRAM1": { + "access": { + "execute": true, + "non_secure": true, + "non_secure_callable": false, + "peripheral": false, + "read": true, + "secure": false, + "write": true + }, + "default": true, + "start": "0x08002000", + "size": "0x00045800" } } }, @@ -462826,6 +462840,19 @@ }, "start": "0x10040000", "size": "0xB8000" + }, + "IRAM1": { + "access": { + "execute": true, + "non_secure": true, + "non_secure_callable": false, + "peripheral": false, + "read": true, + "secure": false, + "write": true + }, + "start": "0x08010000", + "size": "0x37500" } } }, From 19f68d82a97d2959709a9f78d49e089a97241b3f Mon Sep 17 00:00:00 2001 From: Oren Cohen Date: Thu, 21 Mar 2019 15:48:05 +0200 Subject: [PATCH 2/4] Remove cypress targets from CPM --- tools/arm_pack_manager/index.json | 78 ------------------------------- 1 file changed, 78 deletions(-) diff --git a/tools/arm_pack_manager/index.json b/tools/arm_pack_manager/index.json index 12996ae2bf..b3f4278df0 100644 --- a/tools/arm_pack_manager/index.json +++ b/tools/arm_pack_manager/index.json @@ -462778,83 +462778,5 @@ ], "vendor": "Nordic Semiconductor:54" }, - "CY8C6347BZI-BLD53": { - "core": "Cortex-M4", - "vendor": "Cypress", - "sectors": [ - [ - 268435456, - 512 - ] - ], - "memories": { - "IROM1": { - "access": { - "execute": true, - "non_secure": true, - "non_secure_callable": false, - "peripheral": false, - "read": true, - "secure": false, - "write": true - }, - "default": true, - "start": "0x10002000", - "size": "0x000FE000" - }, - "IRAM1": { - "access": { - "execute": true, - "non_secure": true, - "non_secure_callable": false, - "peripheral": false, - "read": true, - "secure": false, - "write": true - }, - "default": true, - "start": "0x08002000", - "size": "0x00045800" - } - } - }, - "CY8C6247BZI-D54": { - "core": "Cortex-M4", - "vendor": "Cypress", - "sectors": [ - [ - 268435456, - 512 - ] - ], - "memories": { - "IROM1": { - "access": { - "execute": true, - "non_secure": true, - "non_secure_callable": false, - "peripheral": false, - "read": true, - "secure": false, - "write": true - }, - "start": "0x10040000", - "size": "0xB8000" - }, - "IRAM1": { - "access": { - "execute": true, - "non_secure": true, - "non_secure_callable": false, - "peripheral": false, - "read": true, - "secure": false, - "write": true - }, - "start": "0x08010000", - "size": "0x37500" - } - } - }, "version": "0.2.0" } From d568e8734e9a2de4c10032497aea56f90f7f3b92 Mon Sep 17 00:00:00 2001 From: Oren Cohen Date: Thu, 21 Mar 2019 16:01:04 +0200 Subject: [PATCH 3/4] Remove device_name from targets.json --- targets/targets.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/targets/targets.json b/targets/targets.json index f8135acab2..ee5c873eb8 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -8121,7 +8121,6 @@ "public-ram-start": "0x08047600", "public-ram-size": "0x200" }, - "device_name": "CY8C6247BZI-D54", "bootloader_supported": true }, "CY8CMOD_062_4343W": { @@ -8153,7 +8152,6 @@ "post_binary_hook": { "function": "PSOC6Code.complete" }, - "device_name": "CY8C6347BZI-BLD53", "bootloader_supported": true }, "CY8CKIT_062_4343W": { From 6f7f30fb2476a725312bfa161f0e2182ad02753e Mon Sep 17 00:00:00 2001 From: Oren Cohen Date: Thu, 21 Mar 2019 17:47:32 +0200 Subject: [PATCH 4/4] Add missing sector data --- targets/targets.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/targets/targets.json b/targets/targets.json index ee5c873eb8..8553e804b8 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -8121,6 +8121,7 @@ "public-ram-start": "0x08047600", "public-ram-size": "0x200" }, + "sectors": [[268435456, 512]], "bootloader_supported": true }, "CY8CMOD_062_4343W": { @@ -8152,6 +8153,7 @@ "post_binary_hook": { "function": "PSOC6Code.complete" }, + "sectors": [[268443648, 512]], "bootloader_supported": true }, "CY8CKIT_062_4343W": {