Hi!
I have an LPC824 project where flash is like 45% full with my code and PRINTF being used from RedLib Semihosting.
As soon as I try to use SCANF, however, we run out of space in the flash with this error;
Description Resource Path Location Type
lpcxpresso824max_ESARM.hex section `.text' will not fit in region `PROGRAM_FLASH' lpcxpresso824max_ESARM C/C++ Problem
Is this expected? Is SCANF really that large? Or am I missing something here?
If it is that large, is there any other way to get characters into the running program? I want to use single characters to trigger behaviours I am testing ahead of the expected front end device integration.
Thanks!
-Ben Burch
BTR Controls
解決済! 解決策の投稿を見る。
Use getc(), or getch() or getchar(). Standard C library functions