Then, install the Python environment PlatformIO in the system because you have to use the command line: In the extensions menu, search for “PlatformIO” and click on “Install”. Linux : sudo apt-get install vscode PlatformIOįirst, install PlatformIO in VSCode. They can replace the Arduino IDE: VSCode and PlatformIO VSCode and PlatformIO have already been the subject of a previous article. However, Ceedling adds a CMock simulator which saves a lot of time when testing functions with a lot of dependencies. PlatformIO already integrates a unit test system with Unity. The evolution of the software is secure.Portability and refactoring are easier.Dependencies and interfaces are better managed.The code is cleaner, tidier, and has fewer errors.Productivity is enhanced with the division into small features.Avoids forgetting to implement features.List of some advantages of test-driven development (TDD): Indeed, using a test-driven development method brings a lot of benefits. This set of tools allows for development of embedded software for STM32 driven testing with VSCode editor. Therefore, it is essential to use testing and documentation tools.įor all these reasons, I created this tutorial for using PlatformIO with STM32cube and Ceedling. However, I often have to pause certain projects for a few weeks. It is also an opportunity to experience and use different tools that I appreciate. I frequently use STM32 based cards in my personal projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |