read.me

来自「HAL硬件抽象层源码」· ME 代码 · 共 76 行

ME
76
字号
uC/OS-II, The Real-Time Kernel


Hynix Semiconductor Inc. 2003. 11 by lebych

Target Processor: ARM7TDMI
Target Platform:  HMS39C7092 EVALUATION BOARD

Operating speed   : 50MHz without Cache
Internal Flash ROM: 192KB
Internal SRAM     : 4KB
External SRAM     : 512KB (16bit, HY62U8200B x 2)

Peripheral used:
	UART 1 channel
	LED 1 EA (P75)

Compiler & Development Environment

	ARM SDT 2.51
	winIDEA 9.3
	

* This version of uHAL is base on PID board uHAL source code from ARM and ARM Firmware suite 1.0
* For more detail about this product please contact Hynix semiconductor distributer.
* Technical support dept. for HMS39C7092 : byungchul.lee@hynix.com


Files and lines to modify this code for other systems:


platform.h:

	#define	SYSTEM_CLOCK		50000000
	
	#define uHAL_HEAP_BASE      0x00042000
	#define uHAL_HEAP_SIZE      (SZ_16K+SZ_32K)
	#define uHAL_STACK_BASE     0x00048000
	#define uHAL_STACK_SIZE     SZ_32K
	
	#define uHAL_MEMORY_SIZE	(SZ_256K+SZ_64K)

	#define RAM_BASE			0x00040000
	#define RAM_SIZE			SZ_64K
	
platform.s

	SYSTEM_CLOCK		EQU		50000000

	uHAL_HEAP			EQU		1
	uHAL_HEAP_BASE		EQU		0x00042000
	uHAL_HEAP_SIZE		EQU		(SZ_16K+SZ_32K)
	uHAL_STACK_BASE		EQU		0x00048000
	uHAL_STACK_SIZE		EQU		SZ_32K

	uHAL_MEMORY_SIZE	EQU		(SZ_256K+SZ_64K)
	
	RAM_BASE			EQU		0x00040000
	RAM_SIZE			EQU		0x00010000

except_h.h

	UserStackSize	EQU	0x3E00
	SVCStackSize	EQU	0x2000
	IRQStackSize	EQU	0x2000
	UndefStackSize	EQU	0x0200
	;/* Not currently used, but defined anyway */
	FIQStackSize	EQU	0x400
	AbortStackSize	EQU	0x400





	

⌨️ 快捷键说明

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