Include Paths
This topic describes how to configure include paths to use the DZX SDK with Rowley CrossWorks.
The software source code within the Embedded SDK is contained within a single source directory. When compiling the software, include paths
are used to select the target MCU architecture, MCU peripherals and board support files.
For example, the following include paths are added to the project settings when building an application for the EA OEM LPC1788 evaluation board. Each
of the specified paths are relative to the location of the current solution file.
- .
The dot provides a path to the current working directory.
- $(SolutionDir)/../../Source
Provides a path to the common source code directory.
- $(SolutionDir)/../../Source/Kernel/Port/ARM/M3
Selects the core architecture for the kernel by providing the path to the kernel port.
- $(SolutionDir)/../../Source/MCU/LPC177x8x
Selects the MCU platform source code by providing the path to the peripheral drivers.
- $(SolutionDir)/../../Source/Demo/LPC1788-OEM
Selects the board support code by providing a path to the board drivers.
The include directories can be added at the solution level so that all subsequent projects can use them. From within the Project Explorer pane, right-click the 'Solution Properties'
folder and select the 'User Include Directories' menu item. The example below shows the include directories for building a project for the OEM LPC1788 evaluation board.
| Loading… |