Microchip® Advanced Software Framework

loader.h File Reference

Default definitions and error values for the Contiki program loader.

Author
Adam Dunkels adam@.nosp@m.dunk.nosp@m.els.c.nosp@m.om

Macros

#define LOADER_ERR_ARCH   7
 Wrong architecture. More...
 
#define LOADER_ERR_FMT   4
 Data format error. More...
 
#define LOADER_ERR_HDR   2
 Header error. More...
 
#define LOADER_ERR_MEM   5
 Not enough memory. More...
 
#define LOADER_ERR_NOLOADER   9
 Program loading not supported. More...
 
#define LOADER_ERR_OPEN   6
 Could not open file. More...
 
#define LOADER_ERR_OS   3
 Wrong OS. More...
 
#define LOADER_ERR_READ   1
 Read error. More...
 
#define LOADER_ERR_VERSION   8
 Wrong OS version. More...
 
#define LOADER_LOAD(name, arg)   LOADER_ERR_NOLOADER
 Load and execute a program. More...
 
#define LOADER_LOAD_DSC(name)   NULL
 Load a DSC (program description). More...
 
#define LOADER_OK   0
 No error. More...
 
#define LOADER_UNLOAD()
 Unload a program from memory. More...
 
#define LOADER_UNLOAD_DSC(dsc)
 Unload a DSC (program description). More...