Search found 52 matches

by gregstewart90
Wed Sep 13, 2017 1:48 pm
Forum: General Discussion
Topic: Storing Logs
Replies: 11
Views: 316

Re: Storing Logs

If you can pack two int32 variables into an int64 and store that instead of a blob, that will be twice as efficient. I definitely can pack them together. Should I make an array of the log entries and save that to the blob or should I try to rename each entry? BlobLog blob_logs[]; ... nvs_set_blob(m...
by gregstewart90
Wed Sep 13, 2017 1:27 pm
Forum: General Discussion
Topic: Storing Logs
Replies: 11
Views: 316

Re: Storing Logs

So I see my two options are to keep doing everything in nvs storage or take a big risk with the partition tables. I'll have a new run of boards soon that I can flash with a different partition table. Is there anything wrong with using the blob? My current plan uses a struct with two int32_t variable...
by gregstewart90
Tue Sep 12, 2017 10:58 pm
Forum: General Discussion
Topic: Storing Logs
Replies: 11
Views: 316

Re: Storing Logs

(bump)
by gregstewart90
Mon Sep 04, 2017 3:36 pm
Forum: General Discussion
Topic: Panic Handler Constantly Resetting
Replies: 3
Views: 138

Re: Panic Handler Constantly Resetting

Thanks for the advice. I went to version 2.1, and that seems to have resolved the issue. It's difficult to reproduce.
by gregstewart90
Thu Aug 31, 2017 7:51 pm
Forum: General Discussion
Topic: Panic Handler Constantly Resetting
Replies: 3
Views: 138

Panic Handler Constantly Resetting

Sometimes my esp32 will just start to constantly reset with the following output: Backtrace: 0x40086159:0x3ffd45a0 0x40087588:0x3ffd45d0 0x40089585:0x3ffd4600 0x400898fa:0x3ffd47d0 0x40089269:0x3ffd4810 0x400893cc:0x3ffd4890 0x4008202e:0x3ffd48b0 0x40086156:0x3ffd4970 0x40086156:0x3ffd49a0 0x4008958...
by gregstewart90
Tue Aug 29, 2017 4:36 pm
Forum: General Discussion
Topic: Storing Logs
Replies: 11
Views: 316

Re: Storing Logs

I've found thi library that supports everything you have just described. I already have many units deployed which I can only update with OTA. Can I update the partition table with OTA? My current partition table looks like the following: # Name, Type, SubType, Offset, Size nvs, data, nvs, 0x9000, 0x...
by gregstewart90
Tue Aug 29, 2017 2:09 pm
Forum: General Discussion
Topic: Storing Logs
Replies: 11
Views: 316

Storing Logs

I'm ready in my project to store logs on the esp32. The logs would be used to check for bugs and problems. I would like to know the best way to go about it. I've implemented some logs in the blob, but read-the-docs says I shouldn't store big things in the blob. What is the correct way to store logs ...
by gregstewart90
Thu Aug 24, 2017 1:24 pm
Forum: General Discussion
Topic: Source Subdirectories
Replies: 7
Views: 308

Re: Source Subdirectories

I had to do both to make it work. If I didn't it would continually reset and print out the following: Backtrace: 0x40086159:0x3ffd45a0 0x40087588:0x3ffd45d0 0x40089585:0x3ffd4600 0x400898fa:0x3ffd47d0 0x40089269:0x3ffd4810 0x400893cc:0x3ffd4890 0x4008202e:0x3ffd48b0 0x40086156:0x3ffd4970 0x40086156:...
by gregstewart90
Tue Aug 22, 2017 10:00 pm
Forum: General Discussion
Topic: Source Subdirectories
Replies: 7
Views: 308

Re: Source Subdirectories

I upgraded my IDF to the latest version, but now my project will not build. I get error like the following: /esp-idf/components/esp32/include/esp_wifi.h:160:18: error: 'CONFIG_ESP32_WIFI_RX_BA_WIN' undeclared (first use in this function) .rx_ba_win = CONFIG_ESP32_WIFI_RX_BA_WIN,\ unit_test.c:237:27:...
by gregstewart90
Tue Aug 22, 2017 12:05 am
Forum: General Discussion
Topic: Source Subdirectories
Replies: 7
Views: 308

Re: Source Subdirectories

I tried what you said, but it gave me the same error. I even deleted the build directory to make sure nothing was left over. I tried changing the order of the subdirectories in the component.mk file, and that worked. Working component.mk file COMPONENT_SRCDIRS := . dir_one/dir_one_a dir_one Non-work...