A few weeks ago this code example would compile without any errors or warnings, and now it has some problems with CAN library.
The example is CANnucleo_Hello3 - CAN a enviar_TLMoto | Mbed
Uses Nucleo F446 board
Some of the error codes:
*Error: Identifier “CAN” is undefined in “main.cpp”, Line: 9, Col: 2
*Error: Expected a “)” in “main.cpp”, Line: 9, Col: 28
*Error: Identifier “CAN” is undefined in “main.cpp”, Line: 10, Col: 2
*Error: Expected a “)” in “main.cpp”, Line: 10, Col: 28
*Error: Identifier “CANMessage” is undefined in “main.cpp”, Line: 11, Col: 2
…
The code was not changed in any kind, so this should be compiling.
In other nucleo board happens the same I’ve tried F091 and L476
Please help as soon as possible.