Search found 127 matches

by gunar.kroeger
Fri May 31, 2019 2:00 pm
Forum: General Discussion
Topic: What happens with SD card if it gets unpowered during write?
Replies: 10
Views: 1532

Re: What happens with SD card if it gets unpowered during write?

Just stick a 1-20F cap on your power rail depending on all what your power needs are. Use the built in A/D to detect the power fail, and close the file system right away. A cap like this will give you 10's of seconds of running time when the power fails. This is what I had done on the previous vers...
by gunar.kroeger
Thu May 30, 2019 2:06 pm
Forum: General Discussion
Topic: What happens with SD card if it gets unpowered during write?
Replies: 10
Views: 1532

What happens with SD card if it gets unpowered during write?

- You have a data logger writing data to a file every 100ms. - You send a fsync and fflush every 5 seconds - After every hour you close the log and open a new one. If there is a power down, could you loose more than the last 5 seconds of log? Are the writes on the FAT sector atomic? or could the SD ...
by gunar.kroeger
Mon May 27, 2019 1:37 pm
Forum: General Discussion
Topic: ESP-IDF and BG96 GSM Module
Replies: 7
Views: 2092

Re: ESP-IDF and BG96 GSM Module

Hi @leonardo.zambonelli,

I'm thinking of using the BG96 Module.
Are you still having problems with it?

Thanks
by gunar.kroeger
Thu May 16, 2019 5:40 pm
Forum: General Discussion
Topic: Why make -j8 flash rebuilds the project?
Replies: 8
Views: 1502

Re: Why make -j8 flash rebuilds the project?

Hi, recently i found that changing Makefile also is causing full project rebuild. It has to do this because there's no way for Make to know what you changed. For example, if the change added a compiler flag to CFLAGS for every source file compilation then it needs to rebuild every source file to ge...
by gunar.kroeger
Thu May 16, 2019 4:39 pm
Forum: General Discussion
Topic: Eclipse still showing "unresolved inclusion" and "Symbol couldn't be resolved"
Replies: 18
Views: 5481

Re: Eclipse still showing "unresolved inclusion" and "Symbol couldn't be resolved"

Hi Paul,

I unfortunately your solution also did not work for me ):
by gunar.kroeger
Tue May 14, 2019 5:19 pm
Forum: General Discussion
Topic: Compression using miniz
Replies: 5
Views: 2641

Re: Compression using miniz

I have miniz working as a component. Works great. Had to change some defines to reduce RAM usage. if(!mz_zip_writer_init_file(&zip_archive, tempNameWithDir, 0)) { ESP_LOGE(TAG, "Error while initializing ZIP file archive\n"); return false; } mz_bool rc; ESP_LOGD(TAG, "mz_zip_writer_add_file"); ESP_LO...
by gunar.kroeger
Tue May 14, 2019 12:47 pm
Forum: General Discussion
Topic: Eclipse still showing "unresolved inclusion" and "Symbol couldn't be resolved"
Replies: 18
Views: 5481

Re: Eclipse still showing "unresolved inclusion" and "Symbol couldn't be resolved"

I'm still getting errors in eclipse with windows. Mostly with defines like ESP_LOGI, ESP_SPP_MODE_CB, CAN_MODE_NORMAL etc But builds finish successfully. Same problem occurs in more projects, and more computers. Sometimes the errors disappear, but eventually reappear indexErrors.PNG Output Parser.PN...
by gunar.kroeger
Thu May 02, 2019 1:38 pm
Forum: General Discussion
Topic: Eclipse still showing "unresolved inclusion" and "Symbol couldn't be resolved"
Replies: 18
Views: 5481

Re: Eclipse still showing "unresolved inclusion" and "Symbol couldn't be resolved"

I'm also not having luck with this on eclipse Windows... Sometimes the errors disappear but when I have to change branches, eclipse starts to scream again It's really frustrating having to work with all your code marked with red underlines I saw some people abandoning eclipse and moving to VS, but a...
by gunar.kroeger
Tue Apr 30, 2019 2:08 pm
Forum: General Discussion
Topic: App Version in DROM management
Replies: 0
Views: 312

App Version in DROM management

I have found that there is a location for storing app version inside an esp-idf structure: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/system/system.html#app-version Is there a way to autoincrement the version on each build with eclipse, windows? I got it to work with some Ma...

Go to advanced search