lib: Update samd21 code with local changes

A minor change is necessary to work with GCC's -flto and to work with
common bootloaders.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-07-27 19:21:02 -04:00
parent 5633e6c249
commit 71db5fbe31
4 changed files with 31 additions and 3 deletions

View File

@@ -21,7 +21,9 @@ compile with gcc's LTO feature. See sam3x.patch for the modifications.
The samd21 directory contains code from the
Atmel.SAMD21_DFP.1.3.304.atpack zip file found at:
http://packs.download.atmel.com/
version 1.3.304 (extracted on 20180725).
version 1.3.304 (extracted on 20180725). It has been modified to
compile with gcc's LTO feature and to work with chips that have a
bootloader. See samd21.patch for the modifications.
The lpc176x directory contains code from the mbed project:
https://github.com/ARMmbed/mbed-os