devops-community

Open full view…

Puzzling RTist TargetRTS Wizard Behavior

morrisrx
Mon, 15 Jul 2019 22:53:21 GMT

Version: RTist 2019.27 In the "Edit" mode, the TargetRTS Wizard sometimes will have greyed out the "Target", "Libset", or "Config" check boxes which enable editing of each of the above for a given target configuration. One example the behavior is I have two directory trees one for the 10.2 TargetRTS and a separate one for the 10.3 TargetRTS. One of my configurations which I call NUCLEO767ZIT.arm-none-eabi-cortexm-gnu-7.3.1 has all 3 options available in the 10.2 TargetRTS directory tree, but only "Libset" and "Config" in the 10.3 TargetRTS directory tree. If I difference the TargetRTS/target/NUCLEO767ZIT directory it is identical in both the 10.2 and 10.3 directory trees. This type of behavior has been in existence for many past versions of RTist and RSARTE. It is a behavior I don't remember ever seeing with Rose RT.

morrisrx
Mon, 15 Jul 2019 23:31:22 GMT

With more investigation here is what is happening. If I have a target configuration say "NUCLEO767ZIT.arm-none-eabi-cortexm-gnu-7.3.1" and I duplicate it and rename the libset to use a new lib set "NUCLEO767ZIT.arm-none-eabi-cortexm-gnu-8.3.1", on selecting "Edit" the "Target" option is disabled apparently because there are now two configurations that use the same "Target". Similarly, if I have multiple configurations that use the same libset "Libset" will be greyed out. This seems to be a bug, because both the "Target" and "Libset" options have a note: "(Will affect all configurations using this target/libset)" and this behavior didn't happen in Rose RT. If I duplicate "NUCLEO767ZIT.arm-none-eabi-cortexm-gnu-7.3.1" and give it a new target name say "NUC767ZIT.arm-none-eabi-cortexm-gnu-8.3.1" then all options are available when I select "Edit". One suspicion is perhaps the same logic to disable the options is the same as used by "Delete" where you wouldn't w ant to allow deleting a target or libset if it was used by multiple configurations when deleting a given configuration.

Pritesh Patel
Tue, 16 Jul 2019 15:11:09 GMT

Thank you for providing the details on the issue that you are seeing. We have taken note and will try to replicate the behavior here, as well as submit it to the development team for further analysis also.

Pritesh Patel
Tue, 06 Aug 2019 22:55:03 GMT

Hello. A quick update on this. We have determined that during the TargetRTS Wizard Edit configuration operation, certain checks are made as part of the design for editing configurations. Due to this, you can't edit target/libset from configurations included in RSARTE. The above has been documented, though it may not be that apparent because the documentation, in which it is outlined in, is the "The RT Services Library - How to manage it using the TargetRTS wizard". See section 1.6 Editing Configurations [TargetRTSWiz-EditConfig](//muut.com/u/devops-community/s1/:devops-community:bcs7:targetrtswizeditconfig.jpg.jpg) Let me know if the above helps or whether you have any further questions/concerns. Many thanks, Pritesh...

morrisrx
Wed, 07 Aug 2019 02:16:33 GMT

I understand you can't edit target/libset configurations included in RSARTE/RTist. The target/libset configurations that I am editing are those that I created myself and not the included configurations.