mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-05 13:24:11 +01:00
e308039206
Moved flight make code into flight/Makefile. This should speed up rebuilds for GCS and keeps the top level Makefile tidier. Change-Id: I9d33cb5c223b6a8ed2821435a5d63ecf4b97c6b8 |
||
---|---|---|
.. | ||
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: