Rather than using the "Generate Code" feature, ClockConfigure and PinConfigure should have a button to allow the user to copy the register init code, as plaintext C code, to the clipboard so that they can paste it into their project.
Right now, it's rather clunky to use and integrate these tools into a project. Both ClockConfigure and PinConfigure have a "Generate Code" feature that will create a series of directories and separate MyProject.c source files that both contain a void SYS_Init() method with the generated registers. However, these files obviously can't be used unmodified, since the method names are identical, thus the user has to manually combine the code in these methods into their own project tree.
It seems like it would make more sense to just copy the contents of these generated SYS_Init() methods directly to the clipboard so the user can paste it into their own project.
Rather than using the "Generate Code" feature, ClockConfigure and PinConfigure should have a button to allow the user to copy the register init code, as plaintext C code, to the clipboard so that they can paste it into their project.
Right now, it's rather clunky to use and integrate these tools into a project. Both ClockConfigure and PinConfigure have a "Generate Code" feature that will create a series of directories and separate MyProject.c source files that both contain a
void SYS_Init()method with the generated registers. However, these files obviously can't be used unmodified, since the method names are identical, thus the user has to manually combine the code in these methods into their own project tree.It seems like it would make more sense to just copy the contents of these generated
SYS_Init()methods directly to the clipboard so the user can paste it into their own project.