This tool can be used to import projects generated by STM32CubeMX tool inside an Eclipse project created with the GNU ARM Eclipse plugin. This release supports also the import of Middleware libraries (FatFS, LwIP, FreeRTOS, etc).
It can be easily used in this way:
$ python cubemximporter.py <path-to-eclipse-project> <path-to-cubemx-project>
The whole procedure is better described here
CubeMXImporter works both with Python 2.7 and 3.x. It requires the lxml
library. Linux and MacOS X users can install it using pip:
$ pip install lxml
while Windows users can download this pre-compiled package.