Hi,
I am using a MPU9250 and a cortex M0. I would like to port the Motion Driver 6.0 to it but I have less than 4kbytes RAM available to do the Sensor fusion.
It is possible to do a 9 axis fusion with only 4kbytes of RAM?
If it is not, is there a way to use less RAM ? I just want to read quite accurate quaternions.
I also tried to add the librairy libmpllib.a to my project on Keil. I have this error :
"._buildsoundlab.axf: Error: L6366E: quaternion_supervisor.o attributes are not compatible with the provided cpu and fpu attributes .
Object quaternion_supervisor.o contains Build Attributes that are incompatible with the CPU attributes.
Tag_CPU_arch = ARM v7E-M (=13)
Tag_CPU_arch_profile = The microcontroller profile 'M' (e.g. for Cortex M3) (=77)
Tag_THUMB_ISA_use = Thumb2 instructions were permitted (implies Thumb instructions permitted) (=2)
._buildsoundlab.axf: Error: L6242E: Cannot link object quaternion_supervisor.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int."
The librairy should be compatible with CM0. Is there a way to fix this error?
Thanks in advance.
- Log in to post comments
phpbb Topic ID
16395
Re: Re: 9 axis fusion
4K of RAM is going to be really tough. You can try taking a look at the data structures and try removing the unnecessary ones. Look in the results_holder.c and storage_holder.c and try to remove some of the data structures there. Optimize for size also. This will take some trail and error but no other way. 8K RAM would be better.
Send an email to developers@invensense.com and we can send you an M0 library.
Re: Re: 9 axis fusion
Hi all,
Would any of you share this cortex M0 lib with me too ?
drix@tangibledisplay.com
Thanks a lot !!
Cedric ;)
PS: @m3dsoundlabs, I had the same memory problem and if ever you haven't solved yours, this post saved me:
https://plus.google.com/+AndreyYurovsky/posts/XUr9VBPFDn7
Re: Re: 9 axis fusion
Please send a request to developers@invensense.com
Re: Re: 9 axis fusion
Hi, Can you provide me with cortex library also?
boyko.kazakov @ gmail.com
Thanks