Git Product home page Git Product logo

Comments (3)

tzarc avatar tzarc commented on August 23, 2024

Clearing EEPROM is not supported on Toolbox with STM32 devices.

from qmk_toolbox.

lesca avatar lesca commented on August 23, 2024

Hello @tzarc , thanks for quick reply. I don't know much about the STM32. You make me know more.

I want to find a way to conveniently reset the configuration if possible.

I noticed it will reset the keymap configuration to defaults if I use a firmware from different provider.
For example, I flash the via offical firmware, load my saved layout; and later, I flash my custom firmware, the keymap configuration will be reset to defaults. However, it won't reset if I re-compile my custom firmware with modifications and flash it again.

However, the above steps seems too complex (need two firmware from different providers). It would be appreciated if you have any other ideas.

from qmk_toolbox.

lesca avatar lesca commented on August 23, 2024

Hello,
I find a way to make it.

QMK provides a keycode QK_CLEAR_EEPROM for clearing the EEPROM:

the VIA web app also supports this. By assigning this keycode to a key, it successfully reset the configuration.

doc: [quantum-keycodes] (https://docs.qmk.fm/#/keycodes?id=quantum-keycodes)
souce: [QK_CLEAR_EEPROM] (https://github.com/the-via/app/blob/bae0a0f302af525842e209f5af490959b955bb73/src/utils/key-to-byte/v12.ts#L444C3-L444C18)

Cheers!

from qmk_toolbox.

Related Issues (20)

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.