Search found 19 matches

by czuvich
Sat Dec 15, 2018 7:02 pm
Forum: ESP32 Arduino
Topic: BLE and WiFi Tasks Memory Allocation Failed
Replies: 0
Views: 48

BLE and WiFi Tasks Memory Allocation Failed

I have 2 FreeRTOS tasks where task 1 executes BLEDevice::init() and task 2 uses HttpClient to send a request to an HTTPS backend. I am running on a ESP WROVER DEV Kit v4.1. I run the first BLE task and it executes fine; however, once the WiFi task executes (after the BLE task), it throws the followi...
by czuvich
Wed Dec 12, 2018 5:47 pm
Forum: ESP32 Arduino
Topic: Increase Stack Size (Stack Canary exception on Loop Task)
Replies: 1
Views: 90

Re: Increase Stack Size (Stack Canary exception on Loop Task)

I'm barking up the wrong tree here... I moved my HTTP code to a task, and I was able to get it working just fine. This chip rocks!
by czuvich
Wed Dec 12, 2018 5:28 pm
Forum: ESP32 Arduino
Topic: Increase Stack Size (Stack Canary exception on Loop Task)
Replies: 1
Views: 90

Increase Stack Size (Stack Canary exception on Loop Task)

Chip: ESP32 WROVER-B Dev Kit IDE: Arduino I'm getting Stack canary watchpoint triggered (loop task) while running some WiFi code on Arduino. I'm guessing it's due to the HTTP JSON serialization/deserialization routines; however, the allocations are not that large. I'm even using using std::vector......
by czuvich
Thu Dec 06, 2018 5:44 pm
Forum: ESP32 Arduino
Topic: WROVER with Arduino IDE
Replies: 3
Views: 279

Re: WROVER with Arduino IDE

I was able to get it working with the updated RAM. It was as easy as stated above. Great work on this dev kit!
by czuvich
Thu Dec 06, 2018 5:43 pm
Forum: General Discussion
Topic: sed: 1: "/Users/XXX/esp/hello_w ...": invalid command code C
Replies: 4
Views: 205

Re: sed: 1: "/Users/XXX/esp/hello_w ...": invalid command code C

The output of "git describe --tags --dirty" in the hello_world directory is: "fatal: not a git repository (or any of the parent directories): .git" The full output of "make flash": Toolchain path: /Users/XXX/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4...
by czuvich
Wed Dec 05, 2018 6:21 pm
Forum: General Discussion
Topic: sed: 1: "/Users/XXX/esp/hello_w ...": invalid command code C
Replies: 4
Views: 205

sed: 1: "/Users/XXX/esp/hello_w ...": invalid command code C

I just purchased the WROVER dev kit, and I tried following the Getting Started Guide. I am able to get the menuconfig to come up; however, when I try to run "make flash" for the Hello World application, I am getting the following error: sed: 1: "/Users/XXX/esp/hello_w ...": invalid command code C I ...
by czuvich
Mon Dec 03, 2018 10:23 pm
Forum: ESP32 Arduino
Topic: WROVER with Arduino IDE
Replies: 3
Views: 279

WROVER with Arduino IDE

I've been programming ESP32 for the last few months using the Arduino IDE and an Adafruit HUZZAH ESP32 board. It's been going great for my first board since I'm only using BLE functionality. I am now in need of using both BLE and WiFi functionality; however, I think I am hitting some RAM limitations...
by czuvich
Fri Oct 26, 2018 1:21 pm
Forum: General Discussion
Topic: Heap Fragmentation and Deep Sleep
Replies: 5
Views: 440

Re: Heap Fragmentation and Deep Sleep

Thank you!
by czuvich
Fri Oct 26, 2018 1:58 am
Forum: General Discussion
Topic: RTC_DATA_ATTR std::deque
Replies: 3
Views: 206

Re: RTC_DATA_ATTR std::deque

Thanks all. I'll probably end up with a static array of char[] to store my queue messages. And using FRAM only as needed.
by czuvich
Thu Oct 25, 2018 7:06 pm
Forum: General Discussion
Topic: RTC_DATA_ATTR std::deque
Replies: 3
Views: 206

RTC_DATA_ATTR std::deque

I'm trying to maintain a std::deque in slow memory (between sleeps) that is only initialized once. I wrote a small test program that declares the following (In Arduino IDE): RTC_DATA_ATTR std::deque<int> _queue; setup() { // serial setup.... _queue.push_back(100); Serial.println(_queue.size()); esp_...

Go to advanced search