Board files for Ameta328 and USBASP?

Hello,

I have some QNF Atemga328 chips with the bootloader pre installed. I hooked up my USBASP but I am not sure which option to select for "boards" Where do I get the 328 libraries and how do I install them? Ive been searching around without luck.

Thanks for the help!

Are they ATmega328, or ATmega328P?

Do you have a crystal or resonator connected to the chip, or are you going to run it off the internal oscillator?

Either part in any configuration is supported by the excellent MiniCore:

but if you are using a common configuration (e.g., ATmega328P @ 16 MHz), you can use one of the board definitions for the standard Arduino boards without needing MiniCore.