Echelon Neuron C User Manual

Page 41

Advertising
background image

Neuron C Reference Guide

21

#pragma app_buf_in_size

size

[

, modifier

]

See

Allocating Buffers

in Chapter 8,

Memory Management,

of the

Neuron C

Programmer’s Guide

for detailed information on this pragma and its use.

This directive is not supported in model files.

#pragma app_buf_out_count

count

[

, modifier

]

See

Allocating Buffers

in Chapter 8,

Memory Management,

of the

Neuron C

Programmer’s Guide

for detailed information on this pragma and its use.

This directive is not supported in model files.

#pragma app_buf_out_priority_count

count

[

, modifier

]

See

Allocating Buffers

in Chapter 8,

Memory Management,

of the

Neuron C

Programmer’s Guide

for detailed information on this pragma and its use.

This directive is not supported in model files.

#pragma app_buf_out_size

size

[

, modifier

]

See

Allocating Buffers

in Chapter 8,

Memory Management,

of the

Neuron C

Programmer’s Guide

for detailed information on this pragma and its use.

This directive is not supported in model files.

#pragma codegen

option

This pragma allows control of certain features in the compiler’s code

generator. Application timing and code size could be affected by use of these
directives. The valid

option

s that can be specified are:

cp_family_space_optimization

create_cp_value_files_uninit

expand_stmts_off

expand_stmts_on

no_cp_template_compression

no16bitstkfn

nofastcompare
noptropt

noshiftopt

nosiofar

optimization_off

optimization_on

put_cp_template_file_in_data_memory
put_cp_template_file_offchip

put_cp_value_files_offchip
put_read_only_cps_in_data_memory

use_i2c_version_1
Some of these options are provided for compatibility with prior releases of the
Neuron C Compiler. The no16bitstkfn, nofastcompare, noptropt, and

noshiftopt options disable various optimizations in the compiler. The

nosiofar option is provided for Neuron firmware versions that include the
serial I/O functions in the near system-call area. In addition, the

cp_family_space_optimization, no_cp_template_compression,

optimization_off, and optimization_on options perform code optimizations;
use the #pragma optimization directive instead.

Advertising