hello.cfg
来自「ucosii的实用程序」· CFG 代码 · 共 61 行
CFG
61 行
/**************************************************************************//* *//* File: DEMO.CFG Copyright (c) 1996,2000 *//* Version: 3.0 On Time Informatik GmbH *//* *//* *//* On Time /////////////----- *//* Informatik GmbH ///////////// *//* --------------------------------------------------///////////// *//* Real-Time and System Software *//* *//**************************************************************************/// Configuration file for the On Time RTOS-32 demo programs and Borland C/C++.//// This configuration file can be used for most On Time RTOS-32 demos.// It supports booting from disk or running under the Debug Monitor.//// If symbol BOOT is not defined, the program is built to run under the// control of the Debug Monitor.//// This file does not define any hardware. Regions should be defined using a// separate configuration file.//// Example://// RTLoc -DBOOT Hello demopc.cfg demo.cfg#ifsection .text // redefine some section names for BCB #define CODE .text #define DATA .data#endif#ifndef BOOT Reserve Monitor // leave room for the Debug Monitor#endifVirtual VMem 1G // the program goes hereFillRAM VMem // remap unused RAMLocate PageTable PageTable HighMem // enable pageingLocate Header Header HighMem // application headerLocate NTSection CODE VMem->HighMem // code sectionLocate NTSection DATA VMem->HighMem // data section#ifsection .tls // the following sections are not generated by all linker versions Locate NTSection .tls VMem->HighMem // TLS data section Locate NTSection .rdata VMem->HighMem // TLS directory#endifLocate Stack Stack VMem 16k // 16k stackLocate Heap Heap VMem // and the rest for the heapLocate DecompCode Expand HighMem // include decompression code and dataLocate DecompData ExBuffer HighMemLocate Copy PageTable HighMem // compress everythingLocate Copy CODE HighMem // dittoLocate Copy DATA HighMem // ditto
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?