Support for special directives for MC9S08DZ60ACLH on IDE 11.1 - @tiny and Bit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Support for special directives for MC9S08DZ60ACLH on IDE 11.1 - @tiny and Bit

767件の閲覧回数
lslonim
Contributor II

I am supporting old code for the MC9S08DZ60ACLH. IDE version 11.1 is the last one that supports that processor so that's what I'm using, per NXP support. The old code uses "bit" as a data type, and "@tiny" as an attribute. This IDE doesn't know what they mean. Can someone give me an idea how to work around those two? I filed a support case a week ago about this and nothing happened.

Thanks for any assistance,

Lloyd Slonim

extern bit flg_test_failed;

extern word @tiny bg_tmp; /* used to assure background word accesses to data used in interrupts are atomic (avoid interrupt disable time) */

 

1 返信

735件の閲覧回数
Pablo_Ramos
NXP Employee
NXP Employee

Hi,

The attribute "@tiny" and the data type bit is normally used on Cosmic compiler.

Cosmic Software - Products

Strict ANSI-C/C++ code can be ported without any modifications. Non ANSI-C keywords and pragmas are different or have different semantics

I recommend the technical note TN234 for further information regarding how to port Cosmic to CodeWarrior

Technical Note