Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TW#16429] s_microseconds_offset' undeclared #1245

Closed
ESP32DE opened this issue Nov 8, 2017 · 1 comment
Closed

[TW#16429] s_microseconds_offset' undeclared #1245

ESP32DE opened this issue Nov 8, 2017 · 1 comment
Assignees

Comments

@ESP32DE
Copy link
Contributor

ESP32DE commented Nov 8, 2017

hi
with latest esp-idf i get an undeclared

.....
CC build/newlib/reent_init.o
CC build/newlib/time.o
C:/msys32/home/sysop/esp-idf/components/newlib/time.c: In function 'get_time_since_boot':
C:/msys32/home/sysop/esp-idf/components/newlib/time.c:174:20: error: 's_microseconds_offset' undeclared (first use in this function)
microseconds = s_microseconds_offset + esp_timer_get_time();
^
C:/msys32/home/sysop/esp-idf/components/newlib/time.c:174:20: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [/home/sysop/esp-idf/make/component_wrapper.mk:243: time.o] Fehler 1
make: *** [C:/msys32/home/sysop/esp-idf/make/project.mk:435: component-newlib-build] Fehler 2

txs
best wishes
rudi ;-)

@igrr
Copy link
Member

igrr commented Nov 8, 2017

Hi Rudi, thanks for reporting this bug. We will have a fix for this soon, in the meantime you can set ESP32_TIME_SYSCALL option to FRC1 + RTC.
http://esp-idf.readthedocs.io/en/latest/api-reference/kconfig.html#esp32-time-syscall

@FayeY FayeY changed the title s_microseconds_offset' undeclared [TW#16429] s_microseconds_offset' undeclared Nov 14, 2017
@igrr igrr self-assigned this Dec 8, 2017
@igrr igrr added the Status: In Progress Work is in progress label Dec 8, 2017
@igrr igrr closed this as completed in df74211 Dec 13, 2017
@igrr igrr removed the Status: In Progress Work is in progress label Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants