The Visual Studio Code extension Project Manager that I successfully used under Linux does not work in FreeBSD. Instead, you can install the Projects+ extension made by Fabio Spampinato which offers you similar behavior,
Stories
VPC – bugfix and additions
Solved a bug where PB2 pin set as ADC_IN0b had no effect.Added a way to specify if the generated code targets Linux or FreeBSD OS.Resized some windows to accommodate some text labels under FreeBSD - this may look funny under Linux. Code committed to repository.And I just saw that the l152_tim6_systick project was generated with … Continue reading VPC – bugfix and additions
FreeBSD – bad news, good news
Bad news1. gcc-arm toolchain: turns out my manually (and unscientifically) prepared toolchain based on an old FreeBSD package produces bad (non-working) code. I will destroy the download link from a previous article and post accurate info.2. VSCode extensions: the "Arduino" and "Project Manager" extensions are not working under FreeBSD. The whole idea of using the … Continue reading FreeBSD – bad news, good news
FreeBSD – solving the Arduino "problem"
Once Arduino is installed (FreeBSD 12 Stable here), you have to make a symlink in your home folder that points to the /usr/local/arduino folder. That is to minimize the differences between Linux (Fedora/Ubuntu) and FreeBSD. For the other issue (see point 3 in the previous blog) I really need to get time to start working … Continue reading FreeBSD – solving the Arduino "problem"
FreeBSD – a good alternative to a Linux workstation
I enjoyed setting up a FreeBSD workstation, installing OpenOCD, compiling stlink, making the required settings for USB to be accessed by a normal user, Installing Lazarus and compiling VPC - everything worked just fine.Regarding the toolchain, in FreeBSD repository is available an older one, without newlib - you have to copy the c-lib and rename … Continue reading FreeBSD – a good alternative to a Linux workstation
The VPC resized to a laptop LCD resolution
All the VPC windows have been resized to fit in an 1366x768 pixels resolution LCD. Now the VPC can be used on a laptop with such a resolution. Code committed to the repository.
Resizing the windows
The VPC was designed in a 1920x1080 pixel resolution on a big screen as my eyesight is poor. This makes the application unusable on lower resolutions so I started resizing the windows and my target is 1366x768 pixels.An initial resizing was done on the big screen and pushed to the repository. Further adjustment will be … Continue reading Resizing the windows
Sneak peek: PB9 pad settable from LQFP64 window
It is only PB9 pad for now, but it allows you to see if you can get accustomed to this new alternative of configuring pins in VPC. Code available in repository.
Working in making the lqfp64 pads settable…
It will take some time, but consider that I started working on this. But I will take short breaks to finish other projects...
MAX44009 LUX sensor with hardware I2C
Update: tested also with the software implementation of I2C... no problems. Initial configuration generated with VPC for VSCode IDE and using SPL driver. Tested and works great! Code committed in repository.Here, the Serial Monitor panel shows the intensity light of the flash LED from my wife's phone: