How to use 328PB as a Arduino uno?

Thank you, Ron! I have looked into your schematic and Makefile. I believe you are SPI to download hex file without the bootloader to your chip. It makes sense to skip the FTDI download process with a tested program. But, I have to use the board for tests as well...