Search found 8 matches

by mriksman
Tue Jun 30, 2020 5:26 pm
Forum: ESP8266 SDK
Topic: LwIP and mDNS
Replies: 0
Views: 180

LwIP and mDNS

Hi All, When I call this; struct addrinfo hints, *res; int status; memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_INET; hints.ai_socktype = SOCK_STREAM; char *host = "esp_942daf.local"; char *port = "5556"; status = getaddrinfo("esp_942daf.local", "80&q...
by mriksman
Thu Apr 23, 2020 12:32 am
Forum: ESP8266 SDK
Topic: Timers (CCOMPARE0, FRC1, FRC2, WDEV TSF0)?
Replies: 1
Views: 971

Re: Timers (CCOMPARE0, FRC1, FRC2, WDEV TSF0)?

Also, the KCONFIG has the following; choice ESP8266_TIME_SYSCALL prompt "Timers used for gettimeofday function" default ESP8266_TIME_SYSCALL_USE_FRC1 help This setting defines which hardware timers are used to implement 'gettimeofday' and 'time' functions in C library. - If high-resolution...
by mriksman
Wed Apr 22, 2020 9:09 pm
Forum: ESP8266 SDK
Topic: Timers (CCOMPARE0, FRC1, FRC2, WDEV TSF0)?
Replies: 1
Views: 971

Timers (CCOMPARE0, FRC1, FRC2, WDEV TSF0)?

Hi, I'm trying to understand all the timers in ESP8266 RTOS SDK. When I used the PWM library, it caused my esp-homekit clients to disconnect. Nothing in the debug logs, they just dropped connections. Perhaps an issue with secure connections, perhaps an issue with Wi-Fi (although the ESP stays connec...
by mriksman
Mon Mar 16, 2020 1:25 pm
Forum: Chit Chat
Topic: Compiling rtos sdk idf project with CMake
Replies: 38
Views: 19429

Re: Compiling rtos sdk idf project with CMake

These are my notes; Install Git For Windows Install Python 3.x (ESP-IDF makes a note that their may be issues with 3.x and to use 2.7) Install CMake For Windows When the installer asks for Install Options, select ‘Add CMake to the system PATH for the current user’. Download Ninja Extract the executa...
by mriksman
Mon Mar 16, 2020 5:38 am
Forum: Chit Chat
Topic: Compiling rtos sdk idf project with CMake
Replies: 38
Views: 19429

Re: Compiling rtos sdk idf project with CMake

Windows 10 and Python 3.8 and idf.py works fine. I saw a reference to issues with ESP-IDF and Python 3.x on Espressif’s documents, but so far I haven’t had any issues.
What issues are you facing?
by mriksman
Sun Mar 15, 2020 1:07 pm
Forum: Chit Chat
Topic: Compiling rtos sdk idf project with CMake
Replies: 38
Views: 19429

Re: Compiling rtos sdk idf project with CMake

The master git version.
A `git describe` in the sdk directory shows 3.2-405 for ESP8266 RTOS SDK and 4.2-dev-662 for ESP-IDF.
by mriksman
Fri Mar 13, 2020 11:41 pm
Forum: Chit Chat
Topic: Compiling rtos sdk idf project with CMake
Replies: 38
Views: 19429

Re: Compiling rtos sdk idf project with CMake

Thanks. I finally downloaded both SDKs and Toolchains and configured VSCode. SO much better than PlatformIO (which uses ESP8266 RTOS 1.5). It's great being able to have code that can be (almost) reused on both chips.
The sooner Espressif roll BOTH ESP8266 and ESP32 into a single IDF, the better!
by mriksman
Wed Mar 11, 2020 4:13 pm
Forum: Chit Chat
Topic: Compiling rtos sdk idf project with CMake
Replies: 38
Views: 19429

Re: Compiling rtos sdk idf project with CMake

So you managed to set up a CMake system that can compile code to ESP8266 RTOS SDK and ESP-IDF (ESP32) devices? Same code?

Go to advanced search