Tutorial on building/compiling a bootloader

Hello,

Is there a discription/tutorial on how to build/compile a bootloader for arduino? Something that answers questions like wich IDE to use for this?

I have the source of the MYSbootloader with a few changes for RF-channel(needs to be compiled with same channel as the gateway it connects to) and Clk freq, but i have no idea how to compile this source into a hex file.

Thanks

Most of the existing bootloaders use a CLI-based environment and "make":

  • install the C compiler (perhaps just set the path to the one used by Arduino) and make
  • start up CLI shell ("Terminal", "xterm", "Command prompt")
  • connect to the bootloader source directory.
  • type "make"