{"id":1256,"date":"2015-09-24T02:19:22","date_gmt":"2015-09-23T17:19:22","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=1256"},"modified":"2015-09-24T02:19:22","modified_gmt":"2015-09-23T17:19:22","slug":"post-1256","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2015\/09\/24\/post-1256.html","title":{"rendered":"espeink make \u305d\u306e2"},"content":{"rendered":"
\u4f5c\u8005\u306b\u30d8\u30eb\u30d7\u8981\u8acb\u3092\u51fa\u3057\u3066\u304a\u304d\u307e\u3057\u305f\u3002\u4f5c\u8005\u304b\u3089\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u3042\u308b\u307e\u3067\u3001\u81ea\u5206\u306a\u308a\u306b\u3082\u3046\u5c11\u3057\u8abf\u3079\u307f\u307e\u3059\u3002<\/p>\n
\u305d\u306e\u5f8c\u3001\u518d\u8abf\u67fb\u3067SDK 1.3.0\u3092\u4f7f\u3046\u3068\u3001
unknown type name ‘uint16_t’
\u304c\u51fa\u308b\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306b\u60c5\u5831\u304c\u3002<\/p>\n
\nhttps:\/\/github.com\/pfalcon\/esp-open-sdk\/issues\/90<\/a><\/p>\n
\u3053\u308c\u306f\u3001\u518d\u5ea6\u6307\u5b9a\u3059\u308c\u3070\u56de\u907f\u3067\u304d\u305d\u3046\u3067\u3059\u3002
#include <stdint.h><\/p>\n<\/blockquote>\n\u307e\u3041\u3001\u3067\u3082\u3053\u3093\u306a\u3053\u3068\u306f\u4f5c\u8005\u306f\u3084\u3063\u3066\u3044\u306a\u3044\u308f\u3051\u3067\u3001\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u3082\u3063\u3068\u53e4\u3044sdk\u3067\u3084\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3060\u3068\u601d\u3046\u306e\u3067\u4ee3\u3048\u3066\u307f\u307e\u3059\u3002esp_iot_sdk_v1.1.1 \u3067 \u3068\u308a\u3042\u3048\u305a\u30c1\u30e3\u30ec\u30f3\u30b8\u3002<\/p>\n
\n$ rm sdk
$ ln -s esp_iot_sdk_v1.1.1 sdk <\/p>\n<\/blockquote>\n\u30fbunknown type name \u306f\u51fa\u306a\u304f\u306a\u308b\u304c\u3001conflicting types \u304c\u51fa\u308b\u3002<\/p>\n
$ make\n CC user\/cgiwifi.c\n In file included from user\/cgiwifi.c:20:0:\n include\/espmissingincludes.h:42:5: error: conflicting types for 'os_random'\n int os_random();\n ^\n In file included from user\/cgiwifi.c:15:0:\n \/Volumes\/case-sensitive\/esp-open-sdk\/sdk\/include\/osapi.h:45:15: note: previous declaration of 'os_random' was here\n unsigned long os_random(void);\n ^\n make: *** [build\/user\/cgiwifi.o] Error 1<\/pre>\n<\/p>\n
\u30fb\u3061\u3087\u3063\u3068\u72b6\u6cc1\u306f\u9055\u3046\u304b\u3082\u3067\u3059\u304c\u3001\u4ee5\u4e0b\u306b\u60c5\u5831\u304c\u3002<\/p>\n
\n\n
http:\/\/www.esp8266.com\/viewtopic.php?p=18868<\/a><\/p>\n\u304a\u305d\u3089\u304f\u4f5c\u8005\u304b\u3089\u306e\u30b3\u30e1\u30f3\u30c8\u3067\u3001include\/espmissingincludes.h \u306eos_random\u3092\u53d6\u3063\u3066\u3057\u307e\u3048\u3070\uff1f\u3068\u3002
\n
\u306f\u3044\u3001\u3068\u308a\u307e\u3057\u305f\u3002<\/p>\n<\/blockquote>\n---- espmissingincludes.h\n::\nuint32 system_get_time();\n\/\/int os_random();\nint rand(void);\n::<\/pre>\n<\/p>\n
\u30fb\u3059\u308b\u3068\u3001user\/cgiwifi.c \u306f\u901a\u308a\u3001\u6b21\u306a\u308b\u30a8\u30e9\u30fc\u304c\u3002\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u5ba3\u8a00\u304c\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n
$ make\n CC user\/cgiwifi.c\n CC user\/config.c\n CC user\/eink.c\n user\/eink.c: In function 'einkTimerCb':\n user\/eink.c:60:3: error: implicit declaration of function 'os_update_cpu_frequency' [-Werror=implicit-function-declaration]\n os_update_cpu_frequency(160);\n ^\n cc1: all warnings being treated as errors\n make: *** [build\/user\/eink.o] Error 1<\/pre>\n<\/p>\n
<\/p>\n
einkTimerCb\u95a2\u6570\u306e\u4e2d\u304b\u3089\u547c\u3070\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002
\n
\u3053\u3044\u3064\u306f\u3001\u30bd\u30fc\u30b9\u5168\u4f53\u3092grep \u3057\u3066\u3082\u51fa\u306a\u3044\u306e\u3067\u3001sdk \u306e\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u306e\u3088\u3046\u3067\u3059\u3002\u306a\u3093\u3068\u5ba3\u8a00\u3059\u308c\u3070\u3088\u3044\u306e\u3067\u3057\u3087\u3046\u304b\u306d\uff1f <\/p>\n\u4ee5\u4e0b\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u306b\u3088\u308b\u3068\u3001esp_iot_sdk_v1.1.0_15_05_26 \u3067\u306a\u304f\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff01
\n
http:\/\/www.esp8266.com\/viewtopic.php?p=18496<\/a><\/p>\n\u305d\u306e\u524d\u306e\u3001esp_iot_sdk_v1.0.1\/include\/osapi.h \u306b\u306f\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n
\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u4f5c\u8005\u306fesp_iot_sdk_v1.0.1\u3088\u308a\u524d\u306eSDK \u3092\u4f7f\u3063\u3066\u3044\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\u3002 <\/p>\n
\u30bd\u30fc\u30b9\u4fee\u6b63\u306f\u3068\u308a\u3042\u3048\u305a\u3001\u5f8c\u56de\u3057\u3067\u3001\u4eca\u306f\u4f5c\u8005\u306e\u74b0\u5883\u3092\u63a8\u6e2c\u3057\u3001\u6700\u5f8c\u307e\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u901a\u308b\u74b0\u5883\u3092\u63a2\u308b\u306e\u304c\u512a\u5148\u3067\u3059\u3002 <\/p>\n
http:\/\/bbs.espressif.com\/viewforum.php?f=46<\/a><\/p>\n
\u306e\u4e00\u89a7\u304b\u3089\u3001esp_iot_sdk_v1.0.1_15_04_24 \u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n
\u30ea\u30ea\u30fc\u30b9\u65e5\u306f\u3001Fri Apr 24, 2015 10:49 pm \u3067\u3059\u3002<\/p>\n