Search found 2 matches

by mike.wu
Wed Nov 09, 2016 5:21 pm
Forum: Sample Codes
Topic: ESP8266 creates a UDP listening
Replies: 3
Views: 12468

Re: ESP8266 creates a UDP listening

esp8266ac wrote:能否提供基于RTOS SDK上的sample code?

在RTOS上我遇到的情况是espconn_init()调用后,不停的重启。不如直接用include/lwip下的lwip来直接实现,就跟socket编程一样。 :D
by mike.wu
Tue Nov 08, 2016 3:39 pm
Forum: ESP8266 SDK
Topic: GPIO ISF not active with RTOS_SDK-1.4.2[RTOS_SDK-1.4.2版本下GPIO中断服务程序不工作]
Replies: 1
Views: 4997

GPIO ISF not active with RTOS_SDK-1.4.2[RTOS_SDK-1.4.2版本下GPIO中断服务程序不工作]

hi, all. Code is below. :? :? :? :? LOCAL void gpio_int_handler(void) { uint32 gpio_status = GPIO_REG_READ(GPIO_STATUS_ADDRESS); //ETS_GPIO_INTR_DISABLE(); ETS_INTR_LOCK(); GPIO_REG_WRITE(GPIO_STATUS_W1TC_ADDRESS, gpio_status); //GPIO_OUTPUT(GPIO_Pin_4,1); if (gpio_status & BIT(GPIO_ID_PIN(12)))...

Go to advanced search