I believe I got this number from this spec https://ww1.microchip.com/downloads/en/devicedoc/atmel-2549-8-bit-avr-microcontroller-atmega640-1280-1281-2560-2561_datasheet.pdf on page 101
On Fri, Nov 22, 2019 at 7:28 PM Aleksandar Markovic <aleksandar.m.m...@gmail.com> wrote: > > > +#ifndef CONFIG_USER_ONLY > > + /* Set the number of interrupts supported by the CPU. */ > > + qdev_init_gpio_in(DEVICE(cpu), avr_cpu_set_int, 57); > > +#endif > > Can you please, Michael, explain to me the origin of number "57" here? > > Thanks, Aleksandar -- Best Regards, Michael Rolnik