Mbed-os: Need to update arm_pack_manager file

Created on 10 Oct 2019  路  6Comments  路  Source: ARMmbed/mbed-os

Description

Several script in MBED are using MBED_RAM_START / MBED_RAM_SIZE / MBED_ROM_START / MBED_ROM_SIZE macro.

These information comes from the pack manager file:
https://github.com/ARMmbed/mbed-os/blob/master/tools/arm_pack_manager/index.json

It is a long time it has not been generated thanks to latest pack from https://www.keil.com/dd2/pack/

Generation script should be even available and documented in order to allow each customer to add the newest chip.

@MarceloSalazar
@theotherjimmy

Issue request type

[ ] Question
[x] Enhancement
[ ] Bug
CLOSED mirrored

Most helpful comment

@ARMmbed/mbed-os-tools

All 6 comments

This generation script has to take into account the new dual core chips.
The extracted "device_name" should be updated to take into account core name.

Ex with STM32H747:
<device Dname="STM32H747XIHx"> <memory Pname="CM7" name="FLASH_Bank1" access="rx" id="IROM1" start="0x08000000" size="0x00100000" default="1" startup="1"/> <memory Pname="CM4" name="FLASH_Bank2" access="rx" id="IROM1" start="0x08100000" size="0x00100000" default="1" startup="1"/>

The index.json file should then contain 2 targets:

  • STM32H747XIHx_CM7
  • STM32H747XIHx_CM4

Thx

@bulislaw
@ARMmbed/team-st-mcd

@ARMmbed/mbed-os-tools

Generation script should be even available and documented in order to allow each customer to add the newest chip.

I don't recall how to update but it was updated couple of times with target additions. I'll try to find the notes somewhere.

It is not very straight forward right now, as the cmsis-pack-manager (or, rather - RustTLS) has some TLS handshake issue.

I am closing this issue as I don't have any specific issue.
But I think ARM should take about this big pack manager file.

Was this page helpful?
0 / 5 - 0 ratings