diff --git a/.gdbinit b/.gdbinit
index 782f9c256..676e54df9 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,7 +1,6 @@
tar rem:3333
file wolfboot.elf
-#add-symbol-file test-app/image.elf
-add-symbol-file /home/dan/src/wolfboot/IDE/MPLabX/wolfBoot_usbUpdateApp.X/dist/default/production/wolfBoot_usbUpdateApp.X.production.elf
+add-symbol-file test-app/image.elf
foc c
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/Makefile b/IDE/MPLabX/wolfBoot-SAME51.X/Makefile
deleted file mode 100644
index fca8e2ccd..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/Makefile
+++ /dev/null
@@ -1,113 +0,0 @@
-#
-# There exist several targets which are by default empty and which can be
-# used for execution of your targets. These targets are usually executed
-# before and after some main targets. They are:
-#
-# .build-pre: called before 'build' target
-# .build-post: called after 'build' target
-# .clean-pre: called before 'clean' target
-# .clean-post: called after 'clean' target
-# .clobber-pre: called before 'clobber' target
-# .clobber-post: called after 'clobber' target
-# .all-pre: called before 'all' target
-# .all-post: called after 'all' target
-# .help-pre: called before 'help' target
-# .help-post: called after 'help' target
-#
-# Targets beginning with '.' are not intended to be called on their own.
-#
-# Main targets can be executed directly, and they are:
-#
-# build build a specific configuration
-# clean remove built files from a configuration
-# clobber remove all built files
-# all build all configurations
-# help print help mesage
-#
-# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
-# .help-impl are implemented in nbproject/makefile-impl.mk.
-#
-# Available make variables:
-#
-# CND_BASEDIR base directory for relative paths
-# CND_DISTDIR default top distribution directory (build artifacts)
-# CND_BUILDDIR default top build directory (object files, ...)
-# CONF name of current configuration
-# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration)
-# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration)
-# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration)
-# CND_PACKAGE_DIR_${CONF} directory of package (current configuration)
-# CND_PACKAGE_NAME_${CONF} name of package (current configuration)
-# CND_PACKAGE_PATH_${CONF} path to package (current configuration)
-#
-# NOCDDL
-
-
-# Environment
-MKDIR=mkdir
-CP=cp
-CCADMIN=CCadmin
-RANLIB=ranlib
-
-
-# build
-build: .build-post
-
-.build-pre:
-# Add your pre 'build' code here...
-
-.build-post: .build-impl
-# Add your post 'build' code here...
-
-
-# clean
-clean: .clean-post
-
-.clean-pre:
-# Add your pre 'clean' code here...
-# WARNING: the IDE does not call this target since it takes a long time to
-# simply run make. Instead, the IDE removes the configuration directories
-# under build and dist directly without calling make.
-# This target is left here so people can do a clean when running a clean
-# outside the IDE.
-
-.clean-post: .clean-impl
-# Add your post 'clean' code here...
-
-
-# clobber
-clobber: .clobber-post
-
-.clobber-pre:
-# Add your pre 'clobber' code here...
-
-.clobber-post: .clobber-impl
-# Add your post 'clobber' code here...
-
-
-# all
-all: .all-post
-
-.all-pre:
-# Add your pre 'all' code here...
-
-.all-post: .all-impl
-# Add your post 'all' code here...
-
-
-# help
-help: .help-post
-
-.help-pre:
-# Add your pre 'help' code here...
-
-.help-post: .help-impl
-# Add your post 'help' code here...
-
-
-
-# include project implementation makefile
-include nbproject/Makefile-impl.mk
-
-# include project make variables
-include nbproject/Makefile-variables.mk
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/defmplabxtrace.log b/IDE/MPLabX/wolfBoot-SAME51.X/defmplabxtrace.log
deleted file mode 100644
index e69de29bb..000000000
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/defmplabxtrace.log.inx b/IDE/MPLabX/wolfBoot-SAME51.X/defmplabxtrace.log.inx
deleted file mode 100644
index 29197e3a8..000000000
Binary files a/IDE/MPLabX/wolfBoot-SAME51.X/defmplabxtrace.log.inx and /dev/null differ
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-default.mk b/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-default.mk
deleted file mode 100644
index bac60e656..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-default.mk
+++ /dev/null
@@ -1,398 +0,0 @@
-#
-# Generated Makefile - do not edit!
-#
-# Edit the Makefile in the project folder instead (../Makefile). Each target
-# has a -pre and a -post target defined where you can add customized code.
-#
-# This makefile implements configuration specific macros and targets.
-
-
-# Include project Makefile
-ifeq "${IGNORE_LOCAL}" "TRUE"
-# do not include local makefile. User is passing all local related variables already
-else
-include Makefile
-# Include makefile containing local settings
-ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk"
-include nbproject/Makefile-local-default.mk
-endif
-endif
-
-# Environment
-MKDIR=mkdir -p
-RM=rm -f
-MV=mv
-CP=cp
-
-# Macros
-CND_CONF=default
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-IMAGE_TYPE=debug
-OUTPUT_SUFFIX=elf
-DEBUGGABLE_SUFFIX=elf
-FINAL_IMAGE=${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-else
-IMAGE_TYPE=production
-OUTPUT_SUFFIX=hex
-DEBUGGABLE_SUFFIX=elf
-FINAL_IMAGE=${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-endif
-
-ifeq ($(COMPARE_BUILD), true)
-COMPARISON_BUILD=
-else
-COMPARISON_BUILD=
-endif
-
-# Object Directory
-OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
-
-# Distribution Directory
-DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
-
-# Source Files Quoted if spaced
-SOURCEFILES_QUOTED_IF_SPACED=../../../lib/wolfssl/wolfcrypt/src/wolfmath.c ../../../lib/wolfssl/wolfcrypt/src/wc_port.c ../../../lib/wolfssl/wolfcrypt/src/sp_int.c ../../../lib/wolfssl/wolfcrypt/src/sp_cortexm.c ../../../lib/wolfssl/wolfcrypt/src/sha256.c ../../../lib/wolfssl/wolfcrypt/src/hash.c ../../../lib/wolfssl/wolfcrypt/src/ge_low_mem.c ../../../lib/wolfssl/wolfcrypt/src/fe_low_mem.c ../../../lib/wolfssl/wolfcrypt/src/ecc.c ../../../lib/wolfssl/wolfcrypt/src/curve448.c ../../../lib/wolfssl/wolfcrypt/src/curve25519.c ../../../lib/wolfssl/wolfcrypt/src/asn.c ../../../hal/same51.c ../../../src/boot_arm.c ../../../src/image.c ../../../src/keystore.c ../../../src/libwolfboot.c ../../../src/loader.c ../../../src/string.c ../../../src/update_flash_hwswap.c
-
-# Object Files Quoted if spaced
-OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/_ext/1051291363/wolfmath.o ${OBJECTDIR}/_ext/1051291363/wc_port.o ${OBJECTDIR}/_ext/1051291363/sp_int.o ${OBJECTDIR}/_ext/1051291363/sp_cortexm.o ${OBJECTDIR}/_ext/1051291363/sha256.o ${OBJECTDIR}/_ext/1051291363/hash.o ${OBJECTDIR}/_ext/1051291363/ge_low_mem.o ${OBJECTDIR}/_ext/1051291363/fe_low_mem.o ${OBJECTDIR}/_ext/1051291363/ecc.o ${OBJECTDIR}/_ext/1051291363/curve448.o ${OBJECTDIR}/_ext/1051291363/curve25519.o ${OBJECTDIR}/_ext/1051291363/asn.o ${OBJECTDIR}/_ext/1386517348/same51.o ${OBJECTDIR}/_ext/1386528437/boot_arm.o ${OBJECTDIR}/_ext/1386528437/image.o ${OBJECTDIR}/_ext/1386528437/keystore.o ${OBJECTDIR}/_ext/1386528437/libwolfboot.o ${OBJECTDIR}/_ext/1386528437/loader.o ${OBJECTDIR}/_ext/1386528437/string.o ${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o
-POSSIBLE_DEPFILES=${OBJECTDIR}/_ext/1051291363/wolfmath.o.d ${OBJECTDIR}/_ext/1051291363/wc_port.o.d ${OBJECTDIR}/_ext/1051291363/sp_int.o.d ${OBJECTDIR}/_ext/1051291363/sp_cortexm.o.d ${OBJECTDIR}/_ext/1051291363/sha256.o.d ${OBJECTDIR}/_ext/1051291363/hash.o.d ${OBJECTDIR}/_ext/1051291363/ge_low_mem.o.d ${OBJECTDIR}/_ext/1051291363/fe_low_mem.o.d ${OBJECTDIR}/_ext/1051291363/ecc.o.d ${OBJECTDIR}/_ext/1051291363/curve448.o.d ${OBJECTDIR}/_ext/1051291363/curve25519.o.d ${OBJECTDIR}/_ext/1051291363/asn.o.d ${OBJECTDIR}/_ext/1386517348/same51.o.d ${OBJECTDIR}/_ext/1386528437/boot_arm.o.d ${OBJECTDIR}/_ext/1386528437/image.o.d ${OBJECTDIR}/_ext/1386528437/keystore.o.d ${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d ${OBJECTDIR}/_ext/1386528437/loader.o.d ${OBJECTDIR}/_ext/1386528437/string.o.d ${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o.d
-
-# Object Files
-OBJECTFILES=${OBJECTDIR}/_ext/1051291363/wolfmath.o ${OBJECTDIR}/_ext/1051291363/wc_port.o ${OBJECTDIR}/_ext/1051291363/sp_int.o ${OBJECTDIR}/_ext/1051291363/sp_cortexm.o ${OBJECTDIR}/_ext/1051291363/sha256.o ${OBJECTDIR}/_ext/1051291363/hash.o ${OBJECTDIR}/_ext/1051291363/ge_low_mem.o ${OBJECTDIR}/_ext/1051291363/fe_low_mem.o ${OBJECTDIR}/_ext/1051291363/ecc.o ${OBJECTDIR}/_ext/1051291363/curve448.o ${OBJECTDIR}/_ext/1051291363/curve25519.o ${OBJECTDIR}/_ext/1051291363/asn.o ${OBJECTDIR}/_ext/1386517348/same51.o ${OBJECTDIR}/_ext/1386528437/boot_arm.o ${OBJECTDIR}/_ext/1386528437/image.o ${OBJECTDIR}/_ext/1386528437/keystore.o ${OBJECTDIR}/_ext/1386528437/libwolfboot.o ${OBJECTDIR}/_ext/1386528437/loader.o ${OBJECTDIR}/_ext/1386528437/string.o ${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o
-
-# Source Files
-SOURCEFILES=../../../lib/wolfssl/wolfcrypt/src/wolfmath.c ../../../lib/wolfssl/wolfcrypt/src/wc_port.c ../../../lib/wolfssl/wolfcrypt/src/sp_int.c ../../../lib/wolfssl/wolfcrypt/src/sp_cortexm.c ../../../lib/wolfssl/wolfcrypt/src/sha256.c ../../../lib/wolfssl/wolfcrypt/src/hash.c ../../../lib/wolfssl/wolfcrypt/src/ge_low_mem.c ../../../lib/wolfssl/wolfcrypt/src/fe_low_mem.c ../../../lib/wolfssl/wolfcrypt/src/ecc.c ../../../lib/wolfssl/wolfcrypt/src/curve448.c ../../../lib/wolfssl/wolfcrypt/src/curve25519.c ../../../lib/wolfssl/wolfcrypt/src/asn.c ../../../hal/same51.c ../../../src/boot_arm.c ../../../src/image.c ../../../src/keystore.c ../../../src/libwolfboot.c ../../../src/loader.c ../../../src/string.c ../../../src/update_flash_hwswap.c
-
-# Pack Options
-PACK_COMMON_OPTIONS=-I "${DFP_DIR}/include" -I "${CMSIS_DIR}/CMSIS/Core/Include"
-
-
-
-CFLAGS=
-ASFLAGS=
-LDLIBSOPTIONS=
-
-############# Tool locations ##########################################
-# If you copy a project from one host to another, the path where the #
-# compiler is installed may be different. #
-# If you open this project with MPLAB X in the new host, this #
-# makefile will be regenerated and the paths will be corrected. #
-#######################################################################
-# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
-FIXDEPS=fixDeps
-
-.build-conf: ${BUILD_SUBPROJECTS}
-ifneq ($(INFORMATION_MESSAGE), )
- @echo $(INFORMATION_MESSAGE)
-endif
- ${MAKE} -f nbproject/Makefile-default.mk ${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-
-MP_PROCESSOR_OPTION=SAME51J20A
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: assemble
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-else
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: assembleWithPreprocess
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-else
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: compile
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-${OBJECTDIR}/_ext/1051291363/wolfmath.o: ../../../lib/wolfssl/wolfcrypt/src/wolfmath.c .generated_files/flags/default/bd08e724859c36eeb0149742e24216b6bba5d7cf .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/wolfmath.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/wolfmath.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/wolfmath.o.d" -o ${OBJECTDIR}/_ext/1051291363/wolfmath.o ../../../lib/wolfssl/wolfcrypt/src/wolfmath.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/wc_port.o: ../../../lib/wolfssl/wolfcrypt/src/wc_port.c .generated_files/flags/default/c7a7be0a8d204a83187b03757f0ce97d5a8a0679 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/wc_port.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/wc_port.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/wc_port.o.d" -o ${OBJECTDIR}/_ext/1051291363/wc_port.o ../../../lib/wolfssl/wolfcrypt/src/wc_port.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/sp_int.o: ../../../lib/wolfssl/wolfcrypt/src/sp_int.c .generated_files/flags/default/882136d26131772e7c86d37fd70e01858068da76 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/sp_int.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/sp_int.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/sp_int.o.d" -o ${OBJECTDIR}/_ext/1051291363/sp_int.o ../../../lib/wolfssl/wolfcrypt/src/sp_int.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/sp_cortexm.o: ../../../lib/wolfssl/wolfcrypt/src/sp_cortexm.c .generated_files/flags/default/ab9ad8753acd59adb0a71e3cfea19f4c5b017d60 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/sp_cortexm.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/sp_cortexm.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/sp_cortexm.o.d" -o ${OBJECTDIR}/_ext/1051291363/sp_cortexm.o ../../../lib/wolfssl/wolfcrypt/src/sp_cortexm.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/sha256.o: ../../../lib/wolfssl/wolfcrypt/src/sha256.c .generated_files/flags/default/5c48e61898475f4467a87b9df1034c6f1d99a9c7 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/sha256.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/sha256.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/sha256.o.d" -o ${OBJECTDIR}/_ext/1051291363/sha256.o ../../../lib/wolfssl/wolfcrypt/src/sha256.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/hash.o: ../../../lib/wolfssl/wolfcrypt/src/hash.c .generated_files/flags/default/742fb54675820941f0156928c6b20641b1c66701 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/hash.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/hash.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/hash.o.d" -o ${OBJECTDIR}/_ext/1051291363/hash.o ../../../lib/wolfssl/wolfcrypt/src/hash.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/ge_low_mem.o: ../../../lib/wolfssl/wolfcrypt/src/ge_low_mem.c .generated_files/flags/default/afce77c43859d44bb6afaea5f55b45741d9b62b8 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/ge_low_mem.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/ge_low_mem.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/ge_low_mem.o.d" -o ${OBJECTDIR}/_ext/1051291363/ge_low_mem.o ../../../lib/wolfssl/wolfcrypt/src/ge_low_mem.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/fe_low_mem.o: ../../../lib/wolfssl/wolfcrypt/src/fe_low_mem.c .generated_files/flags/default/e97a08a8543c6e566fc166df94d174fadd71f61a .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/fe_low_mem.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/fe_low_mem.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/fe_low_mem.o.d" -o ${OBJECTDIR}/_ext/1051291363/fe_low_mem.o ../../../lib/wolfssl/wolfcrypt/src/fe_low_mem.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/ecc.o: ../../../lib/wolfssl/wolfcrypt/src/ecc.c .generated_files/flags/default/398ecb6544d5baff0534679a486a3d4f2a6f5e48 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/ecc.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/ecc.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/ecc.o.d" -o ${OBJECTDIR}/_ext/1051291363/ecc.o ../../../lib/wolfssl/wolfcrypt/src/ecc.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/curve448.o: ../../../lib/wolfssl/wolfcrypt/src/curve448.c .generated_files/flags/default/f2a7c21f48ce378936677db5254a605e90a3a3e3 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/curve448.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/curve448.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/curve448.o.d" -o ${OBJECTDIR}/_ext/1051291363/curve448.o ../../../lib/wolfssl/wolfcrypt/src/curve448.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/curve25519.o: ../../../lib/wolfssl/wolfcrypt/src/curve25519.c .generated_files/flags/default/6e3e5cd74a9465b19e03f0c12377972e96d7bec3 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/curve25519.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/curve25519.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/curve25519.o.d" -o ${OBJECTDIR}/_ext/1051291363/curve25519.o ../../../lib/wolfssl/wolfcrypt/src/curve25519.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/asn.o: ../../../lib/wolfssl/wolfcrypt/src/asn.c .generated_files/flags/default/344fe1b57a71ae6c5c51aeefa5e975d45522569c .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/asn.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/asn.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/asn.o.d" -o ${OBJECTDIR}/_ext/1051291363/asn.o ../../../lib/wolfssl/wolfcrypt/src/asn.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386517348/same51.o: ../../../hal/same51.c .generated_files/flags/default/bf3a04d94d1abb1d81a9de431bbb9034dc3d773b .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386517348"
- @${RM} ${OBJECTDIR}/_ext/1386517348/same51.o.d
- @${RM} ${OBJECTDIR}/_ext/1386517348/same51.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386517348/same51.o.d" -o ${OBJECTDIR}/_ext/1386517348/same51.o ../../../hal/same51.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/boot_arm.o: ../../../src/boot_arm.c .generated_files/flags/default/9b7d186663a63f36d91f463f4e27195b17c48a75 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/boot_arm.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/boot_arm.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/boot_arm.o.d" -o ${OBJECTDIR}/_ext/1386528437/boot_arm.o ../../../src/boot_arm.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/image.o: ../../../src/image.c .generated_files/flags/default/b9ec9cd221e90f49a607b3d958888e5ae5d2e257 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/image.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/image.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/image.o.d" -o ${OBJECTDIR}/_ext/1386528437/image.o ../../../src/image.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/keystore.o: ../../../src/keystore.c .generated_files/flags/default/c7d7e035253d4d6c56d7a1a7cfa4a3a8d391061e .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/keystore.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/keystore.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/keystore.o.d" -o ${OBJECTDIR}/_ext/1386528437/keystore.o ../../../src/keystore.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/libwolfboot.o: ../../../src/libwolfboot.c .generated_files/flags/default/6c74904664dad71d6e073a48439a92ce02fa905f .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/libwolfboot.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d" -o ${OBJECTDIR}/_ext/1386528437/libwolfboot.o ../../../src/libwolfboot.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/loader.o: ../../../src/loader.c .generated_files/flags/default/1a0c4691e7d7a58b2106c4e7193c93fdd960ed9c .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/loader.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/loader.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/loader.o.d" -o ${OBJECTDIR}/_ext/1386528437/loader.o ../../../src/loader.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/string.o: ../../../src/string.c .generated_files/flags/default/8e3a311a466df2374496988361f6e03d335e5f12 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/string.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/string.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/string.o.d" -o ${OBJECTDIR}/_ext/1386528437/string.o ../../../src/string.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o: ../../../src/update_flash_hwswap.c .generated_files/flags/default/aa2df7a2467e081d8e5a9eaf9125a8d3a397d028 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o.d" -o ${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o ../../../src/update_flash_hwswap.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-else
-${OBJECTDIR}/_ext/1051291363/wolfmath.o: ../../../lib/wolfssl/wolfcrypt/src/wolfmath.c .generated_files/flags/default/602807817e5e731a937d9167793d967c7589576e .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/wolfmath.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/wolfmath.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/wolfmath.o.d" -o ${OBJECTDIR}/_ext/1051291363/wolfmath.o ../../../lib/wolfssl/wolfcrypt/src/wolfmath.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/wc_port.o: ../../../lib/wolfssl/wolfcrypt/src/wc_port.c .generated_files/flags/default/988ae4525836147c8cee998aef4e686f3198bb0d .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/wc_port.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/wc_port.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/wc_port.o.d" -o ${OBJECTDIR}/_ext/1051291363/wc_port.o ../../../lib/wolfssl/wolfcrypt/src/wc_port.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/sp_int.o: ../../../lib/wolfssl/wolfcrypt/src/sp_int.c .generated_files/flags/default/9d326cc6ac87d0b1a73ea00f326cc248be2c0b73 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/sp_int.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/sp_int.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/sp_int.o.d" -o ${OBJECTDIR}/_ext/1051291363/sp_int.o ../../../lib/wolfssl/wolfcrypt/src/sp_int.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/sp_cortexm.o: ../../../lib/wolfssl/wolfcrypt/src/sp_cortexm.c .generated_files/flags/default/a281a35b8b183783c41b5d88cf28b89ea9a98976 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/sp_cortexm.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/sp_cortexm.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/sp_cortexm.o.d" -o ${OBJECTDIR}/_ext/1051291363/sp_cortexm.o ../../../lib/wolfssl/wolfcrypt/src/sp_cortexm.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/sha256.o: ../../../lib/wolfssl/wolfcrypt/src/sha256.c .generated_files/flags/default/15392ac7073e8e2f26b3cd44a3444078f3fbdcb4 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/sha256.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/sha256.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/sha256.o.d" -o ${OBJECTDIR}/_ext/1051291363/sha256.o ../../../lib/wolfssl/wolfcrypt/src/sha256.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/hash.o: ../../../lib/wolfssl/wolfcrypt/src/hash.c .generated_files/flags/default/3863513f21aaa20e388de30ef7f4e0aaba23091f .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/hash.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/hash.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/hash.o.d" -o ${OBJECTDIR}/_ext/1051291363/hash.o ../../../lib/wolfssl/wolfcrypt/src/hash.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/ge_low_mem.o: ../../../lib/wolfssl/wolfcrypt/src/ge_low_mem.c .generated_files/flags/default/be7e65934cfe25a07e308e39563d160297eb09ca .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/ge_low_mem.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/ge_low_mem.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/ge_low_mem.o.d" -o ${OBJECTDIR}/_ext/1051291363/ge_low_mem.o ../../../lib/wolfssl/wolfcrypt/src/ge_low_mem.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/fe_low_mem.o: ../../../lib/wolfssl/wolfcrypt/src/fe_low_mem.c .generated_files/flags/default/22325104ee76e708595763451da61551bd42a7 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/fe_low_mem.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/fe_low_mem.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/fe_low_mem.o.d" -o ${OBJECTDIR}/_ext/1051291363/fe_low_mem.o ../../../lib/wolfssl/wolfcrypt/src/fe_low_mem.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/ecc.o: ../../../lib/wolfssl/wolfcrypt/src/ecc.c .generated_files/flags/default/9d70f759b3c214cc69173f15c85e31f5407d2e7 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/ecc.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/ecc.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/ecc.o.d" -o ${OBJECTDIR}/_ext/1051291363/ecc.o ../../../lib/wolfssl/wolfcrypt/src/ecc.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/curve448.o: ../../../lib/wolfssl/wolfcrypt/src/curve448.c .generated_files/flags/default/bf802d589785e7797e05b6fbe376f228108b1d8a .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/curve448.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/curve448.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/curve448.o.d" -o ${OBJECTDIR}/_ext/1051291363/curve448.o ../../../lib/wolfssl/wolfcrypt/src/curve448.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/curve25519.o: ../../../lib/wolfssl/wolfcrypt/src/curve25519.c .generated_files/flags/default/8bd14e4a28f74da96719f6d7e59b4f8bf43b01ed .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/curve25519.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/curve25519.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/curve25519.o.d" -o ${OBJECTDIR}/_ext/1051291363/curve25519.o ../../../lib/wolfssl/wolfcrypt/src/curve25519.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1051291363/asn.o: ../../../lib/wolfssl/wolfcrypt/src/asn.c .generated_files/flags/default/50359db168920bc4c5fb7b2a7b4e51b362a2fa6b .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1051291363"
- @${RM} ${OBJECTDIR}/_ext/1051291363/asn.o.d
- @${RM} ${OBJECTDIR}/_ext/1051291363/asn.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1051291363/asn.o.d" -o ${OBJECTDIR}/_ext/1051291363/asn.o ../../../lib/wolfssl/wolfcrypt/src/asn.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386517348/same51.o: ../../../hal/same51.c .generated_files/flags/default/9912ba5b4f4ce3cf5231be81ab941aaf5c7d9fe5 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386517348"
- @${RM} ${OBJECTDIR}/_ext/1386517348/same51.o.d
- @${RM} ${OBJECTDIR}/_ext/1386517348/same51.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386517348/same51.o.d" -o ${OBJECTDIR}/_ext/1386517348/same51.o ../../../hal/same51.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/boot_arm.o: ../../../src/boot_arm.c .generated_files/flags/default/97cbcb46f39925fb11249019a6b9ee3fc66f7e56 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/boot_arm.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/boot_arm.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/boot_arm.o.d" -o ${OBJECTDIR}/_ext/1386528437/boot_arm.o ../../../src/boot_arm.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/image.o: ../../../src/image.c .generated_files/flags/default/cf03e07df9f42490f06b55fb3a2155b6dd2dfc94 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/image.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/image.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/image.o.d" -o ${OBJECTDIR}/_ext/1386528437/image.o ../../../src/image.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/keystore.o: ../../../src/keystore.c .generated_files/flags/default/b41d74a94a12d1a48043907fc09583731908c212 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/keystore.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/keystore.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/keystore.o.d" -o ${OBJECTDIR}/_ext/1386528437/keystore.o ../../../src/keystore.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/libwolfboot.o: ../../../src/libwolfboot.c .generated_files/flags/default/fda644a07f6c3031fa1147c577904e8ce0d214cf .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/libwolfboot.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d" -o ${OBJECTDIR}/_ext/1386528437/libwolfboot.o ../../../src/libwolfboot.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/loader.o: ../../../src/loader.c .generated_files/flags/default/c4955f152884ef8988702cda5a16e81aff6cb763 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/loader.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/loader.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/loader.o.d" -o ${OBJECTDIR}/_ext/1386528437/loader.o ../../../src/loader.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/string.o: ../../../src/string.c .generated_files/flags/default/6863e102998785615a65de75f393fee4170c20ca .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/string.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/string.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/string.o.d" -o ${OBJECTDIR}/_ext/1386528437/string.o ../../../src/string.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o: ../../../src/update_flash_hwswap.c .generated_files/flags/default/8102a606662e69daf9b8b55a8398e13d3d2214af .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" -I "../../../lib/wolfssl" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o.d" -o ${OBJECTDIR}/_ext/1386528437/update_flash_hwswap.o ../../../src/update_flash_hwswap.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512
-
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: compileCPP
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-else
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: link
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk ../../../hal/same51.ld
- @${MKDIR} ${DISTDIR}
- ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=cortex-m4 -gdwarf-2 -D__$(MP_PROCESSOR_OPTION)__ -T"../../../hal/same51.ld" -mthumb --specs=nosys.specs -Wl,-Map="${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.map" -o ${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -DXPRJ_default=$(CND_CONF) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512 $(COMPARISON_BUILD) -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION),--defsym=__ICD2RAM=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1 -Wl,--gc-sections
-
-
-
-
-
-
-else
-${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk ../../../hal/same51.ld
- @${MKDIR} ${DISTDIR}
- ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=cortex-m4 -D__$(MP_PROCESSOR_OPTION)__ -T"../../../hal/same51.ld" -mthumb --specs=nosys.specs -Wl,-Map="${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.map" -o ${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -DXPRJ_default=$(CND_CONF) -DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC384 -DWOLFBOOT_HASH_SHA256 -D__WOLFBOOT -DWOLFSSL_SP_ASM -DWOLFSSL_SP_ARM_CORTEX_M_ASM -DWOLFBOOT_DUALBOOT -DDUALBANK_SWAP=1 -DWOLFBOOT_HEADER_SIZE=512 $(COMPARISON_BUILD) -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION) -Wl,--gc-sections
-
- ${MP_CC_DIR}/arm-none-eabi-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature "${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/wolfBoot-SAME51.X.${IMAGE_TYPE}.hex"
-
-
-
-
-endif
-
-
-# Subprojects
-.build-subprojects:
-
-
-# Subprojects
-.clean-subprojects:
-
-# Clean Targets
-.clean-conf: ${CLEAN_SUBPROJECTS}
- ${RM} -r ${OBJECTDIR}
- ${RM} -r ${DISTDIR}
-
-# Enable dependency checking
-.dep.inc: .depcheck-impl
-
-DEPFILES=$(wildcard ${POSSIBLE_DEPFILES})
-ifneq (${DEPFILES},)
-include ${DEPFILES}
-endif
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-genesis.properties b/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-genesis.properties
deleted file mode 100644
index cb943e804..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-genesis.properties
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-#Thu Jan 18 12:48:25 CET 2024
-default.languagetoolchain.version=10.3.1
-default.com-microchip-mplab-nbide-toolchain-arm-ARMLanguageToolchain.md5=c33efee51d7853b82066e227bca20492
-default.Pack.dfplocation=/opt/microchip/mplabx/v6.15/packs/Microchip/SAME51_DFP/3.7.242
-default.com-microchip-mplab-mdbcore-AtmelIceScripting-AtmelIceScriptingBase.md5=659f7542ba5bb9824f6dbfb50326e0ec
-conf.ids=default
-default.languagetoolchain.dir=/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin
-host.id=130a-gnot-23
-configurations-xml=baf8ef6cefbfedc6e58ab8eae1a3ca00
-com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=e62346c0c0ecee2637e613b49cb7b7fa
-proj.dir=/home/dan/src/wolfboot/IDE/MPLabX/wolfBoot-SAME51.X
-host.platform=linux
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-impl.mk b/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-impl.mk
deleted file mode 100644
index bb3752bbe..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-impl.mk
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Generated Makefile - do not edit!
-#
-# Edit the Makefile in the project folder instead (../Makefile). Each target
-# has a pre- and a post- target defined where you can add customization code.
-#
-# This makefile implements macros and targets common to all configurations.
-#
-# NOCDDL
-
-
-# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
-# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
-# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
-# and .clean-reqprojects-conf unless SUB has the value 'no'
-SUB_no=NO
-SUBPROJECTS=${SUB_${SUB}}
-BUILD_SUBPROJECTS_=.build-subprojects
-BUILD_SUBPROJECTS_NO=
-BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
-CLEAN_SUBPROJECTS_=.clean-subprojects
-CLEAN_SUBPROJECTS_NO=
-CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
-
-
-# Project Name
-PROJECTNAME=wolfBoot-SAME51.X
-
-# Active Configuration
-DEFAULTCONF=default
-CONF=${DEFAULTCONF}
-
-# All Configurations
-ALLCONFS=default
-
-
-# build
-.build-impl: .build-pre
- ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf
-
-
-# clean
-.clean-impl: .clean-pre
- ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
-
-# clobber
-.clobber-impl: .clobber-pre .depcheck-impl
- ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean
-
-
-
-# all
-.all-impl: .all-pre .depcheck-impl
- ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build
-
-
-
-# dependency checking support
-.depcheck-impl:
-# @echo "# This code depends on make tool being used" >.dep.inc
-# @if [ -n "${MAKE_VERSION}" ]; then \
-# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
-# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
-# echo "include \$${DEPFILES}" >>.dep.inc; \
-# echo "endif" >>.dep.inc; \
-# else \
-# echo ".KEEP_STATE:" >>.dep.inc; \
-# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
-# fi
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-local-default.mk b/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-local-default.mk
deleted file mode 100644
index 2de723de8..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-local-default.mk
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Generated Makefile - do not edit!
-#
-#
-# This file contains information about the location of compilers and other tools.
-# If you commmit this file into your revision control server, you will be able to
-# to checkout the project and build it from the command line with make. However,
-# if more than one person works on the same project, then this file might show
-# conflicts since different users are bound to have compilers in different places.
-# In that case you might choose to not commit this file and let MPLAB X recreate this file
-# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at
-# least once so the file gets created and the project can be built. Finally, you can also
-# avoid using this file at all if you are only building from the command line with make.
-# You can invoke make with the values of the macros:
-# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ...
-#
-PATH_TO_IDE_BIN=/opt/microchip/mplabx/v6.15/mplab_platform/platform/../mplab_ide/modules/../../bin/
-# Adding MPLAB X bin directory to path.
-PATH:=/opt/microchip/mplabx/v6.15/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH)
-# Path to java used to run MPLAB X when this makefile was created
-MP_JAVA_PATH="/opt/microchip/mplabx/v6.15/sys/java/zulu8.64.0.19-ca-fx-jre8.0.345-linux_x64/bin/"
-OS_CURRENT="$(shell uname -s)"
-MP_CC="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc"
-MP_CPPC="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++"
-# MP_BC is not defined
-MP_AS="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-as"
-MP_LD="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-ld"
-MP_AR="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-ar"
-DEP_GEN=${MP_JAVA_PATH}java -jar "/opt/microchip/mplabx/v6.15/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar"
-MP_CC_DIR="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin"
-MP_CPPC_DIR="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin"
-# MP_BC_DIR is not defined
-MP_AS_DIR="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin"
-MP_LD_DIR="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin"
-MP_AR_DIR="/opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin"
-DFP_DIR=/opt/microchip/mplabx/v6.15/packs/Microchip/SAME51_DFP/3.7.242
-CMSIS_DIR=/opt/microchip/mplabx/v6.15/packs/arm/CMSIS/5.4.0
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-variables.mk b/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-variables.mk
deleted file mode 100644
index 2111307cd..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/Makefile-variables.mk
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Generated - do not edit!
-#
-# NOCDDL
-#
-CND_BASEDIR=`pwd`
-# default configuration
-CND_ARTIFACT_DIR_default=dist/default/production
-CND_ARTIFACT_NAME_default=wolfBoot-SAME51.X.production.hex
-CND_ARTIFACT_PATH_default=dist/default/production/wolfBoot-SAME51.X.production.hex
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/configurations.xml b/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/configurations.xml
deleted file mode 100644
index 14deaf861..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/configurations.xml
+++ /dev/null
@@ -1,325 +0,0 @@
-
-
-
-
- ../../../include/target.h
-
-
- ../../../hal/same51.ld
-
-
-
- ../../../lib/wolfssl/wolfcrypt/src/wolfmath.c
- ../../../lib/wolfssl/wolfcrypt/src/wc_port.c
- ../../../lib/wolfssl/wolfcrypt/src/sp_int.c
- ../../../lib/wolfssl/wolfcrypt/src/sp_cortexm.c
- ../../../lib/wolfssl/wolfcrypt/src/sha256.c
- ../../../lib/wolfssl/wolfcrypt/src/hash.c
- ../../../lib/wolfssl/wolfcrypt/src/ge_low_mem.c
- ../../../lib/wolfssl/wolfcrypt/src/fe_low_mem.c
- ../../../lib/wolfssl/wolfcrypt/src/ecc.c
- ../../../lib/wolfssl/wolfcrypt/src/curve448.c
- ../../../lib/wolfssl/wolfcrypt/src/curve25519.c
- ../../../lib/wolfssl/wolfcrypt/src/asn.c
-
- ../../../hal/same51.c
- ../../../src/boot_arm.c
- ../../../src/image.c
- ../../../src/keystore.c
- ../../../src/libwolfboot.c
- ../../../src/loader.c
- ../../../src/string.c
- ../../../src/update_flash.c
- ../../../src/update_flash_hwswap.c
-
-
- Makefile
-
-
-
- ../../../../..
- ../../../../../../../..
-
- Makefile
-
-
-
- localhost
- ATSAME51J20A
-
-
- nEdbgTool
- ARM
- 10.3.1
- 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- false
- false
-
-
-
-
-
-
- false
- false
-
- false
-
- false
- false
- false
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/private/configurations.xml b/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/private/configurations.xml
deleted file mode 100644
index 1278c8d59..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/private/configurations.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- Makefile
- 0
-
-
- :=MPLABComm-USB-Microchip:=<vid>03EB:=<pid>2175:=<rev>0100:=<man>Microchip Technology Incorporated:=<prod>nEDBG CMSIS-DAP:=<sn>MCHP3360011800004129:=<drv>x:=<xpt>h:=end
- /opt/toolchains/gcc-arm-none-eabi-10.3-2021.10/bin
-
- place holder 1
- place holder 2
-
-
-
-
- true
- 0
- 0
- 0
-
-
-
-
-
-
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/private/private.xml b/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/private/private.xml
deleted file mode 100644
index 18a01a329..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/private/private.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
- file:/home/dan/src/wolfboot/include/target.h
- file:/home/dan/src/wolfboot/include/image.h
- file:/home/dan/src/wolfboot/include/loader.h
- file:/home/dan/src/wolfboot/include/wolfboot/wolfboot.h
- file:/home/dan/src/wolfboot/IDE/MPLabX/wolfBoot-SAME51.X/Makefile
-
-
-
diff --git a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/project.xml b/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/project.xml
deleted file mode 100644
index 0a6098856..000000000
--- a/IDE/MPLabX/wolfBoot-SAME51.X/nbproject/project.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
- com.microchip.mplab.nbide.embedded.makeproject
-
-
- wolfBoot-SAME51
- 37f728f4-2eeb-40e9-8ece-2c34bd17e1ae
- 0
- ISO-8859-1
-
-
- ../../../../..
- ../../../../../../../..
-
-
-
- default
- 2
-
-
-
- false
-
-
-
-
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/Makefile b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/Makefile
deleted file mode 100644
index fca8e2ccd..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/Makefile
+++ /dev/null
@@ -1,113 +0,0 @@
-#
-# There exist several targets which are by default empty and which can be
-# used for execution of your targets. These targets are usually executed
-# before and after some main targets. They are:
-#
-# .build-pre: called before 'build' target
-# .build-post: called after 'build' target
-# .clean-pre: called before 'clean' target
-# .clean-post: called after 'clean' target
-# .clobber-pre: called before 'clobber' target
-# .clobber-post: called after 'clobber' target
-# .all-pre: called before 'all' target
-# .all-post: called after 'all' target
-# .help-pre: called before 'help' target
-# .help-post: called after 'help' target
-#
-# Targets beginning with '.' are not intended to be called on their own.
-#
-# Main targets can be executed directly, and they are:
-#
-# build build a specific configuration
-# clean remove built files from a configuration
-# clobber remove all built files
-# all build all configurations
-# help print help mesage
-#
-# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
-# .help-impl are implemented in nbproject/makefile-impl.mk.
-#
-# Available make variables:
-#
-# CND_BASEDIR base directory for relative paths
-# CND_DISTDIR default top distribution directory (build artifacts)
-# CND_BUILDDIR default top build directory (object files, ...)
-# CONF name of current configuration
-# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration)
-# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration)
-# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration)
-# CND_PACKAGE_DIR_${CONF} directory of package (current configuration)
-# CND_PACKAGE_NAME_${CONF} name of package (current configuration)
-# CND_PACKAGE_PATH_${CONF} path to package (current configuration)
-#
-# NOCDDL
-
-
-# Environment
-MKDIR=mkdir
-CP=cp
-CCADMIN=CCadmin
-RANLIB=ranlib
-
-
-# build
-build: .build-post
-
-.build-pre:
-# Add your pre 'build' code here...
-
-.build-post: .build-impl
-# Add your post 'build' code here...
-
-
-# clean
-clean: .clean-post
-
-.clean-pre:
-# Add your pre 'clean' code here...
-# WARNING: the IDE does not call this target since it takes a long time to
-# simply run make. Instead, the IDE removes the configuration directories
-# under build and dist directly without calling make.
-# This target is left here so people can do a clean when running a clean
-# outside the IDE.
-
-.clean-post: .clean-impl
-# Add your post 'clean' code here...
-
-
-# clobber
-clobber: .clobber-post
-
-.clobber-pre:
-# Add your pre 'clobber' code here...
-
-.clobber-post: .clobber-impl
-# Add your post 'clobber' code here...
-
-
-# all
-all: .all-post
-
-.all-pre:
-# Add your pre 'all' code here...
-
-.all-post: .all-impl
-# Add your post 'all' code here...
-
-
-# help
-help: .help-post
-
-.help-pre:
-# Add your pre 'help' code here...
-
-.help-post: .help-impl
-# Add your post 'help' code here...
-
-
-
-# include project implementation makefile
-include nbproject/Makefile-impl.mk
-
-# include project make variables
-include nbproject/Makefile-variables.mk
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/main.c b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/main.c
deleted file mode 100644
index 93b0a26d2..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/main.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * File: main.c
- * Author: dan
- *
- * Created on January 18, 2024, 11:39 AM
- */
-
-#include
-#include
-#include "wolfboot/wolfboot.h"
-
-
-/*
- *
- */
-int main(int argc, char** argv) {
- wolfBoot_success();
-
- while (1)
- asm volatile ("wfi");
-}
-
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-default.mk b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-default.mk
deleted file mode 100644
index 4e8c8c43c..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-default.mk
+++ /dev/null
@@ -1,218 +0,0 @@
-#
-# Generated Makefile - do not edit!
-#
-# Edit the Makefile in the project folder instead (../Makefile). Each target
-# has a -pre and a -post target defined where you can add customized code.
-#
-# This makefile implements configuration specific macros and targets.
-
-
-# Include project Makefile
-ifeq "${IGNORE_LOCAL}" "TRUE"
-# do not include local makefile. User is passing all local related variables already
-else
-include Makefile
-# Include makefile containing local settings
-ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk"
-include nbproject/Makefile-local-default.mk
-endif
-endif
-
-# Environment
-MKDIR=mkdir -p
-RM=rm -f
-MV=mv
-CP=cp
-
-# Macros
-CND_CONF=default
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-IMAGE_TYPE=debug
-OUTPUT_SUFFIX=elf
-DEBUGGABLE_SUFFIX=elf
-FINAL_IMAGE=${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-else
-IMAGE_TYPE=production
-OUTPUT_SUFFIX=hex
-DEBUGGABLE_SUFFIX=elf
-FINAL_IMAGE=${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-endif
-
-ifeq ($(COMPARE_BUILD), true)
-COMPARISON_BUILD=
-else
-COMPARISON_BUILD=
-endif
-
-# Object Directory
-OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
-
-# Distribution Directory
-DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
-
-# Source Files Quoted if spaced
-SOURCEFILES_QUOTED_IF_SPACED=startup_same51j20a.c system_same51j20a.c main.c ../../../src/libwolfboot.c ../../../hal/same51.c
-
-# Object Files Quoted if spaced
-OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/startup_same51j20a.o ${OBJECTDIR}/system_same51j20a.o ${OBJECTDIR}/main.o ${OBJECTDIR}/_ext/1386528437/libwolfboot.o ${OBJECTDIR}/_ext/1386517348/same51.o
-POSSIBLE_DEPFILES=${OBJECTDIR}/startup_same51j20a.o.d ${OBJECTDIR}/system_same51j20a.o.d ${OBJECTDIR}/main.o.d ${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d ${OBJECTDIR}/_ext/1386517348/same51.o.d
-
-# Object Files
-OBJECTFILES=${OBJECTDIR}/startup_same51j20a.o ${OBJECTDIR}/system_same51j20a.o ${OBJECTDIR}/main.o ${OBJECTDIR}/_ext/1386528437/libwolfboot.o ${OBJECTDIR}/_ext/1386517348/same51.o
-
-# Source Files
-SOURCEFILES=startup_same51j20a.c system_same51j20a.c main.c ../../../src/libwolfboot.c ../../../hal/same51.c
-
-# Pack Options
-PACK_COMMON_OPTIONS=-I "${DFP_DIR}/include" -I "${CMSIS_DIR}/CMSIS/Core/Include"
-
-
-
-CFLAGS=
-ASFLAGS=
-LDLIBSOPTIONS=
-
-############# Tool locations ##########################################
-# If you copy a project from one host to another, the path where the #
-# compiler is installed may be different. #
-# If you open this project with MPLAB X in the new host, this #
-# makefile will be regenerated and the paths will be corrected. #
-#######################################################################
-# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
-FIXDEPS=fixDeps
-
-.build-conf: ${BUILD_SUBPROJECTS}
-ifneq ($(INFORMATION_MESSAGE), )
- @echo $(INFORMATION_MESSAGE)
-endif
- ${MAKE} -f nbproject/Makefile-default.mk ${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-
-MP_PROCESSOR_OPTION=SAME51J20A
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: assemble
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-else
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: assembleWithPreprocess
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-else
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: compile
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-${OBJECTDIR}/startup_same51j20a.o: startup_same51j20a.c .generated_files/flags/default/227bf08d8249cfdb3a1dd412eeadf59e1f401bdb .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}"
- @${RM} ${OBJECTDIR}/startup_same51j20a.o.d
- @${RM} ${OBJECTDIR}/startup_same51j20a.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/startup_same51j20a.o.d" -o ${OBJECTDIR}/startup_same51j20a.o startup_same51j20a.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-${OBJECTDIR}/system_same51j20a.o: system_same51j20a.c .generated_files/flags/default/37cc62d7e3d8803d2f03966ac2486806abba6ed8 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}"
- @${RM} ${OBJECTDIR}/system_same51j20a.o.d
- @${RM} ${OBJECTDIR}/system_same51j20a.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/system_same51j20a.o.d" -o ${OBJECTDIR}/system_same51j20a.o system_same51j20a.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-${OBJECTDIR}/main.o: main.c .generated_files/flags/default/4b883f0a456f349c7fe2f514cc539a0f0c919e54 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}"
- @${RM} ${OBJECTDIR}/main.o.d
- @${RM} ${OBJECTDIR}/main.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/main.o.d" -o ${OBJECTDIR}/main.o main.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-${OBJECTDIR}/_ext/1386528437/libwolfboot.o: ../../../src/libwolfboot.c .generated_files/flags/default/8b2bb306f3cc0d6937fe247a82c65e4cfe2266a0 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/libwolfboot.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d" -o ${OBJECTDIR}/_ext/1386528437/libwolfboot.o ../../../src/libwolfboot.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-${OBJECTDIR}/_ext/1386517348/same51.o: ../../../hal/same51.c .generated_files/flags/default/d16e0c50d565fb975f3e7325c0883f0d30ab13d0 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386517348"
- @${RM} ${OBJECTDIR}/_ext/1386517348/same51.o.d
- @${RM} ${OBJECTDIR}/_ext/1386517348/same51.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -g -D__DEBUG -gdwarf-2 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386517348/same51.o.d" -o ${OBJECTDIR}/_ext/1386517348/same51.o ../../../hal/same51.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-else
-${OBJECTDIR}/startup_same51j20a.o: startup_same51j20a.c .generated_files/flags/default/8359dfa65ced3fc08a65768a20be9b8f4f59f0bc .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}"
- @${RM} ${OBJECTDIR}/startup_same51j20a.o.d
- @${RM} ${OBJECTDIR}/startup_same51j20a.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/startup_same51j20a.o.d" -o ${OBJECTDIR}/startup_same51j20a.o startup_same51j20a.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-${OBJECTDIR}/system_same51j20a.o: system_same51j20a.c .generated_files/flags/default/25414ef865ff4887ff2ba1c951132cf553dce327 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}"
- @${RM} ${OBJECTDIR}/system_same51j20a.o.d
- @${RM} ${OBJECTDIR}/system_same51j20a.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/system_same51j20a.o.d" -o ${OBJECTDIR}/system_same51j20a.o system_same51j20a.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-${OBJECTDIR}/main.o: main.c .generated_files/flags/default/6660876d8b57ca1dba5af5cabdc4f438004043a4 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}"
- @${RM} ${OBJECTDIR}/main.o.d
- @${RM} ${OBJECTDIR}/main.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/main.o.d" -o ${OBJECTDIR}/main.o main.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-${OBJECTDIR}/_ext/1386528437/libwolfboot.o: ../../../src/libwolfboot.c .generated_files/flags/default/1365789152c7cd40f3031ed411ba9e3b0891e067 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386528437"
- @${RM} ${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d
- @${RM} ${OBJECTDIR}/_ext/1386528437/libwolfboot.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386528437/libwolfboot.o.d" -o ${OBJECTDIR}/_ext/1386528437/libwolfboot.o ../../../src/libwolfboot.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-${OBJECTDIR}/_ext/1386517348/same51.o: ../../../hal/same51.c .generated_files/flags/default/38a43373eea8173c482685a440dc93188d64817b .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709
- @${MKDIR} "${OBJECTDIR}/_ext/1386517348"
- @${RM} ${OBJECTDIR}/_ext/1386517348/same51.o.d
- @${RM} ${OBJECTDIR}/_ext/1386517348/same51.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=cortex-m4 -x c -c -D__$(MP_PROCESSOR_OPTION)__ -mthumb -I "../../../include" ${PACK_COMMON_OPTIONS} -Os -ffunction-sections -mlong-calls -Wall -MP -MMD -MF "${OBJECTDIR}/_ext/1386517348/same51.o.d" -o ${OBJECTDIR}/_ext/1386517348/same51.o ../../../hal/same51.c -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD)
-
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: compileCPP
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-else
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: link
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk same51j20a_flash.ld
- @${MKDIR} ${DISTDIR}
- ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=cortex-m4 -gdwarf-2 -D__$(MP_PROCESSOR_OPTION)__ -T"same51j20a_flash.ld" -mthumb --specs=nosys.specs -Wl,-Map="${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.map" -o ${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION),--defsym=__ICD2RAM=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1 -Wl,--gc-sections
-
-
-
-
-
-
-else
-${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk same51j20a_flash.ld
- @${MKDIR} ${DISTDIR}
- ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=cortex-m4 -D__$(MP_PROCESSOR_OPTION)__ -T"same51j20a_flash.ld" -mthumb --specs=nosys.specs -Wl,-Map="${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.map" -o ${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION) -Wl,--gc-sections
-
- ${MP_CC_DIR}/arm-none-eabi-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature "${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/wolfBoot_usbUpdateApp.X.${IMAGE_TYPE}.hex"
-
-
-
-
-endif
-
-
-# Subprojects
-.build-subprojects:
-
-
-# Subprojects
-.clean-subprojects:
-
-# Clean Targets
-.clean-conf: ${CLEAN_SUBPROJECTS}
- ${RM} -r ${OBJECTDIR}
- ${RM} -r ${DISTDIR}
-
-# Enable dependency checking
-.dep.inc: .depcheck-impl
-
-DEPFILES=$(wildcard ${POSSIBLE_DEPFILES})
-ifneq (${DEPFILES},)
-include ${DEPFILES}
-endif
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-genesis.properties b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-genesis.properties
deleted file mode 100644
index 4a4bea88a..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-genesis.properties
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-#Thu Jan 18 15:10:16 CET 2024
-default.languagetoolchain.version=12.2.1
-default.com-microchip-mplab-nbide-toolchain-arm-ARMLanguageToolchain.md5=c33efee51d7853b82066e227bca20492
-default.Pack.dfplocation=/opt/microchip/mplabx/v6.15/packs/Microchip/SAME51_DFP/3.7.242
-conf.ids=default
-default.languagetoolchain.dir=/usr/bin
-host.id=130a-gnot-23
-configurations-xml=7eafda18e0c159c9ccbe22544f660f14
-com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=e62346c0c0ecee2637e613b49cb7b7fa
-default.com-microchip-mplab-mdbcore-JLink-JLinkImpl.md5=09370ac9c9e001d99845a6c8b21609d2
-proj.dir=/home/dan/src/wolfboot/IDE/MPLabX/wolfBoot_usbUpdateApp.X
-host.platform=linux
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-impl.mk b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-impl.mk
deleted file mode 100644
index 60b76edf9..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-impl.mk
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Generated Makefile - do not edit!
-#
-# Edit the Makefile in the project folder instead (../Makefile). Each target
-# has a pre- and a post- target defined where you can add customization code.
-#
-# This makefile implements macros and targets common to all configurations.
-#
-# NOCDDL
-
-
-# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
-# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
-# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
-# and .clean-reqprojects-conf unless SUB has the value 'no'
-SUB_no=NO
-SUBPROJECTS=${SUB_${SUB}}
-BUILD_SUBPROJECTS_=.build-subprojects
-BUILD_SUBPROJECTS_NO=
-BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
-CLEAN_SUBPROJECTS_=.clean-subprojects
-CLEAN_SUBPROJECTS_NO=
-CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
-
-
-# Project Name
-PROJECTNAME=wolfBoot_usbUpdateApp.X
-
-# Active Configuration
-DEFAULTCONF=default
-CONF=${DEFAULTCONF}
-
-# All Configurations
-ALLCONFS=default
-
-
-# build
-.build-impl: .build-pre
- ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf
-
-
-# clean
-.clean-impl: .clean-pre
- ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
-
-# clobber
-.clobber-impl: .clobber-pre .depcheck-impl
- ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean
-
-
-
-# all
-.all-impl: .all-pre .depcheck-impl
- ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build
-
-
-
-# dependency checking support
-.depcheck-impl:
-# @echo "# This code depends on make tool being used" >.dep.inc
-# @if [ -n "${MAKE_VERSION}" ]; then \
-# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
-# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
-# echo "include \$${DEPFILES}" >>.dep.inc; \
-# echo "endif" >>.dep.inc; \
-# else \
-# echo ".KEEP_STATE:" >>.dep.inc; \
-# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
-# fi
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-local-default.mk b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-local-default.mk
deleted file mode 100644
index 56ff4ba7c..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-local-default.mk
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Generated Makefile - do not edit!
-#
-#
-# This file contains information about the location of compilers and other tools.
-# If you commmit this file into your revision control server, you will be able to
-# to checkout the project and build it from the command line with make. However,
-# if more than one person works on the same project, then this file might show
-# conflicts since different users are bound to have compilers in different places.
-# In that case you might choose to not commit this file and let MPLAB X recreate this file
-# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at
-# least once so the file gets created and the project can be built. Finally, you can also
-# avoid using this file at all if you are only building from the command line with make.
-# You can invoke make with the values of the macros:
-# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ...
-#
-PATH_TO_IDE_BIN=/opt/microchip/mplabx/v6.15/mplab_platform/platform/../mplab_ide/modules/../../bin/
-# Adding MPLAB X bin directory to path.
-PATH:=/opt/microchip/mplabx/v6.15/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH)
-# Path to java used to run MPLAB X when this makefile was created
-MP_JAVA_PATH="/opt/microchip/mplabx/v6.15/sys/java/zulu8.64.0.19-ca-fx-jre8.0.345-linux_x64/bin/"
-OS_CURRENT="$(shell uname -s)"
-MP_CC="/usr/bin/arm-none-eabi-gcc"
-MP_CPPC="/usr/bin/arm-none-eabi-g++"
-# MP_BC is not defined
-MP_AS="/usr/bin/arm-none-eabi-as"
-MP_LD="/usr/bin/arm-none-eabi-ld"
-MP_AR="/usr/bin/arm-none-eabi-ar"
-DEP_GEN=${MP_JAVA_PATH}java -jar "/opt/microchip/mplabx/v6.15/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar"
-MP_CC_DIR="/usr/bin"
-MP_CPPC_DIR="/usr/bin"
-# MP_BC_DIR is not defined
-MP_AS_DIR="/usr/bin"
-MP_LD_DIR="/usr/bin"
-MP_AR_DIR="/usr/bin"
-CMSIS_DIR=/opt/microchip/mplabx/v6.15/packs/arm/CMSIS/5.4.0
-DFP_DIR=/opt/microchip/mplabx/v6.15/packs/Microchip/SAME51_DFP/3.7.242
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-variables.mk b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-variables.mk
deleted file mode 100644
index 7ea312809..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/Makefile-variables.mk
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Generated - do not edit!
-#
-# NOCDDL
-#
-CND_BASEDIR=`pwd`
-# default configuration
-CND_ARTIFACT_DIR_default=dist/default/production
-CND_ARTIFACT_NAME_default=wolfBoot_usbUpdateApp.X.production.hex
-CND_ARTIFACT_PATH_default=dist/default/production/wolfBoot_usbUpdateApp.X.production.hex
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/configurations.xml b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/configurations.xml
deleted file mode 100644
index e847c80f4..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/configurations.xml
+++ /dev/null
@@ -1,246 +0,0 @@
-
-
-
-
-
-
- same51j20a_flash.ld
-
-
- startup_same51j20a.c
- system_same51j20a.c
- main.c
- ../../../src/libwolfboot.c
- ../../../hal/same51.c
-
-
- Makefile
-
-
-
- ../../../src
- ../../../hal
-
- Makefile
-
-
-
- localhost
- ATSAME51J20A
-
-
- jlink
- ARM
- 12.2.1
- 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- false
- false
-
-
-
-
-
-
- false
- false
-
- false
-
- false
- false
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/private/configurations.xml b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/private/configurations.xml
deleted file mode 100644
index 03ffcec35..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/private/configurations.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- Makefile
- 0
-
-
- :=ThirdParty-DLL-SEGGER:=<man>SEGGER:=<prod>J-Link:=<sn>50104756:=<drv>v:=<xpt>u:=en
- /usr/bin
-
- place holder 1
- place holder 2
-
-
-
-
- true
- 0
- 0
- 0
-
-
-
-
-
-
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/private/private.xml b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/private/private.xml
deleted file mode 100644
index 0853fcaf9..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/private/private.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
- file:/home/dan/src/wolfboot/hal/same51.c
- file:/home/dan/src/wolfboot/src/update_flash.c
- file:/home/dan/src/wolfboot/IDE/MPLabX/wolfBoot_usbUpdateApp.X/startup_same51j20a.c
- file:/home/dan/src/wolfboot/src/loader.c
- file:/home/dan/src/wolfboot/hal/same51.ld
- file:/home/dan/src/wolfboot/src/image.c
- file:/home/dan/src/wolfboot/IDE/MPLabX/wolfBoot_usbUpdateApp.X/same51j20a_flash.ld
- file:/home/dan/src/wolfboot/src/string.c
- file:/home/dan/src/wolfboot/IDE/MPLabX/wolfBoot_usbUpdateApp.X/system_same51j20a.c
- file:/home/dan/src/wolfboot/src/libwolfboot.c
- file:/home/dan/src/wolfboot/IDE/MPLabX/wolfBoot_usbUpdateApp.X/main.c
- file:/home/dan/src/wolfboot/src/keystore.c
- file:/home/dan/src/wolfboot/src/update_flash_hwswap.c
-
-
-
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/project.xml b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/project.xml
deleted file mode 100644
index d71da4616..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/nbproject/project.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
- com.microchip.mplab.nbide.embedded.makeproject
-
-
- wolfBoot_usbUpdateApp
- 32bc20ce-62e7-485d-8ae7-6508b132344e
- 0
- ISO-8859-1
-
-
- ../../../src
- ../../../hal
-
-
-
- default
- 2
-
-
-
- false
-
-
-
-
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/same51j20a_flash.ld b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/same51j20a_flash.ld
deleted file mode 100644
index 75915b4e0..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/same51j20a_flash.ld
+++ /dev/null
@@ -1,163 +0,0 @@
-/**
- * \file
- *
- * \brief Linker script for running in internal FLASH on the SAME51J20A
- *
- * Copyright (c) 2019 Microchip Technology Inc.
- *
- * \asf_license_start
- *
- * \page License
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the Licence at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * \asf_license_stop
- *
- */
-
-
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
-OUTPUT_ARCH(arm)
-SEARCH_DIR(.)
-
-/* Memory Spaces Definitions */
-MEMORY
-{
- rom (rx) : ORIGIN = 0x00008200, LENGTH = 0x00077E00 /* 80000 - 8200 */
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00040000
- bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
- qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
-}
-
-/* The stack size used by the application. NOTE: you need to adjust according to your application. */
-STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : DEFINED(__stack_size__) ? __stack_size__ : 0x10000;
-
-/* Section Definitions */
-SECTIONS
-{
- .text :
- {
- . = ALIGN(4);
- _sfixed = .;
- KEEP(*(.vectors .vectors.*))
- *(.text .text.* .gnu.linkonce.t.*)
- *(.glue_7t) *(.glue_7)
- *(.rodata .rodata* .gnu.linkonce.r.*)
- *(.ARM.extab* .gnu.linkonce.armextab.*)
-
- /* Support C constructors, and C destructors in both user code
- and the C library. This also provides support for C++ code. */
- . = ALIGN(4);
- KEEP(*(.init))
- . = ALIGN(4);
- __preinit_array_start = .;
- KEEP (*(.preinit_array))
- __preinit_array_end = .;
-
- . = ALIGN(4);
- __init_array_start = .;
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- __init_array_end = .;
-
- . = ALIGN(4);
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
-
- . = ALIGN(4);
- KEEP(*(.fini))
-
- . = ALIGN(4);
- __fini_array_start = .;
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- __fini_array_end = .;
-
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- . = ALIGN(4);
- _efixed = .; /* End of text section */
- } > rom
-
- /* .ARM.exidx is sorted, so has to go in its own output section. */
- PROVIDE_HIDDEN (__exidx_start = .);
- .ARM.exidx :
- {
- *(.ARM.exidx* .gnu.linkonce.armexidx.*)
- } > rom
- PROVIDE_HIDDEN (__exidx_end = .);
-
- . = ALIGN(4);
- _etext = .;
-
- .relocate : AT (_etext)
- {
- . = ALIGN(4);
- _srelocate = .;
- *(.ramfunc .ramfunc.*);
- *(.data .data.*);
- . = ALIGN(4);
- _erelocate = .;
- } > ram
-
- .bkupram (NOLOAD):
- {
- . = ALIGN(8);
- _sbkupram = .;
- *(.bkupram .bkupram.*);
- . = ALIGN(8);
- _ebkupram = .;
- } > bkupram
-
- .qspi (NOLOAD):
- {
- . = ALIGN(8);
- _sqspi = .;
- *(.qspi .qspi.*);
- . = ALIGN(8);
- _eqspi = .;
- } > qspi
-
- /* .bss section which is used for uninitialized data */
- .bss (NOLOAD) :
- {
- . = ALIGN(4);
- _sbss = . ;
- _szero = .;
- *(.bss .bss.*)
- *(COMMON)
- . = ALIGN(4);
- _ebss = . ;
- _ezero = .;
- } > ram
-
- /* stack section */
- .stack (NOLOAD):
- {
- . = ALIGN(8);
- _sstack = .;
- . = . + STACK_SIZE;
- . = ALIGN(8);
- _estack = .;
- } > ram
-
- . = ALIGN(4);
- _end = . ;
-}
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/startup_same51j20a.c b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/startup_same51j20a.c
deleted file mode 100644
index 11c327606..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/startup_same51j20a.c
+++ /dev/null
@@ -1,410 +0,0 @@
-/**
- * \file
- *
- * \brief GCC startup file for ATSAME51J20A
- *
- * Copyright (c) 2023 Microchip Technology Inc.
- *
- * \license_start
- *
- * \page License
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * \license_stop
- *
- */
-
-#include "same51j20a.h"
-
-/* Initialize segments */
-extern uint32_t _sfixed;
-extern uint32_t _efixed;
-extern uint32_t _etext;
-extern uint32_t _srelocate;
-extern uint32_t _erelocate;
-extern uint32_t _szero;
-extern uint32_t _ezero;
-extern uint32_t _sstack;
-extern uint32_t _estack;
-
-/* Optional application-provided functions */
-extern void __attribute__((weak,long_call)) _on_reset(void);
-extern void __attribute__((weak,long_call)) _on_bootstrap(void);
-
-/** \cond DOXYGEN_SHOULD_SKIP_THIS */
-int main(void);
-/** \endcond */
-
-void __libc_init_array(void);
-
-/* Reset handler */
-void Reset_Handler(void);
-
-/* Default empty handler */
-void Dummy_Handler(void);
-
-/* Cortex-M4 core handlers */
-void NonMaskableInt_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void HardFault_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void MemoryManagement_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void BusFault_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void UsageFault_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SVCall_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DebugMonitor_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void PendSV_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SysTick_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-
-/* Peripherals handlers */
-void PM_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void MCLK_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void OSCCTRL_XOSC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void OSCCTRL_XOSC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void OSCCTRL_DFLL_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void OSCCTRL_DPLL0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void OSCCTRL_DPLL1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void OSC32KCTRL_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SUPC_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SUPC_BODDET_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void WDT_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void RTC_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_3_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_4_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_5_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_6_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_7_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_8_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_9_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_10_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_11_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_12_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_13_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_14_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EIC_EXTINT_15_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void FREQM_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void NVMCTRL_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void NVMCTRL_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DMAC_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DMAC_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DMAC_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DMAC_3_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DMAC_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EVSYS_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EVSYS_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EVSYS_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EVSYS_3_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void EVSYS_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void PAC_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void RAMECC_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM0_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM0_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM0_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM0_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM1_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM1_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM1_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM1_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM2_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM2_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM2_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM2_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM3_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM3_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM3_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM3_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM4_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM4_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM4_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM4_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM5_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM5_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM5_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SERCOM5_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void CAN0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void CAN1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void USB_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void USB_SOF_HSOF_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void USB_TRCPT0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void USB_TRCPT1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC0_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC0_MC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC0_MC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC0_MC2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC0_MC3_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC0_MC4_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC0_MC5_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC1_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC1_MC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC1_MC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC1_MC2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC1_MC3_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC2_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC2_MC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC2_MC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC2_MC2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC3_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC3_MC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC3_MC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC4_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC4_MC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TCC4_MC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TC2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TC3_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TC4_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TC5_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void PDEC_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void PDEC_MC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void PDEC_MC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void ADC0_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void ADC0_RESRDY_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void ADC1_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void ADC1_RESRDY_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void AC_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DAC_OTHER_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DAC_EMPTY_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DAC_EMPTY_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DAC_RESRDY_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void DAC_RESRDY_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void I2S_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void PCC_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void AES_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void TRNG_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void ICM_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void PUKCC_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void QSPI_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-void SDHC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
-
-/* Exception Table */
-__attribute__ ((section(".vectors")))
-const DeviceVectors exception_table = {
-
- /* Configure Initial Stack Pointer, using linker-generated symbols */
- .pvStack = (void*) (&_estack),
-
- .pfnReset_Handler = (void*) Reset_Handler,
- .pfnNonMaskableInt_Handler = (void*) NonMaskableInt_Handler,
- .pfnHardFault_Handler = (void*) HardFault_Handler,
- .pfnMemoryManagement_Handler = (void*) MemoryManagement_Handler,
- .pfnBusFault_Handler = (void*) BusFault_Handler,
- .pfnUsageFault_Handler = (void*) UsageFault_Handler,
- .pvReservedC9 = (void*) (0UL), /* Reserved */
- .pvReservedC8 = (void*) (0UL), /* Reserved */
- .pvReservedC7 = (void*) (0UL), /* Reserved */
- .pvReservedC6 = (void*) (0UL), /* Reserved */
- .pfnSVCall_Handler = (void*) SVCall_Handler,
- .pfnDebugMonitor_Handler = (void*) DebugMonitor_Handler,
- .pvReservedC3 = (void*) (0UL), /* Reserved */
- .pfnPendSV_Handler = (void*) PendSV_Handler,
- .pfnSysTick_Handler = (void*) SysTick_Handler,
-
- /* Configurable interrupts */
- .pfnPM_Handler = (void*) PM_Handler, /* 0 Power Manager */
- .pfnMCLK_Handler = (void*) MCLK_Handler, /* 1 Main Clock */
- .pfnOSCCTRL_XOSC0_Handler = (void*) OSCCTRL_XOSC0_Handler, /* 2 Oscillators Control */
- .pfnOSCCTRL_XOSC1_Handler = (void*) OSCCTRL_XOSC1_Handler, /* 3 Oscillators Control */
- .pfnOSCCTRL_DFLL_Handler = (void*) OSCCTRL_DFLL_Handler, /* 4 Oscillators Control */
- .pfnOSCCTRL_DPLL0_Handler = (void*) OSCCTRL_DPLL0_Handler, /* 5 Oscillators Control */
- .pfnOSCCTRL_DPLL1_Handler = (void*) OSCCTRL_DPLL1_Handler, /* 6 Oscillators Control */
- .pfnOSC32KCTRL_Handler = (void*) OSC32KCTRL_Handler, /* 7 32kHz Oscillators Control */
- .pfnSUPC_OTHER_Handler = (void*) SUPC_OTHER_Handler, /* 8 Supply Controller */
- .pfnSUPC_BODDET_Handler = (void*) SUPC_BODDET_Handler, /* 9 Supply Controller */
- .pfnWDT_Handler = (void*) WDT_Handler, /* 10 Watchdog Timer */
- .pfnRTC_Handler = (void*) RTC_Handler, /* 11 Real-Time Counter */
- .pfnEIC_EXTINT_0_Handler = (void*) EIC_EXTINT_0_Handler, /* 12 External Interrupt Controller */
- .pfnEIC_EXTINT_1_Handler = (void*) EIC_EXTINT_1_Handler, /* 13 External Interrupt Controller */
- .pfnEIC_EXTINT_2_Handler = (void*) EIC_EXTINT_2_Handler, /* 14 External Interrupt Controller */
- .pfnEIC_EXTINT_3_Handler = (void*) EIC_EXTINT_3_Handler, /* 15 External Interrupt Controller */
- .pfnEIC_EXTINT_4_Handler = (void*) EIC_EXTINT_4_Handler, /* 16 External Interrupt Controller */
- .pfnEIC_EXTINT_5_Handler = (void*) EIC_EXTINT_5_Handler, /* 17 External Interrupt Controller */
- .pfnEIC_EXTINT_6_Handler = (void*) EIC_EXTINT_6_Handler, /* 18 External Interrupt Controller */
- .pfnEIC_EXTINT_7_Handler = (void*) EIC_EXTINT_7_Handler, /* 19 External Interrupt Controller */
- .pfnEIC_EXTINT_8_Handler = (void*) EIC_EXTINT_8_Handler, /* 20 External Interrupt Controller */
- .pfnEIC_EXTINT_9_Handler = (void*) EIC_EXTINT_9_Handler, /* 21 External Interrupt Controller */
- .pfnEIC_EXTINT_10_Handler = (void*) EIC_EXTINT_10_Handler, /* 22 External Interrupt Controller */
- .pfnEIC_EXTINT_11_Handler = (void*) EIC_EXTINT_11_Handler, /* 23 External Interrupt Controller */
- .pfnEIC_EXTINT_12_Handler = (void*) EIC_EXTINT_12_Handler, /* 24 External Interrupt Controller */
- .pfnEIC_EXTINT_13_Handler = (void*) EIC_EXTINT_13_Handler, /* 25 External Interrupt Controller */
- .pfnEIC_EXTINT_14_Handler = (void*) EIC_EXTINT_14_Handler, /* 26 External Interrupt Controller */
- .pfnEIC_EXTINT_15_Handler = (void*) EIC_EXTINT_15_Handler, /* 27 External Interrupt Controller */
- .pfnFREQM_Handler = (void*) FREQM_Handler, /* 28 Frequency Meter */
- .pfnNVMCTRL_0_Handler = (void*) NVMCTRL_0_Handler, /* 29 Non-Volatile Memory Controller */
- .pfnNVMCTRL_1_Handler = (void*) NVMCTRL_1_Handler, /* 30 Non-Volatile Memory Controller */
- .pfnDMAC_0_Handler = (void*) DMAC_0_Handler, /* 31 Direct Memory Access Controller */
- .pfnDMAC_1_Handler = (void*) DMAC_1_Handler, /* 32 Direct Memory Access Controller */
- .pfnDMAC_2_Handler = (void*) DMAC_2_Handler, /* 33 Direct Memory Access Controller */
- .pfnDMAC_3_Handler = (void*) DMAC_3_Handler, /* 34 Direct Memory Access Controller */
- .pfnDMAC_OTHER_Handler = (void*) DMAC_OTHER_Handler, /* 35 Direct Memory Access Controller */
- .pfnEVSYS_0_Handler = (void*) EVSYS_0_Handler, /* 36 Event System Interface */
- .pfnEVSYS_1_Handler = (void*) EVSYS_1_Handler, /* 37 Event System Interface */
- .pfnEVSYS_2_Handler = (void*) EVSYS_2_Handler, /* 38 Event System Interface */
- .pfnEVSYS_3_Handler = (void*) EVSYS_3_Handler, /* 39 Event System Interface */
- .pfnEVSYS_OTHER_Handler = (void*) EVSYS_OTHER_Handler, /* 40 Event System Interface */
- .pfnPAC_Handler = (void*) PAC_Handler, /* 41 Peripheral Access Controller */
- .pvReserved42 = (void*) (0UL), /* 42 Reserved */
- .pvReserved43 = (void*) (0UL), /* 43 Reserved */
- .pvReserved44 = (void*) (0UL), /* 44 Reserved */
- .pfnRAMECC_Handler = (void*) RAMECC_Handler, /* 45 RAM ECC */
- .pfnSERCOM0_0_Handler = (void*) SERCOM0_0_Handler, /* 46 Serial Communication Interface */
- .pfnSERCOM0_1_Handler = (void*) SERCOM0_1_Handler, /* 47 Serial Communication Interface */
- .pfnSERCOM0_2_Handler = (void*) SERCOM0_2_Handler, /* 48 Serial Communication Interface */
- .pfnSERCOM0_OTHER_Handler = (void*) SERCOM0_OTHER_Handler, /* 49 Serial Communication Interface */
- .pfnSERCOM1_0_Handler = (void*) SERCOM1_0_Handler, /* 50 Serial Communication Interface */
- .pfnSERCOM1_1_Handler = (void*) SERCOM1_1_Handler, /* 51 Serial Communication Interface */
- .pfnSERCOM1_2_Handler = (void*) SERCOM1_2_Handler, /* 52 Serial Communication Interface */
- .pfnSERCOM1_OTHER_Handler = (void*) SERCOM1_OTHER_Handler, /* 53 Serial Communication Interface */
- .pfnSERCOM2_0_Handler = (void*) SERCOM2_0_Handler, /* 54 Serial Communication Interface */
- .pfnSERCOM2_1_Handler = (void*) SERCOM2_1_Handler, /* 55 Serial Communication Interface */
- .pfnSERCOM2_2_Handler = (void*) SERCOM2_2_Handler, /* 56 Serial Communication Interface */
- .pfnSERCOM2_OTHER_Handler = (void*) SERCOM2_OTHER_Handler, /* 57 Serial Communication Interface */
- .pfnSERCOM3_0_Handler = (void*) SERCOM3_0_Handler, /* 58 Serial Communication Interface */
- .pfnSERCOM3_1_Handler = (void*) SERCOM3_1_Handler, /* 59 Serial Communication Interface */
- .pfnSERCOM3_2_Handler = (void*) SERCOM3_2_Handler, /* 60 Serial Communication Interface */
- .pfnSERCOM3_OTHER_Handler = (void*) SERCOM3_OTHER_Handler, /* 61 Serial Communication Interface */
- .pfnSERCOM4_0_Handler = (void*) SERCOM4_0_Handler, /* 62 Serial Communication Interface */
- .pfnSERCOM4_1_Handler = (void*) SERCOM4_1_Handler, /* 63 Serial Communication Interface */
- .pfnSERCOM4_2_Handler = (void*) SERCOM4_2_Handler, /* 64 Serial Communication Interface */
- .pfnSERCOM4_OTHER_Handler = (void*) SERCOM4_OTHER_Handler, /* 65 Serial Communication Interface */
- .pfnSERCOM5_0_Handler = (void*) SERCOM5_0_Handler, /* 66 Serial Communication Interface */
- .pfnSERCOM5_1_Handler = (void*) SERCOM5_1_Handler, /* 67 Serial Communication Interface */
- .pfnSERCOM5_2_Handler = (void*) SERCOM5_2_Handler, /* 68 Serial Communication Interface */
- .pfnSERCOM5_OTHER_Handler = (void*) SERCOM5_OTHER_Handler, /* 69 Serial Communication Interface */
- .pvReserved70 = (void*) (0UL), /* 70 Reserved */
- .pvReserved71 = (void*) (0UL), /* 71 Reserved */
- .pvReserved72 = (void*) (0UL), /* 72 Reserved */
- .pvReserved73 = (void*) (0UL), /* 73 Reserved */
- .pvReserved74 = (void*) (0UL), /* 74 Reserved */
- .pvReserved75 = (void*) (0UL), /* 75 Reserved */
- .pvReserved76 = (void*) (0UL), /* 76 Reserved */
- .pvReserved77 = (void*) (0UL), /* 77 Reserved */
- .pfnCAN0_Handler = (void*) CAN0_Handler, /* 78 Control Area Network */
- .pfnCAN1_Handler = (void*) CAN1_Handler, /* 79 Control Area Network */
- .pfnUSB_OTHER_Handler = (void*) USB_OTHER_Handler, /* 80 Universal Serial Bus */
- .pfnUSB_SOF_HSOF_Handler = (void*) USB_SOF_HSOF_Handler, /* 81 Universal Serial Bus */
- .pfnUSB_TRCPT0_Handler = (void*) USB_TRCPT0_Handler, /* 82 Universal Serial Bus */
- .pfnUSB_TRCPT1_Handler = (void*) USB_TRCPT1_Handler, /* 83 Universal Serial Bus */
- .pvReserved84 = (void*) (0UL), /* 84 Reserved */
- .pfnTCC0_OTHER_Handler = (void*) TCC0_OTHER_Handler, /* 85 Timer Counter Control */
- .pfnTCC0_MC0_Handler = (void*) TCC0_MC0_Handler, /* 86 Timer Counter Control */
- .pfnTCC0_MC1_Handler = (void*) TCC0_MC1_Handler, /* 87 Timer Counter Control */
- .pfnTCC0_MC2_Handler = (void*) TCC0_MC2_Handler, /* 88 Timer Counter Control */
- .pfnTCC0_MC3_Handler = (void*) TCC0_MC3_Handler, /* 89 Timer Counter Control */
- .pfnTCC0_MC4_Handler = (void*) TCC0_MC4_Handler, /* 90 Timer Counter Control */
- .pfnTCC0_MC5_Handler = (void*) TCC0_MC5_Handler, /* 91 Timer Counter Control */
- .pfnTCC1_OTHER_Handler = (void*) TCC1_OTHER_Handler, /* 92 Timer Counter Control */
- .pfnTCC1_MC0_Handler = (void*) TCC1_MC0_Handler, /* 93 Timer Counter Control */
- .pfnTCC1_MC1_Handler = (void*) TCC1_MC1_Handler, /* 94 Timer Counter Control */
- .pfnTCC1_MC2_Handler = (void*) TCC1_MC2_Handler, /* 95 Timer Counter Control */
- .pfnTCC1_MC3_Handler = (void*) TCC1_MC3_Handler, /* 96 Timer Counter Control */
- .pfnTCC2_OTHER_Handler = (void*) TCC2_OTHER_Handler, /* 97 Timer Counter Control */
- .pfnTCC2_MC0_Handler = (void*) TCC2_MC0_Handler, /* 98 Timer Counter Control */
- .pfnTCC2_MC1_Handler = (void*) TCC2_MC1_Handler, /* 99 Timer Counter Control */
- .pfnTCC2_MC2_Handler = (void*) TCC2_MC2_Handler, /* 100 Timer Counter Control */
- .pfnTCC3_OTHER_Handler = (void*) TCC3_OTHER_Handler, /* 101 Timer Counter Control */
- .pfnTCC3_MC0_Handler = (void*) TCC3_MC0_Handler, /* 102 Timer Counter Control */
- .pfnTCC3_MC1_Handler = (void*) TCC3_MC1_Handler, /* 103 Timer Counter Control */
- .pfnTCC4_OTHER_Handler = (void*) TCC4_OTHER_Handler, /* 104 Timer Counter Control */
- .pfnTCC4_MC0_Handler = (void*) TCC4_MC0_Handler, /* 105 Timer Counter Control */
- .pfnTCC4_MC1_Handler = (void*) TCC4_MC1_Handler, /* 106 Timer Counter Control */
- .pfnTC0_Handler = (void*) TC0_Handler, /* 107 Basic Timer Counter */
- .pfnTC1_Handler = (void*) TC1_Handler, /* 108 Basic Timer Counter */
- .pfnTC2_Handler = (void*) TC2_Handler, /* 109 Basic Timer Counter */
- .pfnTC3_Handler = (void*) TC3_Handler, /* 110 Basic Timer Counter */
- .pfnTC4_Handler = (void*) TC4_Handler, /* 111 Basic Timer Counter */
- .pfnTC5_Handler = (void*) TC5_Handler, /* 112 Basic Timer Counter */
- .pvReserved113 = (void*) (0UL), /* 113 Reserved */
- .pvReserved114 = (void*) (0UL), /* 114 Reserved */
- .pfnPDEC_OTHER_Handler = (void*) PDEC_OTHER_Handler, /* 115 Quadrature Decodeur */
- .pfnPDEC_MC0_Handler = (void*) PDEC_MC0_Handler, /* 116 Quadrature Decodeur */
- .pfnPDEC_MC1_Handler = (void*) PDEC_MC1_Handler, /* 117 Quadrature Decodeur */
- .pfnADC0_OTHER_Handler = (void*) ADC0_OTHER_Handler, /* 118 Analog Digital Converter */
- .pfnADC0_RESRDY_Handler = (void*) ADC0_RESRDY_Handler, /* 119 Analog Digital Converter */
- .pfnADC1_OTHER_Handler = (void*) ADC1_OTHER_Handler, /* 120 Analog Digital Converter */
- .pfnADC1_RESRDY_Handler = (void*) ADC1_RESRDY_Handler, /* 121 Analog Digital Converter */
- .pfnAC_Handler = (void*) AC_Handler, /* 122 Analog Comparators */
- .pfnDAC_OTHER_Handler = (void*) DAC_OTHER_Handler, /* 123 Digital-to-Analog Converter */
- .pfnDAC_EMPTY_0_Handler = (void*) DAC_EMPTY_0_Handler, /* 124 Digital-to-Analog Converter */
- .pfnDAC_EMPTY_1_Handler = (void*) DAC_EMPTY_1_Handler, /* 125 Digital-to-Analog Converter */
- .pfnDAC_RESRDY_0_Handler = (void*) DAC_RESRDY_0_Handler, /* 126 Digital-to-Analog Converter */
- .pfnDAC_RESRDY_1_Handler = (void*) DAC_RESRDY_1_Handler, /* 127 Digital-to-Analog Converter */
- .pfnI2S_Handler = (void*) I2S_Handler, /* 128 Inter-IC Sound Interface */
- .pfnPCC_Handler = (void*) PCC_Handler, /* 129 Parallel Capture Controller */
- .pfnAES_Handler = (void*) AES_Handler, /* 130 Advanced Encryption Standard */
- .pfnTRNG_Handler = (void*) TRNG_Handler, /* 131 True Random Generator */
- .pfnICM_Handler = (void*) ICM_Handler, /* 132 Integrity Check Monitor */
- .pfnPUKCC_Handler = (void*) PUKCC_Handler, /* 133 PUblic-Key Cryptography Controller */
- .pfnQSPI_Handler = (void*) QSPI_Handler, /* 134 Quad SPI interface */
- .pfnSDHC0_Handler = (void*) SDHC0_Handler /* 135 SD/MMC Host Controller */
-};
-
-/**
- * \brief This is the code that gets called on processor reset.
- * To initialize the device, and call the main() routine.
- */
-void Reset_Handler(void)
-{
- uint32_t *pSrc, *pDest;
-
- /* Initialize the relocate segment */
- pSrc = &_etext;
- pDest = &_srelocate;
-
- if (pSrc != pDest) {
- for (; pDest < &_erelocate;) {
- *pDest++ = *pSrc++;
- }
- }
-
- /* Clear the zero segment */
- for (pDest = &_szero; pDest < &_ezero;) {
- *pDest++ = 0;
- }
-
- /* Set the vector table base address */
- pSrc = (uint32_t *) & _sfixed;
- SCB->VTOR = ((uint32_t) pSrc & SCB_VTOR_TBLOFF_Msk);
-
- /* Call the optional application-provided _on_reset() function. */
- if (_on_reset) {
- _on_reset();
- }
-
- /* Initialize the C library */
- __libc_init_array();
-
- /* Call the optional application-provided _on_bootstrap() function. */
- if (_on_bootstrap) {
- _on_bootstrap();
- }
-
- /* Branch to main function */
- main();
-
- /* Infinite loop */
- while (1);
-}
-
-/**
- * \brief Default interrupt handler for unused IRQs.
- */
-void Dummy_Handler(void)
-{
- while (1) {
- }
-}
diff --git a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/system_same51j20a.c b/IDE/MPLabX/wolfBoot_usbUpdateApp.X/system_same51j20a.c
deleted file mode 100644
index d2d3f0558..000000000
--- a/IDE/MPLabX/wolfBoot_usbUpdateApp.X/system_same51j20a.c
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- * \file
- *
- * \brief System configuration file for ATSAME51J20A
- *
- * Copyright (c) 2023 Microchip Technology Inc.
- *
- * \license_start
- *
- * \page License
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * \license_stop
- *
- */
-
-#include "same51j20a.h"
-
-/** \cond 0 */
-/* *INDENT-OFF* */
-#ifdef __cplusplus
-extern "C" {
-#endif
-/* *INDENT-ON* */
-/** \endcond */
-
-/**
- * Initial system clock frequency. The System RC Oscillator (RCSYS) provides
- * the source for the main clock at chip startup.
- */
-#define __SYSTEM_CLOCK (48000000)
-
-uint32_t SystemCoreClock = __SYSTEM_CLOCK; /*!< System Clock Frequency (Core Clock)*/
-
-/**
- * Initialize the system
- *
- * \brief Setup the microcontroller system.
- * Initialize the System and update the SystemCoreClock variable.
- */
-void SystemInit(void)
-{
- // Keep the default device state after reset
- SystemCoreClock = __SYSTEM_CLOCK;
- return;
-}
-
-/**
- * Update SystemCoreClock variable
- *
- * \brief Updates the SystemCoreClock with current core Clock
- * retrieved from cpu registers.
- */
-void SystemCoreClockUpdate(void)
-{
- // Not implemented
- SystemCoreClock = __SYSTEM_CLOCK;
- return;
-}
-
-/** \cond 0 */
-/* *INDENT-OFF* */
-#ifdef __cplusplus
-}
-#endif
-/* *INDENT-ON* */
-/** \endcond */
diff --git a/hal/same51.c b/hal/same51.c
index 6abf0edb2..714400ef2 100644
--- a/hal/same51.c
+++ b/hal/same51.c
@@ -145,7 +145,7 @@
#define NVMCMD_KEY ((0xA5) << 8)
#define NVMCMD_ERASE_PAGE (0x00)
-#define NVMCMD_ERASE_BLOCK (0x02)
+#define NVMCMD_ERASE_BLOCK (0x01)
#define NVMCMD_WP (0x03)
#define NVMCMD_WQW (0x04)
#define NVMCMD_PBC (0x15)
@@ -255,6 +255,9 @@ static void clock_init(void)
}
+
+#ifdef __WOLFBOOT
+#ifdef DUALBANK_SWAP
#define BANKA_BASE 0x00000000
#define BANKB_BASE 0x00080000
@@ -264,7 +267,7 @@ static void RAMFUNCTION fork_bootloader(void)
{
uint32_t r;
uint32_t len = (uint32_t)(WOLFBOOT_PARTITION_BOOT_ADDRESS - BANKA_BASE);
- if (memcmp((void *)BANKA_BASE, (void *)BANKB_BASE, WOLFBOOT_PARTITION_BOOT_ADDRESS) == 0)
+ if (memcmp((void *)BANKA_BASE, (void *)BANKB_BASE, len) == 0)
return;
hal_flash_unlock();
hal_flash_erase(BANKB_BASE, len);
@@ -273,11 +276,10 @@ static void RAMFUNCTION fork_bootloader(void)
}
hal_flash_lock();
}
+#endif /* DUALBANK_SWAP */
void hal_init(void)
{
-
- uint32_t reg;
/* Turn off watchdog */
WDT_CTRL &= (~WDT_EN);
/* Run the bootloader with interrupts off */
@@ -298,12 +300,45 @@ void hal_init(void)
/* enable all the APBD clocks */
MCLK_APBDMASK = 0x2U;
-
#ifdef DUALBANK_SWAP
fork_bootloader();
#endif
}
+void RAMFUNCTION hal_flash_dualbank_swap(void)
+{
+ hal_flash_unlock();
+ NVMCTRLB = NVMCMD_BKSWRST | NVMCMD_KEY;
+
+ /* Next loop should never be reached: system is restarted */
+ while(!(NVMCTRL_INTFLAG & NVMCTRL_INTFLAG_CMD_DONE))
+ ;
+ while( 1 )
+ ;
+}
+
+
+void RAMFUNCTION hal_prepare_boot(void)
+{
+ /* Reset clock controller */
+ GCLK_CTRLA |= CTRLA_SWRST;
+
+ /* Wait until reset is complete */
+ while ((GCLK_SYNCBUSY & SYNCBUSY_SWRST) != 0)
+ ;
+
+ /* Disable PLL */
+ OSCCTRL_DPLL0CTRLA = 0;
+ /* Wait until the PLL is enabled */
+ while ((OSCCTRL_DPLL0SYNCBUSY & DPLL0SYNCBUSY_ENABLE) != 0)
+ ;
+
+ /* Clear PLL options */
+ OSCCTRL_DPLL0CTRLB = 0;
+}
+
+#endif /* __WOLFBOOT */
+
int RAMFUNCTION hal_flash_write(uint32_t address, const uint8_t *data, int len)
{
int i = 0;
@@ -364,26 +399,3 @@ int RAMFUNCTION hal_flash_erase(uint32_t address, int len)
}
-void RAMFUNCTION hal_flash_dualbank_swap(void)
-{
- hal_flash_unlock();
- NVMCTRLB = NVMCMD_BKSWRST | NVMCMD_KEY;
-
- /* Next loop should never be reached: system is restarted */
- while(!(NVMCTRL_INTFLAG & NVMCTRL_INTFLAG_CMD_DONE))
- ;
- while( 1 )
- ;
-}
-
-
-void RAMFUNCTION hal_prepare_boot(void)
-{
- /* Reset clock controller */
- GCLK_CTRLA |= CTRLA_SWRST;
-
- /* Wait until reset is complete */
- while ((GCLK_SYNCBUSY & SYNCBUSY_SWRST) != 0)
- ;
-}
-
diff --git a/hal/same51.ld b/hal/same51.ld
index 7dab4ebdb..6e929cf94 100644
--- a/hal/same51.ld
+++ b/hal/same51.ld
@@ -29,6 +29,7 @@ SECTIONS
.data : AT (_stored_data)
{
_start_data = .;
+ KEEP(*(.data.wolfboot_version*))
KEEP(*(.data*))
. = ALIGN(4);
_end_data = .;