Skip to content

Fix KiCad 8 library symbol grammar - #323

Merged
devbisme merged 1 commit into
devbisme:masterfrom
giri256:fix/kicad8-symbol-grammar
Jul 28, 2026
Merged

devbisme merged 1 commit into
devbisme:masterfrom
giri256:fix/kicad8-symbol-grammar

Conversation

@giri256

@giri256 giri256 commented Jul 26, 2026 •

Copy link
Copy Markdown

Fixes #322.

KiCad 8 refuses to open schematics generated by the kicad8 backend because the library symbols contain two forms introduced in KiCad 9. This writes pin_numbers using the syntax KiCad 8 expects and leaves out embedded_fonts, which KiCad 8 does not recognize.

I added a regression test against the KiCad 8 writer. The KiCad 9 backend is unchanged.

Tests:

  • SKIDL_TOOL=KICAD8 pytest tests/unit_tests/ai_tests/test_sexp_schematic.py -q — 32 passed, 4 skipped
  • git diff --check

Signed-off-by: p1 <giridharpavan593@gmail.com>
@giri256
giri256 force-pushed the fix/kicad8-symbol-grammar branch from 3f7676b to 81bbe82 Compare July 27, 2026 13:48
@devbisme
devbisme merged commit 82f736a into devbisme:master Jul 28, 2026
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.

[SKiDL BUG] KiCad 8 cannot load schematics from generate_schematic() with tool KICAD8: KiCad 9 grammar emitted

2 participants