//----------------------------------------------------------------------------------
// <copyright file="base.h" company="LiquidRobotics">
//	Copyright (c) Liquid Robotics Corporation.  All rights reserved.
// </copyright>
//
// <summary>
// 	Header file for BASE.C
// </summary>
//
// <owner>Mike Cookson</owner>
//---------------------------------------------------------------------------------

#ifndef __BASE_H__
# define __BASE_H__

# ifndef ADMIN_TASK_STACK_SIZE
#   define ADMIN_TASK_STACK_SIZE (256)		// stack size for created admin task
# endif
# ifndef ADMIN_TASK_ID
#   define ADMIN_TASK_ID (1000)				// task ID for the admin task
# endif
# ifndef ADMIN_TASK_NAME
#   define ADMIN_TASK_NAME ("Admin")		// name given to admin task
# endif
# ifndef ADMIN_TASK_PRIO
#   define ADMIN_TASK_PRIO (0)				// priority at which admin task is launched
# endif

// -------------------
// Function Prototypes
// -------------------

void xmem_init(void) __attribute__((naked)) __attribute__((section(".init3")));
void wdt_init(void) __attribute__((naked)) __attribute__((section(".init3")));
void admin_task(void* pdata);


#endif
