Search found 5 matches

by matherp
Sat Feb 06, 2021 8:05 pm
Forum: ESP-IDF
Topic: Ctrl-C on socket data causing reset and no way to trap SIGINT
Replies: 0
Views: 1512

Ctrl-C on socket data causing reset and no way to trap SIGINT

I've set up a simple socket to talk to a remote application and need to transmit binary data. However, whenever the remote application sends anything which isn't ascii this cause a complete reset of the ESP32. Is there some way to set up the socket to allow binary data without any interpretation? At...
by matherp
Tue Jan 26, 2021 4:27 pm
Forum: ESP-IDF
Topic: Adding files to a Eclipse project
Replies: 0
Views: 1559

Adding files to a Eclipse project

In all usage of Eclipse I've encountered before all I need to do to add an existing source file into a build is to drag the file from the filemanager into the src directory and add the #INCLUDE to any header into the main program or a relevant referenced .h file. I've done this for the ESP32 and the...
by matherp
Mon Jan 25, 2021 7:31 pm
Forum: ESP-IDF
Topic: setjmp.h does not include definition of jmp_buf
Replies: 0
Views: 1535

setjmp.h does not include definition of jmp_buf

Attached below is the file setjmp.h from the idf directory - no mention of jmp_buf and so my program fails to compile. Help appreciated. #include_next <setjmp.h> #include "esp_debug_helpers.h" /* * This is the middle layer of setjmp to be used with the unity. */ /** Insert backtrace before longjmp (...
by matherp
Mon Jan 25, 2021 6:20 pm
Forum: ESP-IDF
Topic: Is there a way to disable FreeRTOS ticks on one core?
Replies: 9
Views: 9772

Re: Is there a way to disable FreeRTOS ticks on one core?

Derf jagged

I've got the same requirement to allocate one core to a continuously looping task. Please could you share the code you used to create the critical task and lock it to a CPU

Many thanks
by matherp
Wed Dec 23, 2020 1:27 pm
Forum: ESP32 Arduino
Topic: SPIFFS file text editor to run in browser window
Replies: 0
Views: 1810

SPIFFS file text editor to run in browser window

Hi all I'm looking for code to use to edit a file on the SPIFFS storage from within a browser window. Doesn't need to be anything fancy just loading from and saving to SPIFFS and inserting and deleting ascii text. Other functionality such as cut and paste would be a bonus but not essential. I'm sure...