Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File size not changing with disabled options #142

Closed
Rockwell1799 opened this issue Aug 14, 2024 · 2 comments
Closed

File size not changing with disabled options #142

Rockwell1799 opened this issue Aug 14, 2024 · 2 comments

Comments

@Rockwell1799
Copy link

Hello
I'm trying the printf project in Keil uvision ( STM32F4) and I'm having a problem decreasing the size of the file, even though I disabled the following option int the config file:

#ifndef PRINTF_INCLUDE_CONFIG_H
#define PRINTF_INCLUDE_CONFIG_H

#define PRINTF_DISABLE_SUPPORT_EXPONENTIAL
#define PRINTF_DISABLE_SUPPORT_LONG_LONG
#define PRINTF_DISABLE_SUPPORT_PTRDIFF_T
#define PRINTF_DISABLE_SUPPORT_FLOAT

#endif

the file size is not changing at all
Program Size: Code=11804 RO-data=548 RW-data=8 ZI-data=1640
image

Is there something I'm doing wrong?

@Rockwell1799 Rockwell1799 changed the title File size not changing with disabled option File size not changing with disabled options Aug 14, 2024
@eyalroz
Copy link

eyalroz commented Aug 14, 2024

You're asking a question on an un-maintained repository. The maintaining repository is here: https://github.com/eyalroz/printf
see also issue #128 . Please consider closing this issue so that issue 128 remains the top one, to tell people where to go to try the newest version.

@Rockwell1799
Copy link
Author

Thanks for the heads-up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants