This program generates a Makefile from STM32CubeMX (http://www.st.com/stm32cube) created project.
author: Juraj Dudak
Date: 16/03/2016
Changes and Improvements:
sudo ./install
Before using the script CubeMX2Makefile.py make sure the software STM32CubeMX are set these preferences: In Project/Settings:
Open terminal in directory, where CubeMX generated the SW4STM32 project:
CubeMX2Makefile.py .
The script look for make_args (located in project direcory) where is predefined preprocessor directives. Syntax for this file:
=DIRECTIVE_NAME +DIRECTIVE_VALUE1 +DIRECTIVE_VALUE2
In version 1.5.1, are supported:
LIBS (to link precompiled libraries)
Usage:
CubeMX2Makefile.py
Example of make_args file:
=C_DEFS +MY_OWN_DIRECTIVE +LIBRARY_VERSION=1.5.0 =LIBS +LMiddlewares/mpl +llibmplmpu
You can overwrtie default setting by editing local.settings file. See the local.setting file for details.
Copyright 2015 Juraj Dudak
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.