2020-12-03 09:54 AM
Application/User/TouchGFX/target/TouchGFXHAL.o: In function `touchgfx::HAL::~HAL()':
C:/workspace/test/test/CM7/Middlewares/ST/touchgfx/framework/include/touchgfx/hal/HAL.hpp:101: undefined reference to `vtable for touchgfx::HAL'
Application/User/TouchGFX/target/TouchGFXHAL.o: In function `touchgfx::HAL::lcd()':
C:/workspace/test/test/CM7/Middlewares/ST/touchgfx/framework/include/touchgfx/hal/HAL.hpp:235: undefined reference to `touchgfx::HAL::instance'
Application/User/TouchGFX/target/TouchGFXHAL.o: In function `touchgfx::HAL::backPorchExited()':
C:/workspace/test/test/CM7/Middlewares/ST/touchgfx/framework/include/touchgfx/hal/HAL.hpp:547: undefined reference to `touchgfx::HAL::swapFrameBuffers()'
Application/User/TouchGFX/target/TouchGFXHAL.o: In function `touchgfx::HAL::setFrameBufferStartAddress(void*, unsigned short, bool, bool)':
C:/workspace/test/test/CM7/Middlewares/ST/touchgfx/framework/include/touchgfx/hal/HAL.hpp:652: undefined reference to `touchgfx::HAL::FRAME_BUFFER_HEIGHT'
Application/User/TouchGFX/target/TouchGFXHAL.o: In function `touchgfx::HAL::setFrameBufferStartAddresses(void*, void*, void*)':
C:/workspace/test/test/CM7/Middlewares/ST/touchgfx/framework/include/touchgfx/hal/HAL.hpp:674: undefined reference to `touchgfx::HAL::USE_DOUBLE_BUFFERING'
C:/workspace/test/test/CM7/Middlewares/ST/touchgfx/framework/include/touchgfx/hal/HAL.hpp:674: undefined reference to `touchgfx::HAL::USE_ANIMATION_STORAGE'
Application/User/TouchGFX/target/TouchGFXHAL.o: In function `touchgfx::HAL::performDisplayOrientationChange()':
C:/workspace/test/test/CM7/Middlewares/ST/touchgfx/framework/include/touchgfx/hal/HAL.hpp:1107: undefined reference to `touchgfx::HAL::DISPLAY_ROTATION'
2020-12-03 11:01 AM
Hello @Community member ,
Welcome to the STM32 Community =)
I recommend you to follow the TouchGFX getting started and create your project from TouchGFX Designer with the right application template.
To create your first graphical application, please follow the upcoming steps:
You can also refer to the TouchGFX tutorials and TouchGFX MOOC to start your project.
Hope this helps you.
Please mark my answer as best by clicking on the "Select as Best" button if it fully solved your issue. This will help other users find this solution more quickly.
Imen
2020-12-03 12:57 PM
Hi Imen,
Thanks for the fast response.
I have looked at the guides, but didn't find anything that could help me out.
Your suggestion above doesn't work since there is no Application Template for the STM32H745I-DISCO board which I am using. If am use another board I am able to compile and link the project, but I can't make it work for my STM32H745I-DISCO board. Where do the linker expect to get the the HAL functions from. Are they located in an obj library that I am missing or should I have the source files ?.
Should it be generated by the TouchGFX Designer or STM32CubeMX ?.
Best regards,
Flemming
2020-12-07 09:49 PM
Hi FJahn.1,
Unfortunately, H745-DISCO is not yet supported by TouchGFX.
Were you able in CubeMX to select the additional package TouchGFX Generator ? Normally, you shouldn't.
I believe since this board is not supported, TouchGFX couldn't generate properly what you wanted.
/Alexandre
2020-12-07 10:06 PM
Hi Alexandre,
Thanks for the answer.
I tried, but didn't managed to get it to work.
Hope ST will provide the template for H745-DISCO soon.
Best regards,
Flemming