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

📄 app.lst

📁 针对STM32F103的UCOS移植
💻 LST
📖 第 1 页 / 共 5 页
字号:
##############################################################################
#                                                                            #
# IAR ARM ANSI C/C++ Compiler V4.42A/W32 KICKSTART     13/Mar/2009  16:45:48 #
# Copyright 1999-2005 IAR Systems. All rights reserved.                      #
#                                                                            #
#    Cpu mode        =  thumb                                                #
#    Endian          =  little                                               #
#    Stack alignment =  4                                                    #
#    Source file     =  E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\app.c                                 #
#    Command line    =  E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\app.c -lCN                            #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\Flash\List\ -o                        #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\Flash\Obj\ -z6 --no_unroll            #
#                       --no_inline --no_tbaa --no_scheduling --debug        #
#                       --cpu_mode thumb --endian little --cpu cortex-M3     #
#                       --stack_align 4 -e --fpu None --dlib_config          #
#                       "C:\Program Files\IAR Systems\Embedded Workbench     #
#                       4.0 Kickstart\arm\LIB\dl7mptnnl8n.h" -I              #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\ -I E:\UC_OS\Micrium\Software\EvalBoa #
#                       rds\ST\STM3210B-EVAL\IAR\OS-Probe\..\..\..\..\..\uco #
#                       s-ii\ports\arm-cortex-m3\generic\iar\ -I             #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\..\..\..\..\..\ucos-ii\source\ -I     #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\..\..\..\..\..\uc-lib\ -I             #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\..\..\..\..\..\uc-cpu\ -I             #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\..\..\..\..\..\uc-cpu\ARM-Cortex-M3\I #
#                       AR\ -I E:\UC_OS\Micrium\Software\EvalBoards\ST\STM32 #
#                       10B-EVAL\IAR\OS-Probe\..\..\..\..\..\cpu\st\stm32\in #
#                       c\ -I E:\UC_OS\Micrium\Software\EvalBoards\ST\STM321 #
#                       0B-EVAL\IAR\OS-Probe\..\BSP\ -I                      #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\..\..\..\..\..\uC-Probe\Target\Commun #
#                       ication\Generic\RS-232\Source\ -I                    #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\..\..\..\..\..\uC-Probe\Target\Commun #
#                       ication\Generic\RS-232\Ports\ST\STM32\ -I            #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\..\..\..\..\..\uC-Probe\Target\Commun #
#                       ication\Generic\Source\ -I                           #
#                       E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\..\..\..\..\..\uC-Probe\Target\Plugin #
#                       s\uCOS-II\ -I "C:\Program Files\IAR                  #
#                       Systems\Embedded Workbench 4.0 Kickstart\arm\INC\"   #
#    List file       =  E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\Flash\List\app.lst                    #
#    Object file     =  E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
#                       L\IAR\OS-Probe\Flash\Obj\app.r79                     #
#                                                                            #
#                                                                            #
##############################################################################

