esp_rom: esp32c6 rom newlib support normal-formatting version

pull/10097/head
jiangguangming 2022-11-02 19:49:48 +08:00
rodzic 14e974fd44
commit a8df72745b
2 zmienionych plików z 12 dodań i 32 usunięć

Wyświetl plik

@ -237,6 +237,18 @@ else() # Regular app build
rom_linker_script("spiflash")
endif()
if(time_t_size EQUAL 8)
# The ROM functions listed in this linker script depend on sizeof(time_t).
# ESP32-C6 ROM was compiled for 64-bit time_t, only link these functions
# if the toolchain is also using 64-bit time_t.
rom_linker_script("newlib-time")
if(NOT CONFIG_NEWLIB_NANO_FORMAT)
# Normal(Non-nano) formatting functions in ROM are also built for 64-bit time_t.
rom_linker_script("newlib-normal")
endif()
endif()
endif()
if(CONFIG_HEAP_TLSF_USE_ROM_IMPL)

Wyświetl plik

@ -1,32 +0,0 @@
/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* ROM function interface esp32c6.rom.newlib-nano.ld for esp32c6
*
*
* Generated from ./target/esp32c6/interface-esp32c6.yml md5sum ff3b116f1987b5a5433645b8f7947f32
*
* Compatible with ROM where ECO version equal or greater to 0.
*
* THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT.
*/
/***************************************
Group newlib_nano_format
***************************************/
/* Functions */
__sprint_r = 0x400005c8;
_fiprintf_r = 0x400005cc;
_fprintf_r = 0x400005d0;
_printf_common = 0x400005d4;
_printf_i = 0x400005d8;
_vfiprintf_r = 0x400005dc;
_vfprintf_r = 0x400005e0;
fiprintf = 0x400005e4;
fprintf = 0x400005e8;
printf = 0x400005ec;
vfiprintf = 0x400005f0;
vfprintf = 0x400005f4;