XDK110 BCDS
© Bosch Connected Devices and Solutions GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such as
copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
/* system header files */
#include <stdio.h>
#include <BCDS_Basics.h>
/* additional interface header files */
#include "FreeRTOS.h"
#include "timers.h"
#include "BCDS_CmdProcessor.h"
#include "BCDS_Assert.h"
xTaskHandle applicationTask;
/* Application to print "hello world" on serial console. */
void applicationInit(void * pvParameters){
(void) pvParameters;
for (;;){
printf("Hello world\r\n");
vTaskDelay((portTickType) 1000 / portTICK_RATE_MS);
}
}
/* This is a template function where the user can write his/her custom
application. */
void appInitSystem(void * CmdProcessorHandle, uint32_t param2){
if (CmdProcessorHandle == NULL){
printf("Command processor handle is null \n\r");
assert(false);
}
BCDS_UNUSED(param2);
/*Call the Application Init API*/
xTaskCreate(applicationInit, (const char * const) "Test Application to
print Hello World”, 256,NULL,1,&applicationTask);
}