2016-10-14 02:12 AM
Hello.
i am using Cube MX 1.17 and the firmware package 1.6 on the STM32F303xC. After emigration from the related CubeMX version to the new i am getting a syntax error by new compiling the code. The code phrase is in the created adc.c from CubeMX:if (__HAL_DMA_REMAP_CHANNEL_ENABLE(HAL_REMAPDMA_ADC24_DMA2_CH34) != HAL_OK)
{
Error_Handler();
}
the error message is:
STM32PBoard/Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal.h:651:57: error: expected expression before 'do'
#define __HAL_DMA_REMAP_CHANNEL_ENABLE(__DMA_REMAP__) do {assert_param(IS_DMA_REMAP((__DMA_REMAP__)))
2016-10-14 05:54 AM
Hi kahl.tino,
Unfortunately, I wasn't able to reproduce your issue. Could you please share the IOC file that may help me to do it?-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.
2016-10-14 07:00 AM
2016-10-14 08:09 AM
In the future please just use the ''Attach File'' option rather than paste the file in-line
2016-10-14 09:02 AM
Hi kahl.tino,
I confirm the reported bug. It is highlighted internally.You will be informed if there is any update on this regard.Sorry for any inconvenience this may create for you.-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.
2016-10-22 06:19 AM
Hay!
Got the same bug on the same uC. Is there any workaround? Should I only remove the loop?2016-10-27 07:56 AM
Hi panczak.maciej,
my workaround was to remove the loop.2016-11-08 03:13 AM
Dear user,
CubeMX 4.18 coming out in the following weeks will solve the issue.
Best regards
2016-11-21 07:10 AM
Hi, where can I find
STM32CubeMX v4.16.1 to download? I have problem with the upgrade to v4.17 and can't solve it.
2016-11-21 07:36 AM
Hello jeremy_cis,
I recommend you to start a new thread describing your issue as you are off topic. This will be more easy for user forum to help/answer you.As I know, it's not possible to obtain older versions of CubeMX.So, try delete the older version, then re-install the new one from the web.If your problem is not resolved, I advice you to create new thread detailing your issue and error message if you have.Regards