diff --git a/BLDC_E54/.vs/BLDC_E54/v14/.atsuo b/BLDC_E54/.vs/BLDC_E54/v14/.atsuo index 401804d..7c1203a 100644 Binary files a/BLDC_E54/.vs/BLDC_E54/v14/.atsuo and b/BLDC_E54/.vs/BLDC_E54/v14/.atsuo differ diff --git a/BLDC_E54/BLDC_E54/.atmelstart/atmel_start_config.atstart b/BLDC_E54/BLDC_E54/.atmelstart/atmel_start_config.atstart index 73f4306..b4eae33 100644 --- a/BLDC_E54/BLDC_E54/.atmelstart/atmel_start_config.atstart +++ b/BLDC_E54/BLDC_E54/.atmelstart/atmel_start_config.atstart @@ -321,7 +321,7 @@ drivers: dmac_channel_7_settings: false dmac_channel_8_settings: false dmac_channel_9_settings: false - dmac_dbgrun: true + dmac_dbgrun: false dmac_dstinc_0: true dmac_dstinc_1: false dmac_dstinc_10: false @@ -860,7 +860,7 @@ drivers: api: HAL:Driver:Event_system configuration: evsys_channel_0: No channel output selected - evsys_channel_1: No channel output selected + evsys_channel_1: Channel 0 evsys_channel_10: No channel output selected evsys_channel_11: No channel output selected evsys_channel_12: No channel output selected @@ -1286,7 +1286,7 @@ drivers: $input_id: External Crystal Oscillator 8-48MHz (XOSC1) RESERVED_InputFreq: 12000000 RESERVED_InputFreq_id: External Crystal Oscillator 8-48MHz (XOSC1) - _$freq_output_Generic clock generator 0: 100000000 + _$freq_output_Generic clock generator 0: 120000000 _$freq_output_Generic clock generator 1: 2000000 _$freq_output_Generic clock generator 10: 12000000 _$freq_output_Generic clock generator 11: 12000000 @@ -1428,11 +1428,11 @@ drivers: functionality: System api: HAL:HPL:MCLK configuration: - $input: 100000000 + $input: 120000000 $input_id: Generic clock generator 0 - RESERVED_InputFreq: 100000000 + RESERVED_InputFreq: 120000000 RESERVED_InputFreq_id: Generic clock generator 0 - _$freq_output_CPU: 100000000 + _$freq_output_CPU: 120000000 cpu_clock_source: Generic clock generator 0 cpu_div: '1' enable_cpu_clock: true @@ -1495,7 +1495,7 @@ drivers: RESERVED_InputFreq_id: Generic clock generator 1 _$freq_output_Digital Frequency Locked Loop (DFLL48M): 48000000 _$freq_output_Digital Phase Locked Loop (DPLL0): 47985664 - _$freq_output_Digital Phase Locked Loop (DPLL1): 100000000 + _$freq_output_Digital Phase Locked Loop (DPLL1): 120000000 _$freq_output_External Crystal Oscillator 8-48MHz (XOSC0): 12000000 _$freq_output_External Crystal Oscillator 8-48MHz (XOSC1): 12000000 dfll_arch_bplckc: false @@ -1546,7 +1546,7 @@ drivers: fdpll1_arch_wuf: false fdpll1_clock_dcofilter: 0 fdpll1_clock_div: 0 - fdpll1_ldr: 49 + fdpll1_ldr: 59 fdpll1_ldrfrac: 0 fdpll1_ref_clock: Generic clock generator 1 xosc0_arch_cfden: false @@ -1646,11 +1646,11 @@ drivers: portb_input_event_enable_1: false portb_input_event_enable_2: false portb_input_event_enable_3: false - portc_event_action_0: Toggle output register of pin on event + portc_event_action_0: Output register of pin will be set to level of event portc_event_action_1: Output register of pin will be set to level of event portc_event_action_2: Output register of pin will be set to level of event portc_event_action_3: Output register of pin will be set to level of event - portc_event_pin_identifier_0: 10 + portc_event_pin_identifier_0: 0 portc_event_pin_identifier_1: 0 portc_event_pin_identifier_2: 0 portc_event_pin_identifier_3: 0 @@ -1658,11 +1658,11 @@ drivers: portc_input_event_enable_1: false portc_input_event_enable_2: false portc_input_event_enable_3: false - portd_event_action_0: Toggle output register of pin on event + portd_event_action_0: Output register of pin will be set to level of event portd_event_action_1: Output register of pin will be set to level of event portd_event_action_2: Output register of pin will be set to level of event portd_event_action_3: Output register of pin will be set to level of event - portd_event_pin_identifier_0: 10 + portd_event_pin_identifier_0: 11 portd_event_pin_identifier_1: 0 portd_event_pin_identifier_2: 0 portd_event_pin_identifier_3: 0 @@ -1697,7 +1697,7 @@ drivers: spi_master_arch_dord: MSB first spi_master_arch_ibon: In data stream spi_master_arch_runstdby: false - spi_master_baud_rate: 6000000 + spi_master_baud_rate: 12000000 spi_master_character_size: 8 bits spi_master_dma_rx_channel: 0 spi_master_dma_tx_channel: 1 @@ -1797,7 +1797,7 @@ drivers: functionality: Timer api: Lite:TC:Timer configuration: - cc_cc0: 25000 + cc_cc0: 30000 cc_cc1: 0 cc_control: true count_control: false @@ -1900,7 +1900,7 @@ drivers: tcc_arch_tceinv1: false tcc_arch_trgeo: false tcc_arch_wave_duty_val: 500 - tcc_arch_wave_per_val: 40 + tcc_arch_wave_per_val: 48 tcc_arch_wavegen: Dual-slope, interrupt/event at ZERO (DSBOTTOM) tcc_per: 10000 tcc_prescaler: Divide by 2 @@ -2015,7 +2015,7 @@ drivers: tcc_arch_tceinv1: false tcc_arch_trgeo: false tcc_arch_wave_duty_val: 500 - tcc_arch_wave_per_val: 40 + tcc_arch_wave_per_val: 48 tcc_arch_wavegen: Dual-slope, interrupt/event at ZERO (DSBOTTOM) tcc_per: 10000 tcc_prescaler: Divide by 2 @@ -2171,6 +2171,12 @@ pads: mode: Peripheral IO user_label: M2_3 configuration: null + DEBUG_5: + name: PD11 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD11 + mode: Digital output + user_label: DEBUG_5 + configuration: null M3_2: name: PC14 definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC14 diff --git a/BLDC_E54/BLDC_E54/BLDC_E54.cproj b/BLDC_E54/BLDC_E54/BLDC_E54.cproj index 3e2b8d8..cdc53e4 100644 --- a/BLDC_E54/BLDC_E54/BLDC_E54.cproj +++ b/BLDC_E54/BLDC_E54/BLDC_E54.cproj @@ -20,10 +20,10 @@ false true true - + 0x20000000 true - + exception_table 2 0 0 @@ -148,9 +148,9 @@ - + - + @@ -194,7 +194,7 @@ - + @@ -203,18 +203,18 @@ - + - + - + - - - - + + + + @@ -278,6 +278,7 @@ C:\Users\Nick-XMG\Documents\github\bldc_control_thesis\atmel\BLDC_Controller_SAME54\BLDC_E54\BLDC_E54\cmsis %24(ProjectDir)\Device_Startup + C:\Users\Nick-XMG\Documents\github\bldc_control_thesis\bldc_firmware_thesis\BLDC_E54\BLDC_E54\cmsis True @@ -356,8 +357,8 @@ DEBUG - ARM_MATH_CM4 - __FPU_PRESENT=1 + ARM_MATH_CM4=true + __FPU_PRESENT=1U @@ -390,28 +391,25 @@ %24(PackRepoDir)\atmel\SAME54_DFP\1.1.134\include - Optimize debugging experience (-Og) + Optimize (-O1) True Maximum (-g3) True True -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 - True libm - libarm_cortexM4lf_math.a - C:\Users\Nick-XMG\Documents\github\bldc_control_thesis\atmel\BLDC_Controller_SAME54\BLDC_E54\BLDC_E54\cmsis %24(ProjectDir)\Device_Startup True - -Tsame54p20a_flash.ld -mfloat-abi=hard -mfpu=fpv4-sp-d16 -larm_cortexM4lf_math + -Tsame54p20a_flash.ld -mfloat-abi=hard -mfpu=fpv4-sp-d16 %24(PackRepoDir)\arm\CMSIS\5.4.0\CMSIS\Core\Include\ @@ -478,9 +476,6 @@ - - compile - compile diff --git a/BLDC_E54/BLDC_E54/Config/hpl_dmac_config.h b/BLDC_E54/BLDC_E54/Config/hpl_dmac_config.h index 0c66b0e..111fb23 100644 --- a/BLDC_E54/BLDC_E54/Config/hpl_dmac_config.h +++ b/BLDC_E54/BLDC_E54/Config/hpl_dmac_config.h @@ -99,7 +99,7 @@ // Indicates whether Debug Run is enabled or not // dmac_dbgrun #ifndef CONF_DMAC_DBGRUN -#define CONF_DMAC_DBGRUN 1 +#define CONF_DMAC_DBGRUN 0 #endif // Channel 0 settings diff --git a/BLDC_E54/BLDC_E54/Config/hpl_evsys_config.h b/BLDC_E54/BLDC_E54/Config/hpl_evsys_config.h index 4c68b9e..bd0bb17 100644 --- a/BLDC_E54/BLDC_E54/Config/hpl_evsys_config.h +++ b/BLDC_E54/BLDC_E54/Config/hpl_evsys_config.h @@ -5880,7 +5880,7 @@ // evsys_channel_1 // Indicates which channel is chosen for user #ifndef CONF_CHANNEL_1 -#define CONF_CHANNEL_1 0 +#define CONF_CHANNEL_1 1 #endif // Channel selection for PORT event 1 diff --git a/BLDC_E54/BLDC_E54/Config/hpl_oscctrl_config.h b/BLDC_E54/BLDC_E54/Config/hpl_oscctrl_config.h index b62c2bc..3fc7613 100644 --- a/BLDC_E54/BLDC_E54/Config/hpl_oscctrl_config.h +++ b/BLDC_E54/BLDC_E54/Config/hpl_oscctrl_config.h @@ -568,7 +568,7 @@ // Value of LDR is calculated using Fclk_dpll=Fckr*(LDR+1+LDRFRAC/32) formula as given in datasheet. This value is directly written in to DPLLRATIO register // fdpll1_ldr #ifndef CONF_FDPLL1_LDR -#define CONF_FDPLL1_LDR 0x31 +#define CONF_FDPLL1_LDR 0x3b #endif // Clock Divider <0x0-0x7FF> diff --git a/BLDC_E54/BLDC_E54/Config/hpl_port_config.h b/BLDC_E54/BLDC_E54/Config/hpl_port_config.h index a743ae0..c23feea 100644 --- a/BLDC_E54/BLDC_E54/Config/hpl_port_config.h +++ b/BLDC_E54/BLDC_E54/Config/hpl_port_config.h @@ -79,7 +79,7 @@ // These bits define the I/O pin from port C on which the event action will be performed // portc_event_pin_identifier_0 #ifndef CONF_PORTC_EVCTRL_PID_0 -#define CONF_PORTC_EVCTRL_PID_0 0xa +#define CONF_PORTC_EVCTRL_PID_0 0x0 #endif // PORTC Event 0 Action @@ -90,7 +90,7 @@ // These bits define the event action the PORT C will perform on event input 0 // portc_event_action_0 #ifndef CONF_PORTC_EVCTRL_EVACT_0 -#define CONF_PORTC_EVCTRL_EVACT_0 3 +#define CONF_PORTC_EVCTRL_EVACT_0 0 #endif // @@ -107,7 +107,7 @@ // These bits define the I/O pin from port D on which the event action will be performed // portd_event_pin_identifier_0 #ifndef CONF_PORTD_EVCTRL_PID_0 -#define CONF_PORTD_EVCTRL_PID_0 0xa +#define CONF_PORTD_EVCTRL_PID_0 0xb #endif // PORTD Event 0 Action @@ -118,7 +118,7 @@ // These bits define the event action the PORT D will perform on event input 0 // portd_event_action_0 #ifndef CONF_PORTD_EVCTRL_EVACT_0 -#define CONF_PORTD_EVCTRL_EVACT_0 3 +#define CONF_PORTD_EVCTRL_EVACT_0 0 #endif // diff --git a/BLDC_E54/BLDC_E54/Config/hpl_sercom_config.h b/BLDC_E54/BLDC_E54/Config/hpl_sercom_config.h index c649ed5..4623219 100644 --- a/BLDC_E54/BLDC_E54/Config/hpl_sercom_config.h +++ b/BLDC_E54/BLDC_E54/Config/hpl_sercom_config.h @@ -59,7 +59,7 @@ // The SPI data transfer rate // spi_master_baud_rate #ifndef CONF_SERCOM_5_SPI_BAUD -#define CONF_SERCOM_5_SPI_BAUD 6000000 +#define CONF_SERCOM_5_SPI_BAUD 12000000 #endif // diff --git a/BLDC_E54/BLDC_E54/Config/hpl_tcc_config.h b/BLDC_E54/BLDC_E54/Config/hpl_tcc_config.h index 558bc00..30ae64e 100644 --- a/BLDC_E54/BLDC_E54/Config/hpl_tcc_config.h +++ b/BLDC_E54/BLDC_E54/Config/hpl_tcc_config.h @@ -44,7 +44,7 @@ // The unit of this value is us. // tcc_arch_wave_per_val #ifndef CONF_TCC0_WAVE_PER_VAL -#define CONF_TCC0_WAVE_PER_VAL 0x28 +#define CONF_TCC0_WAVE_PER_VAL 0x30 #endif // TCC0 Waveform Duty Value (0.1%) <0x00-0x03E8> @@ -621,7 +621,7 @@ // The unit of this value is us. // tcc_arch_wave_per_val #ifndef CONF_TCC1_WAVE_PER_VAL -#define CONF_TCC1_WAVE_PER_VAL 0x28 +#define CONF_TCC1_WAVE_PER_VAL 0x30 #endif // TCC1 Waveform Duty Value (0.1%) <0x00-0x03E8> diff --git a/BLDC_E54/BLDC_E54/Config/peripheral_clk_config.h b/BLDC_E54/BLDC_E54/Config/peripheral_clk_config.h index 366d8bd..4164274 100644 --- a/BLDC_E54/BLDC_E54/Config/peripheral_clk_config.h +++ b/BLDC_E54/BLDC_E54/Config/peripheral_clk_config.h @@ -41,7 +41,7 @@ * \brief ADC0's Clock frequency */ #ifndef CONF_GCLK_ADC0_FREQUENCY -#define CONF_GCLK_ADC0_FREQUENCY 100000000 +#define CONF_GCLK_ADC0_FREQUENCY 120000000 #endif // CCL Clock Source @@ -81,7 +81,7 @@ * \brief CCL's Clock frequency */ #ifndef CONF_GCLK_CCL_FREQUENCY -#define CONF_GCLK_CCL_FREQUENCY 100000000 +#define CONF_GCLK_CCL_FREQUENCY 120000000 #endif // EIC Clock Source @@ -121,7 +121,7 @@ * \brief EIC's Clock frequency */ #ifndef CONF_GCLK_EIC_FREQUENCY -#define CONF_GCLK_EIC_FREQUENCY 100000000 +#define CONF_GCLK_EIC_FREQUENCY 120000000 #endif // EVSYS Channel 0 Clock Source @@ -162,7 +162,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_0_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_0_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_0_FREQUENCY 120000000 #endif // EVSYS Channel 1 Clock Source @@ -203,7 +203,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_1_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_1_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_1_FREQUENCY 120000000 #endif // EVSYS Channel 2 Clock Source @@ -244,7 +244,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_2_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_2_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_2_FREQUENCY 120000000 #endif // EVSYS Channel 3 Clock Source @@ -285,7 +285,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_3_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_3_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_3_FREQUENCY 120000000 #endif // EVSYS Channel 4 Clock Source @@ -326,7 +326,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_4_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_4_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_4_FREQUENCY 120000000 #endif // EVSYS Channel 5 Clock Source @@ -367,7 +367,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_5_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_5_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_5_FREQUENCY 120000000 #endif // EVSYS Channel 6 Clock Source @@ -408,7 +408,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_6_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_6_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_6_FREQUENCY 120000000 #endif // EVSYS Channel 7 Clock Source @@ -449,7 +449,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_7_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_7_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_7_FREQUENCY 120000000 #endif // EVSYS Channel 8 Clock Source @@ -490,7 +490,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_8_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_8_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_8_FREQUENCY 120000000 #endif // EVSYS Channel 9 Clock Source @@ -531,7 +531,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_9_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_9_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_9_FREQUENCY 120000000 #endif // EVSYS Channel 10 Clock Source @@ -572,7 +572,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_10_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_10_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_10_FREQUENCY 120000000 #endif // EVSYS Channel 11 Clock Source @@ -613,7 +613,7 @@ */ #ifndef CONF_GCLK_EVSYS_CHANNEL_11_FREQUENCY -#define CONF_GCLK_EVSYS_CHANNEL_11_FREQUENCY 100000000 +#define CONF_GCLK_EVSYS_CHANNEL_11_FREQUENCY 120000000 #endif /** @@ -621,7 +621,7 @@ * \brief CPU's Clock frequency */ #ifndef CONF_CPU_FREQUENCY -#define CONF_CPU_FREQUENCY 100000000 +#define CONF_CPU_FREQUENCY 120000000 #endif // PDEC Clock Source @@ -661,7 +661,7 @@ * \brief PDEC's Clock frequency */ #ifndef CONF_GCLK_PDEC_FREQUENCY -#define CONF_GCLK_PDEC_FREQUENCY 100000000 +#define CONF_GCLK_PDEC_FREQUENCY 120000000 #endif // Core Clock Source @@ -733,7 +733,7 @@ * \brief SERCOM5's Core Clock frequency */ #ifndef CONF_GCLK_SERCOM5_CORE_FREQUENCY -#define CONF_GCLK_SERCOM5_CORE_FREQUENCY 100000000 +#define CONF_GCLK_SERCOM5_CORE_FREQUENCY 120000000 #endif /** @@ -781,7 +781,7 @@ * \brief TC0's Clock frequency */ #ifndef CONF_GCLK_TC0_FREQUENCY -#define CONF_GCLK_TC0_FREQUENCY 100000000 +#define CONF_GCLK_TC0_FREQUENCY 120000000 #endif // TC Clock Source @@ -821,7 +821,7 @@ * \brief TC7's Clock frequency */ #ifndef CONF_GCLK_TC7_FREQUENCY -#define CONF_GCLK_TC7_FREQUENCY 100000000 +#define CONF_GCLK_TC7_FREQUENCY 120000000 #endif // TCC Clock Source @@ -861,7 +861,7 @@ * \brief TCC0's Clock frequency */ #ifndef CONF_GCLK_TCC0_FREQUENCY -#define CONF_GCLK_TCC0_FREQUENCY 100000000 +#define CONF_GCLK_TCC0_FREQUENCY 120000000 #endif // TCC Clock Source @@ -901,7 +901,7 @@ * \brief TCC1's Clock frequency */ #ifndef CONF_GCLK_TCC1_FREQUENCY -#define CONF_GCLK_TCC1_FREQUENCY 100000000 +#define CONF_GCLK_TCC1_FREQUENCY 120000000 #endif // <<< end of configuration section >>> diff --git a/BLDC_E54/BLDC_E54/Debug/Makefile b/BLDC_E54/BLDC_E54/Debug/Makefile index 888eb84..5adcc02 100644 --- a/BLDC_E54/BLDC_E54/Debug/Makefile +++ b/BLDC_E54/BLDC_E54/Debug/Makefile @@ -308,8 +308,7 @@ ADDITIONAL_DEPENDENCIES:= OUTPUT_FILE_DEP:= ./makedep.mk -LIB_DEP+= \ -C:/Users/Nick-XMG/Documents/github/bldc_control_thesis/atmel/BLDC_Controller_SAME54/BLDC_E54/BLDC_E54/cmsis/libarm_cortexM4lf_math.a +LIB_DEP+= LINKER_SCRIPT_DEP+= \ ../Device_Startup/same54p20a_flash.ld \ @@ -320,301 +319,301 @@ LINKER_SCRIPT_DEP+= \ ./atmel_start.o: .././atmel_start.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< ./bldc.o: .././bldc.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< Device_Startup/startup_same54.o: ../Device_Startup/startup_same54.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< Device_Startup/system_same54.o: ../Device_Startup/system_same54.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< ./driver_init.o: .././driver_init.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< ethercat/ethercat_e54.o: ../ethercat/ethercat_e54.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< examples/driver_examples.o: ../examples/driver_examples.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_adc_sync.o: ../hal/src/hal_adc_sync.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_atomic.o: ../hal/src/hal_atomic.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_cache.o: ../hal/src/hal_cache.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_delay.o: ../hal/src/hal_delay.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_evsys.o: ../hal/src/hal_evsys.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_ext_irq.o: ../hal/src/hal_ext_irq.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_gpio.o: ../hal/src/hal_gpio.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_init.o: ../hal/src/hal_init.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_io.o: ../hal/src/hal_io.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_pdec_async.o: ../hal/src/hal_pdec_async.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_pwm.o: ../hal/src/hal_pwm.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_sleep.o: ../hal/src/hal_sleep.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/src/hal_spi_m_dma.o: ../hal/src/hal_spi_m_dma.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/utils/src/utils_assert.o: ../hal/utils/src/utils_assert.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/utils/src/utils_event.o: ../hal/utils/src/utils_event.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/utils/src/utils_list.o: ../hal/utils/src/utils_list.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hal/utils/src/utils_syscalls.o: ../hal/utils/src/utils_syscalls.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/adc/hpl_adc.o: ../hpl/adc/hpl_adc.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/ccl/hpl_ccl.o: ../hpl/ccl/hpl_ccl.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/cmcc/hpl_cmcc.o: ../hpl/cmcc/hpl_cmcc.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/core/hpl_core_m4.o: ../hpl/core/hpl_core_m4.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/core/hpl_init.o: ../hpl/core/hpl_init.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/dmac/hpl_dmac.o: ../hpl/dmac/hpl_dmac.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/eic/hpl_eic.o: ../hpl/eic/hpl_eic.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/evsys/hpl_evsys.o: ../hpl/evsys/hpl_evsys.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/gclk/hpl_gclk.o: ../hpl/gclk/hpl_gclk.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/mclk/hpl_mclk.o: ../hpl/mclk/hpl_mclk.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/osc32kctrl/hpl_osc32kctrl.o: ../hpl/osc32kctrl/hpl_osc32kctrl.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/oscctrl/hpl_oscctrl.o: ../hpl/oscctrl/hpl_oscctrl.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/pdec/hpl_pdec.o: ../hpl/pdec/hpl_pdec.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/pm/hpl_pm.o: ../hpl/pm/hpl_pm.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/ramecc/hpl_ramecc.o: ../hpl/ramecc/hpl_ramecc.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/sercom/hpl_sercom.o: ../hpl/sercom/hpl_sercom.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/tcc/hpl_tcc.o: ../hpl/tcc/hpl_tcc.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< hpl/tc/tc_lite.o: ../hpl/tc/tc_lite.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< ./main.o: .././main.c @echo Building file: $< @echo Invoking: ARM/GNU C Compiler : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" @echo Finished building: $< @@ -644,7 +643,7 @@ all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES) $(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP) $(LINKER_SCRIPT_DEP) @echo Building target: $@ @echo Invoking: ARM/GNU Linker : 6.3.1 - $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -mthumb -Wl,-Map="BLDC_E54.map" --specs=nano.specs -Wl,--start-group -lm -larm_cortexM4lf_math -Wl,--end-group -L"C:\Users\Nick-XMG\DOCUME~1\github\BLDC_C~1\atmel\BLDC_C~3\BLDC_E54\BLDC_E54\cmsis" -L"..\\Device_Startup" -Wl,--gc-sections -mcpu=cortex-m4 -Tsame54p20a_flash.ld -mfloat-abi=hard -mfpu=fpv4-sp-d16 -larm_cortexM4lf_math + $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -mthumb -Wl,-Map="BLDC_E54.map" -Wl,--start-group -lm -Wl,--end-group -L"..\\Device_Startup" -Wl,--gc-sections -mcpu=cortex-m4 -Tsame54p20a_flash.ld -mfloat-abi=hard -mfpu=fpv4-sp-d16 @echo Finished building target: $@ "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-objcopy.exe" -O binary "BLDC_E54.elf" "BLDC_E54.bin" "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature "BLDC_E54.elf" "BLDC_E54.hex" diff --git a/BLDC_E54/BLDC_E54/Debug/atmel_start.o b/BLDC_E54/BLDC_E54/Debug/atmel_start.o index 4b0a545..86909e1 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/atmel_start.o and b/BLDC_E54/BLDC_E54/Debug/atmel_start.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/bldc.o b/BLDC_E54/BLDC_E54/Debug/bldc.o index 0467ce0..67055ec 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/bldc.o and b/BLDC_E54/BLDC_E54/Debug/bldc.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/driver_init.o b/BLDC_E54/BLDC_E54/Debug/driver_init.o index 9d04b5f..693556a 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/driver_init.o and b/BLDC_E54/BLDC_E54/Debug/driver_init.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/ethercat/ethercat_e54.o b/BLDC_E54/BLDC_E54/Debug/ethercat/ethercat_e54.o index 5d4dfc0..ec92438 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/ethercat/ethercat_e54.o and b/BLDC_E54/BLDC_E54/Debug/ethercat/ethercat_e54.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/examples/driver_examples.o b/BLDC_E54/BLDC_E54/Debug/examples/driver_examples.o index f6c52ba..d8489c9 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/examples/driver_examples.o and b/BLDC_E54/BLDC_E54/Debug/examples/driver_examples.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_atomic.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_atomic.o index 9a27583..102e22e 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_atomic.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_atomic.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_cache.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_cache.o index d3178e0..94d0f85 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_cache.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_cache.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_delay.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_delay.o index eb1b22b..84fe2cd 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_delay.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_delay.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_evsys.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_evsys.o index dd1a314..8f8fd63 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_evsys.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_evsys.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_ext_irq.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_ext_irq.o index ebcdc3d..e81dfc0 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_ext_irq.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_ext_irq.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_gpio.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_gpio.o index c169d97..e4f5482 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_gpio.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_gpio.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_init.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_init.o index 91c82a2..c76a335 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_init.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_init.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_io.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_io.o index 53c4f31..91ee33e 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_io.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_io.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_pdec_async.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_pdec_async.o index b5c99b5..6db9940 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_pdec_async.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_pdec_async.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_sleep.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_sleep.o index 6d2c42b..1ddf529 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_sleep.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_sleep.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_spi_m_dma.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_spi_m_dma.o index c3f7b51..34c03f0 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_spi_m_dma.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_spi_m_dma.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_assert.o b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_assert.o index f3160dd..19894b3 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_assert.o and b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_assert.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_event.o b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_event.o index 0d7776f..1678d16 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_event.o and b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_event.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_list.o b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_list.o index 8f5e249..a42b5de 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_list.o and b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_list.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_syscalls.o b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_syscalls.o index f26bcb9..447906b 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_syscalls.o and b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_syscalls.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/adc/hpl_adc.o b/BLDC_E54/BLDC_E54/Debug/hpl/adc/hpl_adc.o index e9f69dc..e03a4c5 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/adc/hpl_adc.o and b/BLDC_E54/BLDC_E54/Debug/hpl/adc/hpl_adc.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/ccl/hpl_ccl.o b/BLDC_E54/BLDC_E54/Debug/hpl/ccl/hpl_ccl.o index 53debad..2d2eae4 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/ccl/hpl_ccl.o and b/BLDC_E54/BLDC_E54/Debug/hpl/ccl/hpl_ccl.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/cmcc/hpl_cmcc.o b/BLDC_E54/BLDC_E54/Debug/hpl/cmcc/hpl_cmcc.o index f3ffb3e..47f8482 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/cmcc/hpl_cmcc.o and b/BLDC_E54/BLDC_E54/Debug/hpl/cmcc/hpl_cmcc.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_core_m4.o b/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_core_m4.o index 818b6eb..e350bf8 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_core_m4.o and b/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_core_m4.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_init.o b/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_init.o index c14eacf..83eaf0e 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_init.o and b/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_init.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/dmac/hpl_dmac.o b/BLDC_E54/BLDC_E54/Debug/hpl/dmac/hpl_dmac.o index 1021fbe..279117d 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/dmac/hpl_dmac.o and b/BLDC_E54/BLDC_E54/Debug/hpl/dmac/hpl_dmac.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/eic/hpl_eic.o b/BLDC_E54/BLDC_E54/Debug/hpl/eic/hpl_eic.o index 37814fb..6e28d45 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/eic/hpl_eic.o and b/BLDC_E54/BLDC_E54/Debug/hpl/eic/hpl_eic.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/evsys/hpl_evsys.o b/BLDC_E54/BLDC_E54/Debug/hpl/evsys/hpl_evsys.o index dfd950b..1d64c43 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/evsys/hpl_evsys.o and b/BLDC_E54/BLDC_E54/Debug/hpl/evsys/hpl_evsys.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/gclk/hpl_gclk.o b/BLDC_E54/BLDC_E54/Debug/hpl/gclk/hpl_gclk.o index 8bcef20..5dab4e7 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/gclk/hpl_gclk.o and b/BLDC_E54/BLDC_E54/Debug/hpl/gclk/hpl_gclk.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/mclk/hpl_mclk.o b/BLDC_E54/BLDC_E54/Debug/hpl/mclk/hpl_mclk.o index f551846..b69195b 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/mclk/hpl_mclk.o and b/BLDC_E54/BLDC_E54/Debug/hpl/mclk/hpl_mclk.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/osc32kctrl/hpl_osc32kctrl.o b/BLDC_E54/BLDC_E54/Debug/hpl/osc32kctrl/hpl_osc32kctrl.o index bcbcac9..1acdd9c 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/osc32kctrl/hpl_osc32kctrl.o and b/BLDC_E54/BLDC_E54/Debug/hpl/osc32kctrl/hpl_osc32kctrl.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/oscctrl/hpl_oscctrl.o b/BLDC_E54/BLDC_E54/Debug/hpl/oscctrl/hpl_oscctrl.o index 41a8d07..2403d24 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/oscctrl/hpl_oscctrl.o and b/BLDC_E54/BLDC_E54/Debug/hpl/oscctrl/hpl_oscctrl.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/pdec/hpl_pdec.o b/BLDC_E54/BLDC_E54/Debug/hpl/pdec/hpl_pdec.o index 8fa96cb..91ea24f 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/pdec/hpl_pdec.o and b/BLDC_E54/BLDC_E54/Debug/hpl/pdec/hpl_pdec.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/pm/hpl_pm.o b/BLDC_E54/BLDC_E54/Debug/hpl/pm/hpl_pm.o index b377fa3..375febe 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/pm/hpl_pm.o and b/BLDC_E54/BLDC_E54/Debug/hpl/pm/hpl_pm.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/ramecc/hpl_ramecc.o b/BLDC_E54/BLDC_E54/Debug/hpl/ramecc/hpl_ramecc.o index b68f184..470803e 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/ramecc/hpl_ramecc.o and b/BLDC_E54/BLDC_E54/Debug/hpl/ramecc/hpl_ramecc.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/sercom/hpl_sercom.o b/BLDC_E54/BLDC_E54/Debug/hpl/sercom/hpl_sercom.o index a27541a..e2f64df 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/sercom/hpl_sercom.o and b/BLDC_E54/BLDC_E54/Debug/hpl/sercom/hpl_sercom.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/tc/tc_lite.o b/BLDC_E54/BLDC_E54/Debug/hpl/tc/tc_lite.o index 0aae4e9..3d589d1 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/tc/tc_lite.o and b/BLDC_E54/BLDC_E54/Debug/hpl/tc/tc_lite.o differ diff --git a/BLDC_E54/BLDC_E54/Debug/main.d b/BLDC_E54/BLDC_E54/Debug/main.d index cc2ea38..12f0994 100644 --- a/BLDC_E54/BLDC_E54/Debug/main.d +++ b/BLDC_E54/BLDC_E54/Debug/main.d @@ -150,7 +150,8 @@ main.d main.o: .././main.c ../atmel_start.h ../driver_init.h \ ../hal/include/hpl_spi.h ../hal/include/hpl_spi_dma.h \ ../hal/include/hpl_dma.h ../hpl/tc/tc_lite.h ../hal/include/hal_pwm.h \ ../hal/include/hpl_pwm.h ../hal/include/hpl_irq.h ../hpl/tcc/hpl_tcc.h \ - ../hal/include/hpl_timer.h ../arm_math.h \ + ../hal/include/hpl_timer.h .././interrupt_handlers.h .././atmel_start.h \ + .././pins.h .././bldc.h .././arm_math.h \ c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\string.h \ c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\_ansi.h \ c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\newlib.h \ @@ -165,9 +166,8 @@ main.d main.o: .././main.c ../atmel_start.h ../driver_init.h \ c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\xlocale.h \ c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\sys\string.h \ c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\math.h \ - .././interrupt_handlers.h .././atmel_start.h .././pins.h .././bldc.h \ - .././arm_math.h .././control.h .././utilities.h .././motor_params.h \ - .././statemachine.h .././ethercat/ethercat_e54.h .././configuration.h \ + .././control.h .././utilities.h .././motor_params.h .././statemachine.h \ + .././ethercat/ethercat_e54.h .././configuration.h \ .././ethercat/ethercat_slave_def.h .././ethercat/ethercat_e54.h ../atmel_start.h: @@ -568,7 +568,15 @@ C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include ../hal/include/hpl_timer.h: -../arm_math.h: +.././interrupt_handlers.h: + +.././atmel_start.h: + +.././pins.h: + +.././bldc.h: + +.././arm_math.h: c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\string.h: @@ -598,16 +606,6 @@ c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-no c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\math.h: -.././interrupt_handlers.h: - -.././atmel_start.h: - -.././pins.h: - -.././bldc.h: - -.././arm_math.h: - .././control.h: .././utilities.h: diff --git a/BLDC_E54/BLDC_E54/Debug/main.o b/BLDC_E54/BLDC_E54/Debug/main.o index d9459bf..726b529 100644 Binary files a/BLDC_E54/BLDC_E54/Debug/main.o and b/BLDC_E54/BLDC_E54/Debug/main.o differ diff --git a/BLDC_E54/BLDC_E54/arm_math.h b/BLDC_E54/BLDC_E54/arm_math.h index ea9dd26..db5eb90 100644 --- a/BLDC_E54/BLDC_E54/arm_math.h +++ b/BLDC_E54/BLDC_E54/arm_math.h @@ -415,7 +415,7 @@ extern "C" /** * @brief 16-bit fractional data type in 1.15 format. */ - typedef int16_t q15_t; + typedef int16_t q15_t; /** * @brief 32-bit fractional data type in 1.31 format. diff --git a/BLDC_E54/BLDC_E54/atmel_start_pins.h b/BLDC_E54/BLDC_E54/atmel_start_pins.h index 3fe3273..74ad6c0 100644 --- a/BLDC_E54/BLDC_E54/atmel_start_pins.h +++ b/BLDC_E54/BLDC_E54/atmel_start_pins.h @@ -62,5 +62,6 @@ #define M2_1 GPIO(GPIO_PORTD, 8) #define M2_2 GPIO(GPIO_PORTD, 9) #define M2_3 GPIO(GPIO_PORTD, 10) +#define DEBUG_5 GPIO(GPIO_PORTD, 11) #endif // ATMEL_START_PINS_H_INCLUDED diff --git a/BLDC_E54/BLDC_E54/bldc.c b/BLDC_E54/BLDC_E54/bldc.c index 07380fa..d203643 100644 --- a/BLDC_E54/BLDC_E54/bldc.c +++ b/BLDC_E54/BLDC_E54/bldc.c @@ -21,7 +21,7 @@ // Direction": // CW -> Always positive current // CCW -> Always negative current -void select_active_phase(volatile BLDCMotor_t *Motor, volatile uint8_t hall_state) +void select_active_phase(BLDCMotor_t *Motor, const uint8_t hall_state) { volatile float32_t phase_current = 0; switch(hall_state) @@ -137,15 +137,15 @@ void BldcInitStruct(BLDCMotor_t *motor) void BldcInitFunctions() { - Motor1.ReadHall = readM1Hall; - Motor2.ReadHall = readM2Hall; - Motor3.ReadHall = readM3Hall; - Motor1.DisableMotor = DisableM1GateDrivers; - Motor2.DisableMotor = DisableM2GateDrivers; - Motor3.DisableMotor = DisableM3GateDrivers; - Motor1.SetDutyCycle = SetM1DutyCycle; - Motor2.SetDutyCycle = SetM2DutyCycle; - Motor3.SetDutyCycle = SetM3DutyCycle; + //Motor1.ReadHall = readM1Hall; + //Motor2.ReadHall = readM2Hall; + //Motor3.ReadHall = readM3Hall; + //Motor1.DisableMotor = DisableM1GateDrivers; + //Motor2.DisableMotor = DisableM2GateDrivers; + //Motor3.DisableMotor = DisableM3GateDrivers; + //Motor1.SetDutyCycle = SetM1DutyCycle; + //Motor2.SetDutyCycle = SetM2DutyCycle; + //Motor3.SetDutyCycle = SetM3DutyCycle; } // ---------------------------------------------------------------------- @@ -232,37 +232,71 @@ void read_zero_current_offset_value(BLDCMotor_t *motor) // Hall Reading Functions // ---------------------------------------------------------------------- -uint8_t readM1Hall(void) +inline uint8_t readM1Hall(void) { - volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN); - volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN); - volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN); + volatile uint8_t motor_read = 0; + motor_read = (motor_read & HALL_A_MASK) | (uint8_t)((PORT->Group[HALL_A_GROUP].IN.reg & HALL_A_PORT)>>(HALL_A_LSR)); + motor_read = (motor_read & HALL_B_MASK) | (uint8_t)((PORT->Group[HALL_B_GROUP].IN.reg & HALL_B_PORT)>>(HALL_B_LSR)); + motor_read = (motor_read & HALL_C_MASK) | (uint8_t)((PORT->Group[HALL_C_GROUP].IN.reg & HALL_C_PORT)>>(HALL_C_LSR)); - return ((a << 2) | - (b << 1) | - (c << 0)); + return motor_read; + + //return ((gpio_get_pin_level(HALL_A_PIN) << 2)| + //(gpio_get_pin_level(HALL_B_PIN) << 1)| + //(gpio_get_pin_level(HALL_C_PIN) << 0)); + // + //volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN); + //volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN); + //volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN); + // + //return ((a << 2) | + //(b << 1) | + //(c << 0)); } -uint8_t readM2Hall(void) +inline uint8_t readM2Hall(void) { - volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN); - volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN); - volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN); + volatile uint8_t motor_read = 0; + motor_read = (motor_read & HALL_A_MASK) | (uint8_t)((PORT->Group[HALL_A_GROUP].IN.reg & HALL_A_PORT)>>(HALL_A_LSR)); + motor_read = (motor_read & HALL_B_MASK) | (uint8_t)((PORT->Group[HALL_B_GROUP].IN.reg & HALL_B_PORT)>>(HALL_B_LSR)); + motor_read = (motor_read & HALL_C_MASK) | (uint8_t)((PORT->Group[HALL_C_GROUP].IN.reg & HALL_C_PORT)>>(HALL_C_LSR)); - return ((a << 2) | - (b << 1) | - (c << 0)); + return motor_read; + // + //return ((gpio_get_pin_level(HALL_A_PIN) << 2)| + //(gpio_get_pin_level(HALL_B_PIN) << 1)| + //(gpio_get_pin_level(HALL_C_PIN) << 0)); + + + //volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN); + //volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN); + //volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN); + // + //return ((a << 2) | + //(b << 1) | + //(c << 0)); } -uint8_t readM3Hall(void) +inline uint8_t readM3Hall(void) { - volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN); - volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN); - volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN); + volatile uint8_t motor_read = 0; + motor_read = (motor_read & HALL_A_MASK) | (uint8_t)((PORT->Group[HALL_A_GROUP].IN.reg & HALL_A_PORT)>>(HALL_A_LSR)); + motor_read = (motor_read & HALL_B_MASK) | (uint8_t)((PORT->Group[HALL_B_GROUP].IN.reg & HALL_B_PORT)>>(HALL_B_LSR)); + motor_read = (motor_read & HALL_C_MASK) | (uint8_t)((PORT->Group[HALL_C_GROUP].IN.reg & HALL_C_PORT)>>(HALL_C_LSR)); - return ((a << 2) | - (b << 1) | - (c << 0)); + return motor_read; + // + //return ((gpio_get_pin_level(HALL_A_PIN) << 2)| + //(gpio_get_pin_level(HALL_B_PIN) << 1)| + //(gpio_get_pin_level(HALL_C_PIN) << 0)); + + //volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN); + //volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN); + //volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN); + // + //return ((a << 2) | + //(b << 1) | + //(c << 0)); } @@ -285,12 +319,12 @@ void DisableM3GateDrivers(BLDCMotor_t *motor) } -void SetM1DutyCycle(uint16_t duty) +inline void SetM1DutyCycle(const uint16_t duty) { TCC1->CCBUF[1].reg = duty; } -void SetM2DutyCycle(uint16_t duty) +inline void SetM2DutyCycle(const uint16_t duty) { TCC0->CCBUF[0].reg = duty; TCC0->CCBUF[1].reg = duty; @@ -298,7 +332,7 @@ void SetM2DutyCycle(uint16_t duty) TCC0->CCBUF[3].reg = duty; } -void SetM3DutyCycle(uint16_t duty) +inline void SetM3DutyCycle(const uint16_t duty) { TCC0->CCBUF[4].reg = duty; TCC0->CCBUF[5].reg = duty; @@ -322,56 +356,61 @@ void exec_commutation(void) // ---------------------------------------------------------------------- // Read Motor Hall Sensors // ---------------------------------------------------------------------- - Motor1.motor_status.currentHallPattern = Motor1.ReadHall(); - Motor2.motor_status.currentHallPattern = Motor1.ReadHall(); - Motor3.motor_status.currentHallPattern = Motor1.ReadHall(); - + //tic_port(DEBUG_2_PORT); + Motor1.motor_status.currentHallPattern = readM1Hall(); + //toc_port(DEBUG_2_PORT); + //Motor1.motor_status.currentHallPattern = Motor1.ReadHall(); + //Motor2.motor_status.currentHallPattern = Motor1.ReadHall(); + //Motor3.motor_status.currentHallPattern = Motor1.ReadHall(); + //toc_port(DEBUG_3_PORT); // ---------------------------------------------------------------------- // Multi Motor Register Masking // ---------------------------------------------------------------------- + //tic_port(DEBUG_2_PORT); volatile uint16_t temp_M1 = COMMUTATION_PATTERN_M1[Motor1.motor_status.currentHallPattern + Motor1.motor_setpoints.directionOffset]; - volatile uint16_t temp_M2 = COMMUTATION_PATTERN_M2[Motor2.motor_status.currentHallPattern + Motor2.motor_setpoints.directionOffset]; - volatile uint16_t temp_M3_tcc1_des = COMMUTATION_PATTERN_M1[Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset] & m3_TCC1_mask; - volatile uint16_t temp_M3_tcc0_des = COMMUTATION_PATTERN_M2[Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset] & m3_TCC0_mask; + + //volatile uint16_t temp_M2 = COMMUTATION_PATTERN_M2[Motor2.motor_status.currentHallPattern + Motor2.motor_setpoints.directionOffset]; + //volatile uint16_t temp_M3_tcc1_des = COMMUTATION_PATTERN_M1[Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset] & m3_TCC1_mask; + //volatile uint16_t temp_M3_tcc0_des = COMMUTATION_PATTERN_M2[Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset] & m3_TCC0_mask; /* Zero target bits */ - temp_M1 &= m3_TCC1_inv_mask; - temp_M2 &= m3_TCC0_inv_mask; + //temp_M1 &= m3_TCC1_inv_mask; + //temp_M2 &= m3_TCC0_inv_mask; /* Set Desired bits */ - temp_M1 |= temp_M3_tcc1_des; - temp_M2 |= temp_M3_tcc0_des; + //temp_M1 |= temp_M3_tcc1_des; + //temp_M2 |= temp_M3_tcc0_des; // ---------------------------------------------------------------------- // Set Pattern Buffers // ---------------------------------------------------------------------- - TCC0->PATTBUF.reg = (uint16_t)temp_M2; + //TCC0->PATTBUF.reg = (uint16_t)temp_M2; TCC1->PATTBUF.reg = (uint16_t)temp_M1; - + //toc_port(DEBUG_2_PORT); // ---------------------------------------------------------------------- // Set Remaining GPIO lines responsible for M3 Commutation // ---------------------------------------------------------------------- ///* GPIO En Pin Setting for M3 */ - switch(Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset) - { - // REG_PORT_OUTSET0 = Port A - // REG_PORT_OUTSET1 = Port B - case 1: case 6: case 9: case 14: - REG_PORT_OUTCLR0 = (1 << GPIO_PIN(M3_3)); - REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_4))|(1 << GPIO_PIN(M3_5)); - break; - case 2: case 5: case 10: case 13: - REG_PORT_OUTSET0 = (1 << GPIO_PIN(M3_3)); - REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_4)); - REG_PORT_OUTCLR1 = (1 << GPIO_PIN(M3_5)); - break; - case 3: case 4: case 11: case 12: - REG_PORT_OUTSET0 = (1 << GPIO_PIN(M3_3)); - REG_PORT_OUTCLR1 = (1 << GPIO_PIN(M3_4)); - REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_5)); - break; - default: - /*hall error - should not get here */ - break; - } + //switch(Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset) + //{ + //// REG_PORT_OUTSET0 = Port A + //// REG_PORT_OUTSET1 = Port B + //case 1: case 6: case 9: case 14: + //REG_PORT_OUTCLR0 = (1 << GPIO_PIN(M3_3)); + //REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_4))|(1 << GPIO_PIN(M3_5)); + //break; + //case 2: case 5: case 10: case 13: + //REG_PORT_OUTSET0 = (1 << GPIO_PIN(M3_3)); + //REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_4)); + //REG_PORT_OUTCLR1 = (1 << GPIO_PIN(M3_5)); + //break; + //case 3: case 4: case 11: case 12: + //REG_PORT_OUTSET0 = (1 << GPIO_PIN(M3_3)); + //REG_PORT_OUTCLR1 = (1 << GPIO_PIN(M3_4)); + //REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_5)); + //break; + //default: + ///*hall error - should not get here */ + //break; + //} // TCC1->PATTBUF.reg = COMMUTATION_PATTERN_M1[(Motor1.motor_status.currentHallPattern + @@ -379,24 +418,25 @@ void exec_commutation(void) // ---------------------------------------------------------------------- // Set Calculated Duty Cycles // ---------------------------------------------------------------------- - Motor1.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle); - Motor2.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle); - Motor3.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle); + //tic_port(DEBUG_2_PORT); + //Motor1.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle); + SetM1DutyCycle(Motor1.motor_status.duty_cycle); + //toc_port(DEBUG_2_PORT); + //Motor2.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle); + //Motor3.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle); - + //tic_port(DEBUG_2_PORT); Motor1.motor_status.cur_comm_step = MOTOR_COMMUTATION_STEPS[Motor1.motor_status.currentHallPattern]; - volatile int8_t step_change = Motor1.motor_status.cur_comm_step - Motor1.motor_status.prev_comm_step; + volatile int8_t step_change1 = Motor1.motor_status.cur_comm_step - Motor1.motor_status.prev_comm_step; - switch(step_change) + switch(step_change1) { - case 1: - case -5: + case 1: case -5: Motor1.motor_status.Num_Steps = Motor1.motor_status.Num_Steps+1; Motor1.motor_status.actualDirection = CW; - Motor1.motor_setpoints.directionOffset = DIRECTION_CW_OFFSET; + //Motor1.motor_setpoints.directionOffset = DIRECTION_CW_OFFSET; break; - case -1: - case 5: + case -1: case 5: Motor1.motor_status.Num_Steps = Motor1.motor_status.Num_Steps-1; Motor1.motor_status.actualDirection = CCW; //Motor1.motor_setpoints.directionOffset = DIRECTION_CCW_OFFSET; @@ -406,6 +446,48 @@ void exec_commutation(void) break; } Motor1.motor_status.prev_comm_step = Motor1.motor_status.cur_comm_step; + //toc_port(DEBUG_2_PORT); + + //Motor2.motor_status.cur_comm_step = MOTOR_COMMUTATION_STEPS[Motor1.motor_status.currentHallPattern]; + //volatile int8_t step_change2 = Motor2.motor_status.cur_comm_step - Motor2.motor_status.prev_comm_step; + // + //switch(step_change2) + //{ + //case 1: case -5: + //Motor2.motor_status.Num_Steps = Motor2.motor_status.Num_Steps+1; + //Motor2.motor_status.actualDirection = CW; + ////Motor2.motor_setpoints.directionOffset = DIRECTION_CW_OFFSET; + //break; + //case -1: case 5: + //Motor2.motor_status.Num_Steps = Motor2.motor_status.Num_Steps-1; + //Motor2.motor_status.actualDirection = CCW; + ////Motor1.motor_setpoints.directionOffset = DIRECTION_CCW_OFFSET; + //break; + //default: + //// do nothing + //break; + //} + // + //Motor3.motor_status.cur_comm_step = MOTOR_COMMUTATION_STEPS[Motor1.motor_status.currentHallPattern]; + //volatile int8_t step_change3 = Motor3.motor_status.cur_comm_step - Motor3.motor_status.prev_comm_step; + // + //switch(step_change3) + //{ + //case 1: case -5: + //Motor3.motor_status.Num_Steps = Motor3.motor_status.Num_Steps+1; + //Motor3.motor_status.actualDirection = CW; + ////Motor3.motor_setpoints.directionOffset = DIRECTION_CW_OFFSET; + //break; + //case -1: case 5: + //Motor3.motor_status.Num_Steps = Motor3.motor_status.Num_Steps-1; + //Motor3.motor_status.actualDirection = CCW; + ////Motor1.motor_setpoints.directionOffset = DIRECTION_CCW_OFFSET; + //break; + //default: + //// do nothing + //break; + //} + //calculate_motor_speed(); //toc(DEBUG_3); //toc(DEBUG_4); @@ -414,6 +496,7 @@ void exec_commutation(void) void calculate_motor_speed(void) { + //tic_port(DEBUG_2_PORT); volatile uint32_t temp_rpm = 0; hri_tccount32_read_CC_reg(TC0, 0); /* Read CC0 but throw away)*/ volatile uint32_t period_after_capture = hri_tccount32_read_CC_reg(TC0, 1); @@ -422,33 +505,48 @@ void calculate_motor_speed(void) } else { //uint32_t test = (SPEEDFACTOR, period_after_capture); //temp_rpm = SPEEDFACTOR / period_after_capture; - uint32_t muti = DEVICE_SPEEDTC_FREQUENCY_Hz*60; - temp_rpm = (muti) / (period_after_capture*MOTOR_COMUTATION_STATES); + //tic_port(DEBUG_3_PORT); + temp_rpm = HZ_TO_RPM / (period_after_capture*MOTOR_COMUTATION_STATES); + //toc_port(DEBUG_3_PORT); } - #ifdef AVERAGE_SPEED_MEASURE - // To avoid noise an average is realized on 8 samples - speed_average += temp_rpm; - if(count >= n_SAMPLE) - { - count = 1; - Motor1.motor_status.calc_rpm = (speed_average >> 3); // divide by 32 - speed_average = 0; - //*Spare_byte1 = motorState.actualDirection; - if(Motor1.motor_status.actualDirection == CCW) /* Changed from CCW */ - { - //*motor_speed = -1* Motor1.calc_rpm; - Motor1.motor_status.calc_rpm = -1* Motor1.motor_status.calc_rpm; - } else { - //*motor_speed = Motor1.calc_rpm; - Motor1.motor_status.calc_rpm = Motor1.motor_status.calc_rpm; - } - return; - } - else count++; - #else - Motor1.motor_status.calc_rpm = (int16_t)temp_rpm; - #endif + if(Motor1.motor_status.actualDirection == CCW) /* Changed from CCW */ + { + //*motor_speed = -1* Motor1.calc_rpm; + temp_rpm = -1 * temp_rpm; + } else { + //*motor_speed = Motor1.calc_rpm; + temp_rpm = temp_rpm; + } + + Motor1.motor_status.calc_rpm = (int16_t)temp_rpm; + //toc_port(DEBUG_2_PORT); + + //#ifdef AVERAGE_SPEED_MEASURE + //// To avoid noise an average is realized on 8 samples + //speed_average += temp_rpm; + //if(count >= n_SAMPLE) + //{ + //count = 1; + //Motor1.motor_status.calc_rpm = (speed_average >> 3); // divide by 32 + ////Motor1.motor_status.calc_rpm = (speed_average); // divide by 32 + //speed_average = 0; + ////*Spare_byte1 = motorState.actualDirection; + //if(Motor1.motor_status.actualDirection == CCW) /* Changed from CCW */ + //{ + ////*motor_speed = -1* Motor1.calc_rpm; + //Motor1.motor_status.calc_rpm = -1* Motor1.motor_status.calc_rpm; + //} else { + ////*motor_speed = Motor1.calc_rpm; + //Motor1.motor_status.calc_rpm = Motor1.motor_status.calc_rpm; + //} + //return; + //} + //else count++; + //#else + //Motor1.motor_status.calc_rpm = (int16_t)temp_rpm; + //#endif + //toc_port(DEBUG_2_PORT); } void DisableMotor(BLDCMotor_t *motor) @@ -460,7 +558,7 @@ void DisableMotor(BLDCMotor_t *motor) //------------------------------------------------------------------------------ // pi current control //------------------------------------------------------------------------------ -void BLDC_runCurrentCntl(BLDCMotor_t *motor, volatile float curfbk, volatile float curRef) +void BLDC_runCurrentCntl(BLDCMotor_t *motor, const float curfbk, const float curRef) { motor->controllers.Pi_Idc.Fbk_pu = f_clamp(curfbk, -DEVICE_SHUNT_CURRENT_A, DEVICE_SHUNT_CURRENT_A); // Clamped to max current sensor readingspeedfbk; @@ -481,8 +579,7 @@ void BLDC_runCurrentCntl(BLDCMotor_t *motor, volatile float curfbk, volatile flo } volatile float duty_pu = f_abs((motor->controllers.Pi_Idc.Out_pu * motor->VoneByDcBus_pu)); - volatile uint32_t duty_cycle = f_clamp(duty_pu * (float32_t)MAX_PWM, 0.0f, (float32_t)MAX_PWM); - motor->motor_status.duty_cycle = (uint16_t)duty_cycle; + motor->motor_status.duty_cycle = (uint16_t)f_clamp(duty_pu * (float32_t)MAX_PWM, 0.0f, (float32_t)MAX_PWM); // Remove Low duty cycle values //if(duty_cycle < 80.0) motor->duty_cycle = (uint16_t)0; //else motor->duty_cycle = (uint16_t)duty_cycle; @@ -492,9 +589,9 @@ void BLDC_runCurrentCntl(BLDCMotor_t *motor, volatile float curfbk, volatile flo //// ------------------------------------------------------------------------------ // Speed Control: Input in RPM units (int16_t) //------------------------------------------------------------------------------ -void BLDC_runSpeedCntl(BLDCMotor_t *motor, volatile float speedfbk, volatile float speedRef) +void BLDC_runSpeedCntl(BLDCMotor_t *motor, const float speedfbk, const float speedRef) { - + //tic_port(DEBUG_3_PORT); motor->controllers.Pid_Speed.Fbk_pu = speedfbk; motor->controllers.Pid_Speed.Ref_pu = f_clamp(speedRef, -MOTOR_MAX_SPD_RPM, MOTOR_MAX_SPD_RPM); // Convert Speed Ref to Q16 Format @@ -524,13 +621,13 @@ void BLDC_runSpeedCntl(BLDCMotor_t *motor, volatile float speedfbk, volatile flo PID_run_parallel(&motor->controllers.Pid_Speed); motor->controllers.Pi_Idc.Ref_pu = motor->controllers.Pid_Speed.Out_pu; } - + //toc_port(DEBUG_3_PORT); } //// ------------------------------------------------------------------------------ // Position Control:Input in Hall step units (int16_t) //------------------------------------------------------------------------------ -void BLDC_runPosCntl(BLDCMotor_t *motor, int16_t posfbk, int16_t posRef) +void BLDC_runPosCntl(BLDCMotor_t *motor, const int16_t posfbk, const int16_t posRef) { /* Output Pu in RPM */ motor->controllers.Pi_Pos.OutMax_pu = MOTOR_MAX_SPD_RPM; diff --git a/BLDC_E54/BLDC_E54/bldc.h b/BLDC_E54/BLDC_E54/bldc.h index bda5913..7fc30b6 100644 --- a/BLDC_E54/BLDC_E54/bldc.h +++ b/BLDC_E54/BLDC_E54/bldc.h @@ -27,17 +27,19 @@ #define ADC_RESOLUTION (12) #define ADC_MAX_COUNTS (1<DSEQDATA.reg); - _dma_set_data_amount(DMAC_CHANNEL_ADC_SEQ, 6); + _dma_set_data_amount(DMAC_CHANNEL_ADC_SEQ, 2); _dma_set_next_descriptor(DMAC_CHANNEL_ADC_SEQ, DMAC_CHANNEL_ADC_SEQ); _dma_enable_transaction(DMAC_CHANNEL_ADC_SEQ, false); //_dma_get_channel_resource(&adc_dmac_sequence_resource, DMAC_CHANNEL_ADC_SEQ); @@ -147,7 +147,7 @@ inline void adc_sram_dmac_init() * next descriptor address, data count and Enable the DMAC Channel */ _dma_set_source_address(DMAC_CHANNEL_ADC_SRAM, (const void *)&ADC0->RESULT.reg); _dma_set_destination_address(DMAC_CHANNEL_ADC_SRAM, (const void *)adc_res); - _dma_set_data_amount(DMAC_CHANNEL_ADC_SRAM, 6); + _dma_set_data_amount(DMAC_CHANNEL_ADC_SRAM, 2); _dma_set_irq_state(DMAC_CHANNEL_ADC_SRAM, DMA_TRANSFER_COMPLETE_CB, true); _dma_get_channel_resource(&adc_sram_dma_resource, DMAC_CHANNEL_ADC_SRAM); adc_sram_dma_resource[0].dma_cb.transfer_done = adc_sram_dma_callback; diff --git a/BLDC_E54/BLDC_E54/control.h b/BLDC_E54/BLDC_E54/control.h index 7701f8c..b5ee8f7 100644 --- a/BLDC_E54/BLDC_E54/control.h +++ b/BLDC_E54/BLDC_E54/control.h @@ -173,7 +173,7 @@ static inline void PID_run_series(volatile PID_t *pPid_obj) // Compute the proportional term Up = obj->Kp * obj->error; - if(obj->Ki>0.0){ + if(obj->Ki>0.0f){ // Compute the integral term in parallel form and saturate obj->Ui = f_clamp((obj->Ui + (obj->Ki * Up)), obj->OutMin_pu, obj->OutMax_pu); } @@ -198,7 +198,7 @@ static inline void PID_run_parallel(volatile PID_t *pPid_obj) // Compute the proportional term Up = obj->Kp * obj->error; - if(obj->Ki>0.0){ + if(obj->Ki>0.0f){ // Compute the integral term in parallel form and saturate obj->Ui = f_clamp((obj->Ui + (obj->Ki * obj->error)), obj->OutMin_pu, obj->OutMax_pu); } @@ -215,8 +215,8 @@ static inline void PID_run_parallel(volatile PID_t *pPid_obj) // Calculate Current Parameters // ---------------------------------------------------------------------- -static inline float PI_calcKp(float32_t Ls_H, float32_t deviceCurrent_A, float32_t deviceVoltage_V, -float deviceCtrlPeriode_Sec) +static inline float PI_calcKp(const float32_t Ls_H, const float32_t deviceCurrent_A, const float32_t deviceVoltage_V, +const float deviceCtrlPeriode_Sec) { // calculation is based on "Betragsoptimum" // Kp = Ls/(2*tau) @@ -236,10 +236,10 @@ float deviceCtrlPeriode_Sec) return Kp; } -static inline float PI_calcKi(float Rs_Ohm, float Ls_H, float deviceCtrlPeriode_Sec) +static inline float PI_calcKi(const float Rs_Ohm, const float Ls_H, const float deviceCtrlPeriode_Sec) { // calculation is based on "TI - MotorWare's documentation" - float RsByLs = (float)(Rs_Ohm / Ls_H); + float RsByLs = (float32_t)(Rs_Ohm / Ls_H); float Ki = RsByLs * deviceCtrlPeriode_Sec; //fix16_t Ki = 0; return Ki; diff --git a/BLDC_E54/BLDC_E54/driver_init.c b/BLDC_E54/BLDC_E54/driver_init.c index 3df62a2..067d4d3 100644 --- a/BLDC_E54/BLDC_E54/driver_init.c +++ b/BLDC_E54/BLDC_E54/driver_init.c @@ -417,6 +417,20 @@ void system_init(void) gpio_set_pin_function(DEBUG_4, GPIO_PIN_FUNCTION_OFF); + // GPIO on PD11 + + gpio_set_pin_level(DEBUG_5, + // Initial level + // pad_initial_level + // Low + // High + false); + + // Set pin direction to output + gpio_set_pin_direction(DEBUG_5, GPIO_DIRECTION_OUT); + + gpio_set_pin_function(DEBUG_5, GPIO_PIN_FUNCTION_OFF); + ADC_0_init(); DIGITAL_GLUE_LOGIC_0_init(); diff --git a/BLDC_E54/BLDC_E54/ethercat/ethercat_e54.c b/BLDC_E54/BLDC_E54/ethercat/ethercat_e54.c index 2e41e2c..0df080b 100644 --- a/BLDC_E54/BLDC_E54/ethercat/ethercat_e54.c +++ b/BLDC_E54/BLDC_E54/ethercat/ethercat_e54.c @@ -16,6 +16,8 @@ #include "ethercat_slave_def.h" #include "bldc.h" #include "statemachine.h" +#include + #define DEBUG_1_PORT PORT_PC01 #define DEBUG_2_PORT PORT_PC03 @@ -52,7 +54,7 @@ void update_setpoints(void) { inline float32_t convert_int_to_PU(volatile int16_t input) { - return ((float32_t)input/1000.0); + return ((float32_t)input/1000.0f); } //Motor1.des_mode = 0; //Motor1.set = 0; @@ -83,9 +85,15 @@ extern void One_ms_cycle_callback(void) tx_ethercat = true; if(tx_ethercat_done){ volatile int i=0; - for (i=0;iCHID.reg = DMAC_CHID_ID(dma_LAN9252_rx.channel_id); //DMAC->CHCTRLB.reg |= DMAC_CHCTRLB_CMD_RESUME; //DMAC->CHID.reg = DMAC_CHID_ID(dma_LAN9252_tx.channel_id); @@ -101,6 +109,8 @@ extern void One_ms_cycle_callback(void) //DMAC->CHCTRLB.reg |= DMAC_CHCTRLB_CMD_RESUME; //DMAC->CHID.reg = DMAC_CHID_ID(dma_LAN9252_tx.channel_id); //hri_dmacchannel_write_CHCTRLB_CMD_bf(&DMAC->Channel[1], DMAC_CHCTRLB_CMD_RESUME_Val); //RX Channel gpio_set_pin_level(ECAT_SPI_CS_PIN, false); // SPI_Slave Select LOW _dma_enable_transaction(0,false); //DMAC->CHCTRLB.reg |= DMAC_CHCTRLB_CMD_RESUME; //hri_dmacchannel_write_CHCTRLB_CMD_bf(&DMAC->Channel[0], DMAC_CHCTRLB_CMD_RESUME_Val); //TX Channel _dma_enable_transaction(1,false); tx_ethercat_done = false; } + + //toc_port(DEBUG_3_PORT); } // ---------------------------------------------------------------------- diff --git a/BLDC_E54/BLDC_E54/hpl/tc/tc_lite.c b/BLDC_E54/BLDC_E54/hpl/tc/tc_lite.c index 1dbf087..de3ec83 100644 --- a/BLDC_E54/BLDC_E54/hpl/tc/tc_lite.c +++ b/BLDC_E54/BLDC_E54/hpl/tc/tc_lite.c @@ -144,7 +144,7 @@ int8_t TC_ECAT_init() // hri_tc_write_DBGCTRL_reg(TC7,0); /* Run in debug: 0 */ - hri_tccount32_write_CC_reg(TC7, 0, 0x61a8); /* Compare/Capture Value: 0x61a8 */ + hri_tccount32_write_CC_reg(TC7, 0, 0x7530); /* Compare/Capture Value: 0x7530 */ // hri_tccount32_write_CC_reg(TC7, 1 ,0x0); /* Compare/Capture Value: 0x0 */ diff --git a/BLDC_E54/BLDC_E54/interrupt_handlers.h b/BLDC_E54/BLDC_E54/interrupt_handlers.h index 385a1c1..a224f4a 100644 --- a/BLDC_E54/BLDC_E54/interrupt_handlers.h +++ b/BLDC_E54/BLDC_E54/interrupt_handlers.h @@ -15,8 +15,8 @@ #include "statemachine.h" #define DEBUG_1_PORT PORT_PC01 -#define DEBUG_2_PORT PORT_PC03 -#define DEBUG_3_PORT PORT_PC02 +#define DEBUG_2_PORT PORT_PC02 +#define DEBUG_3_PORT PORT_PC03 #define DEBUG_4_PORT PORT_PC30 @@ -29,7 +29,10 @@ void TC7_Handler(void) TC7->COUNT16.INTFLAG.bit.OVF = 0x01; //One_ms_cycle_callback(); //gpio_toggle_pin_level(DEBUG_1); - One_ms_cycle_callback(); + //tic_port(DEBUG_3_PORT); + //tic_port(DEBUG_3_PORT); + One_ms_cycle_callback(); + //toc_port(DEBUG_3_PORT); //Motor1.timerflags.motor_telemetry_flag = true; } @@ -95,6 +98,7 @@ void TC0_Handler(void) // ---------------------------------------------------------------------- static void pwm_cb(const struct pwm_descriptor *const descr) { + //tic_port(DEBUG_2_PORT); Motor1.timerflags.pwm_cycle_tic = true; } @@ -107,10 +111,9 @@ static void HW_current_limit_detect_callback(void) void adc_sram_dma_callback(struct _dma_resource *adc_dma_res) { - inline void filter_convert_to_pu(int16_t *phase, float32_t *phase_filtered_pu) - { - *phase_filtered_pu = (float32_t)(*phase * ADC_LSB_SIZE * ONEON_CURRENT_SENSOR_SENSITIVITY); - } + //toc_port(DEBUG_2_PORT); + //tic_port(DEBUG_3_PORT); + //tic_port(DEBUG_3_PORT); volatile int16_t phase_A_current_raw; volatile int16_t phase_B_current_raw; @@ -119,29 +122,30 @@ void adc_sram_dma_callback(struct _dma_resource *adc_dma_res) phase_A_current_raw = (adc_res[0] - Motor1.Voffset_lsb.A); phase_B_current_raw = (adc_res[1] - Motor1.Voffset_lsb.B)*-1; // Covert from LSB to PU (A) and filter out small readings - filter_convert_to_pu(&phase_A_current_raw, &Motor1.Iphase_pu.A); - filter_convert_to_pu(&phase_B_current_raw, &Motor1.Iphase_pu.B); + Motor1.Iphase_pu.A = phase_A_current_raw * LSB_TO_PU; + Motor1.Iphase_pu.B = phase_B_current_raw * LSB_TO_PU; // i_c = -i_a - i_b because i_a + i_b + i_c = 0 Motor1.Iphase_pu.C = -Motor1.Iphase_pu.A - Motor1.Iphase_pu.B; /* Motor 2 */ - phase_A_current_raw = (adc_res[0] - Motor2.Voffset_lsb.A); - phase_B_current_raw = (adc_res[1] - Motor2.Voffset_lsb.B)*-1; - filter_convert_to_pu(&phase_A_current_raw, &Motor2.Iphase_pu.A); - filter_convert_to_pu(&phase_B_current_raw, &Motor2.Iphase_pu.B); - // i_c = -i_a - i_b because i_a + i_b + i_c = 0 - Motor2.Iphase_pu.C = -Motor2.Iphase_pu.A - Motor2.Iphase_pu.B; - - /* Motor 3 */ - phase_A_current_raw = (adc_res[0] - Motor3.Voffset_lsb.A); - phase_B_current_raw = (adc_res[1] - Motor3.Voffset_lsb.B)*-1; - filter_convert_to_pu(&phase_A_current_raw, &Motor3.Iphase_pu.A); - filter_convert_to_pu(&phase_B_current_raw, &Motor3.Iphase_pu.B); - // i_c = -i_a - i_b because i_a + i_b + i_c = 0 - Motor3.Iphase_pu.C = -Motor3.Iphase_pu.A - Motor3.Iphase_pu.B; + //phase_A_current_raw = (adc_res[2] - Motor2.Voffset_lsb.A); + //phase_B_current_raw = (adc_res[3] - Motor2.Voffset_lsb.B)*-1; + //Motor2.Iphase_pu.A = phase_A_current_raw * LSB_TO_PU; + //Motor2.Iphase_pu.B = phase_B_current_raw * LSB_TO_PU; + //// i_c = -i_a - i_b because i_a + i_b + i_c = 0 + //Motor2.Iphase_pu.C = -Motor2.Iphase_pu.A - Motor2.Iphase_pu.B; + // + ///* Motor 3 */ + //phase_A_current_raw = (adc_res[4] - Motor3.Voffset_lsb.A); + //phase_B_current_raw = (adc_res[5] - Motor3.Voffset_lsb.B)*-1; + //Motor3.Iphase_pu.A = phase_A_current_raw * LSB_TO_PU; + //Motor3.Iphase_pu.B = phase_B_current_raw * LSB_TO_PU; + //// i_c = -i_a - i_b because i_a + i_b + i_c = 0 + //Motor3.Iphase_pu.C = -Motor3.Iphase_pu.A - Motor3.Iphase_pu.B; // Set Current Loop Flag Motor1.timerflags.current_loop_tic = true; + //toc_port(DEBUG_3_PORT); } #endif /* INTERRUPT_HANDLERS_H_ */ \ No newline at end of file diff --git a/BLDC_E54/BLDC_E54/main.c b/BLDC_E54/BLDC_E54/main.c index 8f924d0..5978b55 100644 --- a/BLDC_E54/BLDC_E54/main.c +++ b/BLDC_E54/BLDC_E54/main.c @@ -1,7 +1,7 @@ #include #include #include -#include +//#include // ---------------------------------------------------------------------- // Header Files @@ -63,7 +63,9 @@ inline void CONTROLLER_StateMachine(void) Motor1.timerflags.motor_telemetry_flag = true; /* Blank */ case 6: /* PWM FREQ / 6.25 - 4kHz */ + calculate_motor_speed(); + BLDC_runSpeedCntl(&Motor1, Motor1.motor_status.calc_rpm, Motor1.motor_setpoints.desired_speed); //BLDC_runSpeedCntl(&Motor1, Motor1.motor_status.calc_rpm, 3000); default: /* PWM FREQ - 25kHz */ @@ -101,37 +103,49 @@ inline void CONTROLLER_StateMachine(void) case 0: /* PWM FREQ / 25 - 1kHz */ Motor1.timerflags.motor_telemetry_flag = true; // Update telemetry flag //tic(DEBUG_4); - BLDC_runPosCntl(&Motor1, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position); - BLDC_runPosCntl(&Motor2, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position); - BLDC_runPosCntl(&Motor3, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position); + //tic_port(DEBUG_2_PORT); + BLDC_runPosCntl(&Motor1, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position); + //toc_port(DEBUG_2_PORT); + //BLDC_runPosCntl(&Motor2, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position); + //BLDC_runPosCntl(&Motor3, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position); //toc(DEBUG_4); + //tic_port(DEBUG_2_PORT); + //toc_port(DEBUG_2_PORT); + case 5: case 10: case 15: case 20:/* PWM FREQ / 5 - 5kHz */ //tic(DEBUG_3); //tic(DEBUG_4); //tic(DEBUG_2); + //tic_port(DEBUG_2_PORT); + //tic_port(DEBUG_2_PORT); calculate_motor_speed(); - calculate_motor_speed(); - calculate_motor_speed(); + //toc_port(DEBUG_2_PORT); + //calculate_motor_speed(); + //calculate_motor_speed(); + //tic_port(DEBUG_2_PORT); + //toc_port(DEBUG_2_PORT); //toc(DEBUG_2); //tic(DEBUG_3); BLDC_runSpeedCntl(&Motor1, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu); - BLDC_runSpeedCntl(&Motor2, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu); - BLDC_runSpeedCntl(&Motor3, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu); + //BLDC_runSpeedCntl(&Motor2, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu); + //BLDC_runSpeedCntl(&Motor3, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu); //toc(DEBUG_3); //toc(DEBUG_4); //toc(DEBUG_3); + //tic_port(DEBUG_3_PORT); + //toc_port(DEBUG_3_PORT); default: /* PWM FREQ - 25kHz */ //tic(DEBUG_2); - //tic(DEBUG_3); + select_active_phase(&Motor1, Motor1.motor_status.currentHallPattern); - select_active_phase(&Motor2, Motor2.motor_status.currentHallPattern); - select_active_phase(&Motor3, Motor3.motor_status.currentHallPattern); - ////toc(DEBUG_2); - ////tic(DEBUG_3); + //select_active_phase(&Motor2, Motor2.motor_status.currentHallPattern); + //select_active_phase(&Motor3, Motor3.motor_status.currentHallPattern); + + //tic_port(DEBUG_2_PORT); BLDC_runCurrentCntl(&Motor1, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu); - BLDC_runCurrentCntl(&Motor2, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu); - BLDC_runCurrentCntl(&Motor3, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu); - //toc(DEBUG_3); + //BLDC_runCurrentCntl(&Motor2, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu); + //BLDC_runCurrentCntl(&Motor3, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu); + //toc_port(DEBUG_2_PORT); //toc(DEBUG_2); break; } // end switch(regulation_loop_count) @@ -177,8 +191,15 @@ inline void CONTROLLER_StateMachine(void) default: break; } // End switch(applicationStatus.currentstate) //gpio_set_pin_level(DRV_RST, true); + //tic_port(DEBUG_3_PORT); + //tic_port(DEBUG_2_PORT); + //tic_port(DEBUG_3_PORT); + exec_commutation(); + //toc_port(DEBUG_3_PORT); + //toc_port(DEBUG_2_PORT); + } // inline void CONTROLLER_StateMachine(void) void enable_NVIC_IRQ(void) @@ -192,6 +213,21 @@ void enable_NVIC_IRQ(void) } +#define NOF 64 +volatile uint32_t samples[NOF]; +volatile float Fsamples[NOF]; +float fZeroCurrent = 8.0; + +static void ProcessSamples(void) { + volatile int i; + tic_port(DEBUG_2_PORT); + //Fsamples[i] = samples[i]*3.3/4096.0 - fZeroCurrent; + for (i=0; i < NOF; i++) { + Fsamples[i] = samples[i]*3.3f/4096.0f - fZeroCurrent; + } + toc_port(DEBUG_2_PORT); +} + int main(void) { @@ -218,22 +254,33 @@ int main(void) configure_TC_CCL_SPEED(); ext_irq_register(nDRV_RESET, HW_current_limit_detect_callback); - enable_NVIC_IRQ(); + //enable_NVIC_IRQ(); /* Replace with your application code */ while (1) { - if(Motor1.timerflags.motor_telemetry_flag) { - Motor1.timerflags.motor_telemetry_flag = false; - update_setpoints(); - update_telemetry(); - } - if(Motor1.timerflags.current_loop_tic) { - Motor1.timerflags.current_loop_tic = false; - tic_port(DEBUG_1_PORT); - CONTROLLER_StateMachine(); - toc_port(DEBUG_1_PORT); - } + ProcessSamples(); + + + + + + //if(Motor1.timerflags.motor_telemetry_flag) { + ////tic_port(DEBUG_2_PORT); + //Motor1.timerflags.motor_telemetry_flag = false; + //update_setpoints(); + ////toc_port(DEBUG_2_PORT); + ////tic_port(DEBUG_3_PORT); + //update_telemetry(); + ////toc_port(DEBUG_3_PORT); + //} + // + //if(Motor1.timerflags.current_loop_tic) { + //Motor1.timerflags.current_loop_tic = false; + //tic_port(DEBUG_1_PORT); + //CONTROLLER_StateMachine(); + //toc_port(DEBUG_1_PORT); + //} //do { //delay_ms(10); diff --git a/BLDC_E54/BLDC_E54/motor_params.h b/BLDC_E54/BLDC_E54/motor_params.h index 7fb4b52..7edf47d 100644 --- a/BLDC_E54/BLDC_E54/motor_params.h +++ b/BLDC_E54/BLDC_E54/motor_params.h @@ -63,6 +63,7 @@ #define AVERAGE_SPEED_MEASURE #define COUNTEQUIVTO25RPM 892857142 #define n_SAMPLE 8 +//#define n_SAMPLE 1 static uint32_t speed_average = 0; static uint8_t count = 1; diff --git a/BLDC_E54v2/BLCD_E54v2.atstart b/BLDC_E54v2/BLCD_E54v2.atstart new file mode 100644 index 0000000..71aa1a3 --- /dev/null +++ b/BLDC_E54v2/BLCD_E54v2.atstart @@ -0,0 +1,2126 @@ +format_version: '2' +name: My Project +versions: + api: '1.0' + backend: 1.8.543 + commit: 931b2422bde1a793dea853de68547f48bf245b0f + content: unknown + content_pack_name: unknown + format: '2' + frontend: 1.8.543 + packs_version_avr8: 1.0.1457 + packs_version_qtouch: unknown + packs_version_sam: 1.0.1726 + version_backend: 1.8.543 + version_frontend: '' +board: + identifier: SAME54XplainedPro + device: SAME54P20A-AU +details: null +application: null +middlewares: {} +drivers: + ADC_0: + user_label: ADC_0 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::ADC0::driver_config_definition::ADC::HAL:Driver:ADC.Sync + functionality: ADC + api: HAL:Driver:ADC_Sync + configuration: + adc_advanced_settings: true + adc_arch_adjres: 0 + adc_arch_corren: false + adc_arch_dbgrun: false + adc_arch_event_settings: true + adc_arch_flushei: false + adc_arch_flushinv: false + adc_arch_gaincorr: 0 + adc_arch_leftadj: false + adc_arch_offcomp: false + adc_arch_offsetcorr: 0 + adc_arch_ondemand: false + adc_arch_refcomp: false + adc_arch_resrdyeo: true + adc_arch_runstdby: false + adc_arch_samplen: 3 + adc_arch_samplenum: 1 sample + adc_arch_seqen: 0 + adc_arch_startei: false + adc_arch_startinv: false + adc_arch_winlt: 0 + adc_arch_winmode: No window mode + adc_arch_winmoneo: false + adc_arch_winut: 0 + adc_differential_mode: false + adc_freerunning_mode: false + adc_pinmux_negative: Internal ground + adc_pinmux_positive: ADC AIN2 pin + adc_prescaler: Peripheral clock divided by 8 + adc_reference: VDDANA + adc_resolution: 12-bit + optional_signals: + - identifier: ADC_0:AIN/2 + pad: PB08 + mode: Enabled + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::ADC0.AIN.2 + name: ADC0/AIN/2 + label: AIN/2 + - identifier: ADC_0:AIN/3 + pad: PB09 + mode: Enabled + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::ADC0.AIN.3 + name: ADC0/AIN/3 + label: AIN/3 + variant: null + clocks: + domain_group: + nodes: + - name: ADC + input: Generic clock generator 0 + external: false + external_frequency: 0 + configuration: + adc_gclk_selection: Generic clock generator 0 + DIGITAL_GLUE_LOGIC_0: + user_label: DIGITAL_GLUE_LOGIC_0 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::CCL::driver_config_definition::CCL::HAL:Driver:CCL + functionality: Digital_Glue_Logic + api: HAL:Driver:CCL + configuration: + ccl_arch_advanced_settings: false + ccl_arch_edgesel_0: false + ccl_arch_edgesel_1: false + ccl_arch_edgesel_2: false + ccl_arch_edgesel_3: false + ccl_arch_filtsel_0: Disabled + ccl_arch_filtsel_1: Disabled + ccl_arch_filtsel_2: Disabled + ccl_arch_filtsel_3: Disabled + ccl_arch_insel0_0: IO pin input source + ccl_arch_insel0_1: IO pin input source + ccl_arch_insel0_2: IO pin input source + ccl_arch_insel0_3: IO pin input source + ccl_arch_insel1_0: IO pin input source + ccl_arch_insel1_1: IO pin input source + ccl_arch_insel1_2: IO pin input source + ccl_arch_insel1_3: IO pin input source + ccl_arch_insel2_0: IO pin input source + ccl_arch_insel2_1: IO pin input source + ccl_arch_insel2_2: IO pin input source + ccl_arch_insel2_3: IO pin input source + ccl_arch_invei_0: false + ccl_arch_invei_1: false + ccl_arch_invei_2: false + ccl_arch_invei_3: false + ccl_arch_lutctrl0: true + ccl_arch_lutctrl1: false + ccl_arch_lutctrl2: false + ccl_arch_lutctrl3: false + ccl_arch_lutei_0: false + ccl_arch_lutei_1: false + ccl_arch_lutei_2: false + ccl_arch_lutei_3: false + ccl_arch_luteo_0: true + ccl_arch_luteo_1: false + ccl_arch_luteo_2: false + ccl_arch_luteo_3: false + ccl_arch_runstdby: false + ccl_arch_seqsel_0: Sequential logic is disabled + ccl_arch_seqsel_1: Sequential logic is disabled + ccl_arch_truth_0: 150 + ccl_arch_truth_1: 0 + ccl_arch_truth_2: 0 + ccl_arch_truth_3: 0 + ccl_e_persistance_0: '' + ccl_e_persistance_1: '' + ccl_e_persistance_2: '' + ccl_e_persistance_3: '' + ccl_l_persistance_0: '' + ccl_l_persistance_1: '' + ccl_l_persistance_2: '' + ccl_l_persistance_3: '' + optional_signals: + - identifier: DIGITAL_GLUE_LOGIC_0:IN/0 + pad: PA04 + mode: Enabled + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::CCL.IN.0 + name: CCL/IN/0 + label: IN/0 + - identifier: DIGITAL_GLUE_LOGIC_0:IN/1 + pad: PA05 + mode: Enabled + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::CCL.IN.1 + name: CCL/IN/1 + label: IN/1 + - identifier: DIGITAL_GLUE_LOGIC_0:IN/2 + pad: PA06 + mode: Enabled + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::CCL.IN.2 + name: CCL/IN/2 + label: IN/2 + variant: null + clocks: + domain_group: + nodes: + - name: CCL + input: Generic clock generator 0 + external: false + external_frequency: 0 + configuration: + ccl_gclk_selection: Generic clock generator 0 + CMCC: + user_label: CMCC + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::CMCC::driver_config_definition::CMCC::HAL:HPL:CMCC + functionality: System + api: HAL:HPL:CMCC + configuration: + cache_size: 4 KB + cmcc_advanced_configuration: false + cmcc_clock_gating_disable: false + cmcc_data_cache_disable: false + cmcc_enable: false + cmcc_inst_cache_disable: false + optional_signals: [] + variant: null + clocks: + domain_group: null + DMAC: + user_label: DMAC + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::DMAC::driver_config_definition::DMAC::HAL:HPL:DMAC + functionality: System + api: HAL:HPL:DMAC + configuration: + dmac_beatsize_0: 8-bit bus transfer + dmac_beatsize_1: 8-bit bus transfer + dmac_beatsize_10: 8-bit bus transfer + dmac_beatsize_11: 8-bit bus transfer + dmac_beatsize_12: 8-bit bus transfer + dmac_beatsize_13: 8-bit bus transfer + dmac_beatsize_14: 8-bit bus transfer + dmac_beatsize_15: 8-bit bus transfer + dmac_beatsize_16: 8-bit bus transfer + dmac_beatsize_17: 8-bit bus transfer + dmac_beatsize_18: 8-bit bus transfer + dmac_beatsize_19: 8-bit bus transfer + dmac_beatsize_2: 32-bit bus transfer + dmac_beatsize_20: 8-bit bus transfer + dmac_beatsize_21: 8-bit bus transfer + dmac_beatsize_22: 8-bit bus transfer + dmac_beatsize_23: 8-bit bus transfer + dmac_beatsize_24: 8-bit bus transfer + dmac_beatsize_25: 8-bit bus transfer + dmac_beatsize_26: 8-bit bus transfer + dmac_beatsize_27: 8-bit bus transfer + dmac_beatsize_28: 8-bit bus transfer + dmac_beatsize_29: 8-bit bus transfer + dmac_beatsize_3: 16-bit bus transfer + dmac_beatsize_30: 8-bit bus transfer + dmac_beatsize_31: 8-bit bus transfer + dmac_beatsize_4: 8-bit bus transfer + dmac_beatsize_5: 8-bit bus transfer + dmac_beatsize_6: 8-bit bus transfer + dmac_beatsize_7: 8-bit bus transfer + dmac_beatsize_8: 8-bit bus transfer + dmac_beatsize_9: 8-bit bus transfer + dmac_blockact_0: Channel will be disabled if it is the last block transfer in + the transaction + dmac_blockact_1: Channel will be disabled if it is the last block transfer in + the transaction + dmac_blockact_10: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_11: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_12: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_13: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_14: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_15: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_16: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_17: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_18: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_19: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_2: Channel suspend operation is complete + dmac_blockact_20: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_21: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_22: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_23: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_24: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_25: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_26: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_27: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_28: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_29: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_3: Channel will be disabled if it is the last block transfer in + the transaction and block interrupt + dmac_blockact_30: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_31: Channel will be disabled if it is the last block transfer + in the transaction + dmac_blockact_4: Channel will be disabled if it is the last block transfer in + the transaction + dmac_blockact_5: Channel will be disabled if it is the last block transfer in + the transaction + dmac_blockact_6: Channel will be disabled if it is the last block transfer in + the transaction + dmac_blockact_7: Channel will be disabled if it is the last block transfer in + the transaction + dmac_blockact_8: Channel will be disabled if it is the last block transfer in + the transaction + dmac_blockact_9: Channel will be disabled if it is the last block transfer in + the transaction + dmac_channel_0_settings: true + dmac_channel_10_settings: false + dmac_channel_11_settings: false + dmac_channel_12_settings: false + dmac_channel_13_settings: false + dmac_channel_14_settings: false + dmac_channel_15_settings: false + dmac_channel_16_settings: false + dmac_channel_17_settings: false + dmac_channel_18_settings: false + dmac_channel_19_settings: false + dmac_channel_1_settings: true + dmac_channel_20_settings: false + dmac_channel_21_settings: false + dmac_channel_22_settings: false + dmac_channel_23_settings: false + dmac_channel_24_settings: false + dmac_channel_25_settings: false + dmac_channel_26_settings: false + dmac_channel_27_settings: false + dmac_channel_28_settings: false + dmac_channel_29_settings: false + dmac_channel_2_settings: true + dmac_channel_30_settings: false + dmac_channel_31_settings: false + dmac_channel_3_settings: true + dmac_channel_4_settings: false + dmac_channel_5_settings: false + dmac_channel_6_settings: false + dmac_channel_7_settings: false + dmac_channel_8_settings: false + dmac_channel_9_settings: false + dmac_dbgrun: false + dmac_dstinc_0: true + dmac_dstinc_1: false + dmac_dstinc_10: false + dmac_dstinc_11: false + dmac_dstinc_12: false + dmac_dstinc_13: false + dmac_dstinc_14: false + dmac_dstinc_15: false + dmac_dstinc_16: false + dmac_dstinc_17: false + dmac_dstinc_18: false + dmac_dstinc_19: false + dmac_dstinc_2: false + dmac_dstinc_20: false + dmac_dstinc_21: false + dmac_dstinc_22: false + dmac_dstinc_23: false + dmac_dstinc_24: false + dmac_dstinc_25: false + dmac_dstinc_26: false + dmac_dstinc_27: false + dmac_dstinc_28: false + dmac_dstinc_29: false + dmac_dstinc_3: true + dmac_dstinc_30: false + dmac_dstinc_31: false + dmac_dstinc_4: false + dmac_dstinc_5: false + dmac_dstinc_6: false + dmac_dstinc_7: false + dmac_dstinc_8: false + dmac_dstinc_9: false + dmac_enable: true + dmac_evact_0: No action + dmac_evact_1: No action + dmac_evact_10: No action + dmac_evact_11: No action + dmac_evact_12: No action + dmac_evact_13: No action + dmac_evact_14: No action + dmac_evact_15: No action + dmac_evact_16: No action + dmac_evact_17: No action + dmac_evact_18: No action + dmac_evact_19: No action + dmac_evact_2: Channel resume operation + dmac_evact_20: No action + dmac_evact_21: No action + dmac_evact_22: No action + dmac_evact_23: No action + dmac_evact_24: No action + dmac_evact_25: No action + dmac_evact_26: No action + dmac_evact_27: No action + dmac_evact_28: No action + dmac_evact_29: No action + dmac_evact_3: No action + dmac_evact_30: No action + dmac_evact_31: No action + dmac_evact_4: No action + dmac_evact_5: No action + dmac_evact_6: No action + dmac_evact_7: No action + dmac_evact_8: No action + dmac_evact_9: No action + dmac_evie_0: false + dmac_evie_1: false + dmac_evie_10: false + dmac_evie_11: false + dmac_evie_12: false + dmac_evie_13: false + dmac_evie_14: false + dmac_evie_15: false + dmac_evie_16: false + dmac_evie_17: false + dmac_evie_18: false + dmac_evie_19: false + dmac_evie_2: true + dmac_evie_20: false + dmac_evie_21: false + dmac_evie_22: false + dmac_evie_23: false + dmac_evie_24: false + dmac_evie_25: false + dmac_evie_26: false + dmac_evie_27: false + dmac_evie_28: false + dmac_evie_29: false + dmac_evie_3: false + dmac_evie_30: false + dmac_evie_31: false + dmac_evie_4: false + dmac_evie_5: false + dmac_evie_6: false + dmac_evie_7: false + dmac_evie_8: false + dmac_evie_9: false + dmac_evoe_0: true + dmac_evoe_1: true + dmac_evoe_10: false + dmac_evoe_11: false + dmac_evoe_12: false + dmac_evoe_13: false + dmac_evoe_14: false + dmac_evoe_15: false + dmac_evoe_16: false + dmac_evoe_17: false + dmac_evoe_18: false + dmac_evoe_19: false + dmac_evoe_2: false + dmac_evoe_20: false + dmac_evoe_21: false + dmac_evoe_22: false + dmac_evoe_23: false + dmac_evoe_24: false + dmac_evoe_25: false + dmac_evoe_26: false + dmac_evoe_27: false + dmac_evoe_28: false + dmac_evoe_29: false + dmac_evoe_3: false + dmac_evoe_30: false + dmac_evoe_31: false + dmac_evoe_4: false + dmac_evoe_5: false + dmac_evoe_6: false + dmac_evoe_7: false + dmac_evoe_8: false + dmac_evoe_9: false + dmac_evosel_0: Event strobe when block transfer complete + dmac_evosel_1: Event strobe when block transfer complete + dmac_evosel_10: Event generation disabled + dmac_evosel_11: Event generation disabled + dmac_evosel_12: Event generation disabled + dmac_evosel_13: Event generation disabled + dmac_evosel_14: Event generation disabled + dmac_evosel_15: Event generation disabled + dmac_evosel_16: Event generation disabled + dmac_evosel_17: Event generation disabled + dmac_evosel_18: Event generation disabled + dmac_evosel_19: Event generation disabled + dmac_evosel_2: Event generation disabled + dmac_evosel_20: Event generation disabled + dmac_evosel_21: Event generation disabled + dmac_evosel_22: Event generation disabled + dmac_evosel_23: Event generation disabled + dmac_evosel_24: Event generation disabled + dmac_evosel_25: Event generation disabled + dmac_evosel_26: Event generation disabled + dmac_evosel_27: Event generation disabled + dmac_evosel_28: Event generation disabled + dmac_evosel_29: Event generation disabled + dmac_evosel_3: Event generation disabled + dmac_evosel_30: Event generation disabled + dmac_evosel_31: Event generation disabled + dmac_evosel_4: Event generation disabled + dmac_evosel_5: Event generation disabled + dmac_evosel_6: Event generation disabled + dmac_evosel_7: Event generation disabled + dmac_evosel_8: Event generation disabled + dmac_evosel_9: Event generation disabled + dmac_lvl_0: Channel priority 1 + dmac_lvl_1: Channel priority 1 + dmac_lvl_10: Channel priority 0 + dmac_lvl_11: Channel priority 0 + dmac_lvl_12: Channel priority 0 + dmac_lvl_13: Channel priority 0 + dmac_lvl_14: Channel priority 0 + dmac_lvl_15: Channel priority 0 + dmac_lvl_16: Channel priority 0 + dmac_lvl_17: Channel priority 0 + dmac_lvl_18: Channel priority 0 + dmac_lvl_19: Channel priority 0 + dmac_lvl_2: Channel priority 0 + dmac_lvl_20: Channel priority 0 + dmac_lvl_21: Channel priority 0 + dmac_lvl_22: Channel priority 0 + dmac_lvl_23: Channel priority 0 + dmac_lvl_24: Channel priority 0 + dmac_lvl_25: Channel priority 0 + dmac_lvl_26: Channel priority 0 + dmac_lvl_27: Channel priority 0 + dmac_lvl_28: Channel priority 0 + dmac_lvl_29: Channel priority 0 + dmac_lvl_3: Channel priority 0 + dmac_lvl_30: Channel priority 0 + dmac_lvl_31: Channel priority 0 + dmac_lvl_4: Channel priority 0 + dmac_lvl_5: Channel priority 0 + dmac_lvl_6: Channel priority 0 + dmac_lvl_7: Channel priority 0 + dmac_lvl_8: Channel priority 0 + dmac_lvl_9: Channel priority 0 + dmac_lvlen0: true + dmac_lvlen1: true + dmac_lvlen2: true + dmac_lvlen3: true + dmac_lvlpri0: 0 + dmac_lvlpri1: 0 + dmac_lvlpri2: 0 + dmac_lvlpri3: 0 + dmac_rrlvlen0: Round-robin arbitration scheme for channel with priority 0 + dmac_rrlvlen1: Round-robin arbitration scheme for channel with priority 1 + dmac_rrlvlen2: Round-robin arbitration scheme for channel with priority 2 + dmac_rrlvlen3: Round-robin arbitration scheme for channel with priority 3 + dmac_runstdby_0: false + dmac_runstdby_1: false + dmac_runstdby_10: false + dmac_runstdby_11: false + dmac_runstdby_12: false + dmac_runstdby_13: false + dmac_runstdby_14: false + dmac_runstdby_15: false + dmac_runstdby_16: false + dmac_runstdby_17: false + dmac_runstdby_18: false + dmac_runstdby_19: false + dmac_runstdby_2: true + dmac_runstdby_20: false + dmac_runstdby_21: false + dmac_runstdby_22: false + dmac_runstdby_23: false + dmac_runstdby_24: false + dmac_runstdby_25: false + dmac_runstdby_26: false + dmac_runstdby_27: false + dmac_runstdby_28: false + dmac_runstdby_29: false + dmac_runstdby_3: true + dmac_runstdby_30: false + dmac_runstdby_31: false + dmac_runstdby_4: false + dmac_runstdby_5: false + dmac_runstdby_6: false + dmac_runstdby_7: false + dmac_runstdby_8: false + dmac_runstdby_9: false + dmac_srcinc_0: false + dmac_srcinc_1: true + dmac_srcinc_10: false + dmac_srcinc_11: false + dmac_srcinc_12: false + dmac_srcinc_13: false + dmac_srcinc_14: false + dmac_srcinc_15: false + dmac_srcinc_16: false + dmac_srcinc_17: false + dmac_srcinc_18: false + dmac_srcinc_19: false + dmac_srcinc_2: true + dmac_srcinc_20: false + dmac_srcinc_21: false + dmac_srcinc_22: false + dmac_srcinc_23: false + dmac_srcinc_24: false + dmac_srcinc_25: false + dmac_srcinc_26: false + dmac_srcinc_27: false + dmac_srcinc_28: false + dmac_srcinc_29: false + dmac_srcinc_3: false + dmac_srcinc_30: false + dmac_srcinc_31: false + dmac_srcinc_4: false + dmac_srcinc_5: false + dmac_srcinc_6: false + dmac_srcinc_7: false + dmac_srcinc_8: false + dmac_srcinc_9: false + dmac_stepsel_0: Step size settings apply to the source address + dmac_stepsel_1: Step size settings apply to the source address + dmac_stepsel_10: Step size settings apply to the destination address + dmac_stepsel_11: Step size settings apply to the destination address + dmac_stepsel_12: Step size settings apply to the destination address + dmac_stepsel_13: Step size settings apply to the destination address + dmac_stepsel_14: Step size settings apply to the destination address + dmac_stepsel_15: Step size settings apply to the destination address + dmac_stepsel_16: Step size settings apply to the destination address + dmac_stepsel_17: Step size settings apply to the destination address + dmac_stepsel_18: Step size settings apply to the destination address + dmac_stepsel_19: Step size settings apply to the destination address + dmac_stepsel_2: Step size settings apply to the source address + dmac_stepsel_20: Step size settings apply to the destination address + dmac_stepsel_21: Step size settings apply to the destination address + dmac_stepsel_22: Step size settings apply to the destination address + dmac_stepsel_23: Step size settings apply to the destination address + dmac_stepsel_24: Step size settings apply to the destination address + dmac_stepsel_25: Step size settings apply to the destination address + dmac_stepsel_26: Step size settings apply to the destination address + dmac_stepsel_27: Step size settings apply to the destination address + dmac_stepsel_28: Step size settings apply to the destination address + dmac_stepsel_29: Step size settings apply to the destination address + dmac_stepsel_3: Step size settings apply to the destination address + dmac_stepsel_30: Step size settings apply to the destination address + dmac_stepsel_31: Step size settings apply to the destination address + dmac_stepsel_4: Step size settings apply to the destination address + dmac_stepsel_5: Step size settings apply to the destination address + dmac_stepsel_6: Step size settings apply to the destination address + dmac_stepsel_7: Step size settings apply to the destination address + dmac_stepsel_8: Step size settings apply to the destination address + dmac_stepsel_9: Step size settings apply to the destination address + dmac_stepsize_0: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_1: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_10: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_11: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_12: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_13: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_14: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_15: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_16: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_17: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_18: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_19: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_2: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_20: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_21: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_22: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_23: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_24: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_25: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_26: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_27: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_28: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_29: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_3: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_30: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_31: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_4: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_5: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_6: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_7: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_8: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_stepsize_9: Next ADDR = ADDR + (BEATSIZE + 1) * 1 + dmac_trifsrc_0: SERCOM5 RX Trigger + dmac_trifsrc_1: SERCOM5 TX Trigger + dmac_trifsrc_10: Only software/event triggers + dmac_trifsrc_11: Only software/event triggers + dmac_trifsrc_12: Only software/event triggers + dmac_trifsrc_13: Only software/event triggers + dmac_trifsrc_14: Only software/event triggers + dmac_trifsrc_15: Only software/event triggers + dmac_trifsrc_16: Only software/event triggers + dmac_trifsrc_17: Only software/event triggers + dmac_trifsrc_18: Only software/event triggers + dmac_trifsrc_19: Only software/event triggers + dmac_trifsrc_2: ADC0 Sequencing Trigger + dmac_trifsrc_20: Only software/event triggers + dmac_trifsrc_21: Only software/event triggers + dmac_trifsrc_22: Only software/event triggers + dmac_trifsrc_23: Only software/event triggers + dmac_trifsrc_24: Only software/event triggers + dmac_trifsrc_25: Only software/event triggers + dmac_trifsrc_26: Only software/event triggers + dmac_trifsrc_27: Only software/event triggers + dmac_trifsrc_28: Only software/event triggers + dmac_trifsrc_29: Only software/event triggers + dmac_trifsrc_3: ADC0 Result Ready Trigger + dmac_trifsrc_30: Only software/event triggers + dmac_trifsrc_31: Only software/event triggers + dmac_trifsrc_4: Only software/event triggers + dmac_trifsrc_5: Only software/event triggers + dmac_trifsrc_6: Only software/event triggers + dmac_trifsrc_7: Only software/event triggers + dmac_trifsrc_8: Only software/event triggers + dmac_trifsrc_9: Only software/event triggers + dmac_trigact_0: One trigger required for each beat transfer + dmac_trigact_1: One trigger required for each beat transfer + dmac_trigact_10: One trigger required for each block transfer + dmac_trigact_11: One trigger required for each block transfer + dmac_trigact_12: One trigger required for each block transfer + dmac_trigact_13: One trigger required for each block transfer + dmac_trigact_14: One trigger required for each block transfer + dmac_trigact_15: One trigger required for each block transfer + dmac_trigact_16: One trigger required for each block transfer + dmac_trigact_17: One trigger required for each block transfer + dmac_trigact_18: One trigger required for each block transfer + dmac_trigact_19: One trigger required for each block transfer + dmac_trigact_2: One trigger required for each beat transfer + dmac_trigact_20: One trigger required for each block transfer + dmac_trigact_21: One trigger required for each block transfer + dmac_trigact_22: One trigger required for each block transfer + dmac_trigact_23: One trigger required for each block transfer + dmac_trigact_24: One trigger required for each block transfer + dmac_trigact_25: One trigger required for each block transfer + dmac_trigact_26: One trigger required for each block transfer + dmac_trigact_27: One trigger required for each block transfer + dmac_trigact_28: One trigger required for each block transfer + dmac_trigact_29: One trigger required for each block transfer + dmac_trigact_3: One trigger required for each beat transfer + dmac_trigact_30: One trigger required for each block transfer + dmac_trigact_31: One trigger required for each block transfer + dmac_trigact_4: One trigger required for each block transfer + dmac_trigact_5: One trigger required for each block transfer + dmac_trigact_6: One trigger required for each block transfer + dmac_trigact_7: One trigger required for each block transfer + dmac_trigact_8: One trigger required for each block transfer + dmac_trigact_9: One trigger required for each block transfer + optional_signals: [] + variant: null + clocks: + domain_group: null + EVENT_SYSTEM_0: + user_label: EVENT_SYSTEM_0 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::EVSYS::driver_config_definition::Event.System::HAL:Driver:Event.system + functionality: Event_System + api: HAL:Driver:Event_system + configuration: + evsys_channel_0: No channel output selected + evsys_channel_1: No channel output selected + evsys_channel_10: No channel output selected + evsys_channel_11: No channel output selected + evsys_channel_12: No channel output selected + evsys_channel_17: No channel output selected + evsys_channel_18: No channel output selected + evsys_channel_19: No channel output selected + evsys_channel_2: No channel output selected + evsys_channel_20: No channel output selected + evsys_channel_21: No channel output selected + evsys_channel_22: No channel output selected + evsys_channel_23: No channel output selected + evsys_channel_24: No channel output selected + evsys_channel_25: No channel output selected + evsys_channel_26: No channel output selected + evsys_channel_27: No channel output selected + evsys_channel_28: No channel output selected + evsys_channel_29: No channel output selected + evsys_channel_3: No channel output selected + evsys_channel_30: No channel output selected + evsys_channel_31: No channel output selected + evsys_channel_32: No channel output selected + evsys_channel_33: No channel output selected + evsys_channel_34: No channel output selected + evsys_channel_35: No channel output selected + evsys_channel_36: No channel output selected + evsys_channel_37: No channel output selected + evsys_channel_38: No channel output selected + evsys_channel_39: No channel output selected + evsys_channel_4: No channel output selected + evsys_channel_40: No channel output selected + evsys_channel_41: No channel output selected + evsys_channel_42: No channel output selected + evsys_channel_43: No channel output selected + evsys_channel_44: Channel 1 + evsys_channel_45: No channel output selected + evsys_channel_46: No channel output selected + evsys_channel_47: No channel output selected + evsys_channel_48: No channel output selected + evsys_channel_49: No channel output selected + evsys_channel_5: No channel output selected + evsys_channel_50: No channel output selected + evsys_channel_51: No channel output selected + evsys_channel_52: No channel output selected + evsys_channel_53: No channel output selected + evsys_channel_54: No channel output selected + evsys_channel_55: No channel output selected + evsys_channel_56: No channel output selected + evsys_channel_57: No channel output selected + evsys_channel_58: No channel output selected + evsys_channel_59: No channel output selected + evsys_channel_6: No channel output selected + evsys_channel_60: No channel output selected + evsys_channel_61: No channel output selected + evsys_channel_62: No channel output selected + evsys_channel_63: No channel output selected + evsys_channel_64: No channel output selected + evsys_channel_65: No channel output selected + evsys_channel_66: No channel output selected + evsys_channel_7: No channel output selected + evsys_channel_8: No channel output selected + evsys_channel_9: No channel output selected + evsys_channel_setting_0: true + evsys_channel_setting_1: true + evsys_channel_setting_10: false + evsys_channel_setting_11: false + evsys_channel_setting_12: false + evsys_channel_setting_13: false + evsys_channel_setting_14: false + evsys_channel_setting_15: false + evsys_channel_setting_16: false + evsys_channel_setting_17: false + evsys_channel_setting_18: false + evsys_channel_setting_19: false + evsys_channel_setting_2: false + evsys_channel_setting_20: false + evsys_channel_setting_21: false + evsys_channel_setting_22: false + evsys_channel_setting_23: false + evsys_channel_setting_24: false + evsys_channel_setting_25: false + evsys_channel_setting_26: false + evsys_channel_setting_27: false + evsys_channel_setting_28: false + evsys_channel_setting_29: false + evsys_channel_setting_3: false + evsys_channel_setting_30: false + evsys_channel_setting_31: false + evsys_channel_setting_4: false + evsys_channel_setting_5: false + evsys_channel_setting_6: false + evsys_channel_setting_7: false + evsys_channel_setting_8: false + evsys_channel_setting_9: false + evsys_edgsel_0: No event output when using the resynchronized or synchronous + path + evsys_edgsel_1: No event output when using the resynchronized or synchronous + path + evsys_edgsel_10: No event output when using the resynchronized or synchronous + path + evsys_edgsel_11: No event output when using the resynchronized or synchronous + path + evsys_edgsel_12: No event output when using the resynchronized or synchronous + path + evsys_edgsel_13: No event output when using the resynchronized or synchronous + path + evsys_edgsel_14: No event output when using the resynchronized or synchronous + path + evsys_edgsel_15: No event output when using the resynchronized or synchronous + path + evsys_edgsel_16: No event output when using the resynchronized or synchronous + path + evsys_edgsel_17: No event output when using the resynchronized or synchronous + path + evsys_edgsel_18: No event output when using the resynchronized or synchronous + path + evsys_edgsel_19: No event output when using the resynchronized or synchronous + path + evsys_edgsel_2: No event output when using the resynchronized or synchronous + path + evsys_edgsel_20: No event output when using the resynchronized or synchronous + path + evsys_edgsel_21: No event output when using the resynchronized or synchronous + path + evsys_edgsel_22: No event output when using the resynchronized or synchronous + path + evsys_edgsel_23: No event output when using the resynchronized or synchronous + path + evsys_edgsel_24: No event output when using the resynchronized or synchronous + path + evsys_edgsel_25: No event output when using the resynchronized or synchronous + path + evsys_edgsel_26: No event output when using the resynchronized or synchronous + path + evsys_edgsel_27: No event output when using the resynchronized or synchronous + path + evsys_edgsel_28: No event output when using the resynchronized or synchronous + path + evsys_edgsel_29: No event output when using the resynchronized or synchronous + path + evsys_edgsel_3: No event output when using the resynchronized or synchronous + path + evsys_edgsel_30: No event output when using the resynchronized or synchronous + path + evsys_edgsel_31: No event output when using the resynchronized or synchronous + path + evsys_edgsel_4: No event output when using the resynchronized or synchronous + path + evsys_edgsel_5: No event output when using the resynchronized or synchronous + path + evsys_edgsel_6: No event output when using the resynchronized or synchronous + path + evsys_edgsel_7: No event output when using the resynchronized or synchronous + path + evsys_edgsel_8: No event output when using the resynchronized or synchronous + path + evsys_edgsel_9: No event output when using the resynchronized or synchronous + path + evsys_evd_0: false + evsys_evd_1: false + evsys_evd_10: false + evsys_evd_11: false + evsys_evd_12: false + evsys_evd_13: false + evsys_evd_14: false + evsys_evd_15: false + evsys_evd_16: false + evsys_evd_17: false + evsys_evd_18: false + evsys_evd_19: false + evsys_evd_2: false + evsys_evd_20: false + evsys_evd_21: false + evsys_evd_22: false + evsys_evd_23: false + evsys_evd_24: false + evsys_evd_25: false + evsys_evd_26: false + evsys_evd_27: false + evsys_evd_28: false + evsys_evd_29: false + evsys_evd_3: false + evsys_evd_30: false + evsys_evd_31: false + evsys_evd_4: false + evsys_evd_5: false + evsys_evd_6: false + evsys_evd_7: false + evsys_evd_8: false + evsys_evd_9: false + evsys_evgen_0: TCC1 overflow + evsys_evgen_1: CCL LUT output 0 + evsys_evgen_10: No event generator + evsys_evgen_11: No event generator + evsys_evgen_12: No event generator + evsys_evgen_13: No event generator + evsys_evgen_14: No event generator + evsys_evgen_15: No event generator + evsys_evgen_16: No event generator + evsys_evgen_17: No event generator + evsys_evgen_18: No event generator + evsys_evgen_19: No event generator + evsys_evgen_2: No event generator + evsys_evgen_20: No event generator + evsys_evgen_21: No event generator + evsys_evgen_22: No event generator + evsys_evgen_23: No event generator + evsys_evgen_24: No event generator + evsys_evgen_25: No event generator + evsys_evgen_26: No event generator + evsys_evgen_27: No event generator + evsys_evgen_28: No event generator + evsys_evgen_29: No event generator + evsys_evgen_3: No event generator + evsys_evgen_30: No event generator + evsys_evgen_31: No event generator + evsys_evgen_4: No event generator + evsys_evgen_5: No event generator + evsys_evgen_6: No event generator + evsys_evgen_7: No event generator + evsys_evgen_8: No event generator + evsys_evgen_9: No event generator + evsys_ondemand_0: false + evsys_ondemand_1: false + evsys_ondemand_10: false + evsys_ondemand_11: false + evsys_ondemand_12: false + evsys_ondemand_13: false + evsys_ondemand_14: false + evsys_ondemand_15: false + evsys_ondemand_16: false + evsys_ondemand_17: false + evsys_ondemand_18: false + evsys_ondemand_19: false + evsys_ondemand_2: false + evsys_ondemand_20: false + evsys_ondemand_21: false + evsys_ondemand_22: false + evsys_ondemand_23: false + evsys_ondemand_24: false + evsys_ondemand_25: false + evsys_ondemand_26: false + evsys_ondemand_27: false + evsys_ondemand_28: false + evsys_ondemand_29: false + evsys_ondemand_3: false + evsys_ondemand_30: false + evsys_ondemand_31: false + evsys_ondemand_4: false + evsys_ondemand_5: false + evsys_ondemand_6: false + evsys_ondemand_7: false + evsys_ondemand_8: false + evsys_ondemand_9: false + evsys_ovr_0: false + evsys_ovr_1: false + evsys_ovr_10: false + evsys_ovr_11: false + evsys_ovr_12: false + evsys_ovr_13: false + evsys_ovr_14: false + evsys_ovr_15: false + evsys_ovr_16: false + evsys_ovr_17: false + evsys_ovr_18: false + evsys_ovr_19: false + evsys_ovr_2: false + evsys_ovr_20: false + evsys_ovr_21: false + evsys_ovr_22: false + evsys_ovr_23: false + evsys_ovr_24: false + evsys_ovr_25: false + evsys_ovr_26: false + evsys_ovr_27: false + evsys_ovr_28: false + evsys_ovr_29: false + evsys_ovr_3: false + evsys_ovr_30: false + evsys_ovr_31: false + evsys_ovr_4: false + evsys_ovr_5: false + evsys_ovr_6: false + evsys_ovr_7: false + evsys_ovr_8: false + evsys_ovr_9: false + evsys_path_0: Asynchronous path + evsys_path_1: Asynchronous path + evsys_path_10: Synchronous path + evsys_path_11: Synchronous path + evsys_path_12: Synchronous path + evsys_path_13: Synchronous path + evsys_path_14: Synchronous path + evsys_path_15: Synchronous path + evsys_path_16: Synchronous path + evsys_path_17: Synchronous path + evsys_path_18: Synchronous path + evsys_path_19: Synchronous path + evsys_path_2: Synchronous path + evsys_path_20: Synchronous path + evsys_path_21: Synchronous path + evsys_path_22: Synchronous path + evsys_path_23: Synchronous path + evsys_path_24: Synchronous path + evsys_path_25: Synchronous path + evsys_path_26: Synchronous path + evsys_path_27: Synchronous path + evsys_path_28: Synchronous path + evsys_path_29: Synchronous path + evsys_path_3: Synchronous path + evsys_path_30: Synchronous path + evsys_path_31: Synchronous path + evsys_path_4: Synchronous path + evsys_path_5: Synchronous path + evsys_path_6: Synchronous path + evsys_path_7: Synchronous path + evsys_path_8: Synchronous path + evsys_path_9: Synchronous path + evsys_runstdby_0: false + evsys_runstdby_1: false + evsys_runstdby_10: false + evsys_runstdby_11: false + evsys_runstdby_12: false + evsys_runstdby_13: false + evsys_runstdby_14: false + evsys_runstdby_15: false + evsys_runstdby_16: false + evsys_runstdby_17: false + evsys_runstdby_18: false + evsys_runstdby_19: false + evsys_runstdby_2: false + evsys_runstdby_20: false + evsys_runstdby_21: false + evsys_runstdby_22: false + evsys_runstdby_23: false + evsys_runstdby_24: false + evsys_runstdby_25: false + evsys_runstdby_26: false + evsys_runstdby_27: false + evsys_runstdby_28: false + evsys_runstdby_29: false + evsys_runstdby_3: false + evsys_runstdby_30: false + evsys_runstdby_31: false + evsys_runstdby_4: false + evsys_runstdby_5: false + evsys_runstdby_6: false + evsys_runstdby_7: false + evsys_runstdby_8: false + evsys_runstdby_9: false + optional_signals: [] + variant: null + clocks: + domain_group: + nodes: + - name: Channel 0 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 1 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 2 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 3 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 4 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 5 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 6 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 7 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 8 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 9 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 10 + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Channel 11 + input: Generic clock generator 0 + external: false + external_frequency: 0 + configuration: + evsys_clk_selection_0: Generic clock generator 0 + evsys_clk_selection_1: Generic clock generator 0 + evsys_clk_selection_10: Generic clock generator 0 + evsys_clk_selection_11: Generic clock generator 0 + evsys_clk_selection_2: Generic clock generator 0 + evsys_clk_selection_3: Generic clock generator 0 + evsys_clk_selection_4: Generic clock generator 0 + evsys_clk_selection_5: Generic clock generator 0 + evsys_clk_selection_6: Generic clock generator 0 + evsys_clk_selection_7: Generic clock generator 0 + evsys_clk_selection_8: Generic clock generator 0 + evsys_clk_selection_9: Generic clock generator 0 + GCLK: + user_label: GCLK + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::GCLK::driver_config_definition::GCLK::HAL:HPL:GCLK + functionality: System + api: HAL:HPL:GCLK + configuration: + $input: 120000000 + $input_id: Digital Phase Locked Loop (DPLL1) + RESERVED_InputFreq: 120000000 + RESERVED_InputFreq_id: Digital Phase Locked Loop (DPLL1) + _$freq_output_Generic clock generator 0: 120000000 + _$freq_output_Generic clock generator 1: 2000000 + _$freq_output_Generic clock generator 10: 12000000 + _$freq_output_Generic clock generator 11: 12000000 + _$freq_output_Generic clock generator 2: 32768 + _$freq_output_Generic clock generator 3: 32768 + _$freq_output_Generic clock generator 4: 12000000 + _$freq_output_Generic clock generator 5: 12000000 + _$freq_output_Generic clock generator 6: 12000000 + _$freq_output_Generic clock generator 7: 12000000 + _$freq_output_Generic clock generator 8: 12000000 + _$freq_output_Generic clock generator 9: 12000000 + enable_gclk_gen_0: true + enable_gclk_gen_0__externalclock: 1000000 + enable_gclk_gen_1: true + enable_gclk_gen_10: false + enable_gclk_gen_10__externalclock: 1000000 + enable_gclk_gen_11: false + enable_gclk_gen_11__externalclock: 1000000 + enable_gclk_gen_1__externalclock: 1000000 + enable_gclk_gen_2: true + enable_gclk_gen_2__externalclock: 1000000 + enable_gclk_gen_3: false + enable_gclk_gen_3__externalclock: 1000000 + enable_gclk_gen_4: false + enable_gclk_gen_4__externalclock: 1000000 + enable_gclk_gen_5: false + enable_gclk_gen_5__externalclock: 1000000 + enable_gclk_gen_6: false + enable_gclk_gen_6__externalclock: 1000000 + enable_gclk_gen_7: false + enable_gclk_gen_7__externalclock: 1000000 + enable_gclk_gen_8: false + enable_gclk_gen_8__externalclock: 1000000 + enable_gclk_gen_9: false + enable_gclk_gen_9__externalclock: 1000000 + gclk_arch_gen_0_enable: true + gclk_arch_gen_0_idc: false + gclk_arch_gen_0_oe: true + gclk_arch_gen_0_oov: false + gclk_arch_gen_0_runstdby: false + gclk_arch_gen_10_enable: false + gclk_arch_gen_10_idc: false + gclk_arch_gen_10_oe: false + gclk_arch_gen_10_oov: false + gclk_arch_gen_10_runstdby: false + gclk_arch_gen_11_enable: false + gclk_arch_gen_11_idc: false + gclk_arch_gen_11_oe: false + gclk_arch_gen_11_oov: false + gclk_arch_gen_11_runstdby: false + gclk_arch_gen_1_enable: true + gclk_arch_gen_1_idc: false + gclk_arch_gen_1_oe: true + gclk_arch_gen_1_oov: false + gclk_arch_gen_1_runstdby: false + gclk_arch_gen_2_enable: true + gclk_arch_gen_2_idc: false + gclk_arch_gen_2_oe: true + gclk_arch_gen_2_oov: false + gclk_arch_gen_2_runstdby: false + gclk_arch_gen_3_enable: false + gclk_arch_gen_3_idc: false + gclk_arch_gen_3_oe: false + gclk_arch_gen_3_oov: false + gclk_arch_gen_3_runstdby: false + gclk_arch_gen_4_enable: false + gclk_arch_gen_4_idc: false + gclk_arch_gen_4_oe: false + gclk_arch_gen_4_oov: false + gclk_arch_gen_4_runstdby: false + gclk_arch_gen_5_enable: false + gclk_arch_gen_5_idc: false + gclk_arch_gen_5_oe: false + gclk_arch_gen_5_oov: false + gclk_arch_gen_5_runstdby: false + gclk_arch_gen_6_enable: false + gclk_arch_gen_6_idc: false + gclk_arch_gen_6_oe: false + gclk_arch_gen_6_oov: false + gclk_arch_gen_6_runstdby: false + gclk_arch_gen_7_enable: false + gclk_arch_gen_7_idc: false + gclk_arch_gen_7_oe: false + gclk_arch_gen_7_oov: false + gclk_arch_gen_7_runstdby: false + gclk_arch_gen_8_enable: false + gclk_arch_gen_8_idc: false + gclk_arch_gen_8_oe: false + gclk_arch_gen_8_oov: false + gclk_arch_gen_8_runstdby: false + gclk_arch_gen_9_enable: false + gclk_arch_gen_9_idc: false + gclk_arch_gen_9_oe: false + gclk_arch_gen_9_oov: false + gclk_arch_gen_9_runstdby: false + gclk_gen_0_div: 1 + gclk_gen_0_div_sel: false + gclk_gen_0_oscillator: Digital Phase Locked Loop (DPLL1) + gclk_gen_10_div: 1 + gclk_gen_10_div_sel: false + gclk_gen_10_oscillator: External Crystal Oscillator 8-48MHz (XOSC1) + gclk_gen_11_div: 1 + gclk_gen_11_div_sel: false + gclk_gen_11_oscillator: External Crystal Oscillator 8-48MHz (XOSC1) + gclk_gen_1_div: 24 + gclk_gen_1_div_sel: false + gclk_gen_1_oscillator: Digital Frequency Locked Loop (DFLL48M) + gclk_gen_2_div: 1 + gclk_gen_2_div_sel: false + gclk_gen_2_oscillator: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K) + gclk_gen_3_div: 1 + gclk_gen_3_div_sel: false + gclk_gen_3_oscillator: 32kHz External Crystal Oscillator (XOSC32K) + gclk_gen_4_div: 1 + gclk_gen_4_div_sel: false + gclk_gen_4_oscillator: External Crystal Oscillator 8-48MHz (XOSC1) + gclk_gen_5_div: 1 + gclk_gen_5_div_sel: false + gclk_gen_5_oscillator: External Crystal Oscillator 8-48MHz (XOSC1) + gclk_gen_6_div: 1 + gclk_gen_6_div_sel: false + gclk_gen_6_oscillator: External Crystal Oscillator 8-48MHz (XOSC1) + gclk_gen_7_div: 1 + gclk_gen_7_div_sel: false + gclk_gen_7_oscillator: External Crystal Oscillator 8-48MHz (XOSC1) + gclk_gen_8_div: 1 + gclk_gen_8_div_sel: false + gclk_gen_8_oscillator: External Crystal Oscillator 8-48MHz (XOSC1) + gclk_gen_9_div: 1 + gclk_gen_9_div_sel: false + gclk_gen_9_oscillator: External Crystal Oscillator 8-48MHz (XOSC1) + optional_signals: [] + variant: null + clocks: + domain_group: null + MCLK: + user_label: MCLK + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::MCLK::driver_config_definition::MCLK::HAL:HPL:MCLK + functionality: System + api: HAL:HPL:MCLK + configuration: + $input: 120000000 + $input_id: Generic clock generator 0 + RESERVED_InputFreq: 120000000 + RESERVED_InputFreq_id: Generic clock generator 0 + _$freq_output_CPU: 120000000 + cpu_clock_source: Generic clock generator 0 + cpu_div: '1' + enable_cpu_clock: true + mclk_arch_bupdiv: Divide by 8 + mclk_arch_hsdiv: Divide by 1 + mclk_arch_lpdiv: Divide by 4 + nvm_wait_states: '0' + optional_signals: [] + variant: null + clocks: + domain_group: + nodes: + - name: CPU + input: CPU + external: false + external_frequency: 0 + configuration: {} + OSC32KCTRL: + user_label: OSC32KCTRL + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::OSC32KCTRL::driver_config_definition::OSC32KCTRL::HAL:HPL:OSC32KCTRL + functionality: System + api: HAL:HPL:OSC32KCTRL + configuration: + $input: 32768 + $input_id: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K) + RESERVED_InputFreq: 32768 + RESERVED_InputFreq_id: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K) + _$freq_output_RTC source: 32768 + enable_osculp32k: true + enable_rtc_source: false + enable_xosc32k: false + osculp32k_calib: 0 + osculp32k_calib_enable: false + rtc_1khz_selection: false + rtc_source_oscillator: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K) + xosc32k_arch_cfden: false + xosc32k_arch_cfdeo: false + xosc32k_arch_cgm: Standard mode + xosc32k_arch_en1k: false + xosc32k_arch_en32k: false + xosc32k_arch_enable: false + xosc32k_arch_ondemand: true + xosc32k_arch_runstdby: false + xosc32k_arch_startup: 62592us + xosc32k_arch_swben: false + xosc32k_arch_xtalen: true + optional_signals: [] + variant: null + clocks: + domain_group: null + OSCCTRL: + user_label: OSCCTRL + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::OSCCTRL::driver_config_definition::OSCCTRL::HAL:HPL:OSCCTRL + functionality: System + api: HAL:HPL:OSCCTRL + configuration: + $input: 2000000 + $input_id: Generic clock generator 1 + RESERVED_InputFreq: 2000000 + RESERVED_InputFreq_id: Generic clock generator 1 + _$freq_output_Digital Frequency Locked Loop (DFLL48M): 48000000 + _$freq_output_Digital Phase Locked Loop (DPLL0): 47985664 + _$freq_output_Digital Phase Locked Loop (DPLL1): 120000000 + _$freq_output_External Crystal Oscillator 8-48MHz (XOSC0): '12000000' + _$freq_output_External Crystal Oscillator 8-48MHz (XOSC1): '12000000' + dfll_arch_bplckc: false + dfll_arch_calibration: false + dfll_arch_ccdis: false + dfll_arch_coarse: 31 + dfll_arch_cstep: 1 + dfll_arch_enable: true + dfll_arch_fine: 128 + dfll_arch_fstep: 1 + dfll_arch_llaw: false + dfll_arch_ondemand: false + dfll_arch_qldis: false + dfll_arch_runstdby: false + dfll_arch_stable: false + dfll_arch_usbcrm: false + dfll_arch_waitlock: true + dfll_mode: Open Loop Mode + dfll_mul: 0 + dfll_ref_clock: Generic clock generator 2 + enable_dfll: true + enable_fdpll0: false + enable_fdpll1: true + enable_xosc0: false + enable_xosc1: true + fdpll0_arch_dcoen: false + fdpll0_arch_enable: false + fdpll0_arch_filter: 0 + fdpll0_arch_lbypass: false + fdpll0_arch_ltime: No time-out, automatic lock + fdpll0_arch_ondemand: false + fdpll0_arch_refclk: XOSC32K clock reference + fdpll0_arch_runstdby: false + fdpll0_arch_wuf: false + fdpll0_clock_dcofilter: 0 + fdpll0_clock_div: 0 + fdpll0_ldr: 1463 + fdpll0_ldrfrac: 13 + fdpll0_ref_clock: 32kHz External Crystal Oscillator (XOSC32K) + fdpll1_arch_dcoen: false + fdpll1_arch_enable: true + fdpll1_arch_filter: 0 + fdpll1_arch_lbypass: false + fdpll1_arch_ltime: No time-out, automatic lock + fdpll1_arch_ondemand: false + fdpll1_arch_refclk: XOSC32K clock reference + fdpll1_arch_runstdby: false + fdpll1_arch_wuf: false + fdpll1_clock_dcofilter: 0 + fdpll1_clock_div: 0 + fdpll1_ldr: 59 + fdpll1_ldrfrac: 0 + fdpll1_ref_clock: Generic clock generator 1 + xosc0_arch_cfden: false + xosc0_arch_enable: false + xosc0_arch_enalc: false + xosc0_arch_lowbufgain: false + xosc0_arch_ondemand: false + xosc0_arch_runstdby: false + xosc0_arch_startup: 31us + xosc0_arch_swben: false + xosc0_arch_xtalen: false + xosc0_frequency: 12000000 + xosc1_arch_cfden: false + xosc1_arch_enable: true + xosc1_arch_enalc: false + xosc1_arch_lowbufgain: false + xosc1_arch_ondemand: false + xosc1_arch_runstdby: false + xosc1_arch_startup: 31us + xosc1_arch_swben: false + xosc1_arch_xtalen: true + xosc1_frequency: 12000000 + optional_signals: [] + variant: null + clocks: + domain_group: null + PORT: + user_label: PORT + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::PORT::driver_config_definition::PORT::HAL:HPL:PORT + functionality: System + api: HAL:HPL:PORT + configuration: + enable_port_input_event_0: false + enable_port_input_event_1: false + enable_port_input_event_2: false + enable_port_input_event_3: false + porta_event_action_0: Output register of pin will be set to level of event + porta_event_action_1: Output register of pin will be set to level of event + porta_event_action_2: Output register of pin will be set to level of event + porta_event_action_3: Output register of pin will be set to level of event + porta_event_pin_identifier_0: 0 + porta_event_pin_identifier_1: 0 + porta_event_pin_identifier_2: 0 + porta_event_pin_identifier_3: 0 + porta_input_event_enable_0: false + porta_input_event_enable_1: false + porta_input_event_enable_2: false + porta_input_event_enable_3: false + portb_event_action_0: Output register of pin will be set to level of event + portb_event_action_1: Output register of pin will be set to level of event + portb_event_action_2: Output register of pin will be set to level of event + portb_event_action_3: Output register of pin will be set to level of event + portb_event_pin_identifier_0: 0 + portb_event_pin_identifier_1: 0 + portb_event_pin_identifier_2: 0 + portb_event_pin_identifier_3: 0 + portb_input_event_enable_0: false + portb_input_event_enable_1: false + portb_input_event_enable_2: false + portb_input_event_enable_3: false + portc_event_action_0: Output register of pin will be set to level of event + portc_event_action_1: Output register of pin will be set to level of event + portc_event_action_2: Output register of pin will be set to level of event + portc_event_action_3: Output register of pin will be set to level of event + portc_event_pin_identifier_0: 0 + portc_event_pin_identifier_1: 0 + portc_event_pin_identifier_2: 0 + portc_event_pin_identifier_3: 0 + portc_input_event_enable_0: false + portc_input_event_enable_1: false + portc_input_event_enable_2: false + portc_input_event_enable_3: false + portd_event_action_0: Output register of pin will be set to level of event + portd_event_action_1: Output register of pin will be set to level of event + portd_event_action_2: Output register of pin will be set to level of event + portd_event_action_3: Output register of pin will be set to level of event + portd_event_pin_identifier_0: 0 + portd_event_pin_identifier_1: 0 + portd_event_pin_identifier_2: 0 + portd_event_pin_identifier_3: 0 + portd_input_event_enable_0: false + portd_input_event_enable_1: false + portd_input_event_enable_2: false + portd_input_event_enable_3: false + optional_signals: [] + variant: null + clocks: + domain_group: null + RAMECC: + user_label: RAMECC + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::RAMECC::driver_config_definition::RAMECC::HAL:HPL:RAMECC + functionality: System + api: HAL:HPL:RAMECC + configuration: {} + optional_signals: [] + variant: null + clocks: + domain_group: null + SPI_0: + user_label: SPI_0 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::SERCOM5::driver_config_definition::SPI.Master::HAL:Driver:SPI.Master.DMA + functionality: SPI + api: HAL:Driver:SPI_Master_DMA + configuration: + spi_master_advanced: true + spi_master_arch_cpha: Sample input on leading edge + spi_master_arch_cpol: SCK is low when idle + spi_master_arch_dbgstop: Keep running + spi_master_arch_dord: MSB first + spi_master_arch_ibon: In data stream + spi_master_arch_runstdby: false + spi_master_baud_rate: 12000000 + spi_master_character_size: 8 bits + spi_master_dma_rx_channel: 0 + spi_master_dma_tx_channel: 1 + spi_master_dummybyte: 511 + spi_master_rx_channel: true + spi_master_rx_enable: true + optional_signals: [] + variant: + specification: TXPO=0, RXPO=3 + required_signals: + - name: SERCOM5/PAD/0 + pad: PB16 + label: MOSI + - name: SERCOM5/PAD/1 + pad: PB17 + label: SCK + - name: SERCOM5/PAD/3 + pad: PB01 + label: MISO + clocks: + domain_group: + nodes: + - name: Core + input: Generic clock generator 0 + external: false + external_frequency: 0 + - name: Slow + input: Generic clock generator 3 + external: false + external_frequency: 0 + configuration: + core_gclk_selection: Generic clock generator 0 + slow_gclk_selection: Generic clock generator 3 + TC_SPEED: + user_label: TC_SPEED + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TC0::driver_config_definition::32-bit.Counter.Mode::Lite:TC:Timer + functionality: Timer + api: Lite:TC:Timer + configuration: + cc_cc0: 0 + cc_cc1: 0 + cc_control: false + count_control: false + count_count: 0 + ctrla_alock: false + ctrla_capten0: false + ctrla_capten1: false + ctrla_captmode0: DEFAULT + ctrla_captmode1: DEFAULT + ctrla_control: true + ctrla_copen0: false + ctrla_copen1: false + ctrla_enable: true + ctrla_mode: 2 + ctrla_ondemand: false + ctrla_prescaler: DIV4 + ctrla_prescsync: GCLK + ctrla_runstdby: false + ctrlbset_cmd: NONE + ctrlbset_control: false + ctrlbset_dir: false + ctrlbset_lupd: false + ctrlbset_oneshot: false + ctrlc_inven0: false + ctrlc_inven1: false + dbgctrl_control: false + dbgctrl_dbgrun: false + drvctrl_control: false + evctrl_control: true + evctrl_evact: PPW + evctrl_mceo0: false + evctrl_mceo1: false + evctrl_ovfeo: true + evctrl_tcei: true + evctrl_tcinv: false + intenset_control: true + intenset_err: false + intenset_mc0: false + intenset_mc1: false + intenset_ovf: true + wave_control: true + wave_wavegen: NFRQ + optional_signals: [] + variant: null + clocks: + domain_group: + nodes: + - name: TC + input: Generic clock generator 0 + external: false + external_frequency: 0 + configuration: + tc_gclk_selection: Generic clock generator 0 + TC_ECAT: + user_label: TC_ECAT + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TC7::driver_config_definition::32-bit.Counter.Mode::Lite:TC:Timer + functionality: Timer + api: Lite:TC:Timer + configuration: + cc_cc0: 30000 + cc_cc1: 0 + cc_control: true + count_control: false + count_count: 0 + ctrla_alock: false + ctrla_capten0: false + ctrla_capten1: false + ctrla_captmode0: DEFAULT + ctrla_captmode1: DEFAULT + ctrla_control: true + ctrla_copen0: false + ctrla_copen1: false + ctrla_enable: true + ctrla_mode: 0 + ctrla_ondemand: false + ctrla_prescaler: DIV4 + ctrla_prescsync: GCLK + ctrla_runstdby: false + ctrlbset_cmd: NONE + ctrlbset_control: false + ctrlbset_dir: false + ctrlbset_lupd: false + ctrlbset_oneshot: false + ctrlc_inven0: false + ctrlc_inven1: false + dbgctrl_control: false + dbgctrl_dbgrun: false + drvctrl_control: false + evctrl_control: false + evctrl_evact: 'OFF' + evctrl_mceo0: false + evctrl_mceo1: false + evctrl_ovfeo: false + evctrl_tcei: false + evctrl_tcinv: false + intenset_control: true + intenset_err: false + intenset_mc0: false + intenset_mc1: false + intenset_ovf: true + wave_control: true + wave_wavegen: MFRQ + optional_signals: [] + variant: null + clocks: + domain_group: + nodes: + - name: TC + input: Generic clock generator 0 + external: false + external_frequency: 0 + configuration: + tc_gclk_selection: Generic clock generator 0 + TCC_PWM2: + user_label: TCC_PWM2 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TCC0::driver_config_definition::PWM::HAL:Driver:PWM + functionality: PWM + api: HAL:Driver:PWM + configuration: + tcc_arch_alock: false + tcc_arch_cc0: 0 + tcc_arch_cc1: 0 + tcc_arch_cc2: 0 + tcc_arch_cc3: 0 + tcc_arch_cc4: 0 + tcc_arch_cc5: 0 + tcc_arch_cnteo: false + tcc_arch_cntsel: An interrupt/event is generated when a new counter cycle starts + tcc_arch_cpten0: false + tcc_arch_cpten1: false + tcc_arch_cpten2: false + tcc_arch_cpten3: false + tcc_arch_cpten4: false + tcc_arch_cpten5: false + tcc_arch_cpten6: false + tcc_arch_cpten7: false + tcc_arch_dbgrun: false + tcc_arch_evact0: Event action disabled + tcc_arch_evact1: Event action disabled + tcc_arch_lupd: false + tcc_arch_mcei0: false + tcc_arch_mcei1: false + tcc_arch_mcei2: false + tcc_arch_mcei3: false + tcc_arch_mcei4: false + tcc_arch_mcei5: false + tcc_arch_mceo0: false + tcc_arch_mceo1: false + tcc_arch_mceo2: false + tcc_arch_mceo3: false + tcc_arch_mceo4: false + tcc_arch_mceo5: false + tcc_arch_ovfeo: true + tcc_arch_prescsync: Reload or reset counter on next GCLK + tcc_arch_runstdby: false + tcc_arch_sel_ch: 0 + tcc_arch_tcei0: false + tcc_arch_tcei1: false + tcc_arch_tceinv0: false + tcc_arch_tceinv1: false + tcc_arch_trgeo: false + tcc_arch_wave_duty_val: 500 + tcc_arch_wave_per_val: 48 + tcc_arch_wavegen: Dual-slope, interrupt/event at ZERO (DSBOTTOM) + tcc_per: 10000 + tcc_prescaler: Divide by 2 + timer_event_control: true + optional_signals: + - identifier: TCC_PWM2:WO/0 + pad: PC04 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.0 + name: TCC0/WO/0 + label: WO/0 + - identifier: TCC_PWM2:WO/1 + pad: PD08 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.1 + name: TCC0/WO/1 + label: WO/1 + - identifier: TCC_PWM2:WO/2 + pad: PD09 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.2 + name: TCC0/WO/2 + label: WO/2 + - identifier: TCC_PWM2:WO/3 + pad: PD10 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.3 + name: TCC0/WO/3 + label: WO/3 + - identifier: TCC_PWM2:WO/4 + pad: PA16 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.4 + name: TCC0/WO/4 + label: WO/4 + - identifier: TCC_PWM2:WO/5 + pad: PA17 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.5 + name: TCC0/WO/5 + label: WO/5 + - identifier: TCC_PWM2:WO/6 + pad: PC22 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.6 + name: TCC0/WO/6 + label: WO/6 + - identifier: TCC_PWM2:WO/7 + pad: PC23 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.7 + name: TCC0/WO/7 + label: WO/7 + variant: null + clocks: + domain_group: + nodes: + - name: TCC + input: Generic clock generator 0 + external: false + external_frequency: 0 + configuration: + tcc_gclk_selection: Generic clock generator 0 + TCC_PWM: + user_label: TCC_PWM + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TCC1::driver_config_definition::PWM::HAL:Driver:PWM + functionality: PWM + api: HAL:Driver:PWM + configuration: + tcc_arch_alock: false + tcc_arch_cc0: 0 + tcc_arch_cc1: 0 + tcc_arch_cc2: 0 + tcc_arch_cc3: 0 + tcc_arch_cnteo: false + tcc_arch_cntsel: An interrupt/event is generated when a new counter cycle starts + tcc_arch_cpten0: false + tcc_arch_cpten1: false + tcc_arch_cpten2: false + tcc_arch_cpten3: false + tcc_arch_cpten4: false + tcc_arch_cpten5: false + tcc_arch_cpten6: false + tcc_arch_cpten7: false + tcc_arch_dbgrun: false + tcc_arch_evact0: Event action disabled + tcc_arch_evact1: Event action disabled + tcc_arch_lupd: false + tcc_arch_mcei0: false + tcc_arch_mcei1: false + tcc_arch_mcei2: false + tcc_arch_mcei3: false + tcc_arch_mceo0: false + tcc_arch_mceo1: false + tcc_arch_mceo2: false + tcc_arch_mceo3: false + tcc_arch_ovfeo: true + tcc_arch_prescsync: Reload or reset counter on next GCLK + tcc_arch_runstdby: false + tcc_arch_sel_ch: 3 + tcc_arch_tcei0: false + tcc_arch_tcei1: false + tcc_arch_tceinv0: false + tcc_arch_tceinv1: false + tcc_arch_trgeo: false + tcc_arch_wave_duty_val: 500 + tcc_arch_wave_per_val: 48 + tcc_arch_wavegen: Single-slope PWM + tcc_per: 10000 + tcc_prescaler: Divide by 2 + timer_event_control: true + optional_signals: + - identifier: TCC_PWM:WO/0 + pad: PC14 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.0 + name: TCC1/WO/0 + label: WO/0 + - identifier: TCC_PWM:WO/2 + pad: PB26 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.2 + name: TCC1/WO/2 + label: WO/2 + - identifier: TCC_PWM:WO/3 + pad: PB27 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.3 + name: TCC1/WO/3 + label: WO/3 + - identifier: TCC_PWM:WO/4 + pad: PB28 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.4 + name: TCC1/WO/4 + label: WO/4 + - identifier: TCC_PWM:WO/5 + pad: PB29 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.5 + name: TCC1/WO/5 + label: WO/5 + - identifier: TCC_PWM:WO/6 + pad: PA22 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.6 + name: TCC1/WO/6 + label: WO/6 + - identifier: TCC_PWM:WO/7 + pad: PA23 + mode: PWM output + configuration: null + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.7 + name: TCC1/WO/7 + label: WO/7 + variant: null + clocks: + domain_group: + nodes: + - name: TCC + input: Generic clock generator 0 + external: false + external_frequency: 0 + configuration: + tcc_gclk_selection: Generic clock generator 0 +pads: + DEBUG_1: + name: PC01 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC01 + mode: Digital output + user_label: DEBUG_1 + configuration: null + DEBUG_3: + name: PC02 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC02 + mode: Digital output + user_label: DEBUG_3 + configuration: null + DEBUG_2: + name: PC03 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC03 + mode: Digital output + user_label: DEBUG_2 + configuration: null + PB08: + name: PB08 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB08 + mode: Analog + user_label: PB08 + configuration: null + PB09: + name: PB09 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB09 + mode: Analog + user_label: PB09 + configuration: null + HALL_C: + name: PA04 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA04 + mode: Peripheral IO + user_label: HALL_C + configuration: null + HALL_B: + name: PA05 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA05 + mode: Peripheral IO + user_label: HALL_B + configuration: null + HALL_A: + name: PA06 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA06 + mode: Peripheral IO + user_label: HALL_A + configuration: null + M2_0: + name: PC04 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC04 + mode: Peripheral IO + user_label: M2_0 + configuration: null + M3_4: + name: PB14 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB14 + mode: Digital output + user_label: M3_4 + configuration: null + M3_5: + name: PB15 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB15 + mode: Digital output + user_label: M3_5 + configuration: null + M2_1: + name: PD08 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD08 + mode: Peripheral IO + user_label: M2_1 + configuration: null + M2_2: + name: PD09 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD09 + mode: Peripheral IO + user_label: M2_2 + configuration: null + M2_3: + name: PD10 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD10 + mode: Peripheral IO + user_label: M2_3 + configuration: null + DEBUG_5: + name: PD11 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD11 + mode: Digital output + user_label: DEBUG_5 + configuration: null + M3_2: + name: PC14 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC14 + mode: Peripheral IO + user_label: M3_2 + configuration: null + M2_4: + name: PA16 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA16 + mode: Peripheral IO + user_label: M2_4 + configuration: null + M2_5: + name: PA17 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA17 + mode: Peripheral IO + user_label: M2_5 + configuration: null + M3_3: + name: PA18 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA18 + mode: Digital output + user_label: M3_3 + configuration: null + LED0: + name: PC18 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC18 + mode: Digital output + user_label: LED0 + configuration: null + M3_0: + name: PC22 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC22 + mode: Peripheral IO + user_label: M3_0 + configuration: null + M3_1: + name: PC23 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC23 + mode: Peripheral IO + user_label: M3_1 + configuration: null + PB16: + name: PB16 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB16 + mode: Digital output + user_label: PB16 + configuration: null + PB17: + name: PB17 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB17 + mode: Digital output + user_label: PB17 + configuration: null + DRV_ENA: + name: PA22 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA22 + mode: Peripheral IO + user_label: DRV_ENA + configuration: null + DRV_INA: + name: PA23 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA23 + mode: Peripheral IO + user_label: DRV_INA + configuration: null + DRV_INC: + name: PB26 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB26 + mode: Peripheral IO + user_label: DRV_INC + configuration: null + DRV_INB: + name: PB27 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB27 + mode: Peripheral IO + user_label: DRV_INB + configuration: null + DRV_ENB: + name: PB28 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB28 + mode: Peripheral IO + user_label: DRV_ENB + configuration: null + DRV_ENC: + name: PB29 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB29 + mode: Peripheral IO + user_label: DRV_ENC + configuration: null + DRV_RESET: + name: PA27 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA27 + mode: Digital output + user_label: DRV_RESET + configuration: null + SW0: + name: PB31 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB31 + mode: Digital input + user_label: SW0 + configuration: + pad_pull_config: Pull-up + DEBUG_4: + name: PC30 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC30 + mode: Digital output + user_label: DEBUG_4 + configuration: null + ECAT_SPI_CS_PIN: + name: PB00 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB00 + mode: Digital output + user_label: ECAT_SPI_CS_PIN + configuration: null + PB01: + name: PB01 + definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB01 + mode: Digital input + user_label: PB01 + configuration: null +toolchain_options: [] diff --git a/BLDC_E54v2/BLCD_E54v2.atzip b/BLDC_E54v2/BLCD_E54v2.atzip new file mode 100644 index 0000000..7729bd7 Binary files /dev/null and b/BLDC_E54v2/BLCD_E54v2.atzip differ diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2.atsln b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2.atsln new file mode 100644 index 0000000..7c367b7 --- /dev/null +++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2.atsln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Atmel Studio Solution File, Format Version 11.00 +VisualStudioVersion = 14.0.23107.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "BLCD_E54v2", "BLCD_E54v2\BLCD_E54v2.cproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM = Debug|ARM + Release|ARM = Release|ARM + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|ARM.ActiveCfg = Debug|ARM + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|ARM.Build.0 = Debug|ARM + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|ARM.ActiveCfg = Release|ARM + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|ARM.Build.0 = Release|ARM + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.env_conf b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.env_conf new file mode 100644 index 0000000..2033451 --- /dev/null +++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.env_conf @@ -0,0 +1,6 @@ + + + + + + diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.gpdsc b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.gpdsc new file mode 100644 index 0000000..df09edd --- /dev/null +++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.gpdsc @@ -0,0 +1,231 @@ + + Atmel + My Project + Project generated by Atmel Start + http://start.atmel.com/ + + Initial version + + + Configuration Files generated by Atmel Start + + + + Atmel Start +