2018-04-04 09:39 AM
Hi everyone,
I'm trying to use my Nucleo-144 with the STM32H7 processor on CubeMX and Atollic TrueStudio and I'm getting the problem of arm_math.h and other DSP files not beeing copied to the project folder.
I tried with some boards with STM32F4 and STM32F1 that I got here and they work OK just after generating the project files with CubeMX, but the H7, doesn't.
I checked the Build Configs and both FPU and hardware implementation are enabled, tried to manually link to the folder, tried a new install of the CubeMX and Atollic in other computer and in none of my tries I succeeded.
Is this a know bug? How can I make this work?
#arm_math #stm32h7 #bug2018-04-11 06:00 PM
After some days of debugging, I got a solution for this:
- Install Pack
- Generate a new project for the target platform
- Signal to Atollic TrueStudio that you're going to use CMSIS DSP on the PACK Manager
- Go to Project Proprerties
- Copy the exact link that Atollic uses for the DSP library and the paths (it's a link with CMSIS PACK)
- Add __FPU_PRESENT and your ARM_MATH_CM7 to SYMBOS (NOT IN THE HEADER! SYMBOLS! Or it's not going to work) __FPU_PRESENT is set to 1 and ARM_MATH_CM7 you doesn't need to place any value.
- Copy the *.rteconfig
- Include the 'arm_math.h' and you're good to go.
I hope ST fixes it and in the next version of STM32CubeMX we get a 'complete' project as we get with IAR.
2018-06-06 06:30 AM
Hi Felipe,
This reported internally for further check. Could you please precise which STM32CubeMX version you're using.
Khouloud.
2018-08-01 09:04 AM
Hi Felipe,
Could you please add some information
1- atollic version
2- STM32CubeMX version
3- attach the ioc if possible