Compiler options
Posted: Sun Dec 09, 2012 11:18 am
Hello
Using FC4 with 18F device. Something i noticed which is not in any manual etc is that
even though i have selected 18F device as the processor, the compiler options remain
set as "pic16" type. Should it not be set to "pic18" type? Seems logical that there are
are obvious differences with the two types of compiler, namely org of code, int vectors etc.
Reason i ask is i am getting strange results using fmul float type function. The return
value is not what is expected.
Also in the BoostC manual there is no reference to float data types and functions. I was
thinking of inserting a C icon to use their float functions directly....but alas its like looking
for an easter egg
Thanx
Mark
Using FC4 with 18F device. Something i noticed which is not in any manual etc is that
even though i have selected 18F device as the processor, the compiler options remain
set as "pic16" type. Should it not be set to "pic18" type? Seems logical that there are
are obvious differences with the two types of compiler, namely org of code, int vectors etc.
Reason i ask is i am getting strange results using fmul float type function. The return
value is not what is expected.
Also in the BoostC manual there is no reference to float data types and functions. I was
thinking of inserting a C icon to use their float functions directly....but alas its like looking
for an easter egg
Thanx
Mark