Closed AlexYzhov closed 1 year ago
use gcc? Keil project has no problem with compiling.
got it, it works fine under Keil environment. But I'm still confused why gcc didn't work, there must be something wrong. Hope somebody check it soon
Sorry for the inconvenience, you may add while(1) {} at the end of the __fatal_error(). GCC Makefile and related porting is not yet completed.
Modified some files, can now be compiled with gcc. But the board is not around, not tested yet
make reports that there's a noreturn function does return in main.c:
`void NORETURN __fatal_error(const char *msg) {
for (volatile uint delay = 0; delay < 10000000; delay++) {}
}`