{"action":"opened","issue":{"url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/75","repository_url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK","labels_url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/75/comments","events_url":"https://api.github.com/repos/espressif/ESP8266_RTOS_SDK/issues/75/events","html_url":"https://github.com/espressif/ESP8266_RTOS_SDK/issues/75","id":191767387,"number":75,"title":"Unable to compile driver_lib","user":{"login":"densha500","id":23746792,"avatar_url":"https://avatars.githubusercontent.com/u/23746792?v=3","gravatar_id":"","url":"https://api.github.com/users/densha500","html_url":"https://github.com/densha500","followers_url":"https://api.github.com/users/densha500/followers","following_url":"https://api.github.com/users/densha500/following{/other_user}","gists_url":"https://api.github.com/users/densha500/gists{/gist_id}","starred_url":"https://api.github.com/users/densha500/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/densha500/subscriptions","organizations_url":"https://api.github.com/users/densha500/orgs","repos_url":"https://api.github.com/users/densha500/repos","events_url":"https://api.github.com/users/densha500/events{/privacy}","received_events_url":"https://api.github.com/users/densha500/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-25T21:36:32Z","updated_at":"2016-11-25T21:36:32Z","closed_at":null,"body":"I have just tried to compile the driver lib in the new RTOS v 1.5.0.  \r\n\r\ncd ~/ESP8266_RTOS_SDK/driver_lib\r\n./make_lib.sh driver\r\n\r\nFirst Error\r\nIn file included from i2c_master.c:13:0:\r\ni2c_master.c: In function 'i2c_master_getDC':\r\n../include/gpio.h:193:66: error: 'BIT0' undeclared (first use in this function)\r\n #define GPIO_INPUT_GET(gpio_no)     ((gpio_input_get()>>gpio_no)&BIT0)\r\n\r\nSecond Error\r\nIn file included from ../include/i2c_master.h:4:0,\r\n                 from i2c_master.c:15:\r\ni2c_master.c: In function 'i2c_master_gpio_init':\r\n/home/densha/ESP8266_RTOS_SDK/include/espressif/esp8266/pin_mux_register.h:149:47: error: 'BIT2' undeclared (first use in this function)\r\n         SET_PERI_REG_MASK(PIN_NAME, (((FUNC & BIT2) << 2) | (FUNC & 0x3)) << PERIPHS_IO_MUX_FUNC_S); "}}
{"actor":{"display_login":"densha500"}}