cancel
Showing results for 
Search instead for 
Did you mean: 

Compilation error with TouchGFX application

AnchalS
Associate

Title modified by an ST moderator to be inline with the content.

My goal is to establish CAN communication between Riverdi display - RVT50HQSFWA01 and my laptop. After developing a test GUI using TouchGFX 4.26.0, when I added the code patch for CAN communication then I keep on getting various build errors due to comaptibility issue between TouchGFX and STM32Cube IDE packages. If anyone has tested CAN communication for Riverdi Display boards that can help then kindly reply. I have been trying to get this done for quite sometime now and have been stuck at what seemed like a very simple task.

 

For the sake of reference, the latest build error is :

make: *** No rule to make target 'C:/TouchGFXProjects/LIB_display_1/TouchGFX/target/CortexMMCUInstrumentation.cpp', needed by 'Application/User/TouchGFX/target/CortexMMCUInstrumentation.o'. Stop.
make: *** Waiting for unfinished jobs....
"make -j22 all" terminated with exit code 2. Build might be incomplete.

06:43:53 Build Failed. 2 errors, 0 warnings. (took 9s.295ms)

2 REPLIES 2
Ozone
Principal III

The build error not at all related to CAN, thus the thread title is a bit misleading.

You would need to sort this TouchGfx error(s) out first.
I'm not an expert with that, though.

> My goal is to establish CAN communication between Riverdi display - RVT50HQSFWA01 and my laptop.

You will need a CAN dongle (e.g. CAN-USB) adapter for that, which must not be in listening-only mode.
I would suggest to look at CAN examples for your MCU, and add the relevant code to your application.

mƎALLEm
ST Employee

Hello @AnchalS and welcome to the ST community,

That issue is more related to TouchGFX than to CAN communication.

So this post will be moved to TouchGFX forum board.

If you have questions on CAN communication, you need to ask that question in STM32 MCUs Products forum board and remove all middleware unrelated to the CAN communication: TouchGFX, FreeRTOS etc ..

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.