esp32c3_rom.ld: Add some of the string.h functions to the linker
script. These functions are strongly declared and thus will be used instead of any other implementation. Furthermore, necessary Kconfig options are selected to avoid building those function from NuttX's C library. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
c6c534f27b
commit
a01cb867ce
@ -46,11 +46,19 @@ config ARCH_CHIP_ESP32C3
|
||||
select ARCH_VECNOTIRQ
|
||||
select ARCH_HAVE_RESET
|
||||
select LIBC_ARCH_ATOMIC
|
||||
select LIBC_ARCH_MEMCHR
|
||||
select LIBC_ARCH_MEMCMP
|
||||
select LIBC_ARCH_MEMCCMP
|
||||
select LIBC_ARCH_MEMMOVE
|
||||
select LIBC_ARCH_MEMSET
|
||||
select LIBC_ARCH_MEMCPY
|
||||
select LIBC_ARCH_MEMMOVE
|
||||
select LIBC_ARCH_MEMCMP
|
||||
select LIBC_ARCH_MEMCHR
|
||||
select LIBC_ARCH_MEMCCMP
|
||||
select LIBC_ARCH_STRCPY
|
||||
select LIBC_ARCH_STRCHR
|
||||
select LIBC_ARCH_STRCMP
|
||||
select LIBC_ARCH_STRLCPY
|
||||
select LIBC_ARCH_STRNCPY
|
||||
select LIBC_ARCH_STRLEN
|
||||
select LIBC_ARCH_STRNLEN
|
||||
select ARCH_HAVE_TEXT_HEAP
|
||||
select ARCH_HAVE_BOOTLOADER
|
||||
---help---
|
||||
|
@ -1936,17 +1936,20 @@ rom_pll_vol_cal = 0x40001b28;
|
||||
|
||||
memset = 0x40000354;
|
||||
memcpy = 0x40000358;
|
||||
memccpy = 0x400003c4;
|
||||
memmove = 0x4000035c;
|
||||
memcmp = 0x40000360;
|
||||
memccpy = 0x400003c4;
|
||||
memchr = 0x400003c8;
|
||||
memrchr = 0x400003cc;
|
||||
strcpy = 0x40000364;
|
||||
strncpy = 0x40000368;
|
||||
strlcpy = 0x400003f0;
|
||||
strcmp = 0x4000036c;
|
||||
strncmp = 0x40000370;
|
||||
strlen = 0x40000374;
|
||||
strnlen = 0x40000404;
|
||||
strstr = 0x40000378;
|
||||
strchr = 0x400003e0;
|
||||
bzero = 0x4000037c;
|
||||
|
||||
/***************************************
|
||||
|
Loading…
Reference in New Issue
Block a user