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: platform/mbed/plat.h
- Revision:
- 0:65f1469d6bfb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/platform/mbed/plat.h Sat Mar 02 11:54:20 2013 +0000 @@ -0,0 +1,22 @@ +/* +# This file is Copyright 2009 Dean Hall. +# +# This file is part of the Python-on-a-Chip program. +# Python-on-a-Chip is free software: you can redistribute it and/or modify +# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1. +# +# Python-on-a-Chip is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# A copy of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 +# is seen in the file COPYING up one directory from this. +*/ + +#ifndef _PLAT_H_ +#define _PLAT_H_ + +#define PM_FLOAT_LITTLE_ENDIAN +#define PM_PLAT_HEAP_ATTR __attribute__((aligned (4))) +#define PM_PLAT_POINTER_SIZE 4 + +#endif /* _PLAT_H_ */