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, 3 months ago.
mbed-src Incomplete type is not allowed "can_t _can"
Trying use EEprom emulation AN2594 Library with STM32F103RB nucleo compiler stops with error
Error: Incomplete type is not allowed in "mbed-src/api/CAN.h", Line: 235, Col: 22
I'm not using the CAN in this project .What I can Do to avoid this?
1 Answer
8 years, 3 months ago.
First, use the mbed-dev instead of mbed-src (it is not updated for a long time, deprecated).
I know this error. I had problems with it in a slightly different context:
https://developer.mbed.org/users/mega64/notebook/error-incomplete-type-is-not-allowed-in-mbed-stm32/
The reason for this error is a collision between the changed settings (compilation flags) in online mbed compiler and settings in the sources.