-/* uLisp AVR Version 2.9b - www.ulisp.com
-   David Johnson-Davies - www.technoblogy.com - 25th September 2019
+/* uLisp AVR Version 2.9c - www.ulisp.com
+   David Johnson-Davies - www.technoblogy.com - 2nd October 2019
 
    Licensed under the MIT license: https://opensource.org/licenses/MIT
 */

  if (!(pin>=0 && pin<=15)) error(ANALOGREAD, invalidpin, number(pin));
#elif defined(__AVR_ATmega1284P__)
  if (!(pin>=0 && pin<=7)) error(ANALOGREAD, invalidpin, number(pin));
#elif defined(__AVR_ATmega4809__)
  if (!(pin>=14 && pin<=21)) error(ANALOGREAD, invalidpin, number(pin));
#elif defined(__AVR_ATtiny3216__)

#define SYMBOLTABLESIZE 512             /* Bytes */

#elif defined(ARDUINO_AVR_NANO_EVERY)
#define WORKSPACESIZE 1068-SDSIZE       /* Objects (4*bytes) */
#define EEPROMSIZE 256                  /* Bytes */
#define SYMBOLTABLESIZE BUFFERSIZE      /* Bytes - no long symbols */

#elif defined(ARDUINO_AVR_ATmega4809)   /* Curiosity Nano using MegaCoreX */
#define Serial Serial3
#define WORKSPACESIZE 1068-SDSIZE       /* Objects (4*bytes) */
#define EEPROMSIZE 256                  /* Bytes */
#define SYMBOLTABLESIZE BUFFERSIZE      /* Bytes - no long symbols */

#define WORKSPACESIZE 1068-SDSIZE       /* Objects (4*bytes) */
#define EEPROMSIZE 256                  /* Bytes */
#define SYMBOLTABLESIZE BUFFERSIZE      /* Bytes - no long symbols */
