Hi All
To define project compilation model as large, will the folowing change to statement in "xxx.m51" file work ?
"MEMORY MODEL: SMALL" to "MEMORY MODEL: LARGE"
since i am using si-labs IDE and compiler of keil(there is no direct option for this setting).
Also using oh51 (from keil) to convert "xxx.m51"(generated by using si-labs IDE and keil compiler) to hex but oh51 was generating error "Unknown record type 42" when "xxx.m51" file was provided to it as input.
has any one tried to get hex file with si-labs IDE and keil-compiler ?
Thanks Naresh
"will the folowing change to statement in "xxx.m51" file work ?
"MEMORY MODEL: SMALL" to "MEMORY MODEL: LARGE""
No, it will not!
The .m51 file is an output file - it is the BL51 Linker listing file: http://www.keil.com/support/man/docs/uv3/uv3_b_filetypes.htm
"i am using si-labs IDE "
In that case, you need to ask SiLabs!
"and compiler of keil"
Keil's compiler will work as described in Keil's documentation: http://www.keil.com/support/man/docs/c51/c51_large.htm
You just need to find how the SiLabs IDE allows you to pass directives to the compiler command line; failing that, you can always put a #pragma in the source file(s).
"oh51 was generating error "Unknown record type 42" when "xxx.m51" file was provided to it as input."
See above - xxx.m51 is not an object file!