Open jkrech opened 2 years ago
Let's discuss in the project meeting. How about placing a file with a unique file name or file extension side by side with the *.csolution.yml file containing the debug configuration data. This way the IDE will know that it needs to read this project local file rather than extracting the data from the DFP/BSP without the need to add this data in the csolution file itself?
During the meeting we did not have any voices opposing the idea to include debug configuration meta information being added to the csolution.yml format. @tcsunhao please feel free to create a new issue proposing the meta information required for debug configuration. The main question for me is whether we can extract commonality across debuggers and IDEs enabling basic operations like flash programming and run-stop debug and advanced operations requiring specific configuration options e.g. linked as config files...
Does cprj
support a debug section?
@jankap, no the current cprj format does not specify meta information related to programming and debugging a device.
I suggest that next step is a gap analysis with VS Code debug integrations.
MCUXpresso SDK/IDE wants to provide out-of-box debug experience for customers which means customers can directly import/copy project from pack and download/debug with one or 2 click without requiring manual configuration by the user. To achieve this, some debug configuration should be provided in packs. The reality is for a device, most examples can share the same debug configuration data, we plan to place it under "environment name="mcux"" in pdsc of DFP/BSP. But some examples may need special configuration due to many reasons. For example specific debug configuration data, like
I see 2 place for such example specific data:
I know csolution/cprj focus on build, but it should provide place for debug configuration data.
Originally posted by @tcsunhao in https://github.com/Open-CMSIS-Pack/devtools/issues/171#issuecomment-1127362560