Skip to content

Commit ddfc7d5

Browse files
committed
fix(footprints): normalize PCM footprint library references
Set module footprint namespace to SiFli_MOD and always emit qualified footprint names with PCM_ library nicknames so symbol references match packaged PCM libraries and include BGA footprints correctly.
1 parent cbd1f77 commit ddfc7d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/kicad_generator/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GeneratorOptions:
3838
targets: GeneratorTargets
3939
series_filter: Tuple[str, ...] = ()
4040
variant_filter: Tuple[str, ...] = ()
41-
footprint_namespace: str = "PCM_SiFli_MOD"
41+
footprint_namespace: str = "SiFli_MOD"
4242
kicad_footprint_root: Path | None = None
4343
kicad_library_utils_root: Path | None = None
4444

src/kicad_generator/footprints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class FootprintArtifact:
2828

2929
@property
3030
def qualified_name(self) -> str:
31-
return f"{self.library}:{self.name}"
31+
return f"PCM_{self.library}:{self.name}"
3232

3333

3434
@dataclass(frozen=True)

0 commit comments

Comments
 (0)