When compiling FreeRTOS for the ATMega 2560, line 716 caused a compilation error because of references to the undefined symbol ulWantedBaud.
This name is an input to the function xSerialPortInitMinimal, and I think there is a copy-paste issue. Line 716 should read:
UBRR1 = (uint16_t)((configCPU_CLOCK_HZ + oldComPortPtr->baudRate * 4UL) / (oldComPortPtr->baudRate * 8UL) - 1); // for 2x mode, using 16 bit avr-gcc capability.
Which replaces wantedBaudRate with the baud rate of the configuration structure.
When compiling FreeRTOS for the ATMega 2560, line 716 caused a compilation error because of references to the undefined symbol ulWantedBaud.
This name is an input to the function xSerialPortInitMinimal, and I think there is a copy-paste issue. Line 716 should read: UBRR1 = (uint16_t)((configCPU_CLOCK_HZ + oldComPortPtr->baudRate * 4UL) / (oldComPortPtr->baudRate * 8UL) - 1); // for 2x mode, using 16 bit avr-gcc capability.
Which replaces wantedBaudRate with the baud rate of the configuration structure.