cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE 1.13.0 problem

Phillip Wolstencroft
Associate II

I have just updated the IDE from 1.12.1 and updated my project as requested but I have encountered an issue when compiling.

I get 3 errors on previously compiling  source code. as follows

PhillipWolstencroft_0-1689145531697.png

Can you help with what might be the problem?

PhilW

31 REPLIES 31

you should add

 

__attribute__((weak)) void _gettimeofday(void){}

 

as well.

fanronghua0123456
Associate II

i am  add this  code  in my project  and fit it!

 

#if 1

__attribute__((weak)) void _close(void){}

__attribute__((weak)) void _lseek(void){}

__attribute__((weak)) void _read(void){}

__attribute__((weak)) void _write(void){}

 

__attribute__((weak)) void _fstat(void){}

__attribute__((weak)) void _isatty(void){}

__attribute__((weak)) void _getpid(void){}

__attribute__((weak)) void _kill(void){}

 

#endif