From dafcc4d778eef9a2eb9c28d5b5432e0b319c289a Mon Sep 17 00:00:00 2001 From: Artur Silva Date: Wed, 13 Sep 2023 08:22:32 +0100 Subject: [PATCH] Correct core start parameters and increase fw --- Firmware/Synchronizer/Synchronizer.cproj | 184 +++++++++++------------ Firmware/Synchronizer/app.c | 8 +- device.yml | 2 +- 3 files changed, 97 insertions(+), 97 deletions(-) diff --git a/Firmware/Synchronizer/Synchronizer.cproj b/Firmware/Synchronizer/Synchronizer.cproj index 19f3dc1..6c36049 100644 --- a/Firmware/Synchronizer/Synchronizer.cproj +++ b/Firmware/Synchronizer/Synchronizer.cproj @@ -28,15 +28,15 @@ 0 - - - - - - - - - + + + + + + + + + com.atmel.avrdbg.tool.atmelice PDI @@ -57,94 +57,94 @@ - -mmcu=atxmega32a4u -B "%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\gcc\dev\atxmega32a4u" - True - True - True - True - False - True - True - - - NDEBUG - - - - - %24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include - - - Optimize for size (-Os) - True - True - True - - - libm - - - - - C:\Users\Filipe Carvalho\Documents\BitBucket\Device.Synchronizer\Firmware_\Synchronizer\Synchronizer\Synchronizer - C:\Users\Filipe Carvalho\Documents\BitBucket\Device.Synchronizer\Firmware_\Synchronizer\Synchronizer - C:\Users\Filipe Carvalho\Documents\BitBucket\Device.Synchronizer\Firmware\Synchronizer - C:\FChampalimaud\harp\device.synchronizer\Firmware\Synchronizer - C:\FChampalimaud\harp\Devices\device.pump\Firmware\Pump - - - - - %24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include - - - + -mmcu=atxmega32a4u -B "%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\gcc\dev\atxmega32a4u" + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + C:\Users\Filipe Carvalho\Documents\BitBucket\Device.Synchronizer\Firmware_\Synchronizer\Synchronizer\Synchronizer + C:\Users\Filipe Carvalho\Documents\BitBucket\Device.Synchronizer\Firmware_\Synchronizer\Synchronizer + C:\Users\Filipe Carvalho\Documents\BitBucket\Device.Synchronizer\Firmware\Synchronizer + C:\FChampalimaud\harp\device.synchronizer\Firmware\Synchronizer + C:\FChampalimaud\harp\Devices\device.pump\Firmware\Pump + + + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include + + + - -mmcu=atxmega32a4u -B "%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\gcc\dev\atxmega32a4u" - True - True - True - True - False - True - True - - - DEBUG - - - - - %24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include - - - Optimize most (-O3) - True - True - Default (-g2) - True - - - libm - libATxmega32A4U-1.13.a - - - - - .. - - - - - %24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include - - - Default (-Wa,-g) - + -mmcu=atxmega32a4u -B "%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\gcc\dev\atxmega32a4u" + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include + + + Optimize most (-O3) + True + True + Default (-g2) + True + + + libm + libATxmega32A4U-1.13.a + + + + + .. + + + + + %24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include + + + Default (-Wa,-g) + diff --git a/Firmware/Synchronizer/app.c b/Firmware/Synchronizer/app.c index 9c2a209..17a13e9 100644 --- a/Firmware/Synchronizer/app.c +++ b/Firmware/Synchronizer/app.c @@ -28,7 +28,7 @@ void hwbp_app_initialize(void) uint8_t hwH = 1; uint8_t hwL; uint8_t fwH = 1; - uint8_t fwL = 6; + uint8_t fwL = 7; uint8_t ass = 0; io_pin2in(&PORTB, 3, PULL_IO_UP, SENSE_IO_EDGES_BOTH); @@ -52,9 +52,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 ); } diff --git a/device.yml b/device.yml index 7cc2b51..7998e50 100644 --- a/device.yml +++ b/device.yml @@ -3,7 +3,7 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/harp-tech/reflex-generator/main/schema/device.json device: Synchronizer whoAmI: 1104 -firmwareVersion: "1.6" +firmwareVersion: "1.7" hardwareTargets: "1.0" registers: DigitalInputState: