1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-11 19:24:10 +01:00
LibrePilot/flight/Libraries/PyMite/platform/desktop
2011-01-09 22:36:15 +00:00
..
main.c Flight/FlightPlan: First release of flight plan scripting. The scripting engine is based on the PyMite Python VM. The released code is able to execute a simple python script on the target. However it is currently disabled from the makefile due to a few issues with more complex scripts. When the library is enabled in the makefile a python interpreter will be needed to compile the firmware since some intermediate code is generated by PyMite. 2011-01-09 22:36:15 +00:00
main.py Flight/FlightPlan: First release of flight plan scripting. The scripting engine is based on the PyMite Python VM. The released code is able to execute a simple python script on the target. However it is currently disabled from the makefile due to a few issues with more complex scripts. When the library is enabled in the makefile a python interpreter will be needed to compile the firmware since some intermediate code is generated by PyMite. 2011-01-09 22:36:15 +00:00
Makefile Flight/FlightPlan: First release of flight plan scripting. The scripting engine is based on the PyMite Python VM. The released code is able to execute a simple python script on the target. However it is currently disabled from the makefile due to a few issues with more complex scripts. When the library is enabled in the makefile a python interpreter will be needed to compile the firmware since some intermediate code is generated by PyMite. 2011-01-09 22:36:15 +00:00
plat.c Flight/FlightPlan: First release of flight plan scripting. The scripting engine is based on the PyMite Python VM. The released code is able to execute a simple python script on the target. However it is currently disabled from the makefile due to a few issues with more complex scripts. When the library is enabled in the makefile a python interpreter will be needed to compile the firmware since some intermediate code is generated by PyMite. 2011-01-09 22:36:15 +00:00
plat.h Flight/FlightPlan: First release of flight plan scripting. The scripting engine is based on the PyMite Python VM. The released code is able to execute a simple python script on the target. However it is currently disabled from the makefile due to a few issues with more complex scripts. When the library is enabled in the makefile a python interpreter will be needed to compile the firmware since some intermediate code is generated by PyMite. 2011-01-09 22:36:15 +00:00
pmfeatures.py Flight/FlightPlan: First release of flight plan scripting. The scripting engine is based on the PyMite Python VM. The released code is able to execute a simple python script on the target. However it is currently disabled from the makefile due to a few issues with more complex scripts. When the library is enabled in the makefile a python interpreter will be needed to compile the firmware since some intermediate code is generated by PyMite. 2011-01-09 22:36:15 +00:00
README Flight/FlightPlan: First release of flight plan scripting. The scripting engine is based on the PyMite Python VM. The released code is able to execute a simple python script on the target. However it is currently disabled from the makefile due to a few issues with more complex scripts. When the library is enabled in the makefile a python interpreter will be needed to compile the firmware since some intermediate code is generated by PyMite. 2011-01-09 22:36:15 +00:00
SConscript Flight/FlightPlan: First release of flight plan scripting. The scripting engine is based on the PyMite Python VM. The released code is able to execute a simple python script on the target. However it is currently disabled from the makefile due to a few issues with more complex scripts. When the library is enabled in the makefile a python interpreter will be needed to compile the firmware since some intermediate code is generated by PyMite. 2011-01-09 22:36:15 +00:00

====================
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: