• Stars
    star
    102
  • Rank 328,771 (Top 7 %)
  • Language
    Python
  • Created over 8 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This tool can be used to import projects generated by STM32CubeMX tool inside an Eclipse project created with the GNU ARM Eclipse plugin

CubeMXImporter

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:

  1. Generate a new Eclipse project using the GNU ARM Eclipse plugin as described in this blog post or in this book.
    1. Close the prject once generated
  2. Create a new CubeMX project for your MCU or development board. 2. Generate the C code from CubeMX project selecting SW4STM32 as Tool-chain.
  3. Launch the CubeMXImporter tool with the following command:
$ python cubemximporter.py <path-to-eclipse-project> <path-to-cubemx-project>
  1. Open again the Eclipse project and do a refresh of the source tree.

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.