I have just tried to compile the driver lib in the new RTOS v 1.5.0.
cd ~/ESP8266_RTOS_SDK/driver_lib
./make_lib.sh driver
First Error
Code: Select all
In file included from i2c_master.c:13:0:
i2c_master.c: In function 'i2c_master_getDC':
../include/gpio.h:193:66: error: 'BIT0' undeclared (first use in this function)
#define GPIO_INPUT_GET(gpio_no) ((gpio_input_get()>>gpio_no)&BIT0)
Second Error
Code: Select all
In file included from ../include/i2c_master.h:4:0,
from i2c_master.c:15:
i2c_master.c: In function 'i2c_master_gpio_init':
/home/densha/ESP8266_RTOS_SDK/include/espressif/esp8266/pin_mux_register.h:149:47: error: 'BIT2' undeclared (first use in this function)
SET_PERI_REG_MASK(PIN_NAME, (((FUNC & BIT2) << 2) | (FUNC & 0x3)) << PERIPHS_IO_MUX_FUNC_S); \
Has anyone successfully been able to compile the driver_lib?
Could you share the updates required to compile the driver lib in RTOS v1.5.0
Thanks
Densha