Microchip® Advanced Software Framework

main.c File Reference

Weather concurrent and BT demo.

Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.

#include "asf.h"
#include "osprintf.h"
#include "driver/include/m2m_wifi.h"

Functions

static void configure_console (void)
 Configure UART console (RTOS API). More...
 
void fatal (int code, const char *msg)
 
void hard_fault (uint32_t *args, uint32_t lr)
 
void HardFault_Handler (void)
 
int main (void)
 Main program function. More...
 
void vApplicationMallocFailedHook (void)
 
void vApplicationStackOverflowHook (xTaskHandle pxTask, signed char *pcTaskName)
 

Variables

static uint32_t fault_addr
 
uint32_t ms_ticks = 0
 SysTick counter to avoid busy wait delay. More...
 

void fatal ( int  code,
const char *  msg 
)
void hard_fault ( uint32_t *  args,
uint32_t  lr 
)

References fault_addr, and osprintf().

void HardFault_Handler ( void  )
int main ( void  )
void vApplicationMallocFailedHook ( void  )

Referenced by pvPortMalloc().

void vApplicationStackOverflowHook ( xTaskHandle  pxTask,
signed char *  pcTaskName 
)

References M2M_ERR.

uint32_t fault_addr
static

Referenced by hard_fault().

uint32_t ms_ticks = 0

SysTick counter to avoid busy wait delay.