Using esp-idf framework for ESP8266?
Posted: Fri Apr 06, 2018 10:51 am
Is it possible to use esp-idf framework for ESP8266-12 chip?
I'm using ESP8266 with ESP8266_RTOS_SDK and have found a problem with a sensitive 1-Wire bus timing (affected by the WiFi interrupts despite using taskENTER_CRITICAL/taskEXIT_CRITICAL macros). Then I found that esp-idf has a different implementation of those macros which prevents critical sections from being interrupted by the WiFi. This was pointed out by 'stickbreaker' in his implementation of the 1-Wire bus (https://github.com/stickbreaker/OneWire ... e.cpp#L149).
However, I could not flash the 'hello-world' example code to ESP8266. Does esp-idf support ESP8266 at all?
I'm using ESP8266 with ESP8266_RTOS_SDK and have found a problem with a sensitive 1-Wire bus timing (affected by the WiFi interrupts despite using taskENTER_CRITICAL/taskEXIT_CRITICAL macros). Then I found that esp-idf has a different implementation of those macros which prevents critical sections from being interrupted by the WiFi. This was pointed out by 'stickbreaker' in his implementation of the 1-Wire bus (https://github.com/stickbreaker/OneWire ... e.cpp#L149).
However, I could not flash the 'hello-world' example code to ESP8266. Does esp-idf support ESP8266 at all?