8.3.1 Atmel Studio Settings
The compiler, linker, and assembler setting, shown below are required while configuring for a specific device in Atmel Studio.
- Bootloader start address .text (refer to Table 8-1) has to be defined in the linker setting for linking the code to the bootloader start address (as shown in the figure below). Start address should be given as byte address (multiplying word address by 2). For e.g., if bootloader word address of ATmega328PB is 0x3C00, corresponding byte would be 0x3C00 * 2 = 0x7800.
- Optimization Settings (as shown in the figure below).
- Other Linker Settings (as shown in the figure below).