PropWare
2.1.2
C++ objects and CMake build system for Parallax Propeller
|
Click here for docs on the
develop
branch.
Download and run the installer for Windows or Linux.
Examples/GettingStarted
and on this website here.GettingStarted
which will hold your project files, such C:\Users\David\Documents\Propeller\GettingStarted
. Create two files in the directory, the first named CMakeLists.txt
and the second named GettingStarted.cpp
. Into the first, copy the following configuration file: cmd
into the Start Menu) and run these commands This will create a new folder named bin
in your project.CMakeLists.txt
file. It must be named "CMakeLists.txt" as per CMake standards. Full details on CMake files in relation to PropWare are documented under Build System, but a typical use case with four source code files is provided below. cmake -G "Unix Makefiles" .
. This will generate a Makefile for you.make
, make debug
and make run
.make
: Without any arguments, make
will simply compile your executable - in this case, HelloWorld.elf
.make debug
: The debug
target will load your program into RAM and then start a terminal to monitor and/or communicate with the Propeller.make run
: The run
target will load your program to EEPROM and return to command prompt.