Closed danclement closed 4 years ago
Hi @danclement,
Please take a look into CMSIS-Pack documentation to make yourself familiar with it. A Pack is simply an archive containing a pack description (pdsc). What you need to put into this archive depends on your usage intend. For a device family pack (DFP) we typically add:
Please feel free to let us know about your CMSIS Pack related questions and feedback on the CMSIS GitHub site.
Best, Jonatan [Mirrored to Jira]
@JonatanAntoni, thanks for your link to the CMSIS GitHub site. I'm familiar with the documentation and I have been studying it.
Unfortunately my points must not have been clear, I'm seeking advice for how best to implement and integrate a CMSIS pack for use inside mbed, and how to attach it to the project exporter tools.
For general CMSIS pack questions I will use the general CMSIS GitHub issues list, but my questions remain with regards to mbed.
Thanks, Dan [Mirrored to Jira]
Hi @danclement,
GCC does not use CMSIS-PACKs.
The Keil exporter looks in the arm-pack-manager's cache for it's information. We need to add the NCS36510 to the cache, with pack_manager.py
and add the device_name
, which corresponds to a device in the DFP pack, into targets.json
. Then we can start testing the Keil exporter (in CI!).
IAR requires all of the same steps as Keil, and an additional step: we need some information to fill out the template with. This info is in iar_definitions.json
. After updating that, we can also test the IAR exporter in CI.
[Mirrored to Jira]
Further, Mbed only uses the device description from the CMSIS-PACK at the moment. [Mirrored to Jira]
Thanks @theotherjimmy, I'll work on getting the CMSIS pack for NCS36510 put together. When you mention the device description, is this the SVD file or just the description in the pdsc file?
Should I prepare the pack and then send it you, or am I expected to make the changes above and do pull requests?
Thanks [Mirrored to Jira]
@danclement Good catch! I was referring to the device description in the pdsc
file.
[Mirrored to Jira]
P.S. I sent my prototype pack to Mac yesterday, maybe he can help us figure out how to hack it into mbed and if what I made is good enough for now. @maclobdell [Mirrored to Jira]
Nice! I'll take a look. [Mirrored to Jira]
Internal Jira reference: https://jira.arm.com/browse/IOTPART-5647
Thank you for raising this issue. Please note we have updated our policies and now only defects should be raised directly in GitHub. Going forward questions and enhancements will be considered in our forums, https://forums.mbed.com/ . If this issue is still relevant please re-raise it there. This GitHub issue will now be closed.
Need advice for how best to implement a minimal viable CMSIS pack for target NCS36510, how to test it, and how to integrate the pack into mbed so the project exporter can support Keil (and GCC and IAR if they can use the CMSIS pack also).
@theotherjimmy @maclobdell @jacobjohnson-ON
Summary of question points
Target NCS36510
Toolchain: GCC_ARM|ARM|IAR