As I understand it, a “power flag” is useful if the power is coming via a generic connector, and you wish to tell ERC “actually, this is a power connection”… is that a good description?
On my PCB, I need to lay out two +5v to +/-12v DC:DC converters: they are actually very similar but have a slightly different pinout, but only one is ever fitted (so I have a note on the PCB “only fit one of these!”).
In addition, I have 2 possibilities of the USB connector for the incoming +5v supply: one is an actual USB pcb socket, the other is a small “USB connector Module” (which connects via 5 x 0.1" molex pins), again, only one is fitted
Over on the schematic, I clearly need to have the 2 different USB sockets, and 2 different DC:DC converters shown (they are both “wired in parallel”), but clearly ERC does not like this: I have 2 sources of +5v (from the 2 USB sockets) and 2 sources of the +12v and -12v (from the 2 DC:DC converters)! I get loads of errors, related not only to the above components, but for other components, but I’m guessing that they are all coming from the fact that I have 2 power sources (twice over!)
What is the suggested way to fix the problem, and keep ERC happy? The Power Flag doesn’t seem to fit the bill, so do I need to go and just edit the relevant components, and make the power sources “passive”, or is there a better way?
(I should add that, yes, if I simply ignore the ERC errors, all actually works fine: on the PCB, it does connect the components as desired - but it would just be nice to clean up ERC, so I don’t miss a “real” error!)