cancel
Showing results for 
Search instead for 
Did you mean: 

What is impure_data?

LCE
Principal II

Heyho, 

just checked the build analyser in STM32CubeIDE for my L031 project and found "impure_data" in the RAM list.

Can anyone please explain what that is? Google didn't really help... 

Just curious, RAM size is not a problem for this project (32kB flash is a problem when debugging with UART...).

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Ozone
Lead III

Perhaps this might help somewhat : https://stackoverflow.com/questions/17515362/lpcxpresso-with-cortex-m3-what-is-libc-alib-a-impure-o-any-why-is-it-using-1k

As I read it, "impure_data" is a special RAM section created for libc to deal with reentrancy.

View solution in original post

1 REPLY 1
Ozone
Lead III

Perhaps this might help somewhat : https://stackoverflow.com/questions/17515362/lpcxpresso-with-cortex-m3-what-is-libc-alib-a-impure-o-any-why-is-it-using-1k

As I read it, "impure_data" is a special RAM section created for libc to deal with reentrancy.