Norimasa Okamoto
/
pymite
python-on-a-chip online compiler
- http://pymbed.appspot.com/
- https://code.google.com/p/python-on-a-chip/
- http://www.youtube.com/watch?v=Oyqc2bFRW9I
- https://bitbucket.org/va009039/pymbed/
more info: python-on-a-chip
Diff: vm/pmEmptyPlatformDefs.h
- Revision:
- 0:65f1469d6bfb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm/pmEmptyPlatformDefs.h Sat Mar 02 11:54:20 2013 +0000 @@ -0,0 +1,31 @@ +/* +# This file is Copyright 2010 Dean Hall. +# This file is part of the PyMite VM. +# This file is licensed under the MIT License. +# See the LICENSE file for details. +*/ + + +#ifndef __PM_EMPTY_PLATFORM_DEFS_H__ +#define __PM_EMPTY_PLATFORM_DEFS_H__ + + +/** + * \file + * \brief Empty platform-specific definitions + * + * This file #defines as blank any undefined platform-specific + * definitions. + */ + +/** + * Define a processor-specific specifier for use in declaring the heap. + * If not defined, make it empty. + * See <code>pmHeap</code> in heap.c for its use, which is:<br> + * <code>static PmHeap_t pmHeap PM_PLAT_HEAP_ATTR;</code> + */ +#if !defined(PM_PLAT_HEAP_ATTR) || defined(__DOXYGEN__) +#define PM_PLAT_HEAP_ATTR +#endif + +#endif /* __PM_EMPTY_PLATFORM_DEFS_H__ */