PetervdPerk-NXP opened a new pull request, #17789:
URL: https://github.com/apache/nuttx/pull/17789
## Summary
After upgrading from 10.3.0 to 12.12.0, we observed a significant increase
in flash usage. This appears to be caused by new features added in the newer
version that we do not use but cannot disable, resulting in dead code and
tighter flash constraints.
This PR introduce CONFIG_LIBC_DISABLE_HEXSTR_TO_FLOAT to remove support for
parsing hexadecimal floating-point constants (C99 %a) in strtod(), strtof(),
strtold(), and sscanf("%a") which wasn't available in 10.3.0 as well. This
feature is rarely used in embedded systems and its removal saves significant
flash space. Decimal float parsing remains unaffected.
## Impact
On DEFAULT_SMALL targets hexstr will be disabled reducing flash requirement
by 1kB.
## Testing
ostest on mr-canhukb344
```
user_main: Exiting
ostest_main: Exiting with status 0
nsh>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]