readme.txt

来自「arm7的源代码」· 文本 代码 · 共 33 行

TXT
33
字号
Semihosting version of dhrystone for the ARM966E-S - debug tools must be attached.

The scatter description file matches the memory map of the Integrator CM966.
Therefore this code will run unmodified on either ARMulator or Integrator.
Scatter file is used to locate the stack, and heap.


Note: a minimum TCM size of 64KB is assumed - if smaller TCMs are present, then the code will need modification.

InitTCM.s   - entry point for this image
            - enables the TCMs
            - calls __main

retarget.c  - provides a re-implementation of __user_initial_stackheap
            - patches main to enable the caches and Integrator core clock
            - default core clock frequency can be changed from here


The example may be built from the supplied makefile - this has been used to generate
the four batch file build options.

Four build options are provided:

buildTCM.bat - enables the TCMs and relocates all code and data into the TCMs
             - This option gives maximum performance and demonstrates the use
             - of TCMs and the placing of objects into TCMs by scatterloading

build.bat    - TCMs not enabled - instruction and data accessed from AHB bus

build_clock.bat and buildTCM_clock.bat duplicate the above builds but also incorporate 
code to set an Integrator Core Module core clock frequency (-DSET_CLCK).

⌨️ 快捷键说明

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