Open iia opened 7 years ago
As I see there is present definition for uint32_t in SDK 2.0.0 c_types.h Furthermore, I have switched from SDK 1.5.4 to 2.0.0 without any issues in libesphttpd. Your c_types.h looks like not from SDK 2.0.0
@iia looks like you forgot to pass USE_OPENSDK=yes, otherwise libesphttpd passes -D_STDINT_H which causes stdint.h to get ignored
@iia FYI, I've recently submitted a fix for building against 2.x SDKs: https://github.com/Spritetm/libesphttpd/pull/39
When trying to compile libesphttpd using ESP8266 SDK 2.0.0 data type related error such as,
../esp-open-sdk/sdk//include/ets_sys.h:31:1: error: unknown type name 'uint32_t' typedef uint32_t ETSSignal;
are reported. It seems like in SDK 2.0.0 they changed type definitions which causes this problem.
The following patch on the file located at/include/c_types.h seems to fix these issues.
It would be nice to have this issue fixed in libesphttpd.