SMAC use

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SMAC use

1,907 Views
ILEY
Contributor I
HI,
 
May you tell me how to use SMAC_13192xxx_4_1a.lib into NEW processor Expert Project?
Or how to add floating point support to existing example project "SimpleNetwork" (SMAC), without create a new project?
 
Its CRITICAL
Thanks a lot
Labels (1)
0 Kudos
Reply
1 Reply

387 Views
CrasyCat
Specialist III

Hello

Basically do the following
   - Determine which precision you need for your floating point operation. Basically HC08 compiler allows you to select between 32-bit or 64-bit representation for double. If 32-bit is enough  I would recommend adding the option -Fd to your compiler command line
   - If you have the option -D__NO_FLOAT__ in your compiler command line, remove it
   - Then remove the ANSI library file from your project (ansi*.lib)
   - Open the file {Install}\lib\hc08c\README.TXT and check which is the new library file you need to use.
     This file provides you information on which file to use according on your current compiler option.
   - Add the appropriate ANSI library file to your project. 

That should do it

CrasyCat

0 Kudos
Reply