Arduino Portenta H7 Support? #2497
-
I've been trying to find any display driver for the Portenta H7 (especially with touch support) but so far no luck. It doesnt seem like the STM32 processor file already present in TFT_eSPI works despite the H7 having an STM32 processor. Would it be possible to add support for this particular processor? If support already exists, how would I go about setting this up? So far all my efforts have been in vain. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It should work as a generic processor for SPI displays. Do NOT use the following line in you setup file (comment it out or delete it) then the generic driver will be used: |
Beta Was this translation helpful? Give feedback.
I want to add a quick update to this. I found a previous post referring to SPI_X not being defined:
#1501. Their code compiled when they rolled back their version to 2.3.7. I did the same and the SPI_X didnt show up anymore, so I'm assuming the latest version may have accidentally reintroduced the same issues in 2.4.0. There were some new issues that popped up when I rolled back to 2.3.7 and tried to compile:
'digitalPinToBitMask' was not declared in this scope
'ltoa' was not declared in this scope
It did suggest alternatives, namely changing digitalPinToBitMask to digitalPinToPinName and ltoa to utoa. I went into the TFT_eSPI.cpp and applied those changes, and it does seem to compile now…