Skip to main content
RMcCa
Senior II
October 25, 2019
Question

How to include arm_math in h745 dual core project

  • October 25, 2019
  • 4 replies
  • 824 views

Hello, I'm trying to use arm_math.h in the m4 core of an stm32h745, but i get a bunch of really weird errors that seem to indicate that somehow the project configuration is wrong? I set the project properties to Debug_CM4 ( active ) and define CORE_CM4 and ARM_MATH_CM4 but yet i get errors saying that no arm_maths are defined. I am using Eclipse with the internal builder.

Thanks​

This topic has been closed for replies.

4 replies

RMcCa
RMcCaAuthor
Senior II
October 25, 2019

Odd, i had neglected to add ARM_MATH_CM7 to the m7 core project settings and now the m4 compiles ok? Why would one affect the other?​

RMcCa
RMcCaAuthor
Senior II
October 25, 2019

Ok, now that my original question may be sorted (altho I'm not sure why), why does Eclipse rebuild the entire dsp library for both cores when i change cm4/main.c with cm4_debug active?

Shouldn't it only rebuild things that have changed since the last build?

I am clicking 'build project', not 'build all'.​ worked with my stm32f730 projects.

RMcCa
RMcCaAuthor
Senior II
October 25, 2019

This business is making me feel like an unpaid beta tester. Did STM test Eclipse with the dual cores? ​

RMcCa
RMcCaAuthor
Senior II
October 25, 2019

Update: including stdint.h in core_cm4, core_cm7 and arm_math.h solved the compiler problems and deleting the unused dsp .c files speeds things up quite a bit, but it is still doing a full build on the inactive core. I did a clean of both cm4_debug and cm7_debug and it didn't make any difference. ​