Closed nopnop2002 closed 7 months ago
You probably have CONFIG_NEWLIB_NANO_FORMAT enabled (as it is enabled by default on C2). Please try disabling, then 64-bit formatting should work.
Thank you for your reply. I changed it and confirmed it works fine.
I (386) MAIN: Core is ESP32C2@120Mhz
I (386) MAIN: time=396460 us
I would like it to be disabled by default in C2 as well.
Answers checklist.
IDF version.
v5.2.1-210-gcf7b9bed4c
Espressif SoC revision.
esp32c2
Operating System used.
Linux
How did you build your project?
Command line with CMake
If you are using Windows, please specify command line type.
None
Development Kit.
esp32c2 development board
Power Supply used.
USB
What is the expected behavior?
%lld can be displayed correctly on esp32c2 (XTAL=26MHz)
What is the actual behavior?
%lld cannot be displayed correctly on esp32c2 (XTAL=26MHz)
Steps to reproduce.
Build this code to esp32c2(26MHz XTAL)
Debug Logs.
More Information.
No response