And the result... resetting the pins set as OUTPUT is working.
First main.h header prototype…
Pinout label definitions inside the header are fully functional. There are still things to solve, but those will become obvious/mandatory with the usage so, I'm moving to the generation of main.c file (all in one kinda).Also, solved some SPL driver dependencies and working to port my ll_library to spl_library...
First Makefile prototype…
After creating a new project and hitting "Generate the code" button (or menu option), the application will write the Makefile file. The structure and the content of the file is heavily inspired from CubeMX Makefile template, with little addition from my part.The debug, optimization options, floating point options that you set the moment you create … Continue reading First Makefile prototype…
A workaround for SYSUTILS and a fix for VSCode Intellisense
Well, some unexpected problems caused by a bug in SYSUTILS unit of FreePascal and a change made by Microsoft in the keywords of c_cpp_properties.json configuration file of Visual Studio Code.1. There is a bug in SYSUTILS unit I think, where FindFirst function can not return the correct name of a directory like "7.3.1", the result … Continue reading A workaround for SYSUTILS and a fix for VSCode Intellisense
The VPC project is public.
I did not had much time for it as I was doing some PIC based projects but now is public so you can see the progress. But don't get too excited, as it does not generate code yet - few more things to settle and then it will start generating code.Now, the problem relies in … Continue reading The VPC project is public.
Initial supported pin functionality in VPC
Initially, VPC application provide the following pin functionality (source code in pascal):
Perversity
This is such a perversity, that is beyond outrageous! I mean, there is only one way to set the registers and correctly "start the engine" of the controller! That is part of the user manual or documentation that comes with the microcontroller! To declare that foundation code generated by CubeMX to be unarguably their property … Continue reading Perversity
Storing the project
I use XML format for program settings, but for an entire project is too much of a hassle. Typhoon Relational Database System would have been excellent for this job and can be linked "statically" (embedded), but I have it only as a C library and I don't want to pay the price of translating it … Continue reading Storing the project
Moving…
As Github.com is acquired by Microsoft (man, nothing is set in stone these days), I'm moving to Gitlab.com. Which Gitlab is very slow, but it might be because there are many others that move as well. I will keep both locations for awhile, but there is no going back (don't ask, I have my reasons). … Continue reading Moving…
Lazarus versus Qt Creator
Yesterday I took a pause from working to vpc project and fired up Qt Creator to see the progress. It is much easier today to create modal dialog windows than it was when we had only the Qt Designer. It still lacks the features and versatility of pascal visual components but is to be expected, … Continue reading Lazarus versus Qt Creator