Open-CMSIS-Pack / Open-CMSIS-Pack-Spec

Common Microcontroller Software Interface Standard - Pack(age) based distribution system
https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/
Apache License 2.0
53 stars 21 forks source link

Review CMSIS-Zone #8

Open ReinhardKeil opened 3 years ago

ReinhardKeil commented 3 years ago

This issue is indented to discuss pros/cons of CMSIS-Zone.

The overall concept of CMSIS-Zone is explained here https://arm-software.github.io/CMSIS_5/Zone/html/index.html. The overview page contains a video that explains the operation of CMSIS-Zone.

Strenghts of CMSIS-Zone

Current Implementation Issues

Potential Problem with JAVA FreeMarker is a open-source project managed by the Apache Software Foundation. The current implementation is JAVA based which adds complexity for desktop installations. Also Oracle has the trend to change license conditions - any legal or technical concerns here?

cartu38 commented 3 years ago

About Java / Freemarker I fully share concern. Why not adopting GPDSC https://www.keil.com/pack/doc/CMSIS/Pack/html/pdsc_generators_pg.html same way of working ?

If Eclipse based I may imagine we are discussing here about UI contribution to help .azone creation. According to me such is IDE responsibility to promote its own. But a CLI is required to manage then CMSISzone data -> project files.

ReinhardKeil commented 3 years ago

I take your point to review GDPSC as an option, but the issue here is that we would like standardized ways to generate tool-specific files. The GDPSC approach does not have a template language behind.

Ultimately we should support flows like described here https://github.com/Open-CMSIS-Pack/Open-CMSIS-Pack/issues/12. FreeMarker is a JAVA implementation, but today the dependency to Oracle is gone, as there are open source alternatives for the run-time system. Given the flexiblity, I think FreeMarker templates are an option that we should consider.