Just installed a fresh linux distro (doesn't really matter which as long as is a rolling distro) on a new laptop so I had to reinstall the entire toolchain. I installed the Lazarus 2.0.10 and FreePascal 3.2 and then recompiled the project using the LLC based on Qt5 widgets. It works if you install Qt5pas … Continue reading A quick update
Stories
What I am working on when time permits…
USART1 full functionality (if possible);USB (partial) initialization;All other timers with their channels from TIM2 to TIM11. As third party add-on: FAT32 SD card (limited) functionality - at least, it will work for a data logger. Right now, still on research phase and also looking for usage examples from Internet. And only then I can declare … Continue reading What I am working on when time permits…
VPC version 3.5.3 bugfix
In Clock Setup window, setting the PLL multiplier at 48 had no effect. Fixed.See it in repository here https://gitlab.com/funlw65/vscode_nucleo_l152re/commit/7e0d05cda68fd492ce0d1cf69a1bb834f7a0d0e4
Use Lazarus from v2 version up
Recently discovered that if you compile the VPC with a version of Lazarus smaller than 2.0 then some labels and contents of the comboboxes will become invisible. I uploaded in repository a suitable version of Lazarus but only for Fedora Linux - my temporary development Linux station. As a side note, when Adwaita theme and … Continue reading Use Lazarus from v2 version up
ST7735R mini library – saving writing/erasing cycles
When you design your graphics for your TFT display, you will need a lot of modifications during the process. That would mean that at every change you would have had the microcontroller programmed again, burning the writing/erasing cycles at an alarming speed. Considering this, some companies are offering you PC applications that helps you visually … Continue reading ST7735R mini library – saving writing/erasing cycles
VPC version 3.5.2 update and bugfix
Well, because I am apparently the sole user of this application, the bugs are revealed only when I use it in real-life applications. Another SPI bug: When VPC generate code for SPI, the indexfor the combo-box that sets the speed of the SPI GPIO pins was off with one value. If you had set the … Continue reading VPC version 3.5.2 update and bugfix
VPC version 3.4.4 bugfix
VPC was generating incomplete code for SPI initialization. This was fixed. Recently I tested the generated code on a library and a project that works with Adafruit 160x80 0.96" TFT display - soon to be published. Changes are published in repository and can be seen here https://gitlab.com/funlw65/vscode_nucleo_l152re/commit/8e7b23a9
VPC version 3.4.3 bugfix
At code generation time, inside vpc_gpio_init() function, when PB6 pin was defined it had the name of PB7 pin. Fixed and uploaded on the repository. You can see the changes here.
VPC version 3.4.2 bugfix
Fixed MCO (Master Clock Output) functionality. This was broken with changes made in version 2.0 Bugs: 1. Setting PA8 pin as MCO from LQFP64 window or Pinout window had no effect on Clock window. 2. Having PA8 pin function set to other than "N/A" or "CLOCK", entering in Clock window would have re-set the pin … Continue reading VPC version 3.4.2 bugfix
VPC version 3.4.0 update
Just a minor addition. The user defined pin labels now appear permanently visible in the LQFP64 window. This will help the hardware team get in sync with the software team. Before, the user defined pin labels were visible only via a hint when the mouse pointer hovered over the pin - functional but unhelpful. See … Continue reading VPC version 3.4.0 update