Skip to content

Commit 14b6eab

Browse files
committed
Add configuration files for bottom and top LED decks
1 parent d3774bf commit 14b6eab

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

README.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -175,23 +175,12 @@ STM32_Programmer_CLI -c port=SWD mode=UR -ob RDP=0xAA -ob nBOOT_SEL=0
175175

176176
### Deck configuration
177177

178-
The configuration can be written using the [cfcli](https://github.com/evoggy/cfcli) tool. First create
179-
the desired configuration YAML file:
180-
181-
```yaml
182-
version_major: 0
183-
version_minor: 1
184-
vid: 0xBC
185-
pid: 0x13
186-
rev: 'B'
187-
name: 'HP LED'
188-
partitions: []
189-
```
190-
191-
Then use cfcli tool to flash the configuration via SWD:
178+
The configuration can be written using the [cfcli](https://github.com/evoggy/cfcli) tool. Flash a configuration via SWD:
192179

193180
```bash
194-
cfcli util deck-ctrl binflash deck-ctrl.yaml
181+
cfcli util deck-ctrl binflash configs/bottom_config.yaml
182+
# or
183+
cfcli util deck-ctrl binflash configs/top_config.yaml
195184
```
196185

197186
### VS Code Integration

configs/bottom_config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version_major: 0
2+
version_minor: 1
3+
vid: 0xBC
4+
pid: 0x13
5+
rev: 'B'
6+
name: 'bcColorLEDBot'
7+
partitions: []

configs/top_config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version_major: 0
2+
version_minor: 1
3+
vid: 0xBC
4+
pid: 0x14
5+
rev: 'B'
6+
name: 'bcColorLEDTop'
7+
partitions: []

0 commit comments

Comments
 (0)