E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVAL\IAR\OS-Probe\app.c
      1          /*
      2          *********************************************************************************************************
      3          *                                              EXAMPLE CODE
      4          *
      5          *                          (c) Copyright 2003-2006; Micrium, Inc.; Weston, FL
      6          *
      7          *               All rights reserved.  Protected by international copyright laws.
      8          *               Knowledge of the source code may NOT be used to develop a similar product.
      9          *               Please help us continue to provide the Embedded community with the finest
     10          *               software available.  Your honesty is greatly appreciated.
     11          *********************************************************************************************************
     12          */
     13          
     14          /*
     15          *********************************************************************************************************
     16          *
     17          *                                            EXAMPLE CODE
     18          *
     19          *                                     ST Microelectronics STM32
     20          *                                              with the
     21          *                                   STM3210B-EVAL Evaluation Board
     22          *
     23          * Filename      : app.c
     24          * Version       : V1.00
     25          * Programmer(s) : Brian Nagel
     26          *********************************************************************************************************
     27          */
     28          
     29          /*
     30          *********************************************************************************************************
     31          *                                             INCLUDE FILES
     32          *********************************************************************************************************
     33          */
     34          
     35          #include <includes.h>
     36          
     37          
     38          /*
     39          *********************************************************************************************************
     40          *                                            LOCAL DEFINES
     41          *********************************************************************************************************
     42          */
     43          
     44          #define  APP_LINE_0                0
     45          #define  APP_LINE_1               24
     46          #define  APP_LINE_2               48
     47          #define  APP_LINE_3               72
     48          #define  APP_LINE_4               96
     49          #define  APP_LINE_5              120
     50          #define  APP_LINE_6              144
     51          #define  APP_LINE_7              168
     52          #define  APP_LINE_8              192
     53          #define  APP_LINE_9              216
     54          
     55          #define  COLOR_WHITE          0xFFFF
     56          #define  COLOR_BLACK          0x0000
     57          #define  COLOR_BLUE           0x001F
     58          #define  COLOR_BLUE2          0x051F
     59          #define  COLOR_RED            0xF800
     60          #define  COLOR_MAGENTA        0xF81F
     61          #define  COLOR_GREEN          0x07E0
     62          #define  COLOR_CYAN           0x7FFF
     63          #define  COLOR_YELLOW         0xFFE0
     64          
     65          /*
     66          *********************************************************************************************************
     67          *                                       LOCAL GLOBAL VARIABLES
     68          *********************************************************************************************************
     69          */
     70          
     71                                                                          /* ----------------- APPLICATION GLOBALS ------------------ */

   \                                 In segment DATA_Z, align 4, align-sorted
     72          static  OS_STK          AppTaskStartStk[APP_TASK_START_STK_SIZE];
   \                     AppTaskStartStk:
   \   00000000                      DS8 1024

   \                                 In segment DATA_Z, align 4, align-sorted
     73          static  OS_STK          AppTaskUserIFStk[APP_TASK_USER_IF_STK_SIZE];
   \                     AppTaskUserIFStk:
   \   00000000                      DS8 1024
   \   00000400                      DS8 1024
   \   00000800                      DS8 1024
     74          static  OS_STK          AppTaskKbdStk[APP_TASK_KBD_STK_SIZE];
     75          

   \                                 In segment DATA_Z, align 4, align-sorted
     76          static  OS_EVENT       *AppUserIFMbox;
     77          
     78          static  CPU_CHAR        AppLCDLine0[21];
     79          static  CPU_CHAR        AppLCDLine1[21];
     80          static  CPU_CHAR        AppLCDLine2[21];
     81          static  CPU_CHAR        AppLCDLine3[21];
     82          static  CPU_CHAR        AppLCDLine4[21];
     83          static  CPU_CHAR        AppLCDLine5[21];
     84          static  CPU_CHAR        AppLCDLine6[21];
     85          static  CPU_CHAR        AppLCDLine7[21];
     86          static  CPU_CHAR        AppLCDLine8[21];
     87          static  CPU_CHAR        AppLCDLine9[21];
     88          
     89                                                                          /* -------------- uC/PROBE RELATED GLOBALS ---------------- */
     90          #if (uC_PROBE_OS_PLUGIN > 0)
     91          volatile  CPU_INT32U    Probe_Counts;
     92          volatile  CPU_BOOLEAN   Probe_B1;
   \                     Probe_B1:
   \   00000000                      DS8 1
     93          volatile  CPU_BOOLEAN   Probe_JoyLeft;
   \                     Probe_JoyLeft:
   \   00000001                      DS8 1
     94          volatile  CPU_BOOLEAN   Probe_JoyRight;
   \                     Probe_JoyRight:
   \   00000002                      DS8 1
     95          volatile  CPU_BOOLEAN   Probe_JoyUp;
   \                     Probe_JoyUp:
   \   00000003                      DS8 1
     96          volatile  CPU_BOOLEAN   Probe_JoyDown;
   \                     Probe_JoyDown:
   \   00000004                      DS8 1
     97          volatile  CPU_BOOLEAN   Probe_JoyCenter;
   \                     Probe_JoyCenter:
   \   00000005                      DS8 1
   \   00000006                      DS8 2
   \   00000008                      DS8 4
   \                     Probe_Counts:
   \   0000000C                      DS8 4
   \   00000010                      DS8 4
   \   00000014                      DS8 4
   \   00000018                      DS8 4
   \   0000001C                      DS8 4
   \   00000020                      DS8 4
   \   00000024                      DS8 4
   \   00000028                      DS8 4
   \   0000002C                      DS8 4
   \   00000030                      DS8 4
   \   00000034                      DS8 4
   \   00000038                      DS8 4
   \   0000003C                      DS8 4
   \   00000040                      DS8 4

   \                                 In segment DATA_Z, align 4, align-sorted
   \                     AppLCDLine3:
   \   00000000                      DS8 24
   \   00000018                      DS8 24
   \   00000030                      DS8 24
   \   00000048                      DS8 24
   \   00000060                      DS8 24
   \   00000078                      DS8 24
   \   00000090                      DS8 24
   \   000000A8                      DS8 24

   \                                 In segment DATA_Z, align 4, align-sorted
   \                     AppLCDLine5:
   \   00000000                      DS8 24

   \                                 In segment DATA_Z, align 4, align-sorted
   \                     AppLCDLine6:
   \   00000000                      DS8 24

   \                                 In segment DATA_Z, align 2, align-sorted
     98          volatile  CPU_INT16U    Probe_ADC;
   \                     Probe_ADC:
   \   00000000                      DS8 2
     99          #endif
    100          
    101          #if (uC_PROBE_COM_MODULE   > 0) && \
    102              (PROBE_COM_SUPPORT_STR > 0)
    103          static  OS_STK          AppTaskProbeStrStk[APP_TASK_PROBE_STR_STK_SIZE];
    104          #endif
    105          
    106          #if (uC_PROBE_OS_PLUGIN    > 0) && \
    107              (uC_PROBE_COM_MODULE   > 0) && \
    108              (PROBE_COM_STAT_EN     > 0)
    109          static  CPU_FP32        Probe_RS232RxSpd;
    110          static  CPU_FP32        Probe_RS232TxSpd;
    111          static  CPU_FP32        Probe_ComRxPktSpd;
    112          static  CPU_FP32        Probe_ComTxPktSpd;
    113          static  CPU_FP32        Probe_ComTxSymSpd;
    114          static  CPU_FP32        Probe_ComTxSymByteSpd;
    115          
    116          static  CPU_INT32U      Probe_RS232RxLast;

⌨️ 快捷键说明

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