Uploading Bin file

Hi LucaTudor,

Do i modify
Code: [Select]

mzero_bl.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld

, to point to
the linker script without bootloader. And what about the other entries.

Yes that's right, you just need to change the linker script file in the "boards.txt" file.

The only difference between the "flash_with_bootloader.ld" and "flash_without_bootloader.ld" linker scripts, are that the flash with bootloader script reserves the first 8K of flash memory and starts at address 0x2000 (8192 bytes or 8KB in decimal), whereas flash without bootloader starts at 0x0000.

The command lines used by the Arduino IDE for the compiler and linker can be found in the "platform.txt" file.