Hi Lin,with a few changes the AN86233 will compile:1st: Line 72 Change <device.h> to <project.h>2nd: Line 98: change void main() to int main()3rd: under "Project -> Build Settings... -> Toolchain" (at top of the window, below "Configuration") set the toolchain to "ARM GCC 4.7.3"