Sometimes CubeMX do not generate code correctly, after config changes I getting undeclared errors
Sometimes CubeMX do not generate code correctly, not always, but sometimes in initialization codes generated by CubeMX is missing declarations in peripheral settings for DMA with error "undeclared", currently I got this problem after clocks configurations and code regeneration, there is missing TRANSFERALLOCATEDPORTSRC_GPDMACH1, TRANSFERALLOCATEDPORTSRC_GPDMACH2, TRANSFERALLOCATEDPORTSRC_GPDMACH3.... declarations:
![]()
![]()
I have to set new unused channel in DMA config again, disable old and regenerate code to solve this problem !
