From 0e4fc201210a037b5e5fb5084596698f8f1de57a Mon Sep 17 00:00:00 2001 From: Artur Silva Date: Thu, 14 Sep 2023 08:17:52 +0100 Subject: [PATCH 1/2] Update core start parameters and fw version --- Firmware/AudioSwitch/AudioSwitch.cppproj | 136 ++++++++++++++--------- Firmware/AudioSwitch/app.c | 8 +- 2 files changed, 88 insertions(+), 56 deletions(-) diff --git a/Firmware/AudioSwitch/AudioSwitch.cppproj b/Firmware/AudioSwitch/AudioSwitch.cppproj index dbcdb8b..0b9ae11 100644 --- a/Firmware/AudioSwitch/AudioSwitch.cppproj +++ b/Firmware/AudioSwitch/AudioSwitch.cppproj @@ -2,7 +2,7 @@ 2.0 - 6.2 + 7.0 com.Atmel.AVRGCC8.CPP {2ac71c99-e332-42ac-aa16-8b5fcc4c013b} ATxmega128A4U @@ -27,16 +27,16 @@ 2 0 - - - - - - - - - - + + + + + + + + + + com.atmel.avrdbg.tool.atmelice PDI @@ -51,56 +51,73 @@ J41800031896 Atmel-ICE + 0 + - True - True - True - True - True - False - True - True - - - NDEBUG - - - Optimize for size (-Os) - True - True - True - True - True - - - NDEBUG - - - Optimize for size (-Os) - True - True - True - - - libm - libATxmega128A4U-1.4.a - - - - - C:\Users\Filipe Carvalho\Documents\BitBucket\Device.LoadCells\Firmware\LoadCells - C:\Users\Filipe Carvalho\Documents\BitBucket\Device.AudioSwitch\Firmware\AudioSwitch - - - + -mmcu=atxmega128a4u -B "%24(PackRepoDir)\atmel\XMEGAA_DFP\1.2.141\gcc\dev\atxmega128a4u" + True + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.2.141\include\ + + + Optimize for size (-Os) + True + True + True + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.2.141\include\ + + + Optimize for size (-Os) + True + True + True + + + libm + libATxmega128A4U-1.4.a + + + + + + + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.2.141\include\ + + + + -mmcu=atxmega128a4u -B "%24(PackRepoDir)\atmel\XMEGAA_DFP\1.2.141\gcc\dev\atxmega128a4u" True True True @@ -114,6 +131,11 @@ DEBUG + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.2.141\include\ + + Optimize (-O1) True True @@ -126,6 +148,11 @@ DEBUG + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.2.141\include\ + + Optimize most (-O3) True True @@ -142,6 +169,11 @@ .. + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.2.141\include\ + + Default (-Wa,-g) diff --git a/Firmware/AudioSwitch/app.c b/Firmware/AudioSwitch/app.c index 864a9e2..53295ad 100644 --- a/Firmware/AudioSwitch/app.c +++ b/Firmware/AudioSwitch/app.c @@ -27,7 +27,7 @@ void hwbp_app_initialize(void) uint8_t hwH = 1; uint8_t hwL = 0; uint8_t fwH = 1; - uint8_t fwL = 1; + uint8_t fwL = 2; uint8_t ass = 0; /* Start core */ @@ -40,9 +40,9 @@ void hwbp_app_initialize(void) APP_NBYTES_OF_REG_BANK, APP_REGS_ADD_MAX - APP_REGS_ADD_MIN + 1, default_device_name, - true, // The device is _not_ able to repeat the harp timestamp clock - true, // The device is _not_ able to generate the harp timestamp clock - 3 // Default timestamp offset + false, // The device is _not_ able to repeat the harp timestamp clock + false, // The device is _not_ able to generate the harp timestamp clock + 0 // Default timestamp offset ); } From 393f27dd4b9c088ecb3016195e4b53cdce403384 Mon Sep 17 00:00:00 2001 From: Artur Silva Date: Thu, 14 Sep 2023 08:18:15 +0100 Subject: [PATCH 2/2] Update device.yml firmware version --- device.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device.yml b/device.yml index d55fe56..f060a61 100644 --- a/device.yml +++ b/device.yml @@ -4,7 +4,7 @@ device: AudioSwitch whoAmI: 1248 -firmwareVersion: "1.1" +firmwareVersion: "1.2" hardwareTargets: "1.0" registers: ControlMode: