newlib: auto-detect sizeof(time_t)

To make the transition from 32-bit time_t to 64-bit time_t smoother,
detect the size of this type in CMake and remove the manual option in
Kconfig.
The information about 64-bit time_t support is moved from Kconfig help
string into the "system time" section of the API reference.
This commit is contained in:
Ivan Grokhotkov
2022-01-06 18:02:09 +01:00
parent bbe8aabca0
commit d2b894862c
9 changed files with 71 additions and 84 deletions

View File

@@ -1396,7 +1396,6 @@ components/newlib/test/test_time.c
components/newlib/test_apps/app_test.py
components/newlib/test_apps/main/test_newlib_main.c
components/newlib/test_apps/main/test_stdatomic.c
components/newlib/time.c
components/nvs_flash/host_test/fixtures/test_fixtures.hpp
components/nvs_flash/host_test/nvs_page_test/main/nvs_page_test.cpp
components/nvs_flash/include/nvs.h