tlsr82/nsh: set LIBC_RAND_ORDER be 0 to fix compile error

tc32-elf-ld generated: In function `nrand_r':
/data/project/code/vela-pt/nuttx/libs/libc/stdlib/lib_srand.c:241: undefined reference to `__fixunsdfsi'

telink compiler do not support float point, so set LIBC_RAND_ORDER
to be 0 to avoid function srand() use float point.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
Bowen Wang 2024-07-09 16:14:26 +08:00 committed by Xiang Xiao
parent 36c63705db
commit 9363033356

View file

@ -59,6 +59,7 @@ CONFIG_FILE_STREAM=y
CONFIG_FS_PROCFS=y
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_RAND_ORDER=0
CONFIG_LIBM=y
CONFIG_MTD=y
CONFIG_MTD_PARTITION=y