Question
TouchGFX Simulator not recognize variable exported from another xxx.c file
please help someone if you can. The program in CubeIDE compiles and Run without errors , but TouchGFX Simulator not recognize variable exported from another xxx.c file ( usbd_cdc_if.c ; uint8_t my_char_Rx_buf ; ) . In Screen1View.cpp file ( extern uint8_t my_char_Rx_buf ; ) .
In TouchGFX
.......Screen1View.cpp:72: undefined reference to `my_char_Rx_buf ...
collect2.exe: error: ld returned 1 exit status
generated/simulator/gcc/Makefile:160: recipe for target 'build/bin/simulator.exe' failed
