Search found 11 matches

by Async_Awayt
Fri Sep 08, 2017 1:54 pm
Forum: ESP32 SDK
Topic: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.
Replies: 6
Views: 272

Re: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.

Then your queue pointer is in all likelihood NULL. Recheck your code. You are right! I rearranged my code so it is all inside a single source file and now it working. I used to have it divided into: esp32_spi.h esp32_spi.c main.c So I could reuse the SPI later. Isn't it odd that the same code used ...
by Async_Awayt
Fri Sep 08, 2017 11:41 am
Forum: ESP32 SDK
Topic: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.
Replies: 6
Views: 272

Re: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.

Check what the assert actually complains about. I am not sure how to check what the assert complains about. Do you mean by "core dumping"? No, open the source for xQueueReceive/xQueueGenericReceive. It will show you what the asserts are checking. The exception originates from the standard...
by Async_Awayt
Fri Sep 08, 2017 10:57 am
Forum: ESP32 SDK
Topic: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.
Replies: 6
Views: 272

Re: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.

Check what the assert actually complains about. I am not sure how to check what the assert complains about. Do you mean by "core dumping"? Based on the code you provided your DRDY_evt_queue is NULL, but since you have left out parts it might be something else. Here are the lines associate...
by Async_Awayt
Fri Sep 08, 2017 5:20 am
Forum: ESP32 SDK
Topic: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.
Replies: 6
Views: 272

(xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.

Just upgraded to the latest toolchain version and am facing several issues. For instance I am getting: (xQueueGenericReceive)- assert failed! This is the code that I believe is causing the issue: ... static xQueueHandle DRDY_evt_queue = NULL; static void IRAM_ATTR gpio_isr_handler(void *arg) { gpio_...
by Async_Awayt
Thu Apr 20, 2017 3:15 pm
Forum: ESP32 SDK
Topic: uxTaskGetStackHighWaterMark causing reboot
Replies: 2
Views: 497

Re: uxTaskGetStackHighWaterMark causing reboot

WiFive wrote:https://github.com/espressif/esp-idf/blob/master/components/freertos/Kconfig#L43

Great! Thanks! :)
by Async_Awayt
Thu Apr 20, 2017 12:33 pm
Forum: ESP32 SDK
Topic: uxTaskGetStackHighWaterMark causing reboot
Replies: 2
Views: 497

uxTaskGetStackHighWaterMark causing reboot

Hi, I am trying to get a better understanding of stacksizes needed for different programs so I decided to try the uxTaskGetStackHighWaterMark() API function. Unfortunately I get: Untested FreeRTOS function uxTaskGetStackHighWaterMark /home/volle/esp/esp-idf/components/freertos/./tasks.c:3734 (uxTask...
by Async_Awayt
Fri Apr 14, 2017 10:43 pm
Forum: Showcase
Topic: [Info] Using Raspberry Pi as a development environment
Replies: 12
Views: 6334

Re: [Info] Using Raspberry Pi as a development environment

Finally! The solution was to make all additions suggested by sergiy here is the whole walktrhrough: sudo apt-get update sudo apt-get upgrade sudo apt-get install gawk gperf grep gettext automake bison flex texinfo help2man libtool libtool-bin git wget make libncurses-dev python python-serial python-...
by Async_Awayt
Fri Apr 14, 2017 9:57 am
Forum: Showcase
Topic: [Info] Using Raspberry Pi as a development environment
Replies: 12
Views: 6334

Re: [Info] Using Raspberry Pi as a development environment

I had the same issue on my Raspberry PI 3. It either freezes or 'internal compiler error: Segmentation fault'. Neither changing/reformatting SD card nor compiling to external USB HDD helped to resolve this issue. I noticed that issue occurred when all of 4 cores were fully utilized 100%. I came to ...
by Async_Awayt
Fri Apr 14, 2017 3:24 am
Forum: Showcase
Topic: [Info] Using Raspberry Pi as a development environment
Replies: 12
Views: 6334

Re: [Info] Using Raspberry Pi as a development environment

Great Neil, I would very much appreciate your help. The main reason I am trying this is that it is a relatively cheap and accessible platfrom. My son and his mates are really into ESP32s now, we have plenty of Raspberry Pi 3s around and even more ESP32 boards. The bottleneck is availability of compu...
by Async_Awayt
Tue Apr 11, 2017 7:00 am
Forum: Showcase
Topic: [Info] Using Raspberry Pi as a development environment
Replies: 12
Views: 6334

Re: [Info] Using Raspberry Pi as a development environment

I've been using Neils prebuilt toolchain and it works a treat on my Raspberry Pi 3. But, since there has been newer releases lately I thought I'd complie one myself using the walkthrough provided. Problem is that it freezes up after ~20- 25 minutes and the whole thing becomes unresponsive. Any ideas...