mirror of https://github.com/ARMmbed/mbed-os.git
PSoC 62/63: set correct mbed_ram_start and mbed_ram_size
In case when target.mbed_ram_start and target.mbed_ram_size are not set neither in targets.json nor in mbed_app.json, the IRAM1 region values defined in tools/arm_pack_manager/index.json are passed by Mbed CLI as the linker script preprocessing flags. As a result, wrong addresses of MBED_RAM_START and MBED_RAM_SIZE are defined in the linker script since CMSIS DFP pack has no information about RAM split between CM0+ and CM4 applications. Set the values explicitly in targets.json to ensure the correct RAM layout. The MBED_ROM_START and MBED_ROM_SIZE provided by CMSIS DFP are already correct since the linker scripts places CM4 vector table at MBED_APP_START, taking into account the flash application area of the CM0+ prebuilt application.pull/12752/head
parent
ded879daed
commit
b61cf5bdd6
|
|
@ -13689,6 +13689,8 @@
|
|||
"CYBSP_WIFI_CAPABLE"
|
||||
],
|
||||
"device_name": "CY8C624ABZI-D44",
|
||||
"mbed_ram_start": "0x08002000",
|
||||
"mbed_ram_size": "0x000FD800",
|
||||
"detect_code": [
|
||||
"1901"
|
||||
],
|
||||
|
|
@ -13731,6 +13733,8 @@
|
|||
"CYBSP_WIFI_CAPABLE"
|
||||
],
|
||||
"device_name": "CY8C624ABZI-D44",
|
||||
"mbed_ram_start": "0x08002000",
|
||||
"mbed_ram_size": "0x000FD800",
|
||||
"detect_code": [
|
||||
"190B"
|
||||
],
|
||||
|
|
@ -13765,6 +13769,8 @@
|
|||
"CY_STORAGE_WIFI_DATA=\".cy_xip\""
|
||||
],
|
||||
"device_name": "CY8C6245LQI-S3D72",
|
||||
"mbed_ram_start": "0x08002000",
|
||||
"mbed_ram_size": "0x0003D800",
|
||||
"detect_code": [
|
||||
"190E"
|
||||
],
|
||||
|
|
@ -13842,6 +13848,8 @@
|
|||
"CYBSP_WIFI_CAPABLE"
|
||||
],
|
||||
"device_name": "CY8C6247BZI-D54",
|
||||
"mbed_ram_start": "0x08002000",
|
||||
"mbed_ram_size": "0x00045800",
|
||||
"detect_code": [
|
||||
"1900"
|
||||
],
|
||||
|
|
@ -13875,6 +13883,8 @@
|
|||
"CY8C6347BZI_BLD53"
|
||||
],
|
||||
"device_name": "CY8C6347BZI-BLD53",
|
||||
"mbed_ram_start": "0x08002000",
|
||||
"mbed_ram_size": "0x00045800",
|
||||
"detect_code": [
|
||||
"1902"
|
||||
],
|
||||
|
|
@ -13905,6 +13915,8 @@
|
|||
"CYBLE_416045_02"
|
||||
],
|
||||
"device_name": "CYBLE-416045-02",
|
||||
"mbed_ram_start": "0x08002000",
|
||||
"mbed_ram_size": "0x00045800",
|
||||
"detect_code": [
|
||||
"1904"
|
||||
],
|
||||
|
|
@ -13972,6 +13984,8 @@
|
|||
"CYBSP_WIFI_CAPABLE"
|
||||
],
|
||||
"device_name": "CY8C6247BZI-D54",
|
||||
"mbed_ram_start": "0x08002000",
|
||||
"mbed_ram_size": "0x00045800",
|
||||
"detect_code": [
|
||||
"1900"
|
||||
],
|
||||
|
|
@ -14010,6 +14024,8 @@
|
|||
"CYBSP_WIFI_CAPABLE"
|
||||
],
|
||||
"device_name": "CY8C6247BZI-D54",
|
||||
"mbed_ram_start": "0x08002000",
|
||||
"mbed_ram_size": "0x00045800",
|
||||
"detect_code": [
|
||||
"1906"
|
||||
],
|
||||
|
|
@ -14050,6 +14066,8 @@
|
|||
"CYBSP_WIFI_CAPABLE"
|
||||
],
|
||||
"device_name": "CY8C6247FDI-D52",
|
||||
"mbed_ram_start": "0x08002000",
|
||||
"mbed_ram_size": "0x00045800",
|
||||
"detect_code": [
|
||||
"1903"
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue