mirror of
https://github.com/flyingcys/realtek_ameba.git
synced 2024-11-01 01:44:16 +00:00
update iar_utility
This commit is contained in:
parent
2fa1e73167
commit
f93445dfa6
10 changed files with 20 additions and 20 deletions
|
@ -3,19 +3,19 @@
|
||||||
<flash_board>
|
<flash_board>
|
||||||
<pass>
|
<pass>
|
||||||
<range>CODE 0x10000bc0 0x10003FFF</range>
|
<range>CODE 0x10000bc0 0x10003FFF</range>
|
||||||
<loader>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
<loader>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
||||||
<abs_offset>0x00000000</abs_offset>
|
<abs_offset>0x00000000</abs_offset>
|
||||||
<args>--head</args>
|
<args>--head</args>
|
||||||
</pass>
|
</pass>
|
||||||
<pass>
|
<pass>
|
||||||
<range>CODE 0x10004000 0x1006FFFF</range>
|
<range>CODE 0x10004000 0x1006FFFF</range>
|
||||||
<loader>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
<loader>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
||||||
<abs_offset>0x00000000</abs_offset>
|
<abs_offset>0x00000000</abs_offset>
|
||||||
<args>--cascade</args>
|
<args>--cascade</args>
|
||||||
</pass>
|
</pass>
|
||||||
<pass>
|
<pass>
|
||||||
<range>CODE 0x30000000 0x301FFFFF</range>
|
<range>CODE 0x30000000 0x301FFFFF</range>
|
||||||
<loader>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
<loader>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
||||||
<abs_offset>0x00000000</abs_offset>
|
<abs_offset>0x00000000</abs_offset>
|
||||||
<args>--cascade</args>
|
<args>--cascade</args>
|
||||||
</pass>
|
</pass>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
|
||||||
<flash_device>
|
<flash_device>
|
||||||
<exe>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.out</exe>
|
<exe>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.out</exe>
|
||||||
<flash_base>0x00000000</flash_base>
|
<flash_base>0x00000000</flash_base>
|
||||||
<page>4</page>
|
<page>4</page>
|
||||||
<block>256 0x1000</block>
|
<block>256 0x1000</block>
|
||||||
<macro>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.mac</macro>
|
<macro>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.mac</macro>
|
||||||
<aggregate>1</aggregate>
|
<aggregate>1</aggregate>
|
||||||
</flash_device>
|
</flash_device>
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
<flash_board>
|
<flash_board>
|
||||||
<pass>
|
<pass>
|
||||||
<loader>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
<loader>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
||||||
<range>CODE 0x8000020 0x8003fff</range>
|
<range>CODE 0x8000020 0x8003fff</range>
|
||||||
<abs_offset>0x20</abs_offset>
|
<abs_offset>0x20</abs_offset>
|
||||||
<args>--boot </args>
|
<args>--boot </args>
|
||||||
</pass>
|
</pass>
|
||||||
<pass>
|
<pass>
|
||||||
<loader>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
<loader>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash</loader>
|
||||||
<range>CODE 0x10002000 0x10004fff</range>
|
<range>CODE 0x10002000 0x10004fff</range>
|
||||||
<abs_offset>0x0</abs_offset>
|
<abs_offset>0x0</abs_offset>
|
||||||
<args>--concat
|
<args>--concat
|
||||||
|
|
|
@ -13,19 +13,19 @@
|
||||||
@echo ^<flash_board^> >> tmp.board
|
@echo ^<flash_board^> >> tmp.board
|
||||||
@echo ^<pass^> >> tmp.board
|
@echo ^<pass^> >> tmp.board
|
||||||
@echo ^<range^>CODE %3 0x%end1%^</range^> >> tmp.board
|
@echo ^<range^>CODE %3 0x%end1%^</range^> >> tmp.board
|
||||||
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8195a\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8195a\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
||||||
@echo ^<abs_offset^>0x00000000^</abs_offset^> >> tmp.board
|
@echo ^<abs_offset^>0x00000000^</abs_offset^> >> tmp.board
|
||||||
@echo ^<args^>--head^</args^> >> tmp.board
|
@echo ^<args^>--head^</args^> >> tmp.board
|
||||||
@echo ^</pass^> >> tmp.board
|
@echo ^</pass^> >> tmp.board
|
||||||
@echo ^<pass^> >> tmp.board
|
@echo ^<pass^> >> tmp.board
|
||||||
@echo ^<range^>CODE %1 0x%end2%^</range^> >> tmp.board
|
@echo ^<range^>CODE %1 0x%end2%^</range^> >> tmp.board
|
||||||
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8195a\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8195a\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
||||||
@echo ^<abs_offset^>0x00000000^</abs_offset^> >> tmp.board
|
@echo ^<abs_offset^>0x00000000^</abs_offset^> >> tmp.board
|
||||||
@echo ^<args^>--cascade^</args^> >> tmp.board
|
@echo ^<args^>--cascade^</args^> >> tmp.board
|
||||||
@echo ^</pass^> >> tmp.board
|
@echo ^</pass^> >> tmp.board
|
||||||
@echo ^<pass^> >> tmp.board
|
@echo ^<pass^> >> tmp.board
|
||||||
@echo ^<range^>CODE 0x30000000 0x301FFFFF^</range^> >> tmp.board
|
@echo ^<range^>CODE 0x30000000 0x301FFFFF^</range^> >> tmp.board
|
||||||
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8195a\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8195a\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
||||||
@echo ^<abs_offset^>0x00000000^</abs_offset^> >> tmp.board
|
@echo ^<abs_offset^>0x00000000^</abs_offset^> >> tmp.board
|
||||||
@echo ^<args^>--cascade^</args^> >> tmp.board
|
@echo ^<args^>--cascade^</args^> >> tmp.board
|
||||||
@echo ^</pass^> >> tmp.board
|
@echo ^</pass^> >> tmp.board
|
||||||
|
|
|
@ -11,17 +11,17 @@
|
||||||
@echo ^<flash_board^> >> tmp.board
|
@echo ^<flash_board^> >> tmp.board
|
||||||
@echo ^<pass^> >> tmp.board
|
@echo ^<pass^> >> tmp.board
|
||||||
@echo ^<range^>CODE 0x8000000 0x8004fff^</range^> >> tmp.board
|
@echo ^<range^>CODE 0x8000000 0x8004fff^</range^> >> tmp.board
|
||||||
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
||||||
@echo ^<abs_offset^>0x00000000^</abs_offset^> >> tmp.board
|
@echo ^<abs_offset^>0x00000000^</abs_offset^> >> tmp.board
|
||||||
@echo ^</pass^> >> tmp.board
|
@echo ^</pass^> >> tmp.board
|
||||||
@echo ^<pass^> >> tmp.board
|
@echo ^<pass^> >> tmp.board
|
||||||
@echo ^<range^>CODE 0x800b020 0x807ffff^</range^> >> tmp.board
|
@echo ^<range^>CODE 0x800b020 0x807ffff^</range^> >> tmp.board
|
||||||
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
||||||
@echo ^<abs_offset^>0xb020^</abs_offset^> >> tmp.board
|
@echo ^<abs_offset^>0xb020^</abs_offset^> >> tmp.board
|
||||||
@echo ^</pass^> >> tmp.board
|
@echo ^</pass^> >> tmp.board
|
||||||
@echo ^<pass^> >> tmp.board
|
@echo ^<pass^> >> tmp.board
|
||||||
@echo ^<range^>CODE %1 0x%ram_end%^</range^> >> tmp.board
|
@echo ^<range^>CODE %1 0x%ram_end%^</range^> >> tmp.board
|
||||||
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
@echo ^<loader^>$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\flashloader\FlashRTL8195aMP.flash^</loader^> >> tmp.board
|
||||||
@echo ^<abs_offset^>0xb000^</abs_offset^> >> tmp.board
|
@echo ^<abs_offset^>0xb000^</abs_offset^> >> tmp.board
|
||||||
@echo ^<args^>--concat^</args^> >> tmp.board
|
@echo ^<args^>--concat^</args^> >> tmp.board
|
||||||
@echo ^</pass^> >> tmp.board
|
@echo ^</pass^> >> tmp.board
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
cd /D %2
|
cd /D %2
|
||||||
set tooldir=%2\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\tools
|
set tooldir=%2\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\tools
|
||||||
set libdir=%2\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp
|
set libdir=%2\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp
|
||||||
|
|
||||||
del Debug\Exe\bootloader.map Debug\Exe\bootloader.asm *.bin
|
del Debug\Exe\bootloader.map Debug\Exe\bootloader.asm *.bin
|
||||||
cmd /c "%tooldir%\nm Debug/Exe/bootloader.axf | %tooldir%\sort > Debug/Exe/bootloader.map"
|
cmd /c "%tooldir%\nm Debug/Exe/bootloader.axf | %tooldir%\sort > Debug/Exe/bootloader.map"
|
||||||
|
|
|
@ -2,4 +2,4 @@ Dim WshShell
|
||||||
|
|
||||||
Set WshShell = WScript.CreateObject("WScript.Shell")
|
Set WshShell = WScript.CreateObject("WScript.Shell")
|
||||||
|
|
||||||
WshShell.Run "cmd /c "+WScript.Arguments.Item(1)+"\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\postbuild_img1.bat "+WScript.Arguments.Item(0)+" "+WScript.Arguments.Item(1), 0
|
WshShell.Run "cmd /c "+WScript.Arguments.Item(1)+"\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\postbuild_img1.bat "+WScript.Arguments.Item(0)+" "+WScript.Arguments.Item(1), 0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
cd /D %2
|
cd /D %2
|
||||||
set tooldir=%2\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\tools
|
set tooldir=%2\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\tools
|
||||||
set libdir=%2\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp
|
set libdir=%2\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp
|
||||||
set ota_bin_ver=0x%date:~0,4%%date:~5,2%%date:~8,2%
|
set ota_bin_ver=0x%date:~0,4%%date:~5,2%%date:~8,2%
|
||||||
|
|
||||||
::echo input1=%1 >tmp.txt
|
::echo input1=%1 >tmp.txt
|
||||||
|
|
|
@ -2,4 +2,4 @@ Dim WshShell
|
||||||
|
|
||||||
Set WshShell = WScript.CreateObject("WScript.Shell")
|
Set WshShell = WScript.CreateObject("WScript.Shell")
|
||||||
|
|
||||||
WshShell.Run "cmd /c "+WScript.Arguments.Item(1)+"\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\postbuild_img2.bat "+WScript.Arguments.Item(0)+" "+WScript.Arguments.Item(1), 0
|
WshShell.Run "cmd /c "+WScript.Arguments.Item(1)+"\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\postbuild_img2.bat "+WScript.Arguments.Item(0)+" "+WScript.Arguments.Item(1), 0
|
||||||
|
|
|
@ -2,4 +2,4 @@ Dim WshShell
|
||||||
|
|
||||||
Set WshShell = WScript.CreateObject("WScript.Shell")
|
Set WshShell = WScript.CreateObject("WScript.Shell")
|
||||||
|
|
||||||
WshShell.Run "cmd /c "+WScript.Arguments.Item(0)+"\packages\realtek_ameba\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\prebuild.bat "+WScript.Arguments.Item(0)+" "+WScript.Arguments.Item(1)+" "+WScript.Arguments.Item(2), 0
|
WshShell.Run "cmd /c "+WScript.Arguments.Item(0)+"\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\prebuild.bat "+WScript.Arguments.Item(0)+" "+WScript.Arguments.Item(1)+" "+WScript.Arguments.Item(2), 0
|
||||||
|
|
Loading…
Reference in a new issue