Skip to content

Commit

Permalink
feat: add support for CH585
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Nov 20, 2024
1 parent 7c8c111 commit 5757b84
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions devices/0x16-CH58x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ config_registers:
# reset: 0xd73f0f4d
# See-also: #26
reset: 0xd50fff4f # WeActStudio default
enable_debug: 0x450f3fd7 # WCHISPTool default
type: u32
fields:
- bit_range: [2, 0]
Expand Down Expand Up @@ -100,3 +101,15 @@ variants:
flash_size: 458752
eeprom_size: 557056 # 512KB
eeprom_start_addr: 458752

- name: CH584
chip_id: 0x84
flash_size: 448K
eeprom_size: 96K
eeprom_start_addr: 458752

- name: CH585
chip_id: 0x85
flash_size: 448K
eeprom_size: 128K
eeprom_start_addr: 458752

0 comments on commit 5757b84

Please sign in to comment.