noise to SD card
Answer
3/14/19 5:20 PM

Hello everyone,

I want to merge the SD-card-example and the StreamSensorDataOverUSB. For this reason first I put #includes from both examples together. But puttinig "task.h" to:
#include "XDK_Storage.h"
#include "XDK_Sensor.h"
#include "XDK_LED.h"
#include "BCDS_SDCard_Driver.h"
#include "BCDS_CmdProcessor.h"
#include "XDK_Utils.h"
#include "BSP_BoardType.h"
#include "BCDS_Assert.h"
//#include "task.h"//verursacht z.B.: Fehler: 'StorageSetupInfo' is initialized
#include <FreeRTOS.h>

will cause multiple errors. But in my eyes I need this to call Sensor_Enable(); and Sensor_Setup();

How can I combine these two features? Does anyone can give my an example?

Greetings
Florian

0 (0 Votes)
RE: noise to SD card
Answer
3/18/19 8:18 AM as a reply to Florian Dichtl.

Hi

When I merged the sendDataOverUdp and streamSensorDataOverUsb I had to compare the makefile also, it might help you.

For instance I switch in the dataOverUdp makefile this line to 1 :

export XDK_SENSOR_SENSOR =1

0 (0 Votes)
RE: noise to SD card
Answer
3/19/19 9:28 AM as a reply to HERVE TICHKIEWITCH.

Hey Herve,

I solved the Problem. But the reason was the wrong order of the include-files. It was important that FreeRTOS.h must appear in source files before timers.h.

But thank you very much for your Help.

Florian

0 (0 Votes)