7 years, 9 months ago.

Error "can_t_can"

Good day all

I am having an issue on mbed as from two days ago with the STM32F429ZI platform. Everytime I try to complile I get the following error:

/media/uploads/Lucky7779/image1.png

"Error: Incomplete type is not allowed in "extras/mbed_6c34061e7c34/CAN.h", Line: 235, Col: 22". I have tried going into the help function but it does not seem to have any helpful information due to the fact that the help file advises me on adding a size to my array. Bellow is part of my code that compiled a week ago but won't compile today.

/media/uploads/Lucky7779/test_direction_zip_disco_f429zi.zip /media/uploads/Lucky7779/test_gsm1_zip_disco_f429zi.zip

Any help is more then welcome.

Many thanks

Lucky

Question relating to:

The STM32F429 Discovery kit (STM32F429I-DISC1) allows users to easily develop applications with the STM32F429 high-performance MCUs with ARM®Cortex®-M4 core.

1 Answer

7 years, 4 months ago.

Simple fix: remove #include of can.h in mbed.h, unless your project requires CAN functionality