Can someone explain me the steps to Rebuild SFH tool on Windows
I have installed
- CCS4
- Cygwin Setup
- arm-2011.03-41-arm-none-linux-gnueabi.exe(Sourcery G++ Lite 2011.03-41)
- C6000 Code Generation Tools v7.4.7
Below is the steps for Rebuilding Flash and Boot Utils
- For a particular platform, the extracted package will consist of a 'Common' directory and a '<PlatformName>' directory.
- Open a Cygwin prompt, which is like a Unix/Linux prompt under Windows.
- If using v2.36 or earlier, add necessary components to path
export PATH=<arm-compiler-root>/bin:<C6000-Compiler-Root>/bin:$PATH- If using v2.40 or later, edit the ARM_TOOLS_PATH, ARM_TOOLS_PREFIX, and DSP_TOOLS_PATH variables in Common/build.mak as needed for your system
- Enter into the <PlatformName> directory.
cd <PlatformName>
- Edit device.mak to include only the part number and flash type required, in order to speed up the build process
vim device.mak
- [Optional] To rebuild only the command-line tools (not the CCS projects), cd into the GNU directory.
cd GNU
- [Optional] To rebuild only the CCS projects (requires CCS v3), cd into the CCS directory
cd CCS
- If you're rebuilding everything then stay in the <Platform> directory
- Run 'make clean' and 'make'.
make clean make
- If you wish to clean-up already built components, run 'make clean' from the path you wish to clean.
The Build file that i created is given below.
#############################################################
# Common build definitions for Makefile use #
#############################################################
# Taqi Mustafa
ARM_TOOLS_PATH?="C:\CodeSourcery\Sourcery G++\arm-none-linux-gnueabi\"
ARM_TOOLS_PREFIX?=arm-none-gnueabi-
CROSSCOMPILE?=$(ARM_TOOLS_PATH)bin\\$(ARM_TOOLS_PREFIX)
ARM_CROSSCOMPILE=$(CROSSCOMPILE)
DSP_TOOLS_PATH?="C:\Program Files\Texas Instruments\ccsv4\tools\compiler\c6000\"
DSP_LIB_PATH=$(DSP_TOOLS_PATH)lib\\
DSP_CROSSCOMPILE=$(DSP_TOOLS_PATH)bin\\