Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years ago.
is cannucleo compatible with MBed OS ?
(workspace) C:\workspace\v10>mbed compile -t ARM -m NUCLEO_F411RE Building project v10 (NUCLEO_F411RE, ARM) Scan: . Scan: FEATURE_BLE Scan: FEATURE_COMMON_PAL Scan: FEATURE_LWIP Scan: FEATURE_UVISOR Scan: FEATURE_LOWPAN_BORDER_ROUTER Scan: FEATURE_LOWPAN_HOST Scan: FEATURE_LOWPAN_ROUTER Scan: FEATURE_NANOSTACK Scan: FEATURE_NANOSTACK_FULL Scan: FEATURE_THREAD_BORDER_ROUTER Scan: FEATURE_THREAD_END_DEVICE Scan: FEATURE_THREAD_ROUTER Scan: FEATURE_STORAGE Scan: mbed Scan: env Compile [ 7.7%]: cannucleo_api.c [Error] cannucleo_api.h@79,0: #40: expected an identifier [Warning] cannucleo_api.h@79,0: #92-D: identifier-list parameters may only be used in a function definition [Error] cannucleo_api.h@80,0: #20: identifier "CAN_Message" is undefined [Error] cannucleo_api.h@82,0: #20: identifier "CANFormat" is undefined [Error] cannucleo_api.c@56,0: #20: identifier "CAN_HandleTypeDef" is undefined [Warning] cannucleo_api.c@68,0: #223-D: function "initCAN" declared implicitly ..........
1 Answer
8 years ago.
Hello Nick,
CAN support has been recently built into the mbed library also for the NUCLEO boards. I'm sorry for the inconvenience but the manner how it's implemented into mbed revision 128 and 129 does not allow me to maintain the CANnucleo library anymore. If you prefer to use it anyway (have a look at https://developer.mbed.org/users/hudakz/code/CANnucleo/ for the list of boards supported) then you have to switch the mbed library in your project back to revision 127 or earlier.
NOTE: Although it might be due to a mistake on my side but the built-in CAN support does not work yet with my NUCLEO-F103RB board.
Zoltan
The original processor 411RE does not support CANBUS.in hardware, any board will do except that one.
now that I have changed to the STM32F072, it still does not compile.
The functions in MBed CAN are duplicated in cannucleo
it compiles and works ok online, but not offline using MBED-CLI
posted by Nick Marsh 15 Nov 2016