Arduino zero boot loader for SAMD21G18A

Hello,

I am trying to modify the boot-loader developed for ATMEL SAMD21G18A by the community for my development.

I am facing couple of issues and I need help from the community in this regard

  1. I downloaded example source code of boot loader from ArduinoCore-samd/bootloaders/zero at master · arduino/ArduinoCore-samd · GitHub

  2. I installed ATMEL STUDIO 6.2 and tried to run the Makefile from the example code. However, I am facing build issues. I tried to modify the build path but I am still not able to resolve build issues. I would like to know how to build this example program provided by community. What tools I need to install to make this example working?

Thanks for your support in advance.

Best Regards,
E3Core Team

Hello,

I resolved this issue by providing correct path in Makefile. Request you to fix this issue in the next release of Arduino sketch.

ARM_GCC_PATH=$(IDE_PATH)/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin

CC=$(ARM_GCC_PATH)/arm-none-eabi-gcc

INCLUDES=-I$(IDE_PATH)/tools/CMSIS/4.0.0-atmel/CMSIS/Include/ -I$(IDE_PATH)/tools/CMSIS/4.0.0-atmel/Device/ATMEL/ -I./drivers/ -I./utils/ -I./utils/preprocessor/ -I./utils/interrupt

Best Regards,
E3Core Team

Hi,

I'm trying to build the bootloader. Could you please tell me exactly how you did it?

Thanks!

I can't even find a link to download the build files from ArduinoCore-samd/bootloaders/zero at master · arduino/ArduinoCore-samd · GitHub.

Is there supposed to be a link to a zip file or something on the webpage above?

You have to download the whole core : GitHub - arduino/ArduinoCore-samd: Arduino Core for SAMD21 CPU
With Atmel Studio there is an extension that let you use external Makefile to load a project, but it seems incomplete when I try it with the Zero bootloader... That's why I'm asking for help here.