AnsweredAssumed Answered

Semi-hosting SCANF build issue

Question asked by Ben Burch on Jul 11, 2019
Latest reply on Jul 11, 2019 by Con Verse

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

Outcomes