Commit 8e26f75
ZMK generator: fix per-side conf for wired+pio-usb path
Post-review pass on commit 73bac5a. Three real bugs + two QoL gaps:
- generateConf treated unibody as central and emitted USB-split configs
for non-existent splits. Mirror generateOverlay's split/isCentral
semantics so unibody+wired stays out of the split branches entirely
(and ZMK_SPLIT/ZMK_SPLIT_WIRED no longer leak into unibody output).
- Emit CONFIG_FLASH=n / NVS=n / SETTINGS=n for wired — Zephyr 3.5's
RP2040 flash driver is broken in the rainadon-zmk fork; without the
override, settings init hangs. The board defconfig sets these to y
for when the driver lands; per-shield .conf overrides until then.
- Emit CONFIG_USB_DEVICE_PRODUCT/VID/PID per side for the pio-usb path
(peripheral product gets a "(peripheral)" suffix).
- Emit a CONSOLE/LOG block on the central when enableConsole=true so
the CDC ACM port actually surfaces logs (was silent before).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a919145 commit 8e26f75
1 file changed
Lines changed: 34 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
431 | 432 | | |
432 | 433 | | |
433 | 434 | | |
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
437 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
438 | 444 | | |
439 | 445 | | |
440 | 446 | | |
| |||
456 | 462 | | |
457 | 463 | | |
458 | 464 | | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
459 | 471 | | |
460 | 472 | | |
461 | 473 | | |
462 | 474 | | |
463 | 475 | | |
464 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
465 | 480 | | |
466 | 481 | | |
467 | 482 | | |
468 | 483 | | |
469 | 484 | | |
470 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
471 | 498 | | |
472 | | - | |
| 499 | + | |
| 500 | + | |
473 | 501 | | |
474 | 502 | | |
475 | | - | |
476 | | - | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
477 | 506 | | |
478 | 507 | | |
479 | 508 | | |
| |||
0 commit comments