Dear all,
If i attempt to pass an array on native statement as in the example below:
array int8 ledStatus[6];
native ( ledStatus )
{
ledStatus[0] = LedStatus[0];
ledStatus[1] = LedStatus[1];
ledStatus[2] = LedStatus[2];
ledStatus[3] = LedStatus[3];
ledStatus[4] = LedStatus[4];
ledStatus[5] = LedStatus[5];
}
I get this error during building the profile:
[27.10.2017 14:20:03] Information Generating code for the profile 'STM32F767' ...
[27.10.2017 14:20:04] Error tmScreenMain::LEDPage.GetRequest (15:10) : Missing '[' after the name of the local array 'ledStatus'.
As reported at the following page
https://doc.embedded-wizard.de/native-statement?v=8.20 the opeartion it seems to be possible.
Could you help me please?
Waiting for your kind reply.
Thanks
Best regards
Gianni Perugini