mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
1e78cc7a30
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2364 ebee16cc-31ac-478f-84a7-5cbb03baadba |
||
---|---|---|
.. | ||
main.c | ||
main.py | ||
Makefile | ||
plat.c | ||
plat.h | ||
pmfeatures.py | ||
README | ||
SConscript |
==================== The Desktop Platform ==================== :Author: Dean Hall :Id: $Id: README 645 2010-10-18 12:27:57Z dwhall256 $ Purpose ------- This is a sample project that demonstrates running Python-on-a-Chip on the desktop. Any POSIX-compliant OS should work (Mac OS X, Linux, Cygwin). Building the Project -------------------- Start with a clean source tree. If you are running on a 64-bit processor, you will need to increase the heap size by editing ``src/platform/desktop/plat.h`` near line 18 to set ``PM_HEAP_SIZE`` to a value ``0x4000`` or larger that is a multiple of four:: #define PM_HEAP_SIZE 0x4000 The desktop is the default platform of the makefile build system, so typing ``make`` in the root directory will build for the desktop:: $ make The default application is to run the interactive prompt, ipm. To run the host-side of ipm and launch the target-side type:: $ make ipm Read ``docs/src/InteractivePyMite.txt`` to learn how to run ipm. .. :mode=rest: