1/* These are the printf/scanf related newlib functions present in ESP32-S2 ROM. 2 These functions are compiled with newlib "nano" format option. 3 As such, they don's support 64-bit integer formats. 4 Floating point formats are supported by setting _printf_float and 5 _scanf_float entries in syscall table. This is done automatically 6 by startup code. 7 See also esp32s2.rom.newlib-data.ld for the list of .data/.bss symbols 8 used by newlib functions, and esp32s2.rom.newlib-funcs.ld for the list 9 of general newlib functions. 10 11 Unlike other ROM functions which are exported using PROVIDE, which declares 12 weak symbols, newlib related functions are exported using assignment, 13 which declares strong symbols. This is done so that ROM functions are always 14 used instead of the ones provided by libc.a. 15 */ 16 17fiprintf = 0x40000a3c; 18_fiprintf_r = 0x40000a18; 19__fp_lock_all = 0x4001a638; 20fprintf = 0x40000a3c; 21_fprintf_r = 0x40000a18; 22__sprint_r = 0x40000aec; 23vfiprintf = 0x40000e40; 24_vfiprintf_r = 0x40000b58; 25vfprintf = 0x40000e40; 26_vfprintf_r = 0x40000b58; 27