]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blob - boot_loader/examples/srio/srioboot_helloworld/evmc6678l/bin/helloworld_elf2HBin.bat
temp update
[keystone-rtos/mcsdk-tools.git] / boot_loader / examples / srio / srioboot_helloworld / evmc6678l / bin / helloworld_elf2HBin.bat
1 set C6000_CG_DIR="C:\Program Files\Texas Instruments\C6000 Code Generation Tools 7.4.0A12012"
2 set TOOL_DIR="..\..\..\..\..\..\"
3 set TARGET=6678
4 set ENDIAN=little
5 set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%;
8 @echo off
10 echo C6000_CG_DIR set as: %C6000_CG_DIR%
11 echo TARGET set as: %TARGET%
12 echo IBL_ROOT_DIR set as : %IBL_ROOT_DIR%
14 echo Converting .out to HEX ...
15 if %ENDIAN% == little (
16 %C6000_CG_DIR%\bin\hex6x -order L helloworld_image.rmd srioboot_helloworld_evm%TARGET%l.out
17 ) else (
18 %C6000_CG_DIR%\bin\hex6x -order M helloworld_image.rmd srioboot_helloworld_evm%TARGET%l.out
19 )
21 ..\..\..\..\..\..\bttbl2hfile\Bttbl2Hfile srioboot_helloworld.btbl srioboot_helloworld.h srioboot_helloworld.bin
23 ..\..\..\..\..\..\hfile2array\hfile2array srioboot_helloworld.h srioBootCode.h bootCode
25 move srioBootCode.h ..\..\..\srioboot_example\src\