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
Hey, I found platformIO a few days ago, I think it is great. Because I just started using it, so there are some questions. The first question, when I use Platformio's Go to function definition function, how do I transfer it back, the second question, when I created a project with an ST chip, for example (STM32F103C86), now I changed a chip For example (STM32F103ZET6), how can I make the same code run on different chips?
The text was updated successfully, but these errors were encountered:
Hopefully you've found out by now that the VSCode? (assuming that's the IDE you're using) Go to Definition / Go to declaration commands open the relevant code up in a new tab, so you can just close the tab or switch back to the one you were previously on by clicking on it...
To change which microcontroller you're using, you could either change the board parameter for your current build environment, or add a second environment if you want to be able to build code for both microcontrollers. But first, check the boards registry page to see what boards are support, what frameworks, etc. Then when you find it, you can open the specific documentation page for that board / microcontroller, and see what configuration options it needs / supports. Such as the correct boards parameter for the STM32F103ZE.
So, for the F103C8 you might have specified board = genericSTM32F103C8 in your platformio.ini file. Assuming you want the same framework for both (Arduino, libOpenCM3, STM32Cube), you only need to change the board parameter to board = genericSTM32F103ZE, as well as make any changes needed in your code if there was anything specific to the F103C8.
Hey, I found platformIO a few days ago, I think it is great. Because I just started using it, so there are some questions. The first question, when I use Platformio's Go to function definition function, how do I transfer it back, the second question, when I created a project with an ST chip, for example (STM32F103C86), now I changed a chip For example (STM32F103ZET6), how can I make the same code run on different chips?
The text was updated successfully, but these errors were encountered: