Search found 17 matches
- Wed Apr 17, 2024 6:15 pm
- Forum: ESP-IDF
- Topic: littlefs panic when partition is full
- Replies: 6
- Views: 2196
Re: littlefs panic when partition is full
fixed in core littlefs v2.9.2, and subsequently in esp_littlefs v1.14.4
- Wed Apr 17, 2024 3:41 am
- Forum: ESP-IDF
- Topic: littlefs panic when partition is full
- Replies: 6
- Views: 2196
Re: littlefs panic when partition is full
Based on huming2207 being able to reproduce it here: https://github.com/joltwallet/esp_littlefs/issues/183
I opened up a PR that may resolve the issue here: https://github.com/littlefs-project/littlefs/pull/966
Will update when it gets merged and and makes its way to esp_littlefs.
I opened up a PR that may resolve the issue here: https://github.com/littlefs-project/littlefs/pull/966
Will update when it gets merged and and makes its way to esp_littlefs.
- Tue Apr 16, 2024 11:14 pm
- Forum: ESP-IDF
- Topic: littlefs panic when partition is full
- Replies: 6
- Views: 2196
Re: littlefs panic when partition is full
In this context, block_count is the number of blocks in the entire filesystem, not free ones remaining. In newer versions of littlefs, the lfs_config.block_count value can be set to 0 to be inferred from an existing filesystem; on mount lfs.block_count is then appropriately populated. If you can get...
- Mon Apr 15, 2024 6:53 pm
- Forum: ESP-IDF
- Topic: littlefs panic when partition is full
- Replies: 6
- Views: 2196
Re: littlefs panic when partition is full
@owenjames can you post the full log? I believe this is an upstream core littlefs issue (unexpected divide by zero); esp_littlefs should be reporting an appropriate error code. The log can help us raise an appropriate issue in https://github.com/littlefs-project/littlefs
- Tue Jul 14, 2020 4:20 am
- Forum: General Discussion
- Topic: CMake custom target macro definition
- Replies: 3
- Views: 6264
Re: CMake custom target macro definition
I do basically exactly this, checkout my repo Jolt Wallet . I have a few different sdkconfig.defaults for a few different target boards here . Basically I first apply sdkconfig.defaults, followed by sdkconfig.defaults.${TARGET_BOARD}, followed by sdkconfig.defaults.personal. The logic for applying t...
- Tue Jun 16, 2020 3:30 pm
- Forum: ESP32 Arduino
- Topic: How to use LittleFS on ESP32?
- Replies: 3
- Views: 21253
Re: How to use LittleFS on ESP32?
Here's my port of LittleFS that has the same API as the esp-idf SPIFFS port. Basically it should just work if you replace all your "spiffs" calls with "littlefs". Only slight difference is in your configuration, you don't specify "max_files".
https://github.com/joltwallet/esp_littlefs
https://github.com/joltwallet/esp_littlefs
- Tue May 19, 2020 10:32 pm
- Forum: General Discussion
- Topic: move file from SPIFFS to OTA partition
- Replies: 1
- Views: 3194
Re: move file from SPIFFS to OTA partition
checkout my project here:
https://github.com/BrianPugh/cookiecutt ... -webserver
if you don't want to use the entire template, look mostly at the OTA route. Essentially it allows you to perform an OTA by making a POST request.
https://github.com/BrianPugh/cookiecutt ... -webserver
if you don't want to use the entire template, look mostly at the OTA route. Essentially it allows you to perform an OTA by making a POST request.
- Thu Apr 30, 2020 2:33 am
- Forum: General Discussion
- Topic: CMake custom target macro definition
- Replies: 3
- Views: 6264
Re: CMake custom target macro definition
I was able to solve this by assigning a value to a cmake variable in idf_ext.py via an action callback via define_cache_entry. Then, in my CMakeList file I pass this along as a compile definition. Definitely seems round about, but hey it works.
- Wed Apr 29, 2020 3:45 am
- Forum: General Discussion
- Topic: CMake custom target macro definition
- Replies: 3
- Views: 6264
CMake custom target macro definition
I'm currently trying to migrate my build system from GNU make to Cmake. In my original Makefile, i had multiple different targets that were just invoking the `build` target with different flags controlling portions of the code. For example, i may have a target like: foo: CFLAGS='-DFOO=1' $(MAKE) all...
- Fri Oct 11, 2019 3:37 pm
- Forum: General Discussion
- Topic: RNG Quality (Dieharder Test Results Failing)
- Replies: 8
- Views: 15033
Re: RNG Quality (Dieharder Test Results Failing)
@ESP_Angus I was outputting raw binary; you're absolutely correct these failures are probably causes by the newlinereplacement. Thank you so much! I'll be running another test, but all the evidence suggests that this was the bug. @Markus Becker thank you so much for independently programming and tes...