2017-04-18 03:24 PM
I recently try to start a project using STM SensorTile which has the STM32L4 chip embedded.
I have downloaded the STSW-STLKT01 and I have loaded coded using the AC6 SystemWorkbench, no problem.
However, my boss need me to port this into GNU ARM Eclipse instead, as other STM projects are using it.
We want to have same platform for development.
The challenge I have now, are there procedures that I could convert a ST release SDK from one IDE into another ?
Since AC6 also a Eclipse base IDE, I would expect there is a simple method than me adding each files and re-construct a project.
Thanks for advice
2017-04-18 05:25 PM
Perhaps your boss has some insight into the tools he has chosen? As they say, bad advice is everywhere..
Eclipse Workspaces can be tricky, I've preferred to do GNU/GCC work with makefiles, or use tools like Keil or IAR where I can clone the project from one directory to the next, or drop and fashion a new project in 5 minutes or less.
Might be instructive to scratch build a project in Eclipse, and decide if YOU like it.
2017-04-19 07:40 AM
This might help:
http://www.carminenoviello.com/2015/11/02/quickly-import-stm32cubemx-project-eclipse-project/
2017-04-19 09:25 AM
Yes, I am looking for
GNU/GCC work with makefiles. Any release from STM or Github you have seem my have the STM32L4 example ?
2017-04-20 09:21 PM
Thanks for advice, instead of using his script. I follow other method he has
http://www.carminenoviello.com/2015/06/04/stm32-applications-eclipse-gcc-stcube/
But then I got error build the STCube project for
STM32L476RG-Nucleo.
I am using the following in GNU C compiler :
USE_STM32L4XX_NUCLEO
STM32L476xx
I tried to locate Doc which explain what project Build options should be used for each platform/chip but could not locate it. Anyone has ideas??
Description Resource Path Location Type
'TIM_COUNTERMODE_UP' undeclared (first use in this function) stm32l4xx_hal_timebase_tim_template.c /Test(STM-L4)/system/src/STM32L4xx line 135 C/C++ Problem'TIM_IT_UPDATE' undeclared (first use in this function) stm32l4xx_hal_timebase_tim_template.c /Test(STM-L4)/system/src/STM32L4xx line 155 C/C++ Problemunknown type name 'TIM_HandleTypeDef' stm32l4xx_hal_timebase_tim_template.c /Test(STM-L4)/system/src/STM32L4xx line 74 C/C++ Problem