Giter Club home page Giter Club logo

Comments (3)

khoih-prog avatar khoih-prog commented on May 28, 2024

Hi @cpetra

As you know, this outdated library was written for all types of users, from sophisticated one to beginners. To let the users, me too when users post the issue, know if there is something wrong with the settings, configurations.

For sophisticated users like you, it's extremely easy to modify once-for-all the library by comment out, #ifdef, etc to disable the warnings.

I still haven't got time to modify too many libraries, to use optional warnings such as I did in some libs

https://github.com/khoih-prog/ESP_WiFiManager/blob/69ec6b3e686485f04364277c6172e4a29ea64dce/src/ESP_WiFiManager.hpp#L48-L53

#if (_WIFIMGR_LOGLEVEL_ > 3)
	#if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) )
	  #warning Using ESP32_C3 using core v2.0.0+. Either LittleFS, SPIFFS or EEPROM OK.
	#else
	  #warning Using ESP32_C3 using core v1.0.6-. To follow library instructions to install esp32-c3 core. Only SPIFFS and EEPROM OK.
	#endif
#endif

Anyway, I'll try to update all libraries with the new optional warnings, time-permitted.

Thanks anyway,

from fs_nano33ble.

cpetra avatar cpetra commented on May 28, 2024

Hi @khoih-prog,

Thanks for the answer. Yes, it is really easy to modify the code, but unfortunately not once-for-all as I actually like integrating existing libraries without modifying them as it is safer long-term. Anyway, I'm also not considering myself a sophisticated user (did I feel some sarcasm here?).

Thanks for sharing anyway.

Regards

from fs_nano33ble.

khoih-prog avatar khoih-prog commented on May 28, 2024

Hi @cpetra

The new FS_Nano33BLE v1.2.1 has just been published to address your issue as well as to support more boards.

Best Regards,


Releases v1.2.1

  1. Add support to Seeeduino nRF52840-based boards such as SEEED_XIAO_NRF52840 and SEEED_XIAO_NRF52840_SENSE, etc. using Seeeduino mbed core
  2. Add astyle using allman style. Restyle the library
  3. Display compile warning only when _FS_LOGLEVEL_ > 3

from fs_nano33ble.

Related Issues (3)

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.