rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Other
2.49k stars 1.25k forks source link

Missing wiring_private.h file for stm32f4 boards #885

Closed XanCraft21 closed 1 year ago

XanCraft21 commented 1 year ago

Hello, i just discovered that the file wiring_private.h is missing in the stm32f4 boards. I don’t know if anyone else has opened an issue for this yet. Some libraries need this file to work like the display drivers by Adafruit. If anyone can add this file i will gladly appreciate it. Thank you to anyone who can help.

stevstrong commented 1 year ago

Do you have an example? Try to comment out this header file, it should not be needed for F4 boards. Or you can simply create a dummy file.

XanCraft21 commented 1 year ago

Commenting out the file or adding a dummy file fixes that error, but there are a bunch of other ones. It seems like the library Adafruit_GFX does not like the I2C drivers in the stm32f4 library. I might change the name of this issue for this. I hope this gets fixed soon.

board707 commented 1 year ago

Try to use Adafruit GFX library version prior to 1.8.0, for example Adafruit GFX 1.7.0

rogerclarkmelbourne commented 1 year ago

Closed due to inactivity from OP

XanCraft21 commented 1 year ago

Sorry i have forgotten to get back to this. The older version of the library works so so. Maybe it’s ok for now. Thank you for the help.

rogerclarkmelbourne commented 1 year ago

OK