Skip to content
Success

Changes

Summary

  1. bl updater app (details)
Commit 4a6559450206780a0c4d94f66f6c5c9c4a234cad by ewild
bl updater app

This builds a second binary that will be flashed like the main firmware
and will then update the bootloader, just like the st2. It additionaly
aligns the cmsis + config with the main app, and ensures the hw is
mostly completely initalized before the main app starts, which allows
skipping the init in the main fw.

Main changes:
* bl freq 12/48Mhz -> 120Mhz
* ext 32khz disabled
* "proper" init time for xosc
* no usb init unless DFU mode is actually used
* errata 2.13.1 clock init/lock fixups
* no guessing according to f++&%! bootprog flags where the main app is

Change-Id: I1403d35497cdea41ea5bed2c94b9e729ca352772
The file was modifiedhpl/core/hpl_core_m4.c
The file was modifiedusb_dfu_main.c
The file was modifiedatmel_start.c
The file was modifiedatmel_start_pins.h
The file was modifiedhpl/oscctrl/hpl_oscctrl.c
The file was modifiedusb_start.c
The file was modifiedgcc/Makefile
The file was modifiedconfig/hpl_oscctrl_config.h
The file was modifiedconfig/hpl_gclk_config.h
The file was addedhpl/sercom/hpl_sercom.c
The file was addedusb_flash_main.c
The file was addedCMSIS/Include/cmsis_version.h
The file was modifiedconfig/hpl_cmcc_config.h
The file was modifiedconfig/hpl_osc32kctrl_config.h
The file was modifiedconfig/peripheral_clk_config.h
The file was modifiedgcc/system_same54.c
The file was addedconfig/hpl_rtc_config.h
The file was addedconfig/hpl_sercom_config.h