7 years, 9 months ago.

Why does the example code for the STM32F429ZI-Disco not compile anymore?

Why does the example code for the STM32F429ZI-Disco not compile anymore? This used to all work a few weeks ago, now I get a Error: Incomplete type is not allowed in "extras/mbed_6c34061e7c34/CAN.h", Line: 235, Col: 22

Please help as soon as possible.

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.

2 Answers

7 years, 8 months ago.

I still get the same error and I just updated my libraries. Any guess?

-deleted-
7 years, 9 months ago.

Hi Grant,

Thank you for the bug report.

This was caused by incorrect definition for Disco F429 support for CAN which doesn't exist in the current mbed library builds. Future releases of the mbed library will support CAN as well.

Regardless, this should be now fixed. Please let me know if that's not the case.

Cheers,
Mihail

Thank you, it works perfectly now. It does however still give the following warning: Warning: Incompatible redefinition of macro "DEVICE_RTC_LSI" in "extras/mbed_6c34061e7c34/TARGET_DISCO_F429ZI/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device.h", Line: 51, Col: 10

But compiling is fine.

posted by Grant Phillips 24 Jul 2016