IAR Information Center for MSP430

GETTING STARTED

GETTING STARTED

USER GUIDES

USER GUIDES

EXAMPLE PROJECTS

EXAMPLE PROJECTS

SUPPORT

SUPPORT

RELEASE NOTES

RELEASE NOTES

TUTORIALS

The tutorials are divided into different parts. You can work through all tutorials as a suite or you can choose to go through the tutorials individually. Note: The tutorials call the printf library function, which calls the low-level write function part of the DLIB library or the putchar function part of the CLIB library. This works in the C-SPY simulator, but if you want to run the tutorials in a release configuration on real hardware, you must provide your own version of these functions (depending on the library that you are using), adapted to your hardware.

Open the tutorial workspace

Tutorial1 - Creating an application project

This tutorial guides you through how to set up a new project, compiling your application, examining the list file, and linking your application.
Project name: project1

Tutorial description

Tutorial2 - Debugging using the IAR C-SPY(R) debugger

This tutorial explores the basic facilities of the debugger while debugging the application used in project1.
Project name: project1

Tutorial description

Tutorial3 - Mixing C and assembler modules

This tutorial demonstrates how you can easily combine source modules written in C with assembler modules. The chapter also demonstrates how to use the compiler for examining the compiler calling convention.
Project name: project2

Tutorial description

Tutorial4 - Using C++

This tutorial demonstrates how to create a C++ class, which creates two independent objects. The application is then built and debugged. This chapter only applies to product versions with C++ support.
Project name: project3

Tutorial description

Tutorial5 - Simulating an interrupt

This tutorial demonstrates how you add an interrupt handler to the project and how you simulate this interrupt, using C-SPY facilities for simulated interrupts, breakpoints, and macros.
Project name: project4

Tutorial description

Tutorial6 - Creating and using libraries

This tutorial demonstrates how to create library modules.
Project name: project5 and tutor_library

Tutorial description