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, 5 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:
2 Answers
8 years, 5 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 24 Jul 2016