⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 segger-release.bat

📁 ucosii在AT91RM9200下运行程序
💻 BAT
字号:
ECHO OFF
ECHO *******************************************************************************
ECHO *                               M I C R I U M
ECHO *                            949 Crestview Circle
ECHO *                              Weston, FL 33327
ECHO *
ECHO *                              www.Micrium.com
ECHO *
ECHO * Usage: Segger-Release
ECHO *******************************************************************************
ECHO

ECHO *******************************************************************************
ECHO *                           CREATE VIRTUAL DRIVES
ECHO *******************************************************************************

PUSHD .

MD  C:\DRIVE-BUILD     2> NUL
SUBST   Z:  /d          > NUL
SUBST   Z:  C:\DRIVE-BUILD
Z:

MD  C:\DRIVE-RELEASE   2> NUL
SUBST   Y:  /d          > NUL
SUBST   Y:  C:\DRIVE-RELEASE
Y:


ECHO *******************************************************************************
ECHO *                                  MACROS
ECHO *******************************************************************************

SET  WZ_ZIP="C:\Program Files\WinZip\wzzip.exe"


ECHO *******************************************************************************
ECHO *                               UPDATE HEADER
ECHO *******************************************************************************

COPY C:\Micrium\Software\Update-Header\Exe\UpdateHeader.exe                      Z:\
COPY C:\Micrium\Software\EvalBoards\Cogent\CSB637\Release\Segger-Header.txt      Z:\


ECHO *******************************************************************************
ECHO *                               'GNU' BSP FILES
ECHO *******************************************************************************

Z:
MD   \emApps\GNU\BSP                                                          2> NUL
CD   \emApps\GNU\BSP
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\BSP\bsp.c                    .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\BSP\bsp.h                    .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\BSP\net_bsp.c                .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\BSP\net_bsp.h                .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\BSP\net_isr.c                .


ECHO *******************************************************************************
ECHO *                           'GNU' OS EXAMPLE FILES
ECHO *******************************************************************************

MD   \emApps\GNU\OS                                                           2> NUL
CD   \emApps\GNU\OS
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\.gdbinit                  .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\app.c                     .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\app_cfg.h                 .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\Build.bat                 .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\CSB_ARM_RAM_link.lds      .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\CSB_ARM_RAM_start.s       .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\debug-gdb.cmd             .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\debug-gdbtk.cmd           .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\Ex1.mak                   .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\Ex1.vxp                   .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\Ex1.vxw                   .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\includes.h                .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS\os_cfg.h                  .
Z:\UpdateHeader  Z:\Segger-Header.txt                                             app.c      %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             app_cfg.h  %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             includes.h %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             os_cfg.h   24


ECHO *******************************************************************************
ECHO *                        'GNU' OS-TCPIP-TTCP EXAMPLE FILES
ECHO *******************************************************************************

MD   \emApps\GNU\OS-TCPIP-TTCP                                                2> NUL
CD   \emApps\GNU\OS-TCPIP-TTCP
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\.gdbinit       .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\app.c          .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\app_cfg.h      .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\Build.bat      .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\CSB_ARM_RAM_link.lds  .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\CSB_ARM_RAM_start.s   .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\debug-gdb.cmd         .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\debug-gdbtk.cmd       .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\Ex1.mak        .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\Ex1.vxp        .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\Ex1.vxw        .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\includes.h     .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\net_cfg.h      .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\GNU\OS-TCPIP-TTCP\os_cfg.h       .
Z:\UpdateHeader  Z:\Segger-Header.txt                                             app.c      %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             app_cfg.h  %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             includes.h %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             net_cfg.h  22
Z:\UpdateHeader  Z:\Segger-Header.txt                                             os_cfg.h   24


ECHO *******************************************************************************
ECHO *                             'IAR' BSP FILES
ECHO *******************************************************************************

Z:
MD   \emApps\IAR\BSP                                                          2> NUL
CD   \emApps\IAR\BSP
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\BSP\bsp.c                    .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\BSP\bsp.h                    .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\BSP\net_bsp.c                .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\BSP\net_bsp.h                .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\BSP\net_isr.c                .


ECHO *******************************************************************************
ECHO *                          'IAR' OS EXAMPLE FILES
ECHO *******************************************************************************

MD   \emApps\IAR\OS                                                           2> NUL
CD   \emApps\IAR\OS
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\app.c                     .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\app_cfg.h                 .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\Build.bat                 .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\CSB_ARM_RAM_link.xcl      .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\CSB_ARM_RAM_start.asm     .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\CSB_ARM_ROM_link.xcl      .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\Ex1.ewp                   .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\Ex1.eww                   .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\includes.h                .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\net_cfg.h                 .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS\os_cfg.h                  .
Z:\UpdateHeader  Z:\Segger-Header.txt                                             app.c      %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             app_cfg.h  %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             includes.h %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             os_cfg.h   24


ECHO *******************************************************************************
ECHO *                       'IAR' OS-TCPIP-TTCP EXAMPLE FILES
ECHO *******************************************************************************

MD   \emApps\IAR\OS-TCPIP-TTCP                                                    2> NUL
CD   \emApps\IAR\OS-TCPIP-TTCP
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\app.c        .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\app_cfg.h    .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\Build.bat    .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\CSB_ARM_RAM_link.xcl   .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\CSB_ARM_RAM_start.asm  .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\CSB_ARM_ROM_link.xcl   .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\Ex1.ewp      .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\Ex1.eww      .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\includes.h   .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\net_cfg.h    .
COPY Y:\Micrium\Software\EvalBoards\Cogent\CSB637\IAR\OS-TCPIP-TTCP\os_cfg.h     .
Z:\UpdateHeader  Z:\Segger-Header.txt                                             app.c      %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             app_cfg.h  %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             includes.h %Replace_Header%
Z:\UpdateHeader  Z:\Segger-Header.txt                                             net_cfg.h  22
Z:\UpdateHeader  Z:\Segger-Header.txt                                             os_cfg.h   24


ECHO *******************************************************************************
ECHO *                                ZIP FILES
ECHO *******************************************************************************

Z:
CD  \
DEL  Segger_emApps.zip                                                        2> NUL
%WZ_ZIP% -P  Segger_emApps  @Segger-WinZIP-List.wz

POPD

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -