Search found 14 matches

by Async_Awayt
Fri Aug 03, 2018 10:26 am
Forum: ESP-IDF
Topic: How to include static librarys into esp-idf with eclipse?
Replies: 3
Views: 8574

Re: How to include static librarys into esp-idf with eclipse?

I managed to solve the issue by: 1 - Firstly saving the libalgobsec.a file to the same folder as the component.mk file. 2 - Then, adding the following line to component.mk COMPONENT_ADD_LDFLAGS +=$(COMPONENT_PATH)/libalgobsec.a 3 - Finally I had to change the app_main declaration from void to int in...
by Async_Awayt
Thu Aug 02, 2018 9:57 am
Forum: ESP-IDF
Topic: How to include static librarys into esp-idf with eclipse?
Replies: 3
Views: 8574

Re: How to include static librarys into esp-idf with eclipse?

I am also having the same issue. Anyone can point me in the right direction on how to solve this?
by Async_Awayt
Thu Aug 02, 2018 7:50 am
Forum: News
Topic: sysprogs announces ESP-IDF support in Visual Studio
Replies: 5
Views: 31085

Re: sysprogs announces ESP-IDF support in Visual Studio

IMHO, you have to much emphasis on using JTAG to program the device. If not using JTAG, there should be no JTAG warning after flashing each time. There is another issue where it does not follow the download board rate. I agree. The warning is not really needed. It would be enough if it was shown on...
by Async_Awayt
Fri Sep 08, 2017 1:54 pm
Forum: ESP-IDF
Topic: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.
Replies: 6
Views: 19471

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: ESP-IDF
Topic: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.
Replies: 6
Views: 19471

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 queue.c f...
by Async_Awayt
Fri Sep 08, 2017 10:57 am
Forum: ESP-IDF
Topic: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.
Replies: 6
Views: 19471

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 associated with the...
by Async_Awayt
Fri Sep 08, 2017 5:20 am
Forum: ESP-IDF
Topic: (xQueueGenericReceive)- assert failed! -Issues after upgrading to latest toolchain version.
Replies: 6
Views: 19471

(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 12:33 pm
Forum: ESP-IDF
Topic: uxTaskGetStackHighWaterMark causing reboot
Replies: 2
Views: 6827

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: 19
Views: 74426

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-...