VPC2 – update

Well, almost ready. Both Nucleo and LQFP64 pin configuration windows (both of them have functional, click-able pads) will use common code to set the pins. This results in clearer and cleaner code.

The GUI functionality will be a little different than in the first version of VPC regarding setting the parameters of the peripherals, but not in a bad way, I think. You’ll see.

The project file has a new version. The VPC2 will be able to load projects created with the version one, but it will save the opened project as version two. Now those (three) pins that have fixed, permanent functions because how the Nucleo hardware is set (USART2 and user button B1), will also be saved in the project file, allowing further modification of the application’s code.

I2C1 will be able to use any of the two pairs of pins (PB8-PB9, PB6-PB7). Currently, it uses only PB8-PB9 pair.

I had to do this, as the initial code was kind of an experiment and hard to manage (I wanted to see if I am able to free myself from the ST.M. tools). The restructured code will easily allow the add of new pin layouts as an 144pin Nucleo board or any custom layout without much hassle. 

As for progress, I am at conflict mitigation and at the I2C1 code generation according with the new changes. These are the last two things to get done before publishing the code.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.