On Wed, Jul 8, 2020 at 04:32 AM, jjpurdum wrote:
I have yet to find any examples that run on the Arduino's that won't run on the STM32.
Where I started to run into problems was with the various GUI libraries, the Adafruit GFX libraries and individual TFT drivers. (One was the Adafruit GFX library upgrading to allow non-square pixels, without backwards compatibility in the function calls.) Also, seems like I remember some incompatible library or naming convention issues when I tried to compile your Morse Code Tutor sketch using the "official" STM32 tool-chain. Switching to the Roger Clark version worked.
I believe some people were installing the Arduino STM32 toolchain from a repository that had packaged Roger's toolchain with a frozen in time set of Arduino libraries. It was all several years old, but everything was frozen to a time where it all was compatible. Over time the various library authors introduced new features/enhancements that were not corrected for in the STM32 specific code in other Arduino libraries.?
Maybe, some of these messier libraries are back in sync now. However, most of the time I can grab a Nano or a BluePill, whatever I have a spare board of within arms reach, compile the sketch and it just works. Which is great.?
Tom, wb6b