📄 retarget.lst
字号:
###############################################################################
# #
# 10/Jun/2008 15:10:57 #
# IAR ARM ANSI C/C++ Compiler V5.11.0.20622/W32 EVALUATION #
# Copyright 1999-2007 IAR Systems. All rights reserved. #
# #
# Cpu mode = thumb #
# Endian = little #
# Source file = E:\ELE\yten\pro\Retarget.c #
# Command line = E:\ELE\yten\pro\Retarget.c -lcN #
# E:\ELE\yten\pro\Debug\List\ -o #
# E:\ELE\yten\pro\Debug\Obj\ --debug --endian little #
# --cpu Cortex-M3 -e --fpu None --dlib_config #
# D:\IARARM\ARM\INC\DLib_Config_Normal.h -I #
# E:\ELE\yten\pro\ -I E:\ELE\yten\pro\..\LIBRARY\INC\ -I #
# D:\IARARM\ARM\INC\ -Oh #
# List file = E:\ELE\yten\pro\Debug\List\Retarget.lst #
# Object file = E:\ELE\yten\pro\Debug\Obj\Retarget.o #
# #
# #
###############################################################################
E:\ELE\yten\pro\Retarget.c
1 /******************************************************************************/
2 /* RETARGET.C: 'Retarget' layer for target-dependent low level functions */
3 /******************************************************************************/
4 /* This file is part of the uVision/ARM development tools. */
5 /* Copyright (c) 2005-2007 Keil Software. All rights reserved. */
6 /* This software may only be used under the terms of a valid, current, */
7 /* end user licence from KEIL for a compatible version of KEIL software */
8 /* development tools. Nothing else gives you the right to use this software. */
9 /******************************************************************************/
10
11 #include <stdio.h>
12 #include <rt_misc.h>
13
14 #pragma import(__use_no_semihosting_swi)
15
16
17 extern int SendChar (int ch); /* In Serial.c */
18
19
20 //struct __FILE { int handle; /* Add whatever you need here */ };
21 //FILE __stdout;
22
23
24 //int fputc (int ch, FILE *f) { return (SendChar(ch)); }
25
26 //int ferror (FILE *f) {
27 /* Your implementation of ferror */
28 // return EOF;
29 //}
30
31 void _ttywrch (int ch) { SendChar(ch); }
32
33
34 void _sys_exit (int return_code) { for (;;); }
Maximum stack usage in bytes:
Function .cstack
-------- -------
_sys_exit 0
_ttywrch 8
Section sizes:
Function/Label Bytes
-------------- -----
_ttywrch 8
??_sys_exit_0 2
10 bytes in section .text
10 bytes of CODE memory
Errors: none
Warnings: 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -