You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I was able to hack at the minified js code for ClockConfigure to get what I want. I just implemented oncopy in the window.onload() method and manually ran the code generator functions (these are minified names):
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.The text was updated successfully, but these errors were encountered: