FreeRTOS and FastSerial
Hi,
I’m trying to compile a FreeRTOS implementation and I need FastSerial.h, but I receive this erro:
…librariesFreeRTOSport.c.o (symbol from plugin): In function `pxPortInitialiseStack’:
(.text+0x0): multiple definition of `__vector_12′
Myapp19.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
c:/program files/windowsapps/arduinollc.arduinoide1.8.10.0x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
collect2.exe: error: ld returned 1 exit status
FreeRTOS and FastSerial
I’m afraid there is way too little information in your post to know how
to reply. I can glean from the file path that you are using an AVR GCC
port – which is not from us – so I would recommend asking whoever you
obtained the code from. As a guess it seems that you have the same
interrupt defined twice – once in the FreeRTOS port.c file, and once
elsewhere – maybe in example or driver code.
FreeRTOS and FastSerial
Sorry,
I’m using Arduino Mega environment.
FreeRTOS and FastSerial
With the FreeRtos sample I can reproduce the problem:
‘# include <FastSerial.h>
‘# include <Arduino_FreeRTOS.h>
// define two tasks for Blink & AnalogRead
void Task1( void *pvParameters );
void Task2( void *pvParameters );
// the setup function runs once when you press reset or power the board
void setup()
{…
FreeRTOS and FastSerial
Sorry,
I’ve identified the problem, related with my ISR handling
Please close this issue.
FreeRTOS and FastSerial
I’ve identified the problem, related with my ISR handlingMaybe you can tell what caused the problem? It maybe useful for other users reading this post. Thanks.