 #include <CATutil.h>
 #include <IcomCAT.h>
 
+#if defined (__AVR__)
 /**
  * From SoftwareSerialExample:
  

  Serial.begin(UART_BAUD_RATE);
  Serial << F("CATtransv: starting ...") << endl;

  Serial << F("Free SRAM: ");
  Serial.println(availableMemory());
#endif // DEBUG

  // set the data rate for the SoftwareSerial port(s)
  Serial1.begin(9600);
  //Serial2.begin(9600);
}

/** Return true if the frequency is in the desired range. */

  return (int) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval); 
#endif
}
#endif // (__AVR__)

// code snippet for XXX specific code fragment
#if defined(CORE_TEENSY) || defined(__AVR__) || defined(__ARM__)
// ...
#endif
