-mds390 now uses --flat-model24 and --stack-10bit by default
[fw/sdcc] / src / SDCCmain.c
index c455429c45cda19eecdfc0db65aa083ec9a42364..ed2bfc0cf859d4278bee0b9da6038a1d55279a35 100644 (file)
@@ -189,6 +189,10 @@ _setPort (const char *name)
       if (!strcmp (_ports[i]->target, name))
        {
          port = _ports[i];
+         if (strcmp(name,"ds390")==0) {
+           options.model=MODEL_FLAT24;
+           options.stack10bit=1;
+         }
          return 0;
        }
     }