Comments (5)
Could you please inform me of what compiler and with what flags you encounter this? And what flags are you using in spiffs_config.h?
from spiffs.
Clang scan-build with arm-none-eabi-gcc with -Wall
from spiffs.
Ok thanks. Seems plain linux gcc -Wall does not report as much as an arm cross-compiled gcc. Weird. I'll look into it and fix it.
from spiffs.
For maximum effect:
gcc:
-Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wcast-align -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls
g++:
-Wall -Wno-format-y2k -W
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wcast-align -Wchar-subscripts -Wredundant-decls
from spiffs.
Fixed. Phew. Found one bug amongst all warnings. Thanks!
from spiffs.
Related Issues (20)
- Garbage collection issues HOT 1
- Cache size calculations are inconsistent?
- error -10027 HOT 1
- Corruption with multiple live object index pages
- Slow GC performance with frequent writes
- File write on ESP8266 using SPIFFS sometimes puts incorrect characters in file HOT 1
- Question on SPIFFS_ERR_BAD_DESCRIPTOR(-10010) error HOT 1
- Question about spiffs_obj_id sizing HOT 1
- Question on validating the files/CRC
- SPIFFS flash memory addresses
- Split Garbage Collection (SPIFFS_gc) Into Smaller Chunks
- Hardfault writing to work buffer pages
- Forcing garbage collection by creating files result in NMI handler, fixable by making some fields volatile
- SPIFFS_tell returns wrong position after write HOT 4
- Question regarding overwriting data
- SPIFFS says, File is present but not able to Read/Write/Delete.
- datalog value shows double
- Сannot use keywords as the variable name! HOT 1
- -10010 on example
- Erase large file non-blocking or at least yielding
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spiffs.