-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project dependency on https://github.com/Candas1/Arduino-FOC.git requires manual process to update #3
Comments
Hi Rob, I was using this command to update arduino-gd32 after fixes have been published. |
It is possible to open the Platformio Core CLI and issue a command like But it requires a library name. And when I list the installed packages for the project I get
For the "gd32" package, the command |
I just tried this
I will wait until you make any change to your Simple FOC and try again. If it works, we can document how to update both GD32 and SimpleFOC and close this issue |
I used it without a parameter and it worked |
Yes, but I was worried about side effects potentially updating other Platformio projects. I have a few dozens Platformio projects for all processors with various version of libraries. Updating the wrong library would mess up things badly (sometimes a newer library is incompatible and breaks a 3 years old project) with |
ok I thought it was only updating dependencies for the current project/environment. |
Yes, it should update only the current project. But, for example, GD32 is global so it updates it for all projects. And if you have multiple projects open, it's possible to open the CLI on another project without realizing. By adding the |
Ah we can probably use that |
Good idea adding the Custom option! Incidentally, for the time being I would remove the C6 environment. We are all using C8 and having both can cause confusion for some future new contributor. I also found it takes longer to update as it copies the libraries to multiple directories |
I wanted to use the same layout as Robodurden is using for his tests, this layout has a C6 chip. |
@Candas1 now i am a little bit confused myself :-) My test setup with cc power supply that i have with me in my solar camper is a gen2.0 board with c8 chip. The gen2.5 test setup with c6 is back at my train station. |
Well I am either stupid or blind. |
I just realized that when there is a checkin in https://github.com/Candas1/Arduino-FOC.git, it doesn't get automatically processed just by updating (pull) this project.
To make sure all the most recent changes in https://github.com/Candas1/Arduino-FOC.git are picked up, the safest way is to remove the .pio directory and let Platformio re-download the most recent code from github.
Otherwise it's possible to copy the changed files into .pio\build\libdeps\GD32F130C8\SimpleFOC\ and .pio\build\libdeps\GD32F130C8\SimpleFOC\
This is simply a side effect of not having released versions of the GD32 SimpleFOC and the ability of updating them from the Platformio UI
The text was updated successfully, but these errors were encountered: