Search found 26 matches

by mjmorrison
Thu Nov 02, 2017 1:04 am
Forum: General Discussion
Topic: nvs vs spiff vs wear_levelling
Replies: 2
Views: 9547

Re: nvs vs spiff vs wear_levelling

The "wear leveling" library is a layer that is applied to fatfs, which can help to avoid dead blocks. fatfs and spiffs are two different types of file structure. As I understand it, SPIFFS already does wear leveling. You can read more here, the FAQ has some info about lifetime. https://github.com/pe...
by mjmorrison
Fri May 12, 2017 11:24 pm
Forum: ESP-IDF
Topic: How to use virtual file system.?
Replies: 15
Views: 27587

Re: How to use virtual file system.?

I have a related question around SPIFFS vs NVS partition. I have been using a partition table like this for a while ``` nvs, data, nvs, 0x9000, 0x4000 phy_init, data, phy, 0xd000, 0x1000 otadata, data, ota, 0xe000, 0x2000 ota_0, app, ota_0, 0x10000, 1M ota_1, app, ota_1, , 1M spiffs, data, nvs, , 1M...
by mjmorrison
Wed Mar 15, 2017 8:24 pm
Forum: ESP-IDF
Topic: ESP32 as stanalone Webserver
Replies: 25
Views: 50344

Re: ESP32 as stanalone Webserver

@Cornelis awesome thing you built! On a similar note I am trying to run copercini's arduino flavored version here: https://github.com/copercini/esp32-iot-examples/blob/master/WiFi_portal/WiFi_portal.ino No dice however. I will do a bit more digging but your code was a nice sanity check! I'm really a...
by mjmorrison
Wed Mar 15, 2017 6:31 pm
Forum: Sample Code
Topic: app_main call C++
Replies: 3
Views: 7931

Re: app_main call C++

Hi, I'm looking at your "cpp_hellp.cpp" example, and I notice that you include some headers in a block like so. extern "C" { #include "sdkconfig.h" #include "esp_log.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" void app_main(); } Is it best practice you think to extern C the middle 3...
by mjmorrison
Thu Mar 09, 2017 11:33 pm
Forum: General Discussion
Topic: How to coredump?
Replies: 1
Views: 4604

How to coredump?

Hello All,

Check this plox:

https://github.com/espressif/esp-idf/issues/409

I tried a couple permutations of the command ordering... but it seems that something is broke or I have a fundamental misunderstanding.

-M
by mjmorrison
Thu Mar 09, 2017 11:30 pm
Forum: General Discussion
Topic: What size decoupling cap is necessary for ESP-WROOM-32?
Replies: 1
Views: 6903

Re: What size decoupling cap is necessary for ESP-WROOM-32?

My team made a custom PCB that uses 10uF and that works nicely!
by mjmorrison
Wed Feb 22, 2017 10:42 pm
Forum: General Discussion
Topic: WiFi not working after flashing several times Sparkfun-Thing ESP32
Replies: 5
Views: 10240

Re: WiFi not working after flashing several times Sparkfun-Thing ESP32

I am having a similar issue. I am flashing two dev boards with an identical sketch. One shows expected behavior, and the other shows the behavior indicated above.
by mjmorrison
Tue Jan 31, 2017 10:18 pm
Forum: General Discussion
Topic: Store and read static pages in flash
Replies: 9
Views: 15675

Re: Store and read static pages in flash

This is something I have been wondering as well. Mkspiffs: https://github.com/igrr/mkspiffs builds and unpacks spiffs image, but I am not sure this is necessary for my use case. At one point I had the filesystem test by @jwlusby running. Something has broken in the meantime... but it was working wit...
by mjmorrison
Tue Jan 31, 2017 7:29 pm
Forum: General Discussion
Topic: Store static file in flash
Replies: 24
Views: 53777

Re: Store static file in flash

Hey all, I'm trying to set up some read/ write functions for the SPIFFS vfs example that yall have been working on. Here https://github.com/jwlusby/esp32_testing . I've tried rolling back the arduino repo to the previous commit referenced in github, but when I try to compile, it throws some compilat...
by mjmorrison
Fri Jan 13, 2017 1:45 am
Forum: General Discussion
Topic: MQTT publish via Mongoose
Replies: 3
Views: 9514

Re: MQTT publish via Mongoose

And the saga continues: Events are streaming in fine now that the correct manager is being referenced. Now I'm trying to publish periodically from a freeRTOS task. I tried to pass in a pointer to the connection and dereference inside and got these errors: /Users/.../build/main/libmain.a(main.o):(.li...