XDK110
BCDS
© Bosch Connected Devices and Solutions GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such as
copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
General Information Guide XDK110
!
Page
!
29
Below you will find some elements from the Makefile:
Table 11
: Elements from the Makefile
How Can I Add a New Source File to the Project?
To add a source file, you have to update the BCDS_XDK_APP_SOURCE_FILES variable to
include all files that you want to compile. Furthermore, the BCDS_XDK_INCLUDES variable must
be updated to include all path' in which include files may be residing. After adding new include
path', make sure the change in the XDK Workbench project configuration (see below) is reflected.
Picture 16
: Paths and Symbols
#
1. Click on File\Properties (or ALT + ENTER).
2. Click on Paths and Symbols.
3. Choose the language.
4. Add the desired directories.
Variable
Meaning
BCDS_CFLAGS_COMMON
Defines application-specific CFLAGS (see below)
XDK_APP_EXECUTABLE_NAME
Defines the project name, which is used to
determine the name of your executable file
BCDS_XDK_INCLUDES
Defines the search path' for include files (How
Can I Add a New Source File to the Project?)
BCDS_XDK_APP_SOURCE_FILES
Defines the c-files that are taken into account
when compiling your project (How Can I Add a
New Source File to the Project?)
BCDS_SYSTEM_STARTUP_METHOD
Defines whether XDK uses the standard or a
custom initialization routine (see
BCDS_SYSTEM_STARTUP_METHOD