]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blobdiff - packages/ti/drv/gpio/test/baremetal/Readme.txt
gpio-lld: add to PDK
[processor-sdk/pdk.git] / packages / ti / drv / gpio / test / baremetal / Readme.txt
diff --git a/packages/ti/drv/gpio/test/baremetal/Readme.txt b/packages/ti/drv/gpio/test/baremetal/Readme.txt
new file mode 100755 (executable)
index 0000000..971dfa3
--- /dev/null
@@ -0,0 +1,32 @@
+ ******************************************************************************\r
+ * FILE PURPOSE: Readme File for building the baremetal test/example\r
+ ******************************************************************************\r
+ * FILE NAME: Readme.txt\r
+ * Copyright (C) 2015, Texas Instruments, Inc.\r
+ *****************************************************************************\r
+\r
+The baremetal test/example makefile is located under ti/drv/gpio/test/<arch>,\r
+where <arch> is "c66" or armv7, the makefile builds both the test and example.\r
+\r
+To build baremetal test/example, run the following commands:\r
+\r
+cd ti/drv/gpio\r
+gmake -f test/baremetal/<arch>/makefile DEVICE=<DEVICE_NAME>\r
+\r
+where <arch> is "c66" or armv7, and <DEVICE_NAME> is "K2H", "K2K", "K2E", "K2L", "C6678", "C6657".\r
+\r
+Notes:\r
+1. Currently only K2 C66 baremetal test/example is supported\r
+2. PDK need to be installed properly to include the board/osal libs\r
+3. The following paths need to be set/exported properly to build the test/example:\r
+   * PDK_INSTALL_PATH\r
+   * CGTOOLS\r
+   * TOOLCHAIN_PATH_A15\r
+   * CROSS_TOOL_PRFX\r
+\r
+   E.g., in windows, run the following commands before calling the makefile:\r
+         set PDK_INSTALL_PATH="C:/ti/<pdk_###>/packages"\r
+         set CGTOOLS="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.0.3"\r
+         set TOOLCHAIN_PATH_A15="C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3"\r
+         set CROSS_TOOL_PRFX="arm-none-eabi-"\r
\r