Closed david-oz00 closed 4 years ago
I think you picked the wrong GitHub project for your issue report. This is all about support in the Rust programming language, there's no C code.
Sorry, my bad. Should have paid more attention.
No worries, maybe we'll see you on the other side some time. ;)
When USE_FULL_ASSERT is enabled, STM32CubeMX generates this function in main.c:
void assert_failed(char *file, uint32_t line)
however the prototype in _stm32f0xx_halconf.h is:
void assert_failed(uint8_t* file, uint32_t line);
This causes a compile error from GCC "error: conflicting types for 'assertfailed'". It looks like someone updated the prototype but forgot to update the body. The funny thing is uint8t*** is not correct anyway. I think it should be changed to _*const char, or at least keep it at **char***_