Search found 77 matches

by chromebin
Thu May 10, 2018 11:52 pm
Forum: General Discussion
Topic: set default char type as unsigned (GCC -funsigned-char flag) in Eclipse
Replies: 4
Views: 6751

set default char type as unsigned (GCC -funsigned-char flag) in Eclipse

I get the error "pointer targets in initialization differ in signedness [-Werror=pointer-sign]" due to using unsigned char as the char type. So among other things, string literals assigned to uint8_t arrays cause warnings. In a previous setup I had succeeded in configuring Eclipse to set the default...
by chromebin
Wed Apr 25, 2018 8:54 pm
Forum: General Discussion
Topic: Stack overflow in task that doesn't run
Replies: 4
Views: 5554

Re: Stack overflow in task that doesn't run

The fact that it appears to take time to fail might be indicative of some form of memory leak. Well brain-stormed! I disabled most of the other tasks and it now runs for a few minutes without problem. So definitely something fishy is going on. This is a ported project, in flux, with lots of small e...
by chromebin
Wed Apr 25, 2018 8:07 pm
Forum: General Discussion
Topic: Stack overflow in task that doesn't run
Replies: 4
Views: 5554

Stack overflow in task that doesn't run

I get a stack overflow in a task with the below code. It takes about 20s before this happens. Note that await_app_event() never returns. I saw many stack overflows in other tasks, and I raised the stacksize memory allowance to resolve these errors, despite these tasks doing very little. The allowanc...
by chromebin
Tue Apr 17, 2018 2:54 pm
Forum: ESP-IDF
Topic: ESP-NOW listen on one channel, send on another
Replies: 1
Views: 3718

ESP-NOW listen on one channel, send on another

I want to network a handful of devices with ESPNOW. The thought occurred to me to send the request (command) on one channel, and the reply on another. That way the master can interrupt the slaves and stop them quacking. So can the ESPNOW listen on one channel, send on another? Does anyone perhaps ev...
by chromebin
Mon Apr 09, 2018 5:57 pm
Forum: General Discussion
Topic: ESP32 Get started install ESP-IDF on Windows
Replies: 5
Views: 8760

Re: ESP32 Get started install ESP-IDF on Windows

This is the reply I intended to post immediately, but the original message got lost in moderation The solution basically sidesteps the `git clone` command in MSYS2. Instead execute it in Windows: - make sure the command works (`git` is installed) in Windows. I use `Git version 2.16` from the "Git D...
by chromebin
Thu Apr 05, 2018 2:55 pm
Forum: General Discussion
Topic: ESP32 Get started install ESP-IDF on Windows
Replies: 5
Views: 8760

ESP32 Get started install ESP-IDF on Windows

I am posting this for future reference. In the reply I document the solution I arrived at. I am trying to install a dev environment for the ESP32. I am at the step 'Get ESP-IDF' at page http://esp-idf.readthedocs.io/en/latest/get-started/index.html#get-esp-idf This step asks me to run: mkdir -p ~/e...
by chromebin
Mon Apr 02, 2018 12:18 pm
Forum: General Discussion
Topic: [Feature Request] Support for Thread protocol through code from upstream OpenThread?
Replies: 4
Views: 22352

Support for Thread protocol / OpenThread / 6lowpan?

Hello, a year has passed since [Support for Thread protocol through code from upstream OpenThread](https://www.esp32.com/viewtopic.php?t=142), could you please give an update on the status of support for the Thread protocol and 6lowpan? I saw it [mentioned](https://www.esp32.com/viewtopic.php?f=2&t=...