I want to use only SPRITES on my STM32H743 project with LTDC #3221
Unanswered
emre2blue
asked this question in
New processor/display support or capability request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I was using the lib with my ESP32 RGB666 AdaFruit board. And I think this is one of the BEST graphics library ever written, Now I want to upgrade the project to STM32H7xx board. LCD is working good. 480x480 RGB565. But now all I need to use is the sprites. And I could not manage it to run in STM32Cube IDE. Does anyone any experience about it. The header files is on "Included PATHs"
I've created project with "C" and "C++" separately. Think maybe I could not use C++ headers on "C" generic project. But Still the same?
18:24:26 **** Incremental Build of configuration Debug for project RoundLCD-CPP ****
make -j32 all
arm-none-eabi-g++ "../Core/Src/Sprite.cpp" -mcpu=cortex-m7 -std=gnu++14 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H743xx -c -I../Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Drivers/CMSIS/Include -I../Utilities/JPEG -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/Sprite.d" -MT"Core/Src/Sprite.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Core/Src/Sprite.o"
../Core/Src/Sprite.cpp:1:1: error: 'TFT_eSprite' does not name a type
1 | TFT_eSprite::TFT_eSprite()
| ^~~~~~~~~~~
../Core/Src/Sprite.cpp:35:7: error: 'TFT_eSprite' has not been declared
35 | void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames)
| ^~~~~~~~~~~
../Core/Src/Sprite.cpp:35:33: error: 'int16_t' was not declared in this scope
35 | void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames)
| ^~~~~~~
../Core/Src/Sprite.cpp:1:1: note: 'int16_t' is defined in header ''; did you forget to '#include '?
+++ |+#include
1 | TFT_eSprite::TFT_eSprite()
../Core/Src/Sprite.cpp:35:44: error: 'int16_t' was not declared in this scope
35 | void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames)
| ^~~~~~~
../Core/Src/Sprite.cpp:35:44: note: 'int16_t' is defined in header ''; did you forget to '#include '?
../Core/Src/Sprite.cpp:35:55: error: 'uint8_t' was not declared in this scope
35 | void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames)
| ^~~~~~~
../Core/Src/Sprite.cpp:35:55: note: 'uint8_t' is defined in header ''; did you forget to '#include '?
../Core/Src/Sprite.cpp:35:69: error: expression list treated as compound expression in initializer [-fpermissive]
35 | void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames)
| ^
../Core/Src/Sprite.cpp:102:7: error: 'TFT_eSprite' has not been declared
102 | void* TFT_eSprite::getPointer(void)
Beta Was this translation helpful? Give feedback.
All reactions