56 lines
1.2 KiB
Plaintext
56 lines
1.2 KiB
Plaintext
; --------------------------------------------------------------------------------
|
|
; @Title: uC/OS-III Demo for TRACE32 OS Awareness
|
|
; @Description: This batchfile demonstrates the OS Awareness for uC/OS-III.
|
|
; @Keywords: awareness, RTOS, ucos-iii
|
|
; @Author: DIE
|
|
; @Chip: Cortex-M3
|
|
; @Copyright: (C) 1989-2022 Lauterbach GmbH, licensed for use with TRACE32(R) only
|
|
; --------------------------------------------------------------------------------
|
|
; $Id: ucos3.cmm 18850 2022-01-26 18:41:29Z bschroefel $
|
|
|
|
|
|
SCREEN.ON ; all messages are displayed
|
|
AREA.RESet
|
|
WinPAGE.RESet
|
|
WinCLEAR
|
|
WinPOS 0. 26. 63. 7. 0. 0. W006
|
|
AREA.view
|
|
|
|
; Debugger reset
|
|
|
|
PRINT "resetting..."
|
|
RESet
|
|
|
|
; Initializing Debugger
|
|
|
|
PRINT "initializing..."
|
|
SYStem.CPU CortexM3
|
|
SYStem.Up
|
|
|
|
; Load sample application
|
|
|
|
PRINT "loading sample application..."
|
|
Data.LOAD.Elf uCOS-III-Ex3.out
|
|
sYmbol.CLEANUP ; necessary to remove empty type declarations
|
|
|
|
; Initialize RTOS support
|
|
|
|
PRINT "initializing uC/OS-III support..."
|
|
TASK.CONFIG ~~/demo/arm/kernel/ucos-iii/ucos3.t32 ; load uC/OS-II Awareness
|
|
|
|
; Open some windows
|
|
|
|
WinPOS 0. 0. 73. 22. 11. 1. W001
|
|
List.auto
|
|
|
|
WinPOS 63. 15. 60. 11. 0. 1. W003
|
|
TASK.TASK
|
|
|
|
; Start application
|
|
|
|
Go main
|
|
|
|
PRINT "done."
|
|
|
|
|