Update Array (String) to Scroll List Element with FreeRTOS queue .
Hi,
I am working on below setup:
Software Tool Chain:
STM32CubeMX 5.6.0
TouchGFX 4.13.0 Designer
STM32CubeIDE 1.3.0
STM32F746G Discovery Kit v3.0.1 (AT)
Hardware:
STM32F746G-DISCO (Discovery Board)
USB Mass Storage Drive (32 GB)
I have worked on LED, BUTTON , ADC, External Interrupts, UART with TouchGFX Buttons and TextArea Wildcard.
Now, I have to send USB Files Names to Scroll List Elements.
For Simplicity As for now , I have created in 2D Array and Send One by one with FreeRTOS Queue .
char TxBuffer[5][MaxElementsPerQueue]= {"LIST", "HELLO", "TouchGFX", "STM32F7", "SCROLL"};
if(pdTRUE == xQueueSend(USBTxTaskHandle,TxBuffer[i],(TickType_t)100 ) )Same ways receiving in Model.c
void Model::tick()
{
if(pdTRUE == xQueueReceive(USBRxTaskHandle,RxBuffer[i],(TickType_t)100
}
void Model::USBRx(char temp_RxBuffer[] )
{
modelListener-> USBRx(temp_RxBuffer);
}But Getting Error .. As below :
void Screen1Presenter::USBRx(char temp_RxBuffer[] )
{
// view.USBRx(temp_RxBuffer) ; // Error
touchgfx_printf("View \n");
}Is it right way ? Is there any application note or example for that .. ?
C++ Issue?
I have seen link as below:
https://support.touchgfx.com/docs/development/ui-development/ui-components/containers/scroll-list/
--
Karan


