Post by kenqks on Feb 18, 2019 17:04:23 GMT
Hi,
I need some help first time using, i have followed the instructions of install these in the order Aurix freetoolchain, Arduino IDE, ShieldBuddy IDE, and proceed to open one of the examples in C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore to test some of the example codes, but i am unable to verify the code at all. Am i missing something, or that not the way to use the arduino shield buddy IDE?
Below is the error i received:
Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino/Genuino Uno"
C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore\BasicMulticore.ino: In function 'void setup()':
BasicMulticore:6:2: error: 'SerialASC' was not declared in this scope
SerialASC.begin(9600);
^
C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore\BasicMulticore.ino: In function 'void loop()':
BasicMulticore:16:26: error: 'SerialASC' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:16:45: error: 'Htx_LockResource' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:16:50: error: 'Htx_RESOURCE_BUSY' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:18:2: error: 'SerialASC' was not declared in this scope
SerialASC.print("Hello from Core 0\n\r");
^
BasicMulticore:20:41: error: 'Htx_UnlockResource' was not declared in this scope
Htx_UnlockResource(&SerialASC.PortInUse);
^
C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore\BasicMulticore.ino: In function 'void loop1()':
BasicMulticore:37:26: error: 'SerialASC' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:37:45: error: 'Htx_LockResource' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:37:50: error: 'Htx_RESOURCE_BUSY' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:39:2: error: 'SerialASC' was not declared in this scope
SerialASC.print("Hello from Core 1\n\r");
^
BasicMulticore:41:41: error: 'Htx_UnlockResource' was not declared in this scope
Htx_UnlockResource(&SerialASC.PortInUse);
^
C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore\BasicMulticore.ino: In function 'void loop2()':
BasicMulticore:58:26: error: 'SerialASC' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:58:45: error: 'Htx_LockResource' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:58:50: error: 'Htx_RESOURCE_BUSY' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:60:2: error: 'SerialASC' was not declared in this scope
SerialASC.print("Hello from Core 2\n\r");
^
BasicMulticore:62:41: error: 'Htx_UnlockResource' was not declared in this scope
Htx_UnlockResource(&SerialASC.PortInUse);
^
exit status 1
'SerialASC' was not declared in this scope
I need some help first time using, i have followed the instructions of install these in the order Aurix freetoolchain, Arduino IDE, ShieldBuddy IDE, and proceed to open one of the examples in C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore to test some of the example codes, but i am unable to verify the code at all. Am i missing something, or that not the way to use the arduino shield buddy IDE?
Below is the error i received:
Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino/Genuino Uno"
C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore\BasicMulticore.ino: In function 'void setup()':
BasicMulticore:6:2: error: 'SerialASC' was not declared in this scope
SerialASC.begin(9600);
^
C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore\BasicMulticore.ino: In function 'void loop()':
BasicMulticore:16:26: error: 'SerialASC' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:16:45: error: 'Htx_LockResource' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:16:50: error: 'Htx_RESOURCE_BUSY' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:18:2: error: 'SerialASC' was not declared in this scope
SerialASC.print("Hello from Core 0\n\r");
^
BasicMulticore:20:41: error: 'Htx_UnlockResource' was not declared in this scope
Htx_UnlockResource(&SerialASC.PortInUse);
^
C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore\BasicMulticore.ino: In function 'void loop1()':
BasicMulticore:37:26: error: 'SerialASC' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:37:45: error: 'Htx_LockResource' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:37:50: error: 'Htx_RESOURCE_BUSY' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:39:2: error: 'SerialASC' was not declared in this scope
SerialASC.print("Hello from Core 1\n\r");
^
BasicMulticore:41:41: error: 'Htx_UnlockResource' was not declared in this scope
Htx_UnlockResource(&SerialASC.PortInUse);
^
C:\Hitex\AURduinoIDE\Tools\examples\275.TC275SketchesLibrary\BasicMulticore\BasicMulticore.ino: In function 'void loop2()':
BasicMulticore:58:26: error: 'SerialASC' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:58:45: error: 'Htx_LockResource' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:58:50: error: 'Htx_RESOURCE_BUSY' was not declared in this scope
while(Htx_LockResource(&SerialASC.PortInUse) == Htx_RESOURCE_BUSY) { ; }
^
BasicMulticore:60:2: error: 'SerialASC' was not declared in this scope
SerialASC.print("Hello from Core 2\n\r");
^
BasicMulticore:62:41: error: 'Htx_UnlockResource' was not declared in this scope
Htx_UnlockResource(&SerialASC.PortInUse);
^
exit status 1
'SerialASC' was not declared in this scope