Closed SandeepKel closed 2 years ago
I think you want CFLAGS added to your link command as well; it might need stuff that is part of the "pack." (although normally the bootloader build goes to avoid linking in the standard startup code via -nostartfiles, so this might not be your only problem.)
Hey WestFW, thank you for your comments, the build is successful after adding the CFLAGS while linking.
Trying to build the project for Atmega328pb with custom bootloader.
The build works correctly with built-in makefile, the moment i redirect to custom make file, it fails to build attached error and make file for your reference Makefile.txt .