Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fast programmiong for CH32F1x device and blinking LED for status #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hlyi
Copy link

@hlyi hlyi commented Jan 28, 2024

CH32F1x has two flash programming modes:

  • half-word mode, which is compatible one with STM32F1x from flash programming point of view, but is much slower than STM32F1x
  • page mode, which more 10x faster than half-word mode. The code change is to enable this mode.

Add blinking LED for DFU status:

  • slow blinking when DFU is idle
  • fast blinking when DFU is busy ( uploading, downloading or error condition)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant