Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

AnnePro2 EEPROM support #3

Closed

Conversation

tech2077
Copy link

AnnePro2 EEPROM support

List of changes

  • Add HT32 SPI Master driver with similar API to spi_master.c
  • Add basic EEPROM library
  • Added persistent LED profiles
  • Added rules.mk ANNEPRO2_EEPROM = (yes|no) option
  • When eeprom makefile feature is not selected, eeprom functions default to dummy versions
  • Example keymap for using persistent eeprom and led profiles

@Codetector1374
Copy link

Hi, Would you be interested in adding the HT32 SPI master driver to the chibiOS-contrib project? I think it would better fit over there. Sorry for taking this long to get around to this review.

(There's some code there for the HT32F165x series you can probably reference.)

https://github.com/OpenAnnePro/ChibiOS-Contrib/tree/feat-ht32_support

@Codetector1374
Copy link

Codetector1374 commented Aug 18, 2020

Also it would be nice to probably split this into multiple PRs by function (separate EEPROM stuff from the profile commands). Really thanks for all of this code. It just seems like a bit too much has changed in one single PR. Let me know if you have any questions

@tech2077
Copy link
Author

Yeah, I can split it up into a few PRs, one for EEPROM and one for the profile commands. The spi driver is probably more appropriately integrated into the spi_master drive in qmk, it's roughly the same level as the code for the STM32 in that driver.

@Codetector1374
Copy link

Codetector1374 commented Aug 18, 2020 via email

@tech2077 tech2077 closed this Aug 21, 2020
CyrilPeponnet pushed a commit to CyrilPeponnet/qmk_firmware that referenced this pull request Feb 21, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* added urbanvanilla keymap

Urbanvanilla's keymap for massdrop/alt keyboard
adds in an idle timer to turn off RGB after set amount of time.
poor unsuccessful attempt at replicating a velocikey like functionality.
Grave escape is enabled on ESC.

* Update readme.md

* updating documentation

* Create readme.md

* restoring default documentation

* update with review changes implemented

removed unnecessary lines and files.
increased wait_us() parameter to 40 as was still getting chatter at 20.
removed some code for the terrible rudimentary attempt at velocikey for rgb matrix

* Update matrix.c

* Revert "Merge pull request OpenAnnePro#3 from urbanvanilla/dev_branch"

This reverts commit deb55d7, reversing
changes made to ba88173.

* Update keymap.c

* added urbanvanilla keymap

Urbanvanilla's keymap for massdrop/alt keyboard
adds in an idle timer to turn off RGB after set amount of time.
poor unsuccessful attempt at replicating a velocikey like functionality.
Grave escape is enabled on ESC.

* Update readme.md

* updating documentation

* Create readme.md

* restoring default documentation

* update with review changes implemented

removed unnecessary lines and files.
increased wait_us() parameter to 40 as was still getting chatter at 20.
removed some code for the terrible rudimentary attempt at velocikey for rgb matrix

* Update matrix.c

* Revert "Merge pull request OpenAnnePro#3 from urbanvanilla/dev_branch"

This reverts commit deb55d7, reversing
changes made to ba88173.

* Delete matrix.c

* Update keyboards/massdrop/alt/keymaps/urbanvanilla/config.h

Co-authored-by: Joel Challis <[email protected]>

* Update keymap.c

* Update keymap.c

* Update keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c

Co-authored-by: Ryan <[email protected]>

Co-authored-by: Joel Challis <[email protected]>
Co-authored-by: Ryan <[email protected]>
Jpe230 referenced this pull request in Jpe230/qmk_firmware Dec 15, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* [Keyboard] K6 Gateron RGB (Sonix SN32F248B)

* Update info.json

Corrected the layout.

* K6: Update MCUConf and remove CT16.h

As per requested here SonixQMK#3 (comment)
Jpe230 referenced this pull request in Jpe230/qmk_firmware Feb 13, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update .gitignore
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants