Does anybody know how to adapt C-files composed under TASKING to be used with KEIL? There are some differences in certain operators. It seems that such a soft should exist? Michael.
I'd probably just do search/replace operations on the files. It can't be that different, can it? - Mark
Does anybody know how to adapt C-files composed under TASKING to be used with KEIL? There are some differences in certain operators. It seems that such a soft should exist? Tasking has such a document on their web site. However, it is so old that it is probably unusable. The URL is: http://www.tasking.com/support/C166-ST10/a1902_02.pdf The document mentioned refers to Tasking V5.0 and Keil V2.60. Currently, V4.06 is what Keil ships. Keil Support
I think it isn't a only a copy&paste | crop job :) I've used the file provided from TASKING (a1902_02.pdf) And more problems running on. Like that; #pragma romstring and re arranging the lines like that code BYTE *code right_positions[] /*Keil*/ rom BYTE *rom right_positions[] /*Tasking*/ OR char code* idata menulf_data; /*Keil*/ rom char *idat menulf_data; /*Tasking*/ Any Idea?
Are you saying that the task is beyond what a sed, awk, or perl (etc.) script could auto-edit for you to perform the conversion? I guess, what exactly, are you asking for ideas about?
This is why I recommend that you should always encapsulate all your compiler dependencies in #defines. Then, you know that you have only one file to modify if you change compilers!
This is why I recommend that you should always encapsulate all your compiler dependencies in #defines Everybody does that, don't they? Erik
"Everybody does that, don't they?" Only after they've finished tending to their aerobatic pigs...!! ;-)
Unfortunately not; eg, see http://www.keil.com/forum/docs/thread2836.asp