eclipse-plugins icon indicating copy to clipboard operation
eclipse-plugins copied to clipboard

Add variable to packs path

Open in4lio opened this issue 9 years ago • 5 comments

Please add a ${variable} that will point to the folder of selected CMSIS Pack for the current project. Something like ${ProjDirPath}.

in4lio avatar Feb 10 '16 13:02 in4lio

ok, to remain consistent with the other definitions, the first suggestion for the variable name is packs_path.

ilg-ul avatar Feb 10 '16 20:02 ilg-ul

Yes, packs_path will point to Packages folder.

Also, for the current project, it would be nice to have variable ${selected_pack_folder} that will contain path relative to ${packs_path}.

For example ${packs_path}/${selected_pack_folder} could point to: c:\dev\Packages\Keil\STM32F1xx_DFP\2.0.0

in4lio avatar Feb 11 '16 10:02 in4lio

I have deleted from previous message a reference to Keil 5, I think it's too complicated way)

in4lio avatar Feb 11 '16 10:02 in4lio

I don't think that more package specific variables are realistic, there are too many.

anyway, package management should be automatic, a wizard should create all paths relative to ${packs_path}, so there should be no need to manually manage so many paths.

I am planning such a new wizard, but it'll take a while to implement it.

ilg-ul avatar Feb 11 '16 11:02 ilg-ul

This way also seems to be quite reasonable.

in4lio avatar Feb 11 '16 12:02 in4lio