user32126: Recently I was checking out the Atmel's AVR series and I found the Atmega328PB. I am really familiar with Arduino's environment. So I thought if somehow we could bootloader it with Arduino bootloader. My doubt is how can I make a Arduino bootloader for it.

user26916: Here are a couple sources of ATmega328PB bootloaders based on optiboot:

https://github.com/watterott/ATmega328PB-Testing
https://github.com/ElektorLabs/Arduino

I haven't used either.
If you are set on making your own at least they can provide you with a reference.

32126: <p>Recently I was checking out the Atmel's AVR series and I found the Atmega328PB. I am really familiar with Arduino's environment. So I thought if somehow we could bootloader it with Arduino bootloader. My doubt is how can I make a Arduino bootloader for it.</p>
 26916: <p>Here are a couple sources of ATmega328PB bootloaders based on optiboot:</p>

<ul>
<li><a href="https://github.com/watterott/ATmega328PB-Testing" rel="nofollow noreferrer">https://github.com/watterott/ATmega328PB-Testing</a></li>
<li><a href="https://github.com/ElektorLabs/Arduino" rel="nofollow noreferrer">https://github.com/ElektorLabs/Arduino</a></li>
</ul>

<p>I haven't used either.
If you are set on making your own at least they can provide you with a reference.</p>
