mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-21 06:23:35 +08:00
7b0a3afdf90e85cabe3e39f49a5c2aa22e3e3e8d
vsnprintf is a common string function that could be used in many places.
Using both vsnprintf in libc and vsnprintf in the RTT could make a
bigger image. Moreover, if newlib is not enabled when compiling with
GCC, referencing vsnprintf will lead to link error:
.../arm-none-eabi/lib/armv7-ar/thumb/softfp/libc.a(lib_a-sbrkr.o):
In function `_sbrk_r':
sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
collect2: error: ld returned 1 exit status
Using rt_vsnprintf could avoid such problem.
…
…
Description
RT-Thread is an open source IoT Real-Time Operating System (RTOS).
Readme
Apache-2.0
1.9 GiB
Languages
C
96.9%
Assembly
1.5%
Python
0.8%
Linker Script
0.7%
