yf13 opened a new pull request, #20996:
URL: https://github.com/apache/nuttx/pull/20996
## Summary
*Update this section with information on why change is necessary,
what it exactly does and how, if new feature shows up, provide
references (dependencies, similar problems and solutions), etc.*
This tries help issues/20414 by using div64_const for small devices.
## Impact
It enables div64_const for GCC and Clang with `defined(__GNUC__)` in math32.h
It then uses that for DEFAULT_SMALL devices in libc/lib_ultoa_invert.c.
## Testing
Checked on Ubuntu 22 with local small config rv-virt:hello with stock
riscv64-unknown-elf 10.2:
```sh
$ size -G nuttx ../orig/nuttx
text data bss total filename
23276 876 3776 27928 nuttx
24492 868 3760 29120 ../orig/nuttx
```
And local small stm32f103-minimum:hello (compile only) with stock
arm-none-eabi-gcc 10.3.1 :
```sh
$ size -G nuttx ../orig/nuttx
text data bss total filename
17989 248 1680 19917 nuttx
18713 256 1680 20649 ../bbb/nuttx
```
--
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]