While compiling with ESP8266_NONOS_SDK-2.2.0 it was
found that the SDK defines the function, void ets_delay_us(uint32_t ms)
(in SDK root, include/osapi.h) which is defined in
include/espmissingincludes.h as void ets_delay_us(uint16_t ms) which
results in the following error:
CC espfs/espfs.c
In file included from ./include/esp8266.h:33:0,
from espfs/espfs.c:23:
./include/espmissingincludes.h:46:6: error: conflicting types for 'ets_delay_us'
void ets_delay_us(uint16_t ms);
^
In file included from ./include/esp8266.h:28:0,
from espfs/espfs.c:23:
..//include/osapi.h:33:6: note: previous declaration of 'ets_delay_us' was here
void ets_delay_us(uint32_t us);
^
Commenting out the function prototype from espmissingincludes.h fixes
the problem.
While compiling with ESP8266_NONOS_SDK-2.2.0 it was found that the SDK defines the function,
void ets_delay_us(uint32_t ms)
(in SDK root, include/osapi.h) which is defined in include/espmissingincludes.h asvoid ets_delay_us(uint16_t ms)
which results in the following error:Commenting out the function prototype from espmissingincludes.h fixes the problem.