1 ******************************************************************************\r
2 * FILE PURPOSE: Readme File for building the baremetal test/example\r
3 ******************************************************************************\r
4 * FILE NAME: Readme.txt\r
5 * Copyright (C) 2015, Texas Instruments, Inc.\r
6 *****************************************************************************\r
7 \r
8 The baremetal test/example makefile is located under ti/drv/gpio/test/<arch>,\r
9 where <arch> is "c66" or armv7, the makefile builds both the test and example.\r
10 \r
11 To build baremetal test/example, run the following commands:\r
12 \r
13 cd ti/drv/gpio\r
14 gmake -f test/baremetal/<arch>/makefile DEVICE=<DEVICE_NAME>\r
15 \r
16 where <arch> is "c66" or armv7, and <DEVICE_NAME> is "K2H", "K2K", "K2E", "K2L", "C6678", "C6657".\r
17 \r
18 Notes:\r
19 1. Currently only K2 C66 baremetal test/example is supported\r
20 2. PDK need to be installed properly to include the board/osal libs\r
21 3. The following paths need to be set/exported properly to build the test/example:\r
22 * PDK_INSTALL_PATH\r
23 * CGTOOLS\r
24 * TOOLCHAIN_PATH_A15\r
25 * CROSS_TOOL_PRFX\r
26 \r
27 E.g., in windows, run the following commands before calling the makefile:\r
28 set PDK_INSTALL_PATH="C:/ti/<pdk_###>/packages"\r
29 set CGTOOLS="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.0.3"\r
30 set TOOLCHAIN_PATH_A15="C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3"\r
31 set CROSS_TOOL_PRFX="arm-none-eabi-"\r
32 \r