Download User Manual - v8.8 C166/ST10 C Compiler
Transcript
Run−time Environment In the startup file the following preprocessor symbols are used (please also review cstartx.asm or cstartx2.asm ): EX_AB Must be enabled (set to 1) if the C library function exit() or abort() is called by the application. Otherwise it must be cleared (set to 0). Default cleared, because the total code size is increased, due to assumptions about buffered file I/O, which must be flushed at exit. _EXT2 Must be enabled (set to 1) when a XC16x/Super10 architecture (ext2) needs to be initialized. It must be cleared (set to 0) when a C16x/ST10 architecture needs to be initialized. BIT_INIT Must be enabled (set to 1) if initialized bit variables (bit b = 1;) are used, so the initialization is done at startup. Non−initialized bit variables are always set to 0. Default set to 0, because initialized bit variables are very seldom used and rather expensive in both ROM space and execution time during startup. Therefore, if possible, initialized bit variables should be avoided. NOBITCLEAR When set, skips clearing of the bitaddressable RAM. EVA Must be enabled (set to 1) when using the ROM/RAM monitor on evaluation boards as execution environment. Needed to force the tiny model to execute with the CPU segmentation enabled and to prevent the startup code to clear the bit−addressable area, which contains monitor data. It also starts the application with interrupts enabled and provides CrossView Pro with information about the configuration when the C167 is used. Default enabled. _CPU Must be set when one of the following processoris used: 165−UTAH (165Utah), 167CS−40 (167CS40), SDA6000 (sda6000). Set the _CPU symbol to the appropriate value mentioned between brackets. If none of these derivatives is used then _CPU does not need to be set. _USRSTACK Must be enabled (set to 1) to support the user stack model. Default disabled. See section 3.2.2, User Stack Model for more details. • • • • • • • • 7−5
Related documents
C166S v2 Architecture Overview Handbook
ST10F27X firmware development getting started with tasking ST10
Case Department of Occupational and Environmental Safety
"user manual"
Enhanced Interrupt Handling of the XC2000 / XE166 Family
C165 / C167 AP16032
Introduction To The C Language
C166/ST10 CrossView Pro Debugger User`s Manual
seisan - Centro de Geociencias ::.. UNAM
PDF document - Eetasia.com
C166/ST10 CrossView Pro Debugger User`s Manual
User Manual - v8.8 Cross-Assembler, Linker/Locator, Utilities