2016-11-26 04:50 PM
Hello!
I am currently using stm32mx cube to create sine wave through the DAC. When I am building the project, I am receiving an error in regards to the stm32f3xx_hal_msp.c which should not require any modifications on my end. It's giving an error for ''../Src/stm32f3xx_hal_msp.c(118): error: #29: expected an expression if ( _HAL_DMA_REMAP_CHANNEL_ENABLE(HAL_REMAPDMA_TIM7_DAC1_CH2_DMA1_CH4) != HAL_OK)'' Is this a bug and if so, is there a workaround in place? Thanks!
if (__HAL_DMA_REMAP_CHANNEL_ENABLE(HAL_REMAPDMA_TIM7_DAC1_CH2_DMA1_CH4) != HAL_OK)
{
Error_Handler();
}
#stm32
2016-11-28 02:38 AM
Hello Aurora,
As mentioned in this , your reported bugwill be fixedin coming version of CubeMx 4.18 Regards