Get the origional version from github and add this files ...
You can try like this :
Code: Select all
gpio_intr_handler_register(gpio_intr_handler);
_xt_isr_unmask(1<<ETS_GPIO_INUM);
GPIO_ConfigTypeDef test_conf;
test_conf.GPIO_IntrType=GPIO_PIN_INTR_NEGEDGE;
test_conf.GPIO_Mode=GPIO_Mode_Input;
test_conf.GPIO_Pin=GPIO_Pin_14|GPIO_Pin_15;
test_conf.GPIO_Pullup=GPIO_PullUp_DIS;
gpio_config(&test_conf);
I have not tested it thoroughly , well, just have a look and give your suggestion ...
other driver of RTOS verion wil be released these days...