2014-07-24 09:01 PM
In both the STM32F2 V1.1 and STM32F4 V1.3 repositories, there is a bug in the FreeRTOS definition for a mailbox. In cmsis_os.h the definition for osMailQDef is missing a semicolon. Show below with highlight of missing semicolon.
&sharpif defined (osObjectsExternal) // object is external
&sharpdefine osMailQDef(name, queue_sz, type) \extern struct os_mailQ_cb *os_mailQ_cb_♯&sharpname;
\extern osMailQDef_t os_mailQ_def_♯&sharpname&sharpelse // define the object&sharpdefine osMailQDef(name, queue_sz, type) \struct os_mailQ_cb *os_mailQ_cb_♯&sharpname;
\osMailQDef_t os_mailQ_def_♯&sharpname = \{ (queue_sz), sizeof (type), (&os_mailQ_cb_♯&sharpname) }&sharpendif #stm32cubemx2014-07-25 08:12 AM
Please report [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx]CubeMX issues in it's own forum where ST staff are actively supporting it.
2015-04-24 03:15 AM
Hello Eric,
The reported bug will be fixed in next cmsis_os version that will be embedded in all coming Cube packages.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.