Skip to content

Commit aedec74

Browse files
Oleg Kapshiicy-opm
authored andcommitted
Added support for PSA target to WIFI_BT board
Added WiFi_Bt CM4 PSA target in mbedos json Added SPE-NSPE mailbox initialization for CM4 SystemInit Made similar to FUTURE_SEQUANA configurations Copied FUTURE_SEQUANA CM0 SPM part for WiFi_Bt smoke test Added CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets Sorted files for new CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets Copied files for CY8CKIT_062_WIFI_BT_M0_PSA from FUTURE_SEQUANA Copied and updated cm0p start files Corrected according to FUTURE_SEQUANA Changes to M0 startup files to have SPM started Fixed implicit declaration warning Commented interrupts enabling according to FUTURE_SEQUANA flow Updated prebuild spm_smore CM0 hex for CM4 target Turned on greentea environment Used special memory region for common CM0/CM4 data Updated prebuild CM0 SPM hex Placed shared memory region for flash operations into SPM shared memory region Updated cyprotection code and configuration Start address of protected regions is set by a defined number from target.json Added masters pcMask configuration Added support for PSA target to WIFI_BT board Enabled resources protection for SPM Aligned RAM usage according to Cypress FlashBoot and CyBootloader alligned protection config Added CYW943012P6EVB_01_M0 target Enlarged heap size, remobed nv_seed Added heap reservation in linker script from mbed-os Removed heap size definition turned on nv_seed config Removed nv_seed macros Enabled protection for PSoC6 CM0 Added PSoC6 CM0 PSA readme Enabled mbed_hal-spm test Enabled nv_seed and removed unneeded ipc config define Added SPDX string to feature_ble cypress target files Removed unneeded supported_toolchains lines for Cypress targets Disabled protection settings Corrected flash initialization for PSoC6 CM0 PSA Changed PSoC6 IPC6 protection for flash Enabled special flash initialization and enabled protection settings Updated and added new prebuild PSoC6 CM0 PSA hex files Disabled HW TRNG and CRC for PSoC6 CM4 PSA target Added missing const to allow types to match Updated PSoC6 WIFI_BT_PSA prebuilt directory Moved PSoC6 shared section usage area definition to begin of ld Added initial ARM_STD linker and startup files for PSoC6 CM0 Added initial IAR linker and startup files for PSoC6 CM0 Added defines to disable some SPM protection settings for PSoC64 Moved Flash function variables into separate memory region Added defines for new Public area definition Updated PSoC6 CM0_PSA hex-files
1 parent 277c91f commit aedec74

File tree

63 files changed

+66349
-4004
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+66349
-4004
lines changed

TESTS/mbedmicro-rtos-mbed/mail/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ using namespace utest::v1;
3333
#define THREAD_STACK_SIZE 512
3434
#elif defined(__ARM_FM)
3535
#define THREAD_STACK_SIZE 512
36-
#elif defined(TARGET_FUTURE_SEQUANA_PSA)
36+
#elif defined(TARGET_FUTURE_SEQUANA_PSA) || defined(TARGET_CY8CKIT_062_WIFI_BT_PSA)
3737
#define THREAD_STACK_SIZE 512
3838
#else
3939
#define THREAD_STACK_SIZE 320 /* larger stack cause out of heap memory on some 16kB RAM boards in multi thread test*/

TESTS/mbedmicro-rtos-mbed/malloc/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ volatile bool thread_should_continue = true;
4141
#define THREAD_STACK_SIZE 512
4242
#elif defined(__ARM_FM)
4343
#define THREAD_STACK_SIZE 512
44-
#elif defined(TARGET_FUTURE_SEQUANA_PSA)
44+
#elif defined(TARGET_FUTURE_SEQUANA_PSA) || defined(TARGET_CY8CKIT_062_WIFI_BT_PSA)
4545
#define THREAD_STACK_SIZE 512
4646
#else
4747
#define THREAD_STACK_SIZE 256

