Skip to content

Add MKRFox1200 support to SDU (and rebuild for all boards) #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libraries/SDU/extras/SDUBoot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ mkdir -p "$OUTPUT_PATH"
buildSDUBootSketch "arduino:samd:arduino_zero_edbg" "$OUTPUT_PATH/zero.h"
buildSDUBootSketch "arduino:samd:mkr1000" "$OUTPUT_PATH/mkr1000.h"
buildSDUBootSketch "arduino:samd:mkrzero" "$OUTPUT_PATH/mkrzero.h"
buildSDUBootSketch "arduino:samd:mkrfox1200" "$OUTPUT_PATH/mkrfox1200.h"
2 changes: 2 additions & 0 deletions libraries/SDU/src/SDU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ unsigned char sduBoot[0x4000] = {
#include "boot/mkr1000.h"
#elif defined(ARDUINO_SAMD_MKRZERO)
#include "boot/mkrzero.h"
#elif defined(ARDUINO_SAMD_MKRFox1200)
#include "boot/mkrfox1200.h"
#else
#error "Unsupported board!"
#endif
Expand Down
824 changes: 412 additions & 412 deletions libraries/SDU/src/boot/mkr1000.h

Large diffs are not rendered by default.

1,192 changes: 1,192 additions & 0 deletions libraries/SDU/src/boot/mkrfox1200.h

Large diffs are not rendered by default.

824 changes: 412 additions & 412 deletions libraries/SDU/src/boot/mkrzero.h

Large diffs are not rendered by default.

939 changes: 459 additions & 480 deletions libraries/SDU/src/boot/zero.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ SECTIONS
{
__text_start__ = .;

KEEP(*(.sketch_boot))

. = ALIGN(0x2000);
KEEP(*(.isr_vector))
*(.text*)

Expand Down