update board from schematic: netlist error due to same RefDes with lowercase / uppercase
Description
If a schematic contains RefDes which are similar except uppercase/lowercase letters the resulting netlist produces an error at the "Update board from schematic (F8)"-command.
The source of the netlist-error is medium-hard to find, because annotation and ERC don't flag the d2/D2 as an error/warning. And the error-message also doesn't point to a duplicate-issue with upper/lowercase-letters.
Steps to reproduce
- open attached project, open board, open schematic
- note the two symbols: D2 and d2
- run annotation-dialog --> shows no error
- run tools-->update PCB from schematic (F8)
- look at error-dialog (see picture)
KiCad Version
Application: KiCad Schematic Editor (64-bit)
Version: (6.99.0-2183-g82ebc247b8), release build
Libraries:
wxWidgets 3.1.7
FreeType 2.11.1
HarfBuzz 4.2.0
FontConfig 2.14.0
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.1.7 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by Maik Freitag