EasyManua.ls Logo

STW TC1 - Page 288

STW TC1
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8 Development Tools
User Manual 288/374
1. Start Code::Blocks
2. In the main menu select "Settings | Compiler and Debugger..."
3. Select the compiler: "GNU GCC Compiler for PowerPC"
4. Navigate to the tab "Compiler settings | Other option":
5. Enter in the tab "Other options" the following lines:
-O2 -Wall -Wno-parentheses -fno-strict-aliasing
-DPF_CAN=29 -DAF_CAN=PF_CAN
6. Since many applications need access to the CAN Bus, add the following defines to your build options.
Select the tab "#defines" in the tab "Compiler settings". Enter following line and click "OK":
PF_CAN=29 \
AF_CAN=PF_CAN

Table of Contents