Is there an existing issue for this?
Current Behavior
After creating a project for any device (let's take microchip device PIC32CM-PL10) on CMSIS toolbox, a wizard pops up asking us to choose between AC6 or GCC compilers. As per the selection, let's say I selected AC6, corresponding startup file, linker files are loaded onto the RTE section of the project's folder structure.
Now, if I change the "-compiler :" in csolutions.yml to GCC, the new startup file corresponding to GCC must get loaded onto the RTE section replacing the older one. However, this action does not take place. This will lead to build error.
For now, we have a found a work around by firstly deleting the RTE files, changing the compiler to the new one and then reactivating the environment. These steps will reload the RTE section with the files belonging to the newly selected compiler.
Expected Behavior
Changing the compiler in csolution.yml file should trigger a RTE update to delete older files and later copy compiler specific files onto RTE.
Steps To Reproduce
- Load the project with default compiler selection
- Change the compiler tag "-compiler:" to a different compiler which uses different files
- Observe that the older compiler files are still in the RTE and was never removed.
- Files related to new compiler are also copied onto the RTE
Affected tools
Affected operating systems
Environment
Is there an existing issue for this?
Current Behavior
After creating a project for any device (let's take microchip device PIC32CM-PL10) on CMSIS toolbox, a wizard pops up asking us to choose between AC6 or GCC compilers. As per the selection, let's say I selected AC6, corresponding startup file, linker files are loaded onto the RTE section of the project's folder structure.
Now, if I change the "-compiler :" in csolutions.yml to GCC, the new startup file corresponding to GCC must get loaded onto the RTE section replacing the older one. However, this action does not take place. This will lead to build error.
For now, we have a found a work around by firstly deleting the RTE files, changing the compiler to the new one and then reactivating the environment. These steps will reload the RTE section with the files belonging to the newly selected compiler.
Expected Behavior
Changing the compiler in csolution.yml file should trigger a RTE update to delete older files and later copy compiler specific files onto RTE.
Steps To Reproduce
Affected tools
Affected operating systems
Environment