Code Monkey home page Code Monkey logo

settingsmanager's People

Contributors

ivankravets avatar sergiutoporjinschi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

settingsmanager's Issues

SPIFFS is deprecated

Getting a lot of warnings that SPIFFS is deprecated:

libraries/settingsmanager/src/SettingsManager.cpp:39:15: warning: 'SPIFFS' is deprecated (declared at /home/xxxxx/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/FS.h:269): SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
   File file = SPIFFS.open(fileName, "r");

See https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#spiffs-deprecation-warning and LittleFS for supported version.

Compile error with the example in the repository

Can anyone help me?

c:/users/rener/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\settingsmanager\main.cpp.o:C:\Program Files (x86)\Arduino\libraries\settingsmanager\src/main.cpp:29: multiple definition of `sm'; sketch\sketch_may06a.ino.cpp.o:C:\Users\Rener\Desktop\sketch_may06a/sketch_may06a.ino:4: first defined here

c:/users/rener/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\settingsmanager\main.cpp.o: in function `loop':

C:\Program Files (x86)\Arduino\libraries\settingsmanager\src/main.cpp:177: multiple definition of `loop'; sketch\sketch_may06a.ino.cpp.o:C:\Users\Rener\Desktop\sketch_may06a/sketch_may06a.ino:11: first defined here

c:/users/rener/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\settingsmanager\main.cpp.o: in function `setup':

C:\Program Files (x86)\Arduino\libraries\settingsmanager\src/main.cpp:160: multiple definition of `setup'; sketch\sketch_may06a.ino.cpp.o:C:\Users\Rener\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266/HardwareSerial.h:76: first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Generic ESP8266 Module

Create key on set value

Should be possible to do
settings.setInt("level1.level2.level3", 23);
in case one of the level is missing should be added in the structure.

Dependency to SketchLogger

I've installed the SettingsManager successfully in Arduino IDE. When I try to upload my sketch to the Wemos D1 I'm getting following error:

Arduino/libraries/Settings_Manager/src/SettingsManager.cpp:24:25: fatal error: debug_macro.h: No such file or directory
 #include "debug_macro.h"
                         ^
compilation terminated.
exit status 1
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.

I've tried to install SketchLogger from Arduino IDE, but there is no such plugin.
I found the SketchLogger on github, but I don't know how to install it manually in Arduino IDE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.