Background
This example uses windows XP, cygwin and SDE lite 6.06.
Install The SDE
- Download the SDE lite from here. Note (free) registration is required.
- Follow the install instructions in chapter 3 of the SDE Programmer’s Guide, partially copied here for ease:
- Install cygin
- Unzip contents of downloaded zip file to /cygdrive/c/sde-6.06
- In a cygwin shell, run the setup script:
- Every time you start a shell (or configure your login) to source environment variables
Get The Project
The source files for the base projects are on github (or in class I can provide a thumb drive). The uri isgit://github.com/schuchert/embedded_cpp_tdd.git.
- In some base directory (preferably one without a space it its name) clone the git repository
Name | Kind | Description |
cpputest | Directory | Source for C++ U Test, V 2.3 |
dice_game | Directory | Placeholder for first project |
makefile.base | File | Common make stuff based on the makefiles provided by the examples in the sde |
rpn_calc | Directory | Placeholder for second project |
Using It
The makefile has a default SBD of GSIM32L. Simply typing make will built files that will work with the simulator and the debugger. You can also…
Command | Effect |
make | Build and link |
make clean | Clean all files created during the build |
make run | Build if necessary and execute the tests |
make debug | Build if necessary and start the visual debugger (sde-insight) |
Comments