I have read on the forum many times to build the application and bootloader in separate projects. Following that approach I realized if (application)app.hex and (bootloader)boot.hex are built independent of each other, when generating code for app.hex how would the complier know that don't write beyond this memory address (0x03FBFF) ? Because after this the bootloader is stored.
Is there a way or some setting that I can do, so I tell the compiler that only use memory upto 0x03FBFF and if my C code starts taking memory beyond this, warn me or throw an error.
Of course I can look at Program Memory Usage after building, but I need the complier to tell me in some way.