I am using RL78 Compiler CC-RL.
I am using the printf function of a standard library function, and therefore a section is allocated in the RAM.
I would like to reduce the allocated RAM size. Is there any way to do that?
When the printf function of a standard library function is used, the allocated RAM area is used for the function and therefore cannot be reduced.
The printf_tiny function provides a simplified version of the printf series functions. This function has some functional restrictions, but secures no RAM area.
Consider using the printf_tiny function.
Refer to the following user’s manual for details of the specification of the printf_tiny function.
- Compiler CC-RL User's Manual
7.5.6 Standard I/O functions
|CS+ (formerly CubeSuite+)|
|C Compiler Package for RL78 Family|