python-on-a-chip online compiler

Dependencies:   mbed TSI

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pmEmptyPlatformDefs.h Source File

pmEmptyPlatformDefs.h

Go to the documentation of this file.
00001 /*
00002 # This file is Copyright 2010 Dean Hall.
00003 # This file is part of the PyMite VM.
00004 # This file is licensed under the MIT License.
00005 # See the LICENSE file for details.
00006 */
00007 
00008 
00009 #ifndef __PM_EMPTY_PLATFORM_DEFS_H__
00010 #define __PM_EMPTY_PLATFORM_DEFS_H__
00011 
00012 
00013 /**
00014  * \file
00015  * \brief Empty platform-specific definitions
00016  *
00017  * This file #defines as blank any undefined platform-specific
00018  * definitions.
00019  */
00020 
00021 /**
00022  * Define a processor-specific specifier for use in declaring the heap.
00023  * If not defined, make it empty.
00024  * See <code>pmHeap</code> in heap.c for its use, which is:<br>
00025  * <code>static PmHeap_t pmHeap PM_PLAT_HEAP_ATTR;</code>
00026  */
00027 #if !defined(PM_PLAT_HEAP_ATTR) || defined(__DOXYGEN__)
00028 #define PM_PLAT_HEAP_ATTR
00029 #endif
00030 
00031 #endif /* __PM_EMPTY_PLATFORM_DEFS_H__ */