OpenIMU300: Handle two GPS signals at the same time

Hello everybody,

I am using the OpenIMU300ZA evaluation kit.

Due to the usage of Magnets near the sonsor I can not use to the magnetic field measurements to get the orientation/heading.
So I implemented an algorithm to get data from a second GPS from the user port and created a new task for it. The GPS logs are for each GPS GPGGA and GPVTG.

The two datas have to be handled and processed at the same time but then the programm ends up in vApplicationMallocFailedHook() while handle one after another this problem does not appear.

Do you have any ideas, how to solve this problem?

Hi Jonas

There is file FreeRtosConfig.h in project’s “include” folder.

Next line needs to be changed (heap size should be increased to accommodate another task or OS resources):

#define configTOTAL_HEAP_SIZE ((size_t)(38000))

Best regards.

Log in to reply