Tools: DFG: Improve difference filter algorithm.
Fix wrong reading of modules of stm32 devices.
Add correct size and name classes for improved device merging.