You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just try to compile small example
make!
Error ->
CC user/user_main.c
user/user_main.c: In function 'user_init':
user/user_main.c:51:5: error: passing argument 1 of 'ets_timer_disarm' discards 'volatile' qualifier from pointer target type [-Werror]
os_timer_disarm(&some_timer);
Googling ... -> Download espmissingincludes.h, mkdir include and add #include "espmissingincludes.h" in user_main.c
Ok run forward
CC user/user_main.c
In file included from user/user_main.c:2:0:
include/espmissingincludes.h:33:24: error: unknown type name 'os_timer_t'
void ets_timer_arm_new(os_timer_t *a, uint32_t b, bool repeat, bool isMstimer);
^
include/espmissingincludes.h:34:23: error: unknown type name 'os_timer_t'
void ets_timer_disarm(os_timer_t *a);
Google again ... -> change lib line in Makefile
LIBS = c gcc hal pp phy net80211 lwip wpa main pwm upgrade ssl crypto
os_timer_t is still unknown type/
Google again ... no result :(
The text was updated successfully, but these errors were encountered:
Hello,
I just try to compile small example
make!
Error ->
CC user/user_main.c
user/user_main.c: In function 'user_init':
user/user_main.c:51:5: error: passing argument 1 of 'ets_timer_disarm' discards 'volatile' qualifier from pointer target type [-Werror]
os_timer_disarm(&some_timer);
Googling ... -> Download espmissingincludes.h, mkdir include and add #include "espmissingincludes.h" in user_main.c
Ok run forward
CC user/user_main.c
In file included from user/user_main.c:2:0:
include/espmissingincludes.h:33:24: error: unknown type name 'os_timer_t'
void ets_timer_arm_new(os_timer_t *a, uint32_t b, bool repeat, bool isMstimer);
^
include/espmissingincludes.h:34:23: error: unknown type name 'os_timer_t'
void ets_timer_disarm(os_timer_t *a);
Google again ... -> change lib line in Makefile
LIBS = c gcc hal pp phy net80211 lwip wpa main pwm upgrade ssl crypto
os_timer_t is still unknown type/
Google again ... no result :(
The text was updated successfully, but these errors were encountered: