XDK API  3.6.0
Documentation
Macros | Functions | Variables
SystemStartup.c File Reference
#include "XdkCommonInfo.h"
#include "BCDS_Basics.h"
#include <stdio.h>
#include "XdkSystemStartup.h"
#include "XdkUsbResetUtility.h"
#include "BCDS_TaskConfig.h"
#include "BCDS_CmdProcessor.h"
#include "BCDS_BSP_Board.h"
#include "BCDS_BSP_LED.h"
#include "BSP_BoardType.h"
#include "BCDS_Assert.h"
#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
#include "BCDS_NVMConfig.h"
#include "BCDS_MCU_Watchdog.h"
#include "BCDS_MCU_Sleep.h"
+ Include dependency graph for SystemStartup.c:

Macros

#define BCDS_MODULE_ID   XDK_COMMON_ID_SYSTEMSTARTUP
 This module contains "Main" routine and the APIs , in which user can easily integrate application specific routines. More...
 
#define BLE_MAC_USERPAGE_FLAG_BIT   UINT8_C(0x02)
 
#define WIFI_MAC_USERPAGE_FLAG_BIT   UINT8_C(0x01)
 

Functions

void assertIndicationMapping (const unsigned long line, const unsigned char *const file)
 This API is called when function enters an assert. More...
 
void DefaultErrorHandlingFunc (Retcode_T error, bool isfromIsr)
 System Error Handling routine. More...
 
Retcode_T systemStartup (void)
 The main function initializes the hardware and starts the RTOS scheduler. More...
 
static void SysTickPreCallback (void)
 This function is SysTick Handler. This is called when ever the IRQ is hit. This is a temporary implementation where the SysTick_Handler() is not directly mapped to xPortSysTickHandler(). Instead it is only called if the scheduler has started. More...
 
void vApplicationGetIdleTaskMemory (StaticTask_t **ppxIdleTaskTCBBuffer, StackType_t **ppxIdleTaskStackBuffer, uint32_t *pulIdleTaskStackSize)
 
void vApplicationGetTimerTaskMemory (StaticTask_t **ppxTimerTaskTCBBuffer, StackType_t **ppxTimerTaskStackBuffer, uint32_t *pulTimerTaskStackSize)
 
void vApplicationIdleHook (void)
 
void vApplicationMallocFailedHook (void)
 
void vApplicationStackOverflowHook (xTaskHandle *pxTask, signed char *pcTaskName)
 This function is called when is stack overflows and the program gets into infinite loop. More...
 
void xPortSysTickHandler (void)
 

Variables

struct NVM_S NVMUser
 Global instance that is used by NVM to maintain internal (secured) data. More...
 
static uint8_t NVMUserData [NVM_SECTION_UserPage_BUFFER_SIZE]
 Data buffer of the user data NVM section. More...
 
static BSP_Systick_Callback_T SystickPreCallback = SysTickPreCallback
 

Macro Definition Documentation

#define BCDS_MODULE_ID   XDK_COMMON_ID_SYSTEMSTARTUP
#define BLE_MAC_USERPAGE_FLAG_BIT   UINT8_C(0x02)
#define WIFI_MAC_USERPAGE_FLAG_BIT   UINT8_C(0x01)

Function Documentation

static void SysTickPreCallback ( void  )
static

Refer function prototype for description

+ Here is the call graph for this function:

void vApplicationGetIdleTaskMemory ( StaticTask_t **  ppxIdleTaskTCBBuffer,
StackType_t **  ppxIdleTaskStackBuffer,
uint32_t *  pulIdleTaskStackSize 
)

+ Here is the caller graph for this function:

void vApplicationGetTimerTaskMemory ( StaticTask_t **  ppxTimerTaskTCBBuffer,
StackType_t **  ppxTimerTaskStackBuffer,
uint32_t *  pulTimerTaskStackSize 
)
void vApplicationIdleHook ( void  )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vApplicationMallocFailedHook ( void  )

+ Here is the caller graph for this function:

void vApplicationStackOverflowHook ( xTaskHandle pxTask,
signed char *  pcTaskName 
)
Parameters
[in]Taskhandle
[in]Taskname
void xPortSysTickHandler ( void  )

+ Here is the caller graph for this function:

Variable Documentation

struct NVM_S NVMUser
Initial value:
=
{
}
static uint8_t NVMUserData[NVM_SECTION_UserPage_BUFFER_SIZE]
Data buffer of the user data NVM section.
Definition: SystemStartup.c:102
#define NVM_SECTION_UserPage
Definition: BCDS_NVMUserPageItems.h:128
#define NVM_SECTION_UserPage_BUFFER_SIZE
Definition: BCDS_NVMUserPageItems.h:127

Global instance for NMV section that is placed in user data flash. Usually the application has to create an instance of this structure. It may then be used by other modules to access the user data section

uint8_t NVMUserData[NVM_SECTION_UserPage_BUFFER_SIZE]
static

This buffer is used by the NVM module to access and write the non volatile memory (NVM) section in the user data page of the internal flash.

BSP_Systick_Callback_T SystickPreCallback = SysTickPreCallback
static

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:41 by doxygen 1.8.8