prenticedavid / MCUFRIEND_kbv

MCUFRIEND_kbv Library for Uno 2.4, 2.8, 3.5, 3.6, 3.95 inch mcufriend Shields
Other
357 stars 177 forks source link

STM32CubeIDE support #148

Open shreyask21 opened 4 years ago

shreyask21 commented 4 years ago

I have been using this library for almost a year now with Arduino, but I wanted to make some advanced projects that require Custom HID device so I recently switched to STM32CubeIDE. Arduino will not be feasible for my use case.

I have set the proper includes and sources in project settings. I am using Nucleo L476RG and RM68090 (tested, both work fine in Arduino) but I kept getting error for ADA_GFX_kbv.h (if I'm not mistaken, it doesn't exist anywhere in the library folder either).

I think the library works fine in Keil, but I did not test it nor do I plan to pay for Keil licence, if you can understand.

Any help would be appreciated.

Thanks in advance.

prenticedavid commented 4 years ago

I have put those two files in extras/unused

They should give you "adafruit GFX functionality circa 2016" Note that the Print functionality is just some messy casts to sprintf()

Please let me know how you get on.

I can build simple programs on Keil but I only have the Evaluation Keil. I can build big programs with Rowley Crossworks but only hold a non-commercial licence for Rowley.

David.