Bosch XDK110 General Information Manual page 30

Cross-domain development kit platform for application development
Hide thumbs Also See for XDK110:
Table of Contents

Advertisement

!
How Can I Change CFLAGS in my Project?
CFLAGS are flags passed on to the compiler. They allow you to configure various things in your
software and in the behavior of the compiler. To add specific CFLAGS for your application, please
create a new line in the Makefile of your project:
Code 2: CFLAGS
BCDS_CFLAGS_COMMON
#
In this line, you can add your own CFLAGS.
How Can I Rename a Project in XDK Workbench?
If you rename a project in XDK Workbench, the project configuration as well as the Makefile has to
be modified.
1. Click your project in XDK Workbench and select "Properties".
2. Go into the "C/C++ Build" tab and update the "BuildDirectory". To do this, click on
"Workspace" and select the "make" folder inside your renamed application.
Picture 17: C/C++ Build
#
3. Open up the Makefile in your renamed application. You may want to modify the
BCDS_APP_NAME, as it defines the name of your executable file afterwards. Furthermore,
you may want to add and/or change the files listed in BCDS_XDK_APP_SOURCE_FILES.
XDK110
© 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
= -DMY_DEFINE
Page ! 3 0
BCDS

Advertisement

Table of Contents
loading

Table of Contents