TESTS/mbedmicro-rtos-mbed/threads/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#define PARALLEL_THREAD_STACK_SIZE 512
3737
#elif defined(__ARM_FM)
3838
#define PARALLEL_THREAD_STACK_SIZE 512
39-
#elif defined(TARGET_FUTURE_SEQUANA_PSA)
39+
#elif defined(TARGET_FUTURE_SEQUANA_PSA) || defined(TARGET_CY8CKIT_062_WIFI_BT_PSA)
4040
#define PARALLEL_THREAD_STACK_SIZE 512
4141
#else
4242
#define PARALLEL_THREAD_STACK_SIZE 384

features/FEATURE_BLE/targets/TARGET_Cypress/TARGET_CY8C63XX/Psoc6BLE.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* mbed Microcontroller Library
33
* Copyright (c) 2017-2017 ARM Limited
44
* Copyright (c) 2017-2018 Future Electronics
5+
* SPDX-License-Identifier: Apache-2.0
56
*
67
* Licensed under the Apache License, Version 2.0 (the "License");
78
* you may not use this file except in compliance with the License.

features/FEATURE_BLE/targets/TARGET_Cypress/TARGET_CY8C63XX/drivers/IPCPipeTransportDriver.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* mbed Microcontroller Library
33
* Copyright (c) 2017-2017 ARM Limited
44
* Copyright (c) 2017-2018 Future Electronics
5+
* SPDX-License-Identifier: Apache-2.0
56
*
67
* Licensed under the Apache License, Version 2.0 (the "License");
78
* you may not use this file except in compliance with the License.

features/FEATURE_BLE/targets/TARGET_Cypress/TARGET_CY8C63XX/drivers/IPCPipeTransportDriver.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* mbed Microcontroller Library
33
* Copyright (c) 2017-2017 ARM Limited
44
* Copyright (c) 2017-2018 Future Electronics
5+
* SPDX-License-Identifier: Apache-2.0
56
*
67
* Licensed under the Apache License, Version 2.0 (the "License");
78
* you may not use this file except in compliance with the License.

features/FEATURE_BLE/targets/TARGET_Cypress/TARGET_CYW43XXX/HCIDriver.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2018 ARM Limited
3+
* SPDX-License-Identifier: Apache-2.0
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");
56
* you may not use this file except in compliance with the License.

features/storage/kvstore/conf/global/mbed_lib.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"FUTURE_SEQUANA_M0_PSA": {
1515
"storage_type": "TDB_INTERNAL"
1616
},
17+
"CY8CKIT_062_WIFI_BT_M0_PSA": {
18+
"storage_type": "TDB_INTERNAL"
19+
},
1720
"K66F": {
1821
"storage_type": "TDB_INTERNAL"
1922
},

features/storage/kvstore/conf/tdb_internal/mbed_lib.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
"FUTURE_SEQUANA_M0_PSA": {
1515
"internal_size": "0x8000",
1616
"internal_base_address": "0x10078000"
17+
},
18+
"CY8CKIT_062_WIFI_BT_M0_PSA": {
19+
"internal_size": "0x8000",
20+
"internal_base_address": "0x10078000"
1721
}
1822
}
1923
}

features/storage/nvstore/mbed_lib.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,24 @@
4949
},
5050
"FUTURE_SEQUANA_M0_PSA": {
5151
"enabled" : false
52+
},
53+
"CY8CKIT_062_WIFI_BT": {
54+
"area_1_address": "0x100F8000",
55+
"area_1_size": 16384,
56+
"area_2_address": "0x100FC000",
57+
"area_2_size": 16384
58+
},
59+
"CY8CKIT_062_WIFI_BT_M0": {
60+
"area_1_address": "0x10078000",
61+
"area_1_size": 16384,
62+
"area_2_address": "0x1007C000",
63+
"area_2_size": 16384
64+
},
65+
"CY8CKIT_062_WIFI_BT_PSA": {
66+
"enabled" : false
67+
},
68+
"CY8CKIT_062_WIFI_BT_M0_PSA": {
69+
"enabled" : false
5270
}
5371
}
5472
}

0 commit comments

Comments
 (0)