├── README.md ├── make_package.sh ├── package_opentracker_index.json └── sam └── 1.0.5 ├── boards.txt ├── cores └── arduino │ ├── .gitignore │ ├── Arduino.h │ ├── Client.h │ ├── HardwareSerial.h │ ├── IPAddress.cpp │ ├── IPAddress.h │ ├── Print.cpp │ ├── Print.h │ ├── Printable.h │ ├── Reset.cpp │ ├── Reset.h │ ├── RingBuffer.cpp │ ├── RingBuffer.h │ ├── Server.h │ ├── Stream.cpp │ ├── Stream.h │ ├── Tone.cpp.disabled │ ├── Tone.h │ ├── UARTClass.cpp │ ├── UARTClass.h │ ├── USARTClass.cpp │ ├── USARTClass.h │ ├── USB │ ├── CDC.cpp │ ├── PluggableUSB.cpp │ ├── PluggableUSB.h │ ├── USBAPI.h │ ├── USBCore.cpp │ ├── USBCore.h │ └── USBDesc.h │ ├── Udp.h │ ├── WCharacter.h │ ├── WInterrupts.c │ ├── WInterrupts.h │ ├── WMath.cpp │ ├── WMath.h │ ├── WString.cpp │ ├── WString.h │ ├── abi.cpp │ ├── avr │ ├── dtostrf.c │ ├── dtostrf.h │ ├── interrupt.h │ └── pgmspace.h │ ├── binary.h │ ├── cortex_handlers.c │ ├── hooks.c │ ├── itoa.c │ ├── itoa.h │ ├── main.cpp │ ├── new.cpp │ ├── syscalls.h │ ├── watchdog.cpp │ ├── watchdog.h │ ├── wiring.c │ ├── wiring.h │ ├── wiring_analog.c │ ├── wiring_analog.h │ ├── wiring_constants.h │ ├── wiring_digital.c │ ├── wiring_digital.h │ ├── wiring_private.h │ ├── wiring_pulse.cpp │ ├── wiring_pulse.h │ ├── wiring_pulse_asm.S │ ├── wiring_shift.c │ └── wiring_shift.h ├── libraries ├── DueFlashStorage │ ├── DueFlashStorage.cpp │ ├── DueFlashStorage.h │ ├── README.md │ ├── examples │ │ ├── DueFlashStorageExample │ │ │ └── DueFlashStorageExample.ino │ │ └── DueFlashStorageStructExample │ │ │ └── DueFlashStorageStructExample.ino │ ├── flash_efc.cpp │ ├── flash_efc.h │ └── library.properties ├── HID │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── HID.cpp │ │ └── HID.h ├── SPI │ ├── examples │ │ ├── BarometricPressureSensor │ │ │ └── BarometricPressureSensor.ino │ │ └── DigitalPotControl │ │ │ └── DigitalPotControl.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── SPI.cpp │ │ └── SPI.h ├── TinyGPS │ ├── TinyGPS.cpp │ ├── TinyGPS.h │ ├── examples │ │ ├── simple_test │ │ │ └── simple_test.ino │ │ ├── static_test │ │ │ └── static_test.ino │ │ └── test_with_gps_device │ │ │ └── test_with_gps_device.ino │ ├── keywords.txt │ └── library.properties ├── Wire │ ├── examples │ │ ├── SFRRanger_reader │ │ │ └── SFRRanger_reader.ino │ │ ├── digital_potentiometer │ │ │ └── digital_potentiometer.ino │ │ ├── master_reader │ │ │ └── master_reader.ino │ │ ├── master_writer │ │ │ └── master_writer.ino │ │ ├── slave_receiver │ │ │ └── slave_receiver.ino │ │ └── slave_sender │ │ │ └── slave_sender.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── Wire.cpp │ │ └── Wire.h └── due_can │ ├── .gitignore │ ├── README.md │ ├── due_can.cpp │ ├── due_can.h │ ├── examples │ ├── CAN_EchoTest │ │ └── CAN_EchoTest.ino │ ├── CAN_ExtendedPingPong │ │ └── CAN_ExtendedPingPong.ino │ └── CAN_TrafficSnooper │ │ └── CAN_TrafficSnooper.ino │ ├── howtouse.txt │ ├── keywords.txt │ ├── library.properties │ ├── sn65hvd234.cpp │ └── sn65hvd234.h ├── platform.txt ├── readme.txt ├── system ├── CMSIS │ ├── ATMEL Version 2.10.107 │ ├── CMSIS │ │ ├── CMSIS END USER LICENCE AGREEMENT.pdf │ │ ├── DSP_Lib │ │ │ └── Source │ │ │ │ ├── BasicMathFunctions │ │ │ │ ├── arm_abs_f32.c │ │ │ │ ├── arm_abs_q15.c │ │ │ │ ├── arm_abs_q31.c │ │ │ │ ├── arm_abs_q7.c │ │ │ │ ├── arm_add_f32.c │ │ │ │ ├── arm_add_q15.c │ │ │ │ ├── arm_add_q31.c │ │ │ │ ├── arm_add_q7.c │ │ │ │ ├── arm_dot_prod_f32.c │ │ │ │ ├── arm_dot_prod_q15.c │ │ │ │ ├── arm_dot_prod_q31.c │ │ │ │ ├── arm_dot_prod_q7.c │ │ │ │ ├── arm_mult_f32.c │ │ │ │ ├── arm_mult_q15.c │ │ │ │ ├── arm_mult_q31.c │ │ │ │ ├── arm_mult_q7.c │ │ │ │ ├── arm_negate_f32.c │ │ │ │ ├── arm_negate_q15.c │ │ │ │ ├── arm_negate_q31.c │ │ │ │ ├── arm_negate_q7.c │ │ │ │ ├── arm_offset_f32.c │ │ │ │ ├── arm_offset_q15.c │ │ │ │ ├── arm_offset_q31.c │ │ │ │ ├── arm_offset_q7.c │ │ │ │ ├── arm_scale_f32.c │ │ │ │ ├── arm_scale_q15.c │ │ │ │ ├── arm_scale_q31.c │ │ │ │ ├── arm_scale_q7.c │ │ │ │ ├── arm_shift_q15.c │ │ │ │ ├── arm_shift_q31.c │ │ │ │ ├── arm_shift_q7.c │ │ │ │ ├── arm_sub_f32.c │ │ │ │ ├── arm_sub_q15.c │ │ │ │ ├── arm_sub_q31.c │ │ │ │ └── arm_sub_q7.c │ │ │ │ ├── CommonTables │ │ │ │ └── arm_common_tables.c │ │ │ │ ├── ComplexMathFunctions │ │ │ │ ├── arm_cmplx_conj_f32.c │ │ │ │ ├── arm_cmplx_conj_q15.c │ │ │ │ ├── arm_cmplx_conj_q31.c │ │ │ │ ├── arm_cmplx_dot_prod_f32.c │ │ │ │ ├── arm_cmplx_dot_prod_q15.c │ │ │ │ ├── arm_cmplx_dot_prod_q31.c │ │ │ │ ├── arm_cmplx_mag_f32.c │ │ │ │ ├── arm_cmplx_mag_q15.c │ │ │ │ ├── arm_cmplx_mag_q31.c │ │ │ │ ├── arm_cmplx_mag_squared_f32.c │ │ │ │ ├── arm_cmplx_mag_squared_q15.c │ │ │ │ ├── arm_cmplx_mag_squared_q31.c │ │ │ │ ├── arm_cmplx_mult_cmplx_f32.c │ │ │ │ ├── arm_cmplx_mult_cmplx_q15.c │ │ │ │ ├── arm_cmplx_mult_cmplx_q31.c │ │ │ │ ├── arm_cmplx_mult_real_f32.c │ │ │ │ ├── arm_cmplx_mult_real_q15.c │ │ │ │ └── arm_cmplx_mult_real_q31.c │ │ │ │ ├── ControllerFunctions │ │ │ │ ├── arm_pid_init_f32.c │ │ │ │ ├── arm_pid_init_q15.c │ │ │ │ ├── arm_pid_init_q31.c │ │ │ │ ├── arm_pid_reset_f32.c │ │ │ │ ├── arm_pid_reset_q15.c │ │ │ │ ├── arm_pid_reset_q31.c │ │ │ │ ├── arm_sin_cos_f32.c │ │ │ │ └── arm_sin_cos_q31.c │ │ │ │ ├── FastMathFunctions │ │ │ │ ├── arm_cos_f32.c │ │ │ │ ├── arm_cos_q15.c │ │ │ │ ├── arm_cos_q31.c │ │ │ │ ├── arm_sin_f32.c │ │ │ │ ├── arm_sin_q15.c │ │ │ │ ├── arm_sin_q31.c │ │ │ │ ├── arm_sqrt_q15.c │ │ │ │ └── arm_sqrt_q31.c │ │ │ │ ├── FilteringFunctions │ │ │ │ ├── arm_biquad_cascade_df1_32x64_init_q31.c │ │ │ │ ├── arm_biquad_cascade_df1_32x64_q31.c │ │ │ │ ├── arm_biquad_cascade_df1_f32.c │ │ │ │ ├── arm_biquad_cascade_df1_fast_q15.c │ │ │ │ ├── arm_biquad_cascade_df1_fast_q31.c │ │ │ │ ├── arm_biquad_cascade_df1_init_f32.c │ │ │ │ ├── arm_biquad_cascade_df1_init_q15.c │ │ │ │ ├── arm_biquad_cascade_df1_init_q31.c │ │ │ │ ├── arm_biquad_cascade_df1_q15.c │ │ │ │ ├── arm_biquad_cascade_df1_q31.c │ │ │ │ ├── arm_biquad_cascade_df2T_f32.c │ │ │ │ ├── arm_biquad_cascade_df2T_init_f32.c │ │ │ │ ├── arm_conv_f32.c │ │ │ │ ├── arm_conv_fast_q15.c │ │ │ │ ├── arm_conv_fast_q31.c │ │ │ │ ├── arm_conv_partial_f32.c │ │ │ │ ├── arm_conv_partial_fast_q15.c │ │ │ │ ├── arm_conv_partial_fast_q31.c │ │ │ │ ├── arm_conv_partial_q15.c │ │ │ │ ├── arm_conv_partial_q31.c │ │ │ │ ├── arm_conv_partial_q7.c │ │ │ │ ├── arm_conv_q15.c │ │ │ │ ├── arm_conv_q31.c │ │ │ │ ├── arm_conv_q7.c │ │ │ │ ├── arm_correlate_f32.c │ │ │ │ ├── arm_correlate_fast_q15.c │ │ │ │ ├── arm_correlate_fast_q31.c │ │ │ │ ├── arm_correlate_q15.c │ │ │ │ ├── arm_correlate_q31.c │ │ │ │ ├── arm_correlate_q7.c │ │ │ │ ├── arm_fir_decimate_f32.c │ │ │ │ ├── arm_fir_decimate_fast_q15.c │ │ │ │ ├── arm_fir_decimate_fast_q31.c │ │ │ │ ├── arm_fir_decimate_init_f32.c │ │ │ │ ├── arm_fir_decimate_init_q15.c │ │ │ │ ├── arm_fir_decimate_init_q31.c │ │ │ │ ├── arm_fir_decimate_q15.c │ │ │ │ ├── arm_fir_decimate_q31.c │ │ │ │ ├── arm_fir_f32.c │ │ │ │ ├── arm_fir_fast_q15.c │ │ │ │ ├── arm_fir_fast_q31.c │ │ │ │ ├── arm_fir_init_f32.c │ │ │ │ ├── arm_fir_init_q15.c │ │ │ │ ├── arm_fir_init_q31.c │ │ │ │ ├── arm_fir_init_q7.c │ │ │ │ ├── arm_fir_interpolate_f32.c │ │ │ │ ├── arm_fir_interpolate_init_f32.c │ │ │ │ ├── arm_fir_interpolate_init_q15.c │ │ │ │ ├── arm_fir_interpolate_init_q31.c │ │ │ │ ├── arm_fir_interpolate_q15.c │ │ │ │ ├── arm_fir_interpolate_q31.c │ │ │ │ ├── arm_fir_lattice_f32.c │ │ │ │ ├── arm_fir_lattice_init_f32.c │ │ │ │ ├── arm_fir_lattice_init_q15.c │ │ │ │ ├── arm_fir_lattice_init_q31.c │ │ │ │ ├── arm_fir_lattice_q15.c │ │ │ │ ├── arm_fir_lattice_q31.c │ │ │ │ ├── arm_fir_q15.c │ │ │ │ ├── arm_fir_q31.c │ │ │ │ ├── arm_fir_q7.c │ │ │ │ ├── arm_fir_sparse_f32.c │ │ │ │ ├── arm_fir_sparse_init_f32.c │ │ │ │ ├── arm_fir_sparse_init_q15.c │ │ │ │ ├── arm_fir_sparse_init_q31.c │ │ │ │ ├── arm_fir_sparse_init_q7.c │ │ │ │ ├── arm_fir_sparse_q15.c │ │ │ │ ├── arm_fir_sparse_q31.c │ │ │ │ ├── arm_fir_sparse_q7.c │ │ │ │ ├── arm_iir_lattice_f32.c │ │ │ │ ├── arm_iir_lattice_init_f32.c │ │ │ │ ├── arm_iir_lattice_init_q15.c │ │ │ │ ├── arm_iir_lattice_init_q31.c │ │ │ │ ├── arm_iir_lattice_q15.c │ │ │ │ ├── arm_iir_lattice_q31.c │ │ │ │ ├── arm_lms_f32.c │ │ │ │ ├── arm_lms_init_f32.c │ │ │ │ ├── arm_lms_init_q15.c │ │ │ │ ├── arm_lms_init_q31.c │ │ │ │ ├── arm_lms_norm_f32.c │ │ │ │ ├── arm_lms_norm_init_f32.c │ │ │ │ ├── arm_lms_norm_init_q15.c │ │ │ │ ├── arm_lms_norm_init_q31.c │ │ │ │ ├── arm_lms_norm_q15.c │ │ │ │ ├── arm_lms_norm_q31.c │ │ │ │ ├── arm_lms_q15.c │ │ │ │ └── arm_lms_q31.c │ │ │ │ ├── GCC │ │ │ │ ├── arm_cortexM0x_math.uvopt │ │ │ │ ├── arm_cortexM0x_math.uvproj │ │ │ │ ├── arm_cortexM3x_math.uvopt │ │ │ │ ├── arm_cortexM3x_math.uvproj │ │ │ │ ├── arm_cortexM4x_math.uvopt │ │ │ │ ├── arm_cortexM4x_math.uvproj │ │ │ │ └── arm_cortexMx_math_Build.bat │ │ │ │ ├── MatrixFunctions │ │ │ │ ├── arm_mat_add_f32.c │ │ │ │ ├── arm_mat_add_q15.c │ │ │ │ ├── arm_mat_add_q31.c │ │ │ │ ├── arm_mat_init_f32.c │ │ │ │ ├── arm_mat_init_q15.c │ │ │ │ ├── arm_mat_init_q31.c │ │ │ │ ├── arm_mat_inverse_f32.c │ │ │ │ ├── arm_mat_mult_f32.c │ │ │ │ ├── arm_mat_mult_fast_q15.c │ │ │ │ ├── arm_mat_mult_fast_q31.c │ │ │ │ ├── arm_mat_mult_q15.c │ │ │ │ ├── arm_mat_mult_q31.c │ │ │ │ ├── arm_mat_scale_f32.c │ │ │ │ ├── arm_mat_scale_q15.c │ │ │ │ ├── arm_mat_scale_q31.c │ │ │ │ ├── arm_mat_sub_f32.c │ │ │ │ ├── arm_mat_sub_q15.c │ │ │ │ ├── arm_mat_sub_q31.c │ │ │ │ ├── arm_mat_trans_f32.c │ │ │ │ ├── arm_mat_trans_q15.c │ │ │ │ └── arm_mat_trans_q31.c │ │ │ │ ├── StatisticsFunctions │ │ │ │ ├── arm_max_f32.c │ │ │ │ ├── arm_max_q15.c │ │ │ │ ├── arm_max_q31.c │ │ │ │ ├── arm_max_q7.c │ │ │ │ ├── arm_mean_f32.c │ │ │ │ ├── arm_mean_q15.c │ │ │ │ ├── arm_mean_q31.c │ │ │ │ ├── arm_mean_q7.c │ │ │ │ ├── arm_min_f32.c │ │ │ │ ├── arm_min_q15.c │ │ │ │ ├── arm_min_q31.c │ │ │ │ ├── arm_min_q7.c │ │ │ │ ├── arm_power_f32.c │ │ │ │ ├── arm_power_q15.c │ │ │ │ ├── arm_power_q31.c │ │ │ │ ├── arm_power_q7.c │ │ │ │ ├── arm_rms_f32.c │ │ │ │ ├── arm_rms_q15.c │ │ │ │ ├── arm_rms_q31.c │ │ │ │ ├── arm_std_f32.c │ │ │ │ ├── arm_std_q15.c │ │ │ │ ├── arm_std_q31.c │ │ │ │ ├── arm_var_f32.c │ │ │ │ ├── arm_var_q15.c │ │ │ │ └── arm_var_q31.c │ │ │ │ ├── SupportFunctions │ │ │ │ ├── arm_copy_f32.c │ │ │ │ ├── arm_copy_q15.c │ │ │ │ ├── arm_copy_q31.c │ │ │ │ ├── arm_copy_q7.c │ │ │ │ ├── arm_fill_f32.c │ │ │ │ ├── arm_fill_q15.c │ │ │ │ ├── arm_fill_q31.c │ │ │ │ ├── arm_fill_q7.c │ │ │ │ ├── arm_float_to_q15.c │ │ │ │ ├── arm_float_to_q31.c │ │ │ │ ├── arm_float_to_q7.c │ │ │ │ ├── arm_q15_to_float.c │ │ │ │ ├── arm_q15_to_q31.c │ │ │ │ ├── arm_q15_to_q7.c │ │ │ │ ├── arm_q31_to_float.c │ │ │ │ ├── arm_q31_to_q15.c │ │ │ │ ├── arm_q31_to_q7.c │ │ │ │ ├── arm_q7_to_float.c │ │ │ │ ├── arm_q7_to_q15.c │ │ │ │ └── arm_q7_to_q31.c │ │ │ │ └── TransformFunctions │ │ │ │ ├── arm_cfft_radix4_f32.c │ │ │ │ ├── arm_cfft_radix4_init_f32.c │ │ │ │ ├── arm_cfft_radix4_init_q15.c │ │ │ │ ├── arm_cfft_radix4_init_q31.c │ │ │ │ ├── arm_cfft_radix4_q15.c │ │ │ │ ├── arm_cfft_radix4_q31.c │ │ │ │ ├── arm_dct4_f32.c │ │ │ │ ├── arm_dct4_init_f32.c │ │ │ │ ├── arm_dct4_init_q15.c │ │ │ │ ├── arm_dct4_init_q31.c │ │ │ │ ├── arm_dct4_q15.c │ │ │ │ ├── arm_dct4_q31.c │ │ │ │ ├── arm_rfft_f32.c │ │ │ │ ├── arm_rfft_init_f32.c │ │ │ │ ├── arm_rfft_init_q15.c │ │ │ │ ├── arm_rfft_init_q31.c │ │ │ │ ├── arm_rfft_q15.c │ │ │ │ └── arm_rfft_q31.c │ │ ├── Include │ │ │ ├── arm_common_tables.h │ │ │ ├── arm_math.h │ │ │ ├── core_cm0.h │ │ │ ├── core_cm3.h │ │ │ ├── core_cm4.h │ │ │ ├── core_cm4_simd.h │ │ │ ├── core_cmFunc.h │ │ │ └── core_cmInstr.h │ │ ├── Lib │ │ │ └── GCC │ │ │ │ ├── libarm_cortexM0l_math.a │ │ │ │ ├── libarm_cortexM3l_math.a │ │ │ │ ├── libarm_cortexM4l_math.a │ │ │ │ └── libarm_cortexM4lf_math.a │ │ ├── README.txt │ │ └── index.htm │ ├── Device │ │ └── ATMEL │ │ │ ├── sam.h │ │ │ ├── sam3.h │ │ │ └── sam3xa │ │ │ ├── include │ │ │ ├── component │ │ │ │ ├── component_adc.h │ │ │ │ ├── component_can.h │ │ │ │ ├── component_chipid.h │ │ │ │ ├── component_dacc.h │ │ │ │ ├── component_dmac.h │ │ │ │ ├── component_efc.h │ │ │ │ ├── component_emac.h │ │ │ │ ├── component_gpbr.h │ │ │ │ ├── component_hsmci.h │ │ │ │ ├── component_matrix.h │ │ │ │ ├── component_pdc.h │ │ │ │ ├── component_pio.h │ │ │ │ ├── component_pmc.h │ │ │ │ ├── component_pwm.h │ │ │ │ ├── component_rstc.h │ │ │ │ ├── component_rtc.h │ │ │ │ ├── component_rtt.h │ │ │ │ ├── component_sdramc.h │ │ │ │ ├── component_smc.h │ │ │ │ ├── component_spi.h │ │ │ │ ├── component_ssc.h │ │ │ │ ├── component_supc.h │ │ │ │ ├── component_tc.h │ │ │ │ ├── component_trng.h │ │ │ │ ├── component_twi.h │ │ │ │ ├── component_uart.h │ │ │ │ ├── component_uotghs.h │ │ │ │ ├── component_usart.h │ │ │ │ └── component_wdt.h │ │ │ ├── instance │ │ │ │ ├── instance_adc.h │ │ │ │ ├── instance_can0.h │ │ │ │ ├── instance_can1.h │ │ │ │ ├── instance_chipid.h │ │ │ │ ├── instance_dacc.h │ │ │ │ ├── instance_dmac.h │ │ │ │ ├── instance_efc0.h │ │ │ │ ├── instance_efc1.h │ │ │ │ ├── instance_emac.h │ │ │ │ ├── instance_gpbr.h │ │ │ │ ├── instance_hsmci.h │ │ │ │ ├── instance_matrix.h │ │ │ │ ├── instance_pioa.h │ │ │ │ ├── instance_piob.h │ │ │ │ ├── instance_pioc.h │ │ │ │ ├── instance_piod.h │ │ │ │ ├── instance_pioe.h │ │ │ │ ├── instance_piof.h │ │ │ │ ├── instance_pmc.h │ │ │ │ ├── instance_pwm.h │ │ │ │ ├── instance_rstc.h │ │ │ │ ├── instance_rtc.h │ │ │ │ ├── instance_rtt.h │ │ │ │ ├── instance_sdramc.h │ │ │ │ ├── instance_smc.h │ │ │ │ ├── instance_spi0.h │ │ │ │ ├── instance_spi1.h │ │ │ │ ├── instance_ssc.h │ │ │ │ ├── instance_supc.h │ │ │ │ ├── instance_tc0.h │ │ │ │ ├── instance_tc1.h │ │ │ │ ├── instance_tc2.h │ │ │ │ ├── instance_trng.h │ │ │ │ ├── instance_twi0.h │ │ │ │ ├── instance_twi1.h │ │ │ │ ├── instance_uart.h │ │ │ │ ├── instance_uotghs.h │ │ │ │ ├── instance_usart0.h │ │ │ │ ├── instance_usart1.h │ │ │ │ ├── instance_usart2.h │ │ │ │ ├── instance_usart3.h │ │ │ │ └── instance_wdt.h │ │ │ ├── pio │ │ │ │ ├── pio_sam3a4c.h │ │ │ │ ├── pio_sam3a8c.h │ │ │ │ ├── pio_sam3x4c.h │ │ │ │ ├── pio_sam3x4e.h │ │ │ │ ├── pio_sam3x8c.h │ │ │ │ ├── pio_sam3x8e.h │ │ │ │ └── pio_sam3x8h.h │ │ │ ├── sam3a4c.h │ │ │ ├── sam3a8c.h │ │ │ ├── sam3x4c.h │ │ │ ├── sam3x4e.h │ │ │ ├── sam3x8c.h │ │ │ ├── sam3x8e.h │ │ │ ├── sam3x8h.h │ │ │ ├── sam3xa.h │ │ │ └── system_sam3xa.h │ │ │ └── source │ │ │ ├── as_gcc │ │ │ ├── sam3a4_flash.ld │ │ │ ├── sam3a4_sram.ld │ │ │ ├── sam3a4c_flash.ld │ │ │ ├── sam3a4c_sram.ld │ │ │ ├── sam3a8_flash.ld │ │ │ ├── sam3a8_sram.ld │ │ │ ├── sam3a8c_flash.ld │ │ │ ├── sam3a8c_sram.ld │ │ │ ├── sam3a_flash.ld │ │ │ ├── sam3a_sram.ld │ │ │ ├── sam3x4_flash.ld │ │ │ ├── sam3x4_sram.ld │ │ │ ├── sam3x4c_flash.ld │ │ │ ├── sam3x4c_sram.ld │ │ │ ├── sam3x4e_flash.ld │ │ │ ├── sam3x4e_sram.ld │ │ │ ├── sam3x8_flash.ld │ │ │ ├── sam3x8_sram.ld │ │ │ ├── sam3x8c_flash.ld │ │ │ ├── sam3x8c_sram.ld │ │ │ ├── sam3x8e_flash.ld │ │ │ ├── sam3x8e_sram.ld │ │ │ ├── sam3x8h_flash.ld │ │ │ ├── sam3x8h_sram.ld │ │ │ ├── sam3x_flash.ld │ │ │ ├── sam3x_sram.ld │ │ │ └── startup_sam3xa.c │ │ │ ├── gcc │ │ │ ├── sam3a4_flash.ld │ │ │ ├── sam3a4_sram.ld │ │ │ ├── sam3a4c_flash.ld │ │ │ ├── sam3a4c_sram.ld │ │ │ ├── sam3a8_flash.ld │ │ │ ├── sam3a8_sram.ld │ │ │ ├── sam3a8c_flash.ld │ │ │ ├── sam3a8c_sram.ld │ │ │ ├── sam3a_flash.ld │ │ │ ├── sam3a_sram.ld │ │ │ ├── sam3x4_flash.ld │ │ │ ├── sam3x4_sram.ld │ │ │ ├── sam3x4c_flash.ld │ │ │ ├── sam3x4c_sram.ld │ │ │ ├── sam3x4e_flash.ld │ │ │ ├── sam3x4e_sram.ld │ │ │ ├── sam3x8_flash.ld │ │ │ ├── sam3x8_sram.ld │ │ │ ├── sam3x8c_flash.ld │ │ │ ├── sam3x8c_sram.ld │ │ │ ├── sam3x8e_flash.ld │ │ │ ├── sam3x8e_sram.ld │ │ │ ├── sam3x8h_flash.ld │ │ │ ├── sam3x8h_sram.ld │ │ │ ├── sam3x_flash.ld │ │ │ ├── sam3x_sram.ld │ │ │ └── startup_sam3xa.c │ │ │ ├── gcc_arm │ │ │ ├── sam3a4_flash.ld │ │ │ ├── sam3a4_sram.ld │ │ │ ├── sam3a4c_flash.ld │ │ │ ├── sam3a4c_sram.ld │ │ │ ├── sam3a8_flash.ld │ │ │ ├── sam3a8_sram.ld │ │ │ ├── sam3a8c_flash.ld │ │ │ ├── sam3a8c_sram.ld │ │ │ ├── sam3a_flash.ld │ │ │ ├── sam3a_sram.ld │ │ │ ├── sam3x4_flash.ld │ │ │ ├── sam3x4_sram.ld │ │ │ ├── sam3x4c_flash.ld │ │ │ ├── sam3x4c_sram.ld │ │ │ ├── sam3x4e_flash.ld │ │ │ ├── sam3x4e_sram.ld │ │ │ ├── sam3x8_flash.ld │ │ │ ├── sam3x8_sram.ld │ │ │ ├── sam3x8c_flash.ld │ │ │ ├── sam3x8c_sram.ld │ │ │ ├── sam3x8e_flash.ld │ │ │ ├── sam3x8e_sram.ld │ │ │ ├── sam3x8h_flash.ld │ │ │ ├── sam3x8h_sram.ld │ │ │ ├── sam3x_flash.ld │ │ │ ├── sam3x_sram.ld │ │ │ └── startup_sam3xa.c │ │ │ ├── gcc_atmel │ │ │ ├── sam3a4_flash.ld │ │ │ ├── sam3a4_sram.ld │ │ │ ├── sam3a4c_flash.ld │ │ │ ├── sam3a4c_sram.ld │ │ │ ├── sam3a8_flash.ld │ │ │ ├── sam3a8_sram.ld │ │ │ ├── sam3a8c_flash.ld │ │ │ ├── sam3a8c_sram.ld │ │ │ ├── sam3a_flash.ld │ │ │ ├── sam3a_sram.ld │ │ │ ├── sam3x4_flash.ld │ │ │ ├── sam3x4_sram.ld │ │ │ ├── sam3x4c_flash.ld │ │ │ ├── sam3x4c_sram.ld │ │ │ ├── sam3x4e_flash.ld │ │ │ ├── sam3x4e_sram.ld │ │ │ ├── sam3x8_flash.ld │ │ │ ├── sam3x8_sram.ld │ │ │ ├── sam3x8c_flash.ld │ │ │ ├── sam3x8c_sram.ld │ │ │ ├── sam3x8e_flash.ld │ │ │ ├── sam3x8e_sram.ld │ │ │ ├── sam3x8h_flash.ld │ │ │ ├── sam3x8h_sram.ld │ │ │ ├── sam3x_flash.ld │ │ │ ├── sam3x_sram.ld │ │ │ └── startup_sam3xa.c │ │ │ ├── iar │ │ │ ├── sam3a4_flash.icf │ │ │ ├── sam3a4_sram.icf │ │ │ ├── sam3x4_flash.icf │ │ │ ├── sam3x4_sram.icf │ │ │ ├── sam3x8_flash.icf │ │ │ ├── sam3x8_sram.icf │ │ │ └── startup_sam3xa.c │ │ │ └── system_sam3xa.c │ └── Version 2.10 └── libsam │ ├── build_gcc │ ├── .gitignore │ ├── Makefile │ ├── debug.mk │ ├── gcc.mk │ ├── release.mk │ └── sam3.mk │ ├── chip.h │ ├── include │ ├── USB_device.h │ ├── USB_host.h │ ├── adc.h │ ├── can.h │ ├── dacc.h │ ├── efc.h │ ├── emac.h │ ├── gpbr.h │ ├── interrupt_sam_nvic.h │ ├── pio.h │ ├── pio_it.h │ ├── pmc.h │ ├── pwmc.h │ ├── rstc.h │ ├── rtc.h │ ├── rtt.h │ ├── spi.h │ ├── ssc.h │ ├── tc.h │ ├── timetick.h │ ├── trng.h │ ├── twi.h │ ├── udp.h │ ├── udphs.h │ ├── uotghs_device.h │ ├── uotghs_host.h │ ├── usart.h │ └── wdt.h │ ├── readme.txt │ └── source │ ├── adc.c │ ├── adc12_sam3u.c │ ├── can.c │ ├── dacc.c │ ├── efc.c │ ├── emac.c │ ├── gpbr.c │ ├── interrupt_sam_nvic.c │ ├── pio.c │ ├── pmc.c │ ├── pwmc.c │ ├── rstc.c │ ├── rtc.c │ ├── rtt.c │ ├── spi.c │ ├── ssc.c │ ├── tc.c │ ├── timetick.c │ ├── trng.c │ ├── twi.c │ ├── udp.c │ ├── udphs.c │ ├── uotghs.c │ ├── uotghs_device.c │ ├── uotghs_host.c │ ├── usart.c │ └── wdt.c └── variants └── geolink_opentracker ├── build.sh ├── build_gcc ├── .gitignore ├── Makefile ├── debug.mk ├── gcc.mk ├── libvariant_geolink_opentracker.mk └── release.mk ├── clean.sh ├── iar_calls_sam3.c ├── libsam_sam3a4c_gcc_rel.a ├── libsam_sam3a4c_gcc_rel.a.txt ├── linker_scripts └── gcc │ ├── flash.ld │ └── sram.ld ├── pins_arduino.h ├── syscalls_sam3.c ├── variant.cpp └── variant.h /README.md: -------------------------------------------------------------------------------- 1 | # OpenTracker - Arduino Boards Manager 2 | 3 | Works with Arduino IDEs version 1.6.4 and later (tested up to 1.8.2) 4 | 5 | Open the menu "File" > "Preferences" and add the following text to the box "Additional Boards Manager URLs": 6 | https://raw.githubusercontent.com/geolink/opentracker-arduino-board/master/package_opentracker_index.json 7 | 8 | **NOTE** 9 | The link points to the package description file in the "master" branch, that may include new releases in the future. 10 | Maintainers and contributors, please use a separate branch for new releases, so that the above link does not break inadvertently and a clean merge can be prepared for inclusion in the "master" branch. 11 | 12 | ### OpenTracker 13 | The first commercial grade, fully open source and 100% Arduino compatible GPS/GLONASS vehicle tracker with a powerful 32-bit ARM Cortex-M3 CPU. 14 | 15 | Official website: [https://www.geolink.io](https://www.geolink.io) 16 | -------------------------------------------------------------------------------- /make_package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd sam 4 | 5 | branch=$(git symbolic-ref --short HEAD) 6 | coreversion=$(sed -n -e '/based/I s/^.* v\(1.*\)/\1/p' < $branch/readme.txt) 7 | 8 | tar jcvf ../sam-$coreversion-opentracker-$branch.tar.bz2 $branch 9 | 10 | cd .. 11 | -------------------------------------------------------------------------------- /sam/1.0.5/boards.txt: -------------------------------------------------------------------------------- 1 | 2 | geolink_opentracker.name=Geolink OpenTracker 3 | geolink_opentracker.vid.0=0x2341 4 | geolink_opentracker.pid.0=0x003e 5 | geolink_opentracker.vid.1=0x2a03 6 | geolink_opentracker.pid.1=0x003e 7 | geolink_opentracker.upload.tool=bossac 8 | geolink_opentracker.upload.protocol=sam-ba 9 | geolink_opentracker.upload.maximum_size=131072 10 | geolink_opentracker.upload.use_1200bps_touch=true 11 | geolink_opentracker.upload.wait_for_upload_port=true 12 | geolink_opentracker.upload.native_usb=true 13 | geolink_opentracker.build.mcu=cortex-m3 14 | geolink_opentracker.build.f_cpu=84000000L 15 | geolink_opentracker.build.usb_product="Geolink OpenTracker" 16 | geolink_opentracker.build.board=SAM_DUE 17 | geolink_opentracker.build.core=arduino 18 | geolink_opentracker.build.extra_flags=-D__SAM3A4C__ -mthumb {build.usb_flags} 19 | geolink_opentracker.build.ldscript=linker_scripts/gcc/flash.ld 20 | geolink_opentracker.build.variant=geolink_opentracker 21 | geolink_opentracker.build.variant_system_lib=libsam_sam3a4c_gcc_rel.a 22 | geolink_opentracker.build.vid=0x2341 23 | geolink_opentracker.build.pid=0x003e 24 | 25 | 26 | ## Menu Additions 27 | 28 | menu.HWVersion=Board Version 29 | geolink_opentracker.menu.HWVersion.ver_2_4_3G=OpenTracker 2.4 (3G) 30 | geolink_opentracker.menu.HWVersion.ver_2_4_3G.build.extra_flags=-D__SAM3A4C__ -mthumb {build.usb_flags} -DOPENTRACKER_HW_REV=0x024A 31 | geolink_opentracker.menu.HWVersion.ver_2_4=OpenTracker 2.4 32 | geolink_opentracker.menu.HWVersion.ver_2_4.build.extra_flags=-D__SAM3A4C__ -mthumb {build.usb_flags} -DOPENTRACKER_HW_REV=0x0240 33 | geolink_opentracker.menu.HWVersion.ver_2_3=OpenTracker 2.3 34 | geolink_opentracker.menu.HWVersion.ver_2_3.build.extra_flags=-D__SAM3A4C__ -mthumb {build.usb_flags} -DOPENTRACKER_HW_REV=0x0230 35 | 36 | menu.SecureBit=Flash Security 37 | geolink_opentracker.menu.SecureBit.disabled=Unlocked 38 | geolink_opentracker.menu.SecureBit.disabled.upload.tool=bossac 39 | geolink_opentracker.menu.SecureBit.enabled=SecureBit 40 | geolink_opentracker.menu.SecureBit.enabled.upload.tool=bossac_secure 41 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/.gitignore: -------------------------------------------------------------------------------- 1 | libsam_sam3a4c_gcc_rel.* 2 | libvariant_geolink_opentracker_gcc_dbg.* 3 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/Client.h: -------------------------------------------------------------------------------- 1 | /* 2 | Client.h - Base class that provides Client 3 | Copyright (c) 2011 Adrian McEwen. All right reserved. 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | */ 19 | 20 | #ifndef client_h 21 | #define client_h 22 | #include "Print.h" 23 | #include "Stream.h" 24 | #include "IPAddress.h" 25 | 26 | class Client : public Stream { 27 | 28 | public: 29 | virtual int connect(IPAddress ip, uint16_t port) =0; 30 | virtual int connect(const char *host, uint16_t port) =0; 31 | virtual size_t write(uint8_t) =0; 32 | virtual size_t write(const uint8_t *buf, size_t size) =0; 33 | virtual int available() = 0; 34 | virtual int read() = 0; 35 | virtual int read(uint8_t *buf, size_t size) = 0; 36 | virtual int peek() = 0; 37 | virtual void flush() = 0; 38 | virtual void stop() = 0; 39 | virtual uint8_t connected() = 0; 40 | virtual operator bool() = 0; 41 | protected: 42 | uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); }; 43 | }; 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/HardwareSerial.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef HardwareSerial_h 20 | #define HardwareSerial_h 21 | 22 | #include 23 | 24 | #include "Stream.h" 25 | 26 | class HardwareSerial : public Stream 27 | { 28 | public: 29 | virtual void begin(unsigned long); 30 | virtual void end(); 31 | virtual int available(void) = 0; 32 | virtual int peek(void) = 0; 33 | virtual int read(void) = 0; 34 | virtual void flush(void) = 0; 35 | virtual size_t write(uint8_t) = 0; 36 | using Print::write; // pull in write(str) and write(buf, size) from Print 37 | virtual operator bool() = 0; 38 | }; 39 | 40 | extern void serialEventRun(void) __attribute__((weak)); 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/Printable.h: -------------------------------------------------------------------------------- 1 | /* 2 | Printable.h - Interface class that allows printing of complex types 3 | Copyright (c) 2011 Adrian McEwen. All right reserved. 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | */ 19 | 20 | #ifndef Printable_h 21 | #define Printable_h 22 | 23 | #include 24 | 25 | class Print; 26 | 27 | /** The Printable class provides a way for new classes to allow themselves to be printed. 28 | By deriving from Printable and implementing the printTo method, it will then be possible 29 | for users to print out instances of this class by passing them into the usual 30 | Print::print and Print::println methods. 31 | */ 32 | 33 | class Printable 34 | { 35 | public: 36 | virtual size_t printTo(Print& p) const = 0; 37 | }; 38 | 39 | #endif 40 | 41 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/Reset.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include 20 | #include "Reset.h" 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | __attribute__ ((long_call, section (".ramfunc"))) 27 | void banzai() { 28 | // Disable all interrupts 29 | __disable_irq(); 30 | 31 | // Set bootflag to run SAM-BA bootloader at restart 32 | const int EEFC_FCMD_CGPB = 0x0C; 33 | const int EEFC_KEY = 0x5A; 34 | while ((EFC0->EEFC_FSR & EEFC_FSR_FRDY) == 0); 35 | EFC0->EEFC_FCR = 36 | EEFC_FCR_FCMD(EEFC_FCMD_CGPB) | 37 | EEFC_FCR_FARG(1) | 38 | EEFC_FCR_FKEY(EEFC_KEY); 39 | while ((EFC0->EEFC_FSR & EEFC_FSR_FRDY) == 0); 40 | 41 | // From here flash memory is no more available. 42 | 43 | // BANZAIIIIIII!!! 44 | const int RSTC_KEY = 0xA5; 45 | RSTC->RSTC_CR = 46 | RSTC_CR_KEY(RSTC_KEY) | 47 | RSTC_CR_PROCRST | 48 | RSTC_CR_PERRST; 49 | 50 | while (true); 51 | } 52 | 53 | static int ticks = -1; 54 | 55 | void initiateReset(int _ticks) { 56 | ticks = _ticks; 57 | } 58 | 59 | void cancelReset() { 60 | ticks = -1; 61 | } 62 | 63 | void tickReset() { 64 | if (ticks == -1) 65 | return; 66 | ticks--; 67 | if (ticks == 0) 68 | banzai(); 69 | } 70 | 71 | #ifdef __cplusplus 72 | } 73 | #endif 74 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/Reset.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef RESET_H 20 | #define RESET_H 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | void initiateReset(int ms); 27 | void tickReset(); 28 | void cancelReset(); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/RingBuffer.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "RingBuffer.h" 20 | #include 21 | 22 | RingBuffer::RingBuffer( void ) 23 | { 24 | memset( (void *)_aucBuffer, 0, SERIAL_BUFFER_SIZE ) ; 25 | _iHead=0 ; 26 | _iTail=0 ; 27 | } 28 | 29 | void RingBuffer::store_char( uint8_t c ) 30 | { 31 | int i = (uint32_t)(_iHead + 1) % SERIAL_BUFFER_SIZE ; 32 | 33 | // if we should be storing the received character into the location 34 | // just before the tail (meaning that the head would advance to the 35 | // current location of the tail), we're about to overflow the buffer 36 | // and so we don't write the character or advance the head. 37 | if ( i != _iTail ) 38 | { 39 | _aucBuffer[_iHead] = c ; 40 | _iHead = i ; 41 | } 42 | } 43 | 44 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/RingBuffer.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef _RING_BUFFER_ 20 | #define _RING_BUFFER_ 21 | 22 | #include 23 | 24 | // Define constants and variables for buffering incoming serial data. We're 25 | // using a ring buffer, in which head is the index of the location 26 | // to which to write the next incoming character and tail is the index of the 27 | // location from which to read. 28 | #define SERIAL_BUFFER_SIZE 256 29 | 30 | class RingBuffer 31 | { 32 | public: 33 | volatile uint8_t _aucBuffer[SERIAL_BUFFER_SIZE] ; 34 | volatile int _iHead ; 35 | volatile int _iTail ; 36 | 37 | public: 38 | RingBuffer( void ) ; 39 | void store_char( uint8_t c ) ; 40 | } ; 41 | 42 | #endif /* _RING_BUFFER_ */ 43 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/Server.h: -------------------------------------------------------------------------------- 1 | /* 2 | Server.h - Base class that provides Server 3 | Copyright (c) 2011 Adrian McEwen. All right reserved. 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | */ 19 | 20 | #ifndef server_h 21 | #define server_h 22 | 23 | #include "Print.h" 24 | 25 | class Server : public Print { 26 | public: 27 | virtual void begin() =0; 28 | }; 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/Tone.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef _WIRING_TONE_ 20 | #define _WIRING_TONE_ 21 | 22 | 23 | #endif /* _WIRING_TONE_ */ 24 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/USARTClass.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include 20 | #include 21 | #include 22 | #include "USARTClass.h" 23 | 24 | // Constructors //////////////////////////////////////////////////////////////// 25 | 26 | USARTClass::USARTClass( Usart* pUsart, IRQn_Type dwIrq, uint32_t dwId, RingBuffer* pRx_buffer, RingBuffer* pTx_buffer ) 27 | : UARTClass((Uart*)pUsart, dwIrq, dwId, pRx_buffer, pTx_buffer) 28 | { 29 | // In case anyone needs USART specific functionality in the future 30 | _pUsart=pUsart; 31 | } 32 | 33 | // Public Methods ////////////////////////////////////////////////////////////// 34 | 35 | void USARTClass::begin(const uint32_t dwBaudRate) 36 | { 37 | begin(dwBaudRate, Mode_8N1); 38 | } 39 | 40 | void USARTClass::begin(const uint32_t dwBaudRate, const UARTModes config) 41 | { 42 | uint32_t modeReg = static_cast(config); 43 | modeReg |= US_MR_USART_MODE_NORMAL | US_MR_USCLKS_MCK | US_MR_CHMODE_NORMAL; 44 | init(dwBaudRate, modeReg); 45 | } 46 | 47 | void USARTClass::begin(const uint32_t dwBaudRate, const USARTModes config) 48 | { 49 | uint32_t modeReg = static_cast(config); 50 | modeReg |= US_MR_USART_MODE_NORMAL | US_MR_USCLKS_MCK | US_MR_CHMODE_NORMAL; 51 | init(dwBaudRate, modeReg); 52 | } 53 | 54 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/USB/USBDesc.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2010, Peter Barrett 2 | /* 3 | ** Permission to use, copy, modify, and/or distribute this software for 4 | ** any purpose with or without fee is hereby granted, provided that the 5 | ** above copyright notice and this permission notice appear in all copies. 6 | ** 7 | ** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 8 | ** WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 9 | ** WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR 10 | ** BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES 11 | ** OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 12 | ** WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 13 | ** ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 14 | ** SOFTWARE. 15 | */ 16 | 17 | #ifndef __USBDESC_H__ 18 | #define __USBDESC_H__ 19 | 20 | #define CDC_ENABLED 21 | #define PLUGGABLE_USB_ENABLED 22 | 23 | #ifdef CDC_ENABLED 24 | #define CDC_INTERFACE_COUNT 2 25 | #define CDC_ENPOINT_COUNT 3 26 | #else 27 | #define CDC_INTERFACE_COUNT 0 28 | #define CDC_ENPOINT_COUNT 0 29 | #endif 30 | 31 | #define CDC_ACM_INTERFACE 0 // CDC ACM 32 | #define CDC_DATA_INTERFACE 1 // CDC Data 33 | #define CDC_FIRST_ENDPOINT 1 34 | #define CDC_ENDPOINT_ACM (CDC_FIRST_ENDPOINT) // CDC First 35 | #define CDC_ENDPOINT_OUT (CDC_FIRST_ENDPOINT+1) 36 | #define CDC_ENDPOINT_IN (CDC_FIRST_ENDPOINT+2) 37 | 38 | #define INTERFACE_COUNT (MSC_INTERFACE + MSC_INTERFACE_COUNT) 39 | 40 | #ifdef CDC_ENABLED 41 | #define CDC_RX CDC_ENDPOINT_OUT 42 | #define CDC_TX CDC_ENDPOINT_IN 43 | #endif 44 | 45 | #define ISERIAL_MAX_LEN 20 46 | 47 | #define IMANUFACTURER 1 48 | #define IPRODUCT 2 49 | #define ISERIAL 3 50 | 51 | #endif /* __USBDESC_H__ */ 52 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/WInterrupts.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011-2012 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef _WIRING_INTERRUPTS_ 20 | #define _WIRING_INTERRUPTS_ 21 | 22 | #include "Arduino.h" 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | void attachInterrupt(uint32_t pin, void (*callback)(void), uint32_t mode); 29 | 30 | void detachInterrupt(uint32_t pin); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif /* _WIRING_INTERRUPTS_ */ 37 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/WMath.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | extern "C" { 20 | #include "stdlib.h" 21 | #include "stdint.h" 22 | } 23 | #include "WMath.h" 24 | 25 | extern void randomSeed( uint32_t dwSeed ) 26 | { 27 | if ( dwSeed != 0 ) 28 | { 29 | srand( dwSeed ) ; 30 | } 31 | } 32 | 33 | extern long random( long howbig ) 34 | { 35 | if ( howbig == 0 ) 36 | { 37 | return 0 ; 38 | } 39 | 40 | return rand() % howbig; 41 | } 42 | 43 | extern long random( long howsmall, long howbig ) 44 | { 45 | if (howsmall >= howbig) 46 | { 47 | return howsmall; 48 | } 49 | 50 | long diff = howbig - howsmall; 51 | 52 | return random(diff) + howsmall; 53 | } 54 | 55 | extern long map(long x, long in_min, long in_max, long out_min, long out_max) 56 | { 57 | return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; 58 | } 59 | 60 | extern uint16_t makeWord( uint16_t w ) 61 | { 62 | return w ; 63 | } 64 | 65 | extern uint16_t makeWord( uint8_t h, uint8_t l ) 66 | { 67 | return (h << 8) | l ; 68 | } 69 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/WMath.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef _WIRING_MATH_ 20 | #define _WIRING_MATH_ 21 | 22 | extern long random( long ) ; 23 | extern long random( long, long ) ; 24 | extern void randomSeed( uint32_t dwSeed ) ; 25 | extern long map( long, long, long, long, long ) ; 26 | 27 | extern uint16_t makeWord( uint16_t w ) ; 28 | extern uint16_t makeWord( uint8_t h, uint8_t l ) ; 29 | 30 | #define word(...) makeWord(__VA_ARGS__) 31 | 32 | 33 | #endif /* _WIRING_MATH_ */ 34 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/abi.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include 20 | 21 | extern "C" void __cxa_pure_virtual(void) __attribute__ ((__noreturn__)); 22 | extern "C" void __cxa_deleted_virtual(void) __attribute__ ((__noreturn__)); 23 | 24 | void __cxa_pure_virtual(void) { 25 | // We might want to write some diagnostics to uart in this case 26 | //std::terminate(); 27 | while (1) 28 | ; 29 | } 30 | 31 | void __cxa_deleted_virtual(void) { 32 | // We might want to write some diagnostics to uart in this case 33 | //std::terminate(); 34 | while (1) 35 | ; 36 | } 37 | 38 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/avr/dtostrf.c: -------------------------------------------------------------------------------- 1 | /* 2 | dtostrf - Emulation for dtostrf function from avr-libc 3 | Copyright (c) 2013 Arduino. All rights reserved. 4 | Written by Cristian Maglie 5 | 6 | This library is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU Lesser General Public 8 | License as published by the Free Software Foundation; either 9 | version 2.1 of the License, or (at your option) any later version. 10 | 11 | This library is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | Lesser General Public License for more details. 15 | 16 | You should have received a copy of the GNU Lesser General Public 17 | License along with this library; if not, write to the Free Software 18 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #include 22 | 23 | char *dtostrf (double val, signed char width, unsigned char prec, char *sout) { 24 | char fmt[20]; 25 | sprintf(fmt, "%%%d.%df", width, prec); 26 | sprintf(sout, fmt, val); 27 | return sout; 28 | } 29 | 30 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/avr/dtostrf.h: -------------------------------------------------------------------------------- 1 | /* 2 | dtostrf - Emulation for dtostrf function from avr-libc 3 | Copyright (c) 2013 Arduino. All rights reserved. 4 | Written by Cristian Maglie 5 | 6 | This library is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU Lesser General Public 8 | License as published by the Free Software Foundation; either 9 | version 2.1 of the License, or (at your option) any later version. 10 | 11 | This library is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | Lesser General Public License for more details. 15 | 16 | You should have received a copy of the GNU Lesser General Public 17 | License along with this library; if not, write to the Free Software 18 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | char *dtostrf (double val, signed char width, unsigned char prec, char *sout); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/avr/interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/cores/arduino/avr/interrupt.h -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/hooks.c: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * Empty yield() hook. 21 | * 22 | * This function is intended to be used by library writers to build 23 | * libraries or sketches that supports cooperative threads. 24 | * 25 | * Its defined as a weak symbol and it can be redefined to implement a 26 | * real cooperative scheduler. 27 | */ 28 | static void __empty() { 29 | // Empty 30 | } 31 | void yield(void) __attribute__ ((weak, alias("__empty"))); 32 | 33 | /** 34 | * SysTick hook 35 | * 36 | * This function is called from SysTick handler, before the default 37 | * handler provided by Arduino. 38 | */ 39 | static int __false() { 40 | // Return false 41 | return 0; 42 | } 43 | int sysTickHook(void) __attribute__ ((weak, alias("__false"))); 44 | 45 | /** 46 | * SVC hook 47 | * PendSV hook 48 | * 49 | * These functions are called from SVC handler, and PensSV handler. 50 | * Default action is halting. 51 | */ 52 | static void __halt() { 53 | // Halts 54 | while (1) 55 | ; 56 | } 57 | void svcHook(void) __attribute__ ((weak, alias("__halt"))); 58 | void pendSVHook(void) __attribute__ ((weak, alias("__halt"))); 59 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/itoa.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef _ITOA_ 20 | #define _ITOA_ 21 | 22 | #ifdef __cplusplus 23 | extern "C"{ 24 | #endif // __cplusplus 25 | 26 | #if 0 27 | 28 | extern void itoa( int n, char s[] ) ; 29 | 30 | #else 31 | 32 | extern char* itoa( int value, char *string, int radix ) ; 33 | extern char* ltoa( long value, char *string, int radix ) ; 34 | extern char* utoa( unsigned int value, char *string, int radix ) ; 35 | extern char* ultoa( unsigned long value, char *string, int radix ) ; 36 | #endif /* 0 */ 37 | 38 | #ifdef __cplusplus 39 | } // extern "C" 40 | #endif // __cplusplus 41 | 42 | #endif // _ITOA_ 43 | 44 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | main.cpp - Main loop for Arduino sketches 3 | Copyright (c) 2005-2013 Arduino Team. All right reserved. 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | */ 19 | 20 | #define ARDUINO_MAIN 21 | #include "Arduino.h" 22 | 23 | /* 24 | * Cortex-M3 Systick IT handler 25 | */ 26 | /* 27 | extern void SysTick_Handler( void ) 28 | { 29 | // Increment tick count each ms 30 | TimeTick_Increment() ; 31 | } 32 | */ 33 | 34 | // Weak empty variant initialization function. 35 | // May be redefined by variant files. 36 | void initVariant() __attribute__((weak)); 37 | void initVariant() { } 38 | 39 | /* 40 | * \brief Main entry point of Arduino application 41 | */ 42 | int main( void ) 43 | { 44 | // Initialize watchdog 45 | watchdogSetup(); 46 | 47 | init(); 48 | 49 | initVariant(); 50 | 51 | delay(1); 52 | 53 | #if defined(USBCON) 54 | USBDevice.attach(); 55 | #endif 56 | 57 | setup(); 58 | 59 | for (;;) 60 | { 61 | loop(); 62 | if (serialEventRun) serialEventRun(); 63 | } 64 | 65 | return 0; 66 | } 67 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/new.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include 20 | 21 | void *operator new(size_t size) { 22 | return malloc(size); 23 | } 24 | 25 | void *operator new[](size_t size) { 26 | return malloc(size); 27 | } 28 | 29 | void operator delete(void * ptr) { 30 | free(ptr); 31 | } 32 | 33 | void operator delete[](void * ptr) { 34 | free(ptr); 35 | } 36 | 37 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/syscalls.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * \file syscalls.h 21 | * 22 | * Implementation of newlib syscall. 23 | * 24 | */ 25 | 26 | /*---------------------------------------------------------------------------- 27 | * Headers 28 | *----------------------------------------------------------------------------*/ 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | /*---------------------------------------------------------------------------- 35 | * Exported functions 36 | *----------------------------------------------------------------------------*/ 37 | #ifdef __cplusplus 38 | extern "C" { 39 | #endif 40 | 41 | extern caddr_t _sbrk( int incr ) ; 42 | 43 | extern int link( char *cOld, char *cNew ) ; 44 | 45 | extern int _close( int file ) ; 46 | 47 | extern int _fstat( int file, struct stat *st ) ; 48 | 49 | extern int _isatty( int file ) ; 50 | 51 | extern int _lseek( int file, int ptr, int dir ) ; 52 | 53 | extern int _read(int file, char *ptr, int len) ; 54 | 55 | extern int _write( int file, char *ptr, int len ) ; 56 | 57 | #ifdef __cplusplus 58 | } 59 | #endif 60 | 61 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/watchdog.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include 20 | 21 | #include "watchdog.h" 22 | 23 | 24 | void watchdogEnable (uint32_t timeout) 25 | { 26 | /* this assumes the slow clock is running at 32.768 kHz 27 | watchdog frequency is therefore 32768 / 128 = 256 Hz */ 28 | timeout = timeout * 256 / 1000; 29 | if (timeout == 0) 30 | timeout = 1; 31 | else if (timeout > 0xFFF) 32 | timeout = 0xFFF; 33 | timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout); 34 | WDT_Enable (WDT, timeout); 35 | } 36 | 37 | void watchdogDisable(void) 38 | { 39 | WDT_Disable (WDT); 40 | } 41 | 42 | void watchdogReset(void) 43 | { 44 | WDT_Restart (WDT); 45 | } 46 | 47 | 48 | extern "C" 49 | void _watchdogDefaultSetup (void) 50 | { 51 | WDT_Disable (WDT); 52 | } 53 | void watchdogSetup (void) __attribute__ ((weak, alias("_watchdogDefaultSetup"))); 54 | 55 | 56 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/watchdog.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef _WATCHDOG_ 20 | #define _WATCHDOG_ 21 | 22 | #include 23 | 24 | // Watchdog functions 25 | 26 | /* 27 | * \brief Enable the watchdog with the specified timeout. Should only be called once. 28 | * 29 | * \param timeount in milliseconds. 30 | */ 31 | void watchdogEnable (uint32_t timeout); 32 | 33 | /* 34 | * \brief Disable the watchdog timer. Should only be called once. 35 | * 36 | */ 37 | void watchdogDisable (void); 38 | 39 | /* 40 | * \brief Reset the watchdog counter. 41 | * 42 | */ 43 | void watchdogReset (void); 44 | 45 | /* 46 | * \brief Watchdog initialize hook. This function is called from init(). If the user does not provide 47 | * this function, then the default action is to disable watchdog. 48 | */ 49 | void watchdogSetup (void); 50 | 51 | #endif /* _WATCHDOG_ */ 52 | 53 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/wiring_private.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef WiringPrivate_h 20 | #define WiringPrivate_h 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #ifdef __cplusplus 27 | extern "C"{ 28 | #endif 29 | 30 | // Includes Atmel CMSIS 31 | #include 32 | 33 | #include "wiring_constants.h" 34 | 35 | #ifdef __cplusplus 36 | } // extern "C" 37 | 38 | #include "HardwareSerial.h" 39 | 40 | #endif 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/wiring_pulse.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef _WIRING_PULSE_ 20 | #define _WIRING_PULSE_ 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | unsigned long countPulseASM(const volatile uint32_t *port, uint32_t bit, uint32_t stateMask, unsigned long maxloops); 27 | /* 28 | * \brief Measures the length (in microseconds) of a pulse on the pin; state is HIGH 29 | * or LOW, the type of pulse to measure. Works on pulses from 2-3 microseconds 30 | * to 3 minutes in length, but must be called at least a few dozen microseconds 31 | * before the start of the pulse. 32 | */ 33 | extern uint32_t pulseIn( uint32_t ulPin, uint32_t ulState, uint32_t ulTimeout = 1000000L ) ; 34 | extern uint32_t pulseInLong( uint8_t pin, uint8_t state, unsigned long timeout = 1000000L ) ; 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif /* _WIRING_PULSE_ */ 41 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/wiring_shift.c: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "Arduino.h" 20 | 21 | #ifdef __cplusplus 22 | extern "C"{ 23 | #endif 24 | 25 | uint32_t shiftIn( uint32_t ulDataPin, uint32_t ulClockPin, uint32_t ulBitOrder ) 26 | { 27 | uint8_t value = 0 ; 28 | uint8_t i ; 29 | 30 | for ( i=0 ; i < 8 ; ++i ) 31 | { 32 | digitalWrite( ulClockPin, HIGH ) ; 33 | 34 | if ( ulBitOrder == LSBFIRST ) 35 | { 36 | value |= digitalRead( ulDataPin ) << i ; 37 | } 38 | else 39 | { 40 | value |= digitalRead( ulDataPin ) << (7 - i) ; 41 | } 42 | 43 | digitalWrite( ulClockPin, LOW ) ; 44 | } 45 | 46 | return value ; 47 | } 48 | 49 | void shiftOut( uint32_t ulDataPin, uint32_t ulClockPin, uint32_t ulBitOrder, uint32_t ulVal ) 50 | { 51 | uint8_t i ; 52 | 53 | for ( i=0 ; i < 8 ; i++ ) 54 | { 55 | if ( ulBitOrder == LSBFIRST ) 56 | { 57 | digitalWrite( ulDataPin, !!(ulVal & (1 << i)) ) ; 58 | } 59 | else 60 | { 61 | digitalWrite( ulDataPin, !!(ulVal & (1 << (7 - i))) ) ; 62 | } 63 | 64 | digitalWrite( ulClockPin, HIGH ) ; 65 | digitalWrite( ulClockPin, LOW ) ; 66 | } 67 | } 68 | 69 | #ifdef __cplusplus 70 | } // extern "C" 71 | #endif 72 | -------------------------------------------------------------------------------- /sam/1.0.5/cores/arduino/wiring_shift.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef _WIRING_SHIFT_ 20 | #define _WIRING_SHIFT_ 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | /* 27 | * \brief 28 | */ 29 | extern uint32_t shiftIn( uint32_t ulDataPin, uint32_t ulClockPin, uint32_t ulBitOrder ) ; 30 | 31 | 32 | /* 33 | * \brief 34 | */ 35 | extern void shiftOut( uint32_t ulDataPin, uint32_t ulClockPin, uint32_t ulBitOrder, uint32_t ulVal ) ; 36 | 37 | 38 | #ifdef __cplusplus 39 | } 40 | #endif 41 | 42 | #endif /* _WIRING_SHIFT_ */ 43 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/DueFlashStorage/DueFlashStorage.h: -------------------------------------------------------------------------------- 1 | /* 2 | DueFlashStorage saves non-volatile data for Arduino Due. 3 | The library is made to be similar to EEPROM library 4 | Uses flash block 1 per default. 5 | 6 | Note: uploading new software will erase all flash so data written to flash 7 | using this library will not survive a new software upload. 8 | 9 | Inspiration from Pansenti at https://github.com/Pansenti/DueFlash 10 | Rewritten and modified by Sebastian Nilsson 11 | */ 12 | 13 | 14 | #ifndef DUEFLASHSTORAGE_H 15 | #define DUEFLASHSTORAGE_H 16 | 17 | #include 18 | #include "flash_efc.h" 19 | 20 | // 1Kb of data 21 | #define DATA_LENGTH ((IFLASH1_PAGE_SIZE/sizeof(byte))*4) 22 | 23 | // choose a start address that's offset to show that it doesn't have to be on a page boundary 24 | #define FLASH_START ((byte *)IFLASH1_ADDR) 25 | 26 | // FLASH_DEBUG can be enabled to get debugging information displayed. 27 | #define FLASH_DEBUG 28 | 29 | #ifdef FLASH_DEBUG 30 | #define _FLASH_DEBUG(x) SerialUSB.print(x); 31 | #else 32 | #define _FLASH_DEBUG(x) 33 | #endif 34 | 35 | // DueFlash is the main class for flash functions 36 | class DueFlashStorage { 37 | public: 38 | DueFlashStorage(); 39 | 40 | // write() writes the specified amount of data into flash. 41 | // flashStart is the address in memory where the write should start 42 | // data is a pointer to the data to be written 43 | // dataLength is length of data in bytes 44 | 45 | byte read(uint32_t address); 46 | byte* readAddress(uint32_t address); 47 | boolean write(uint32_t address, byte value); 48 | boolean write(uint32_t address, byte *data, uint32_t dataLength); 49 | }; 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/DueFlashStorage/examples/DueFlashStorageExample/DueFlashStorageExample.ino: -------------------------------------------------------------------------------- 1 | /* This example will write 3 bytes to 3 different addresses and print them to the serial monitor. 2 | Try resetting the Arduino Due or unplug the power to it. The values will stay stored. */ 3 | 4 | #include 5 | DueFlashStorage dueFlashStorage; 6 | 7 | void setup() { 8 | Serial.begin(115200); 9 | byte b1 = 3; 10 | uint8_t b2 = 1; 11 | dueFlashStorage.write(0,b1); 12 | dueFlashStorage.write(1,b2); 13 | //dueFlashStorage.write(2,b2); 14 | } 15 | 16 | void loop() { 17 | // read from flash at address 0 and 1 and print them 18 | Serial.print("0:"); 19 | Serial.print(dueFlashStorage.read(0)); 20 | Serial.print(" 1:"); 21 | Serial.print(dueFlashStorage.read(1)); 22 | 23 | // read from address 2, increment it, print and then write incremented value back to flash storage 24 | uint8_t i = dueFlashStorage.read(2)+1; 25 | Serial.print(" 2:"); 26 | Serial.print(dueFlashStorage.read(2)); 27 | dueFlashStorage.write(2,i); 28 | 29 | Serial.println(); 30 | delay(1000); 31 | } 32 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/DueFlashStorage/library.properties: -------------------------------------------------------------------------------- 1 | name=DueFlashStorage 2 | version=0.2 3 | author=Sebastian Nilsson 4 | maintainer= 5 | sentence=Replacement for EEPROM on Arduino Due. 6 | paragraph=DueFlashStorage saves non-volatile data for Arduino Due. The library is made to be similar to the EEPROM library. (patched for OpenTracker) 7 | url=http://sebastiannilsson.com/en/blogg/ersattare-for-eeprom-pa-arduino-due/ 8 | architectures=sam 9 | category=Data Storage 10 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/HID/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map HID 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | HID KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | begin KEYWORD2 15 | SendReport KEYWORD2 16 | AppendDescriptor KEYWORD2 17 | 18 | ####################################### 19 | # Constants (LITERAL1) 20 | ####################################### 21 | HID_TX LITERAL1 -------------------------------------------------------------------------------- /sam/1.0.5/libraries/HID/library.properties: -------------------------------------------------------------------------------- 1 | name=HID 2 | version=1.0 3 | author=Arduino 4 | maintainer=Arduino 5 | sentence=Module for PluggableUSB infrastructure. Exposes an API for devices like Keyboards, Mice and Gamepads. 6 | paragraph= 7 | category=Communication 8 | url=http://www.arduino.cc/en/Reference/HID 9 | architectures=sam 10 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino: -------------------------------------------------------------------------------- 1 | /* 2 | Digital Pot Control 3 | 4 | This example controls an Analog Devices AD5206 digital potentiometer. 5 | The AD5206 has 6 potentiometer channels. Each channel's pins are labeled 6 | A - connect this to voltage 7 | W - this is the pot's wiper, which changes when you set it 8 | B - connect this to ground. 9 | 10 | The AD5206 is SPI-compatible,and to command it, you send two bytes, 11 | one with the channel number (0 - 5) and one with the resistance value for the 12 | channel (0 - 255). 13 | 14 | The circuit: 15 | * All A pins of AD5206 connected to +5V 16 | * All B pins of AD5206 connected to ground 17 | * An LED and a 220-ohm resisor in series connected from each W pin to ground 18 | * CS - to digital pin 10 (SS pin) 19 | * SDI - to digital pin 11 (MOSI pin) 20 | * CLK - to digital pin 13 (SCK pin) 21 | 22 | created 10 Aug 2010 23 | by Tom Igoe 24 | 25 | Thanks to Heather Dewey-Hagborg for the original tutorial, 2005 26 | 27 | */ 28 | 29 | 30 | // inslude the SPI library: 31 | #include 32 | 33 | 34 | // set pin 10 as the slave select for the digital pot: 35 | const int slaveSelectPin = 10; 36 | 37 | void setup() { 38 | // set the slaveSelectPin as an output: 39 | pinMode(slaveSelectPin, OUTPUT); 40 | // initialize SPI: 41 | SPI.begin(); 42 | } 43 | 44 | void loop() { 45 | // go through the six channels of the digital pot: 46 | for (int channel = 0; channel < 6; channel++) { 47 | // change the resistance on this channel from min to max: 48 | for (int level = 0; level < 255; level++) { 49 | digitalPotWrite(channel, level); 50 | delay(10); 51 | } 52 | // wait a second at the top: 53 | delay(100); 54 | // change the resistance on this channel from max to min: 55 | for (int level = 0; level < 255; level++) { 56 | digitalPotWrite(channel, 255 - level); 57 | delay(10); 58 | } 59 | } 60 | 61 | } 62 | 63 | void digitalPotWrite(int address, int value) { 64 | // take the SS pin low to select the chip: 65 | digitalWrite(slaveSelectPin, LOW); 66 | // send in the address and value via SPI: 67 | SPI.transfer(address); 68 | SPI.transfer(value); 69 | // take the SS pin high to de-select the chip: 70 | digitalWrite(slaveSelectPin, HIGH); 71 | } 72 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/SPI/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map SPI 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | SPI KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | begin KEYWORD2 15 | end KEYWORD2 16 | transfer KEYWORD2 17 | #setBitOrder KEYWORD2 18 | setDataMode KEYWORD2 19 | setClockDivider KEYWORD2 20 | 21 | 22 | ####################################### 23 | # Constants (LITERAL1) 24 | ####################################### 25 | SPI_MODE0 LITERAL1 26 | SPI_MODE1 LITERAL1 27 | SPI_MODE2 LITERAL1 28 | SPI_MODE3 LITERAL1 29 | 30 | SPI_CONTINUE LITERAL1 31 | SPI_LAST LITERAL1 32 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/SPI/library.properties: -------------------------------------------------------------------------------- 1 | name=SPI 2 | version=1.0 3 | author=Arduino 4 | maintainer=Arduino 5 | sentence=Enables the communication with devices that use the Serial Peripheral Interface (SPI) Bus. 6 | paragraph= 7 | category=Communication 8 | url=http://www.arduino.cc/en/Reference/SPI 9 | architectures=sam 10 | 11 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/TinyGPS/examples/simple_test/simple_test.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | 5 | /* This sample code demonstrates the normal use of a TinyGPS object. 6 | It requires the use of SoftwareSerial, and assumes that you have a 7 | 4800-baud serial GPS device hooked up on pins 4(rx) and 3(tx). 8 | */ 9 | 10 | TinyGPS gps; 11 | SoftwareSerial ss(4, 3); 12 | 13 | void setup() 14 | { 15 | Serial.begin(115200); 16 | ss.begin(4800); 17 | 18 | Serial.print("Simple TinyGPS library v. "); Serial.println(TinyGPS::library_version()); 19 | Serial.println("by Mikal Hart"); 20 | Serial.println(); 21 | } 22 | 23 | void loop() 24 | { 25 | bool newData = false; 26 | unsigned long chars; 27 | unsigned short sentences, failed; 28 | 29 | // For one second we parse GPS data and report some key values 30 | for (unsigned long start = millis(); millis() - start < 1000;) 31 | { 32 | while (ss.available()) 33 | { 34 | char c = ss.read(); 35 | // Serial.write(c); // uncomment this line if you want to see the GPS data flowing 36 | if (gps.encode(c)) // Did a new valid sentence come in? 37 | newData = true; 38 | } 39 | } 40 | 41 | if (newData) 42 | { 43 | float flat, flon; 44 | unsigned long age; 45 | gps.f_get_position(&flat, &flon, &age); 46 | Serial.print("LAT="); 47 | Serial.print(flat == TinyGPS::GPS_INVALID_F_ANGLE ? 0.0 : flat, 6); 48 | Serial.print(" LON="); 49 | Serial.print(flon == TinyGPS::GPS_INVALID_F_ANGLE ? 0.0 : flon, 6); 50 | Serial.print(" SAT="); 51 | Serial.print(gps.satellites() == TinyGPS::GPS_INVALID_SATELLITES ? 0 : gps.satellites()); 52 | Serial.print(" PREC="); 53 | Serial.print(gps.hdop() == TinyGPS::GPS_INVALID_HDOP ? 0 : gps.hdop()); 54 | } 55 | 56 | gps.stats(&chars, &sentences, &failed); 57 | Serial.print(" CHARS="); 58 | Serial.print(chars); 59 | Serial.print(" SENTENCES="); 60 | Serial.print(sentences); 61 | Serial.print(" CSUM ERR="); 62 | Serial.println(failed); 63 | if (chars == 0) 64 | Serial.println("** No characters received from GPS: check wiring **"); 65 | } -------------------------------------------------------------------------------- /sam/1.0.5/libraries/TinyGPS/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for TinyGPS 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | TinyGPS KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | encode KEYWORD2 16 | get_position KEYWORD2 17 | get_datetime KEYWORD2 18 | altitude KEYWORD2 19 | speed KEYWORD2 20 | course KEYWORD2 21 | stats KEYWORD2 22 | f_get_position KEYWORD2 23 | crack_datetime KEYWORD2 24 | f_altitude KEYWORD2 25 | f_course KEYWORD2 26 | f_speed_knots KEYWORD2 27 | f_speed_mph KEYWORD2 28 | f_speed_mps KEYWORD2 29 | f_speed_kmph KEYWORD2 30 | library_version KEYWORD2 31 | distance_between KEYWORD2 32 | course_to KEYWORD2 33 | satellites KEYWORD2 34 | hdop KEYWORD2 35 | 36 | ####################################### 37 | # Constants (LITERAL1) 38 | ####################################### 39 | 40 | GPS_INVALID_AGE LITERAL1 41 | GPS_INVALID_ANGLE LITERAL1 42 | GPS_INVALID_ALTITUDE LITERAL1 43 | GPS_INVALID_DATE LITERAL1 44 | GPS_INVALID_TIME LITERAL1 45 | GPS_INVALID_HDOP LITERAL1 46 | GPS_INVALID_SATELLITES LITERAL1 47 | GPS_INVALID_F_ANGLE LITERAL1 48 | GPS_INVALID_F_ALTITUDE LITERAL1 49 | GPS_INVALID_F_SPEED LITERAL1 50 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/TinyGPS/library.properties: -------------------------------------------------------------------------------- 1 | name=TinyGPS 2 | version=0.13 3 | author=Mikal Hart 4 | maintainer= 5 | sentence=A compact Arduino NMEA (GPS) parsing library 6 | paragraph= 7 | url=http://arduiniana.org/libraries/tinygps/ 8 | architectures=* 9 | category=Sensors 10 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/Wire/examples/digital_potentiometer/digital_potentiometer.ino: -------------------------------------------------------------------------------- 1 | // I2C Digital Potentiometer 2 | // by Nicholas Zambetti 3 | // and Shawn Bonkowski 4 | 5 | // Demonstrates use of the Wire library 6 | // Controls AD5171 digital potentiometer via I2C/TWI 7 | 8 | // Created 31 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | // This example code is in the public domain. 13 | 14 | 15 | #include 16 | 17 | void setup() 18 | { 19 | Wire.begin(); // join i2c bus (address optional for master) 20 | } 21 | 22 | byte val = 0; 23 | 24 | void loop() 25 | { 26 | Wire.beginTransmission(44); // transmit to device #44 (0x2c) 27 | // device address is specified in datasheet 28 | Wire.write(byte(0x00)); // sends instruction byte 29 | Wire.write(val); // sends potentiometer value byte 30 | Wire.endTransmission(); // stop transmitting 31 | 32 | val++; // increment value 33 | if(val == 64) // if reached 64th position (max) 34 | { 35 | val = 0; // start over from lowest value 36 | } 37 | delay(500); 38 | } 39 | 40 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/Wire/examples/master_reader/master_reader.ino: -------------------------------------------------------------------------------- 1 | // Wire Master Reader 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Reads data from an I2C/TWI slave device 6 | // Refer to the "Wire Slave Sender" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(); // join i2c bus (address optional for master) 18 | Serial.begin(9600); // start serial for output 19 | } 20 | 21 | void loop() 22 | { 23 | Wire.requestFrom(2, 6); // request 6 bytes from slave device #2 24 | 25 | while(Wire.available()) // slave may send less than requested 26 | { 27 | char c = Wire.read(); // receive a byte as character 28 | Serial.print(c); // print the character 29 | } 30 | 31 | delay(500); 32 | } 33 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/Wire/examples/master_writer/master_writer.ino: -------------------------------------------------------------------------------- 1 | // Wire Master Writer 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Writes data to an I2C/TWI slave device 6 | // Refer to the "Wire Slave Receiver" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(); // join i2c bus (address optional for master) 18 | } 19 | 20 | byte x = 0; 21 | 22 | void loop() 23 | { 24 | Wire.beginTransmission(4); // transmit to device #4 25 | Wire.write("x is "); // sends five bytes 26 | Wire.write(x); // sends one byte 27 | Wire.endTransmission(); // stop transmitting 28 | 29 | x++; 30 | delay(500); 31 | } 32 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/Wire/examples/slave_receiver/slave_receiver.ino: -------------------------------------------------------------------------------- 1 | // Wire Slave Receiver 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Receives data as an I2C/TWI slave device 6 | // Refer to the "Wire Master Writer" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(4); // join i2c bus with address #4 18 | Wire.onReceive(receiveEvent); // register event 19 | Serial.begin(9600); // start serial for output 20 | } 21 | 22 | void loop() 23 | { 24 | delay(100); 25 | } 26 | 27 | // function that executes whenever data is received from master 28 | // this function is registered as an event, see setup() 29 | void receiveEvent(int howMany) 30 | { 31 | while(1 < Wire.available()) // loop through all but the last 32 | { 33 | char c = Wire.read(); // receive byte as a character 34 | Serial.print(c); // print the character 35 | } 36 | int x = Wire.read(); // receive byte as an integer 37 | Serial.println(x); // print the integer 38 | } 39 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/Wire/examples/slave_sender/slave_sender.ino: -------------------------------------------------------------------------------- 1 | // Wire Slave Sender 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Sends data as an I2C/TWI slave device 6 | // Refer to the "Wire Master Reader" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(2); // join i2c bus with address #2 18 | Wire.onRequest(requestEvent); // register event 19 | } 20 | 21 | void loop() 22 | { 23 | delay(100); 24 | } 25 | 26 | // function that executes whenever data is requested by master 27 | // this function is registered as an event, see setup() 28 | void requestEvent() 29 | { 30 | Wire.write("hello "); // respond with message of 6 bytes 31 | // as expected by master 32 | } 33 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/Wire/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Wire 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | begin KEYWORD2 14 | setClock KEYWORD2 15 | beginTransmission KEYWORD2 16 | endTransmission KEYWORD2 17 | requestFrom KEYWORD2 18 | onReceive KEYWORD2 19 | onRequest KEYWORD2 20 | 21 | ####################################### 22 | # Instances (KEYWORD2) 23 | ####################################### 24 | 25 | Wire KEYWORD2 26 | Wire1 KEYWORD2 27 | 28 | ####################################### 29 | # Constants (LITERAL1) 30 | ####################################### 31 | 32 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/Wire/library.properties: -------------------------------------------------------------------------------- 1 | name=Wire 2 | version=1.0 3 | author=Arduino 4 | maintainer=Arduino 5 | sentence=Allows the communication between devices or sensors connected via Two Wire Interface Bus. 6 | paragraph= 7 | category=Communication 8 | url=http://www.arduino.cc/en/Reference/Wire 9 | architectures=sam 10 | 11 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/due_can/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | 6 | # Compiled Dynamic libraries 7 | *.so 8 | *.dylib 9 | 10 | # Compiled Static libraries 11 | *.lai 12 | *.la 13 | *.a 14 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/due_can/README.md: -------------------------------------------------------------------------------- 1 | due_can 2 | ======= 3 | 4 | Object oriented canbus library for Arduino Due compatible boards 5 | 6 | Download the archived 1.0 release if you are compiling against existing 7 | code bases such as the EVTV GEVCU project. New projects will probably 8 | find that the current "master" branch version of the project is easier 9 | to use. 10 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/due_can/examples/CAN_TrafficSnooper/CAN_TrafficSnooper.ino: -------------------------------------------------------------------------------- 1 | // Arduino Due - Displays all traffic found on either canbus port 2 | // By Thibaut Viard/Wilfredo Molina/Collin Kidder 2013-2014 3 | 4 | // Required libraries 5 | #include "variant.h" 6 | #include 7 | 8 | //Leave defined if you use native port, comment if using programming port 9 | //This sketch could provide a lot of traffic so it might be best to use the 10 | //native port 11 | #define Serial SerialUSB 12 | 13 | void setup() 14 | { 15 | 16 | Serial.begin(115200); 17 | 18 | // Initialize CAN0 and CAN1, Set the proper baud rates here 19 | CAN.init(CAN_BPS_250K); 20 | CAN2.init(CAN_BPS_250K); 21 | 22 | //By default there are 7 mailboxes for each device that are RX boxes 23 | //This sets each mailbox to have an open filter that will accept extended 24 | //or standard frames 25 | int filter; 26 | //extended 27 | for (filter = 0; filter < 3; filter++) { 28 | CAN.setRXFilter(filter, 0, 0, true); 29 | CAN2.setRXFilter(filter, 0, 0, true); 30 | } 31 | //standard 32 | for (int filter = 3; filter < 7; filter++) { 33 | CAN.setRXFilter(filter, 0, 0, false); 34 | CAN2.setRXFilter(filter, 0, 0, false); 35 | } 36 | 37 | } 38 | 39 | void printFrame(CAN_FRAME &frame) { 40 | Serial.print("ID: 0x"); 41 | Serial.print(frame.id, HEX); 42 | Serial.print(" Len: "); 43 | Serial.print(frame.length); 44 | Serial.print(" Data: 0x"); 45 | for (int count = 0; count < frame.length; count++) { 46 | Serial.print(frame.data.bytes[count], HEX); 47 | Serial.print(" "); 48 | } 49 | Serial.print("\r\n"); 50 | } 51 | 52 | void loop(){ 53 | CAN_FRAME incoming; 54 | 55 | if (CAN.rx_avail()) { 56 | CAN.get_rx_buff(incoming); 57 | printFrame(incoming); 58 | } 59 | if (CAN2.rx_avail()) { 60 | CAN2.get_rx_buff(incoming); 61 | printFrame(incoming); 62 | } 63 | } 64 | 65 | 66 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/due_can/library.properties: -------------------------------------------------------------------------------- 1 | name=due_can 2 | version=1.0.1 3 | author=Collin Kidder 4 | maintainer= 5 | sentence=Object oriented canbus library for Arduino Due compatible boards 6 | paragraph=(patched for OpenTracker) 7 | url=https://github.com/collin80/due_can 8 | architectures=sam 9 | category=Communication 10 | -------------------------------------------------------------------------------- /sam/1.0.5/libraries/due_can/sn65hvd234.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2013 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * \file 21 | * 22 | * Include Defines & macros for the SN65HVD234. 23 | */ 24 | 25 | #ifndef _CAN_SN65HVD234_ 26 | #define _CAN_SN65HVD234_ 27 | 28 | #include "variant.h" 29 | 30 | class SSN65HVD234 31 | { 32 | private: 33 | /** Rs Pin on PIO */ 34 | int dwPin_Rs ; 35 | 36 | /** EN Pin on PIO */ 37 | int dwPin_EN ; 38 | public: 39 | uint32_t Init(int Rs = -1, int En = -1); 40 | uint32_t SetRS(int RS ) ; 41 | uint32_t SetEN(int EN ) ; 42 | 43 | uint32_t Enable(); 44 | uint32_t Disable(); 45 | 46 | uint32_t EnableLowPower(); 47 | uint32_t DisableLowPower(); 48 | SSN65HVD234(); 49 | }; 50 | 51 | #endif /* _CAN_SN65HVD234_ */ 52 | -------------------------------------------------------------------------------- /sam/1.0.5/readme.txt: -------------------------------------------------------------------------------- 1 | Based on Arduino SAM Core and platform v1.6.11 2 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/ATMEL Version 2.10.107: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/system/CMSIS/ATMEL Version 2.10.107 -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/CMSIS END USER LICENCE AGREEMENT.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/system/CMSIS/CMSIS/CMSIS END USER LICENCE AGREEMENT.pdf -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_reset_f32.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 15. July 2011 5 | * $Revision: V1.0.10 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_pid_reset_f32.c 9 | * 10 | * Description: Floating-point PID Control reset function 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Version 1.0.10 2011/7/15 15 | * Big Endian support added and Merged M0 and M3/M4 Source code. 16 | * 17 | * Version 1.0.3 2010/11/29 18 | * Re-organized the CMSIS folders and updated documentation. 19 | * 20 | * Version 1.0.2 2010/11/11 21 | * Documentation updated. 22 | * 23 | * Version 1.0.1 2010/10/05 24 | * Production release and review comments incorporated. 25 | * 26 | * Version 1.0.0 2010/09/20 27 | * Production release and review comments incorporated. 28 | * ------------------------------------------------------------------- */ 29 | 30 | #include "arm_math.h" 31 | 32 | /** 33 | * @addtogroup PID 34 | * @{ 35 | */ 36 | 37 | /** 38 | * @brief Reset function for the floating-point PID Control. 39 | * @param[in] *S Instance pointer of PID control data structure. 40 | * @return none. 41 | * \par Description: 42 | * The function resets the state buffer to zeros. 43 | */ 44 | void arm_pid_reset_f32( 45 | arm_pid_instance_f32 * S) 46 | { 47 | 48 | /* Clear the state buffer. The size will be always 3 samples */ 49 | memset(S->state, 0, 3u * sizeof(float32_t)); 50 | } 51 | 52 | /** 53 | * @} end of PID group 54 | */ 55 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_reset_q15.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 15. July 2011 5 | * $Revision: V1.0.10 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_pid_reset_q15.c 9 | * 10 | * Description: Q15 PID Control reset function 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Version 1.0.10 2011/7/15 15 | * Big Endian support added and Merged M0 and M3/M4 Source code. 16 | * 17 | * Version 1.0.3 2010/11/29 18 | * Re-organized the CMSIS folders and updated documentation. 19 | * 20 | * Version 1.0.2 2010/11/11 21 | * Documentation updated. 22 | * 23 | * Version 1.0.1 2010/10/05 24 | * Production release and review comments incorporated. 25 | * 26 | * Version 1.0.0 2010/09/20 27 | * Production release and review comments incorporated. 28 | * -------------------------------------------------------------------- */ 29 | 30 | #include "arm_math.h" 31 | 32 | /** 33 | * @addtogroup PID 34 | * @{ 35 | */ 36 | 37 | /** 38 | * @brief Reset function for the Q15 PID Control. 39 | * @param[in] *S Instance pointer of PID control data structure. 40 | * @return none. 41 | * \par Description: 42 | * The function resets the state buffer to zeros. 43 | */ 44 | void arm_pid_reset_q15( 45 | arm_pid_instance_q15 * S) 46 | { 47 | /* Reset state to zero, The size will be always 3 samples */ 48 | memset(S->state, 0, 3u * sizeof(q15_t)); 49 | } 50 | 51 | /** 52 | * @} end of PID group 53 | */ 54 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_reset_q31.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 15. July 2011 5 | * $Revision: V1.0.10 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_pid_reset_q31.c 9 | * 10 | * Description: Q31 PID Control reset function 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Version 1.0.10 2011/7/15 15 | * Big Endian support added and Merged M0 and M3/M4 Source code. 16 | * 17 | * Version 1.0.3 2010/11/29 18 | * Re-organized the CMSIS folders and updated documentation. 19 | * 20 | * Version 1.0.2 2010/11/11 21 | * Documentation updated. 22 | * 23 | * Version 1.0.1 2010/10/05 24 | * Production release and review comments incorporated. 25 | * 26 | * Version 1.0.0 2010/09/20 27 | * Production release and review comments incorporated. 28 | * ------------------------------------------------------------------- */ 29 | 30 | #include "arm_math.h" 31 | 32 | /** 33 | * @addtogroup PID 34 | * @{ 35 | */ 36 | 37 | /** 38 | * @brief Reset function for the Q31 PID Control. 39 | * @param[in] *S Instance pointer of PID control data structure. 40 | * @return none. 41 | * \par Description: 42 | * The function resets the state buffer to zeros. 43 | */ 44 | void arm_pid_reset_q31( 45 | arm_pid_instance_q31 * S) 46 | { 47 | 48 | /* Clear the state buffer. The size will be always 3 samples */ 49 | memset(S->state, 0, 3u * sizeof(q31_t)); 50 | } 51 | 52 | /** 53 | * @} end of PID group 54 | */ 55 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/DSP_Lib/Source/GCC/arm_cortexMx_math_Build.bat: -------------------------------------------------------------------------------- 1 | 2 | SET TMP=C:\Temp 3 | SET TEMP=C:\Temp 4 | 5 | SET UVEXE=C:\Keil\UV4\UV4.EXE 6 | 7 | %UVEXE% -rb arm_cortexM0x_math.uvproj -t"DSP_Lib CM0 LE" -o"DSP_Lib CM0 LE.txt" 8 | %UVEXE% -rb arm_cortexM3x_math.uvproj -t"DSP_Lib CM3 LE" -o"DSP_Lib CM3 LE.txt" 9 | %UVEXE% -rb arm_cortexM4x_math.uvproj -t"DSP_Lib CM4 LE" -o"DSP_Lib CM4 LE.txt" 10 | %UVEXE% -rb arm_cortexM4x_math.uvproj -t"DSP_Lib CM4 LE FPU" -o"DSP_Lib CM4 LE FPU.txt" 11 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_init_q15.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 15. July 2011 5 | * $Revision: V1.0.10 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_mat_init_q15.c 9 | * 10 | * Description: Q15 matrix initialization. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Version 1.0.10 2011/7/15 15 | * Big Endian support added and Merged M0 and M3/M4 Source code. 16 | * 17 | * Version 1.0.3 2010/11/29 18 | * Re-organized the CMSIS folders and updated documentation. 19 | * 20 | * Version 1.0.2 2010/11/11 21 | * Documentation updated. 22 | * 23 | * Version 1.0.1 2010/10/05 24 | * Production release and review comments incorporated. 25 | * 26 | * Version 1.0.0 2010/09/20 27 | * Production release and review comments incorporated. 28 | * 29 | * Version 0.0.5 2010/04/26 30 | * incorporated review comments and updated with latest CMSIS layer 31 | * 32 | * Version 0.0.3 2010/03/10 33 | * Initial version 34 | * -------------------------------------------------------------------------- */ 35 | 36 | 37 | #include "arm_math.h" 38 | 39 | /** 40 | * @ingroup groupMatrix 41 | */ 42 | 43 | /** 44 | * @addtogroup MatrixInit 45 | * @{ 46 | */ 47 | 48 | /** 49 | * @brief Q15 matrix initialization. 50 | * @param[in,out] *S points to an instance of the floating-point matrix structure. 51 | * @param[in] nRows number of rows in the matrix. 52 | * @param[in] nColumns number of columns in the matrix. 53 | * @param[in] *pData points to the matrix data array. 54 | * @return none 55 | */ 56 | 57 | void arm_mat_init_q15( 58 | arm_matrix_instance_q15 * S, 59 | uint16_t nRows, 60 | uint16_t nColumns, 61 | q15_t * pData) 62 | { 63 | /* Assign Number of Rows */ 64 | S->numRows = nRows; 65 | 66 | /* Assign Number of Columns */ 67 | S->numCols = nColumns; 68 | 69 | /* Assign Data pointer */ 70 | S->pData = pData; 71 | } 72 | 73 | /** 74 | * @} end of MatrixInit group 75 | */ 76 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/Include/arm_common_tables.h: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 11. November 2010 5 | * $Revision: V1.0.2 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_common_tables.h 9 | * 10 | * Description: This file has extern declaration for common tables like Bitreverse, reciprocal etc which are used across different functions 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3 13 | * 14 | * Version 1.0.2 2010/11/11 15 | * Documentation updated. 16 | * 17 | * Version 1.0.1 2010/10/05 18 | * Production release and review comments incorporated. 19 | * 20 | * Version 1.0.0 2010/09/20 21 | * Production release and review comments incorporated. 22 | * -------------------------------------------------------------------- */ 23 | 24 | #ifndef _ARM_COMMON_TABLES_H 25 | #define _ARM_COMMON_TABLES_H 26 | 27 | #include "arm_math.h" 28 | 29 | extern uint16_t armBitRevTable[256]; 30 | extern q15_t armRecipTableQ15[64]; 31 | extern q31_t armRecipTableQ31[64]; 32 | extern const q31_t realCoefAQ31[1024]; 33 | extern const q31_t realCoefBQ31[1024]; 34 | 35 | #endif /* ARM_COMMON_TABLES_H */ 36 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM0l_math.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM0l_math.a -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM3l_math.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM3l_math.a -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM4l_math.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM4l_math.a -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM4lf_math.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM4lf_math.a -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/README.txt: -------------------------------------------------------------------------------- 1 | * ------------------------------------------------------------------- 2 | * Copyright (C) 2011 ARM Limited. All rights reserved. 3 | * 4 | * Date: 25 July 2011 5 | * Revision: V2.10 6 | * 7 | * Project: Cortex Microcontroller Software Interface Standard (CMSIS) 8 | * Title: Release Note for CMSIS 9 | * 10 | * ------------------------------------------------------------------- 11 | 12 | 13 | NOTE - Open the index.html file to access CMSIS documentation 14 | 15 | 16 | The Cortex Microcontroller Software Interface Standard (CMSIS) provides a single standard across all 17 | Cortex-Mx processor series vendors. It enables code re-use and code sharing across software projects 18 | and reduces time-to-market for new embedded applications. 19 | 20 | CMSIS is released under the terms of the end user license agreement ("CMSIS END USER LICENCE AGREEMENT.pdf"). 21 | Any user of the software package is bound to the terms and conditions of the end user license agreement. 22 | 23 | 24 | You will find the following sub-directories: 25 | 26 | Documentation - Contains CMSIS documentation. 27 | 28 | DSP_Lib - MDK project files, Examples and source files etc.. to build the 29 | CMSIS DSP Software Library for Cortex-M0, Cortex-M3, Cortex-M4 processors. 30 | 31 | Include - CMSIS Core Support and CMSIS DSP Include Files. 32 | 33 | Lib - CMSIS DSP Binaries 34 | --- -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/CMSIS/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/system/CMSIS/CMSIS/index.htm -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/include/instance/instance_gpbr.h: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | #ifndef _SAM3XA_GPBR_INSTANCE_ 31 | #define _SAM3XA_GPBR_INSTANCE_ 32 | 33 | /* ========== Register definition for GPBR peripheral ========== */ 34 | #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 35 | #define REG_GPBR_GPBR (0x400E1A90U) /**< \brief (GPBR) General Purpose Backup Register */ 36 | #else 37 | #define REG_GPBR_GPBR (*(RwReg*)0x400E1A90U) /**< \brief (GPBR) General Purpose Backup Register */ 38 | #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */ 39 | 40 | #endif /* _SAM3XA_GPBR_INSTANCE_ */ 41 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/include/sam3xa.h: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | #ifndef _SAM3XA_ 31 | #define _SAM3XA_ 32 | 33 | #if defined __SAM3A4C__ 34 | #include "sam3a4c.h" 35 | #elif defined __SAM3A8C__ 36 | #include "sam3a8c.h" 37 | #elif defined __SAM3X4C__ 38 | #include "sam3x4c.h" 39 | #elif defined __SAM3X4E__ 40 | #include "sam3x4e.h" 41 | #elif defined __SAM3X8C__ 42 | #include "sam3x8c.h" 43 | #elif defined __SAM3X8E__ 44 | #include "sam3x8e.h" 45 | #elif defined __SAM3X8H__ 46 | #include "sam3x8h.h" 47 | #else 48 | #error Library does not support the specified device. 49 | #endif 50 | 51 | #endif /* _SAM3XA_ */ 52 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/include/system_sam3xa.h: -------------------------------------------------------------------------------- 1 | /*! \file ********************************************************************* 2 | * 3 | * \brief CMSIS Cortex-M# Device Peripheral Access Layer Header File 4 | * for SAM3 devices. 5 | * 6 | * $asf_license$ 7 | * 8 | * \par Purpose 9 | * 10 | * This file provides basic support for Cortex-M processor based 11 | * microcontrollers. 12 | * 13 | * \author Atmel Corporation: http://www.atmel.com \n 14 | * Support and FAQ: http://support.atmel.no/ 15 | * 16 | ******************************************************************************/ 17 | 18 | #ifndef SYSTEM_SAM3X_H_INCLUDED 19 | #define SYSTEM_SAM3X_H_INCLUDED 20 | 21 | /* @cond 0 */ 22 | /**INDENT-OFF**/ 23 | #ifdef __cplusplus 24 | extern "C" { 25 | #endif 26 | /**INDENT-ON**/ 27 | /* @endcond */ 28 | 29 | #include 30 | 31 | extern uint32_t SystemCoreClock; /* System Clock Frequency (Core Clock) */ 32 | 33 | /** 34 | * @brief Setup the microcontroller system. 35 | * Initialize the System and update the SystemCoreClock variable. 36 | */ 37 | void SystemInit(void); 38 | 39 | /** 40 | * @brief Updates the SystemCoreClock with current core Clock 41 | * retrieved from cpu registers. 42 | */ 43 | void SystemCoreClockUpdate(void); 44 | 45 | /** 46 | * Initialize flash. 47 | */ 48 | void system_init_flash(uint32_t dw_clk); 49 | 50 | /* @cond 0 */ 51 | /**INDENT-OFF**/ 52 | #ifdef __cplusplus 53 | } 54 | #endif 55 | /**INDENT-ON**/ 56 | /* @endcond */ 57 | 58 | #endif /* SYSTEM_SAM3X_H_INCLUDED */ 59 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3a4_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 31 | OUTPUT_ARCH(arm) 32 | SEARCH_DIR(.) 33 | 34 | /* Memory Spaces Definitions */ 35 | MEMORY 36 | { 37 | rom (rx) : ORIGIN = 0x00080000, LENGTH = 0x00080000 /* Flash, 512K */ 38 | sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008000 /* sram0, 32K */ 39 | sram1 (rwx) : ORIGIN = 0x20080000, LENGTH = 0x00008000 /* sram1, 32K */ 40 | ram (rwx) : ORIGIN = 0x20078000, LENGTH = 0x00010000 /* sram, 64K */ 41 | } 42 | 43 | /* The stack size used by the application. NOTE: you need to adjust */ 44 | STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x2000 ; 45 | 46 | INCLUDE sam3a_sram.ld 47 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3a4c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3a4c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3a8_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 31 | OUTPUT_ARCH(arm) 32 | SEARCH_DIR(.) 33 | 34 | /* Memory Spaces Definitions */ 35 | MEMORY 36 | { 37 | rom (rx) : ORIGIN = 0x00080000, LENGTH = 0x00080000 /* Flash, 512K */ 38 | sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00010000 /* sram0, 64K */ 39 | sram1 (rwx) : ORIGIN = 0x20080000, LENGTH = 0x00008000 /* sram1, 32K */ 40 | ram (rwx) : ORIGIN = 0x20070000, LENGTH = 0x00018000 /* sram, 96K */ 41 | } 42 | 43 | /* The stack size used by the application. NOTE: you need to adjust */ 44 | STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x2000 ; 45 | 46 | INCLUDE sam3a_sram.ld 47 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3a8c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3a8c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x4_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 31 | OUTPUT_ARCH(arm) 32 | SEARCH_DIR(.) 33 | 34 | /* Memory Spaces Definitions */ 35 | MEMORY 36 | { 37 | rom (rx) : ORIGIN = 0x00080000, LENGTH = 0x00080000 /* Flash, 512K */ 38 | sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008000 /* sram0, 32K */ 39 | sram1 (rwx) : ORIGIN = 0x20080000, LENGTH = 0x00008000 /* sram1, 32K */ 40 | ram (rwx) : ORIGIN = 0x20078000, LENGTH = 0x00010000 /* sram, 64K */ 41 | } 42 | 43 | /* The stack size used by the application. NOTE: you need to adjust */ 44 | STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x2000 ; 45 | 46 | INCLUDE sam3x_sram.ld 47 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x4c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x4c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x4e_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x4e_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x8_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 31 | OUTPUT_ARCH(arm) 32 | SEARCH_DIR(.) 33 | 34 | /* Memory Spaces Definitions */ 35 | MEMORY 36 | { 37 | rom (rx) : ORIGIN = 0x00080000, LENGTH = 0x00080000 /* Flash, 512K */ 38 | sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00010000 /* sram0, 64K */ 39 | sram1 (rwx) : ORIGIN = 0x20080000, LENGTH = 0x00008000 /* sram1, 32K */ 40 | ram (rwx) : ORIGIN = 0x20070000, LENGTH = 0x00018000 /* sram, 96K */ 41 | } 42 | 43 | /* The stack size used by the application. NOTE: you need to adjust */ 44 | STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x2000 ; 45 | 46 | INCLUDE sam3x_sram.ld 47 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x8c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x8c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x8e_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x8e_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x8h_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/as_gcc/sam3x8h_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3a4_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 31 | OUTPUT_ARCH(arm) 32 | SEARCH_DIR(.) 33 | 34 | /* Memory Spaces Definitions */ 35 | MEMORY 36 | { 37 | rom (rx) : ORIGIN = 0x00080000, LENGTH = 0x00080000 /* Flash, 512K */ 38 | sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008000 /* sram0, 32K */ 39 | sram1 (rwx) : ORIGIN = 0x20080000, LENGTH = 0x00008000 /* sram1, 32K */ 40 | ram (rwx) : ORIGIN = 0x20078000, LENGTH = 0x00010000 /* sram, 64K */ 41 | } 42 | 43 | /* The stack size used by the application. NOTE: you need to adjust */ 44 | STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x2000 ; 45 | 46 | INCLUDE sam3a_flash.ld 47 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3a4_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 31 | OUTPUT_ARCH(arm) 32 | SEARCH_DIR(.) 33 | 34 | /* Memory Spaces Definitions */ 35 | MEMORY 36 | { 37 | rom (rx) : ORIGIN = 0x00080000, LENGTH = 0x00080000 /* Flash, 512K */ 38 | sram0 (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008000 /* sram0, 32K */ 39 | sram1 (rwx) : ORIGIN = 0x20080000, LENGTH = 0x00008000 /* sram1, 32K */ 40 | ram (rwx) : ORIGIN = 0x20078000, LENGTH = 0x00010000 /* sram, 64K */ 41 | } 42 | 43 | /* The stack size used by the application. NOTE: you need to adjust */ 44 | STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x2000 ; 45 | 46 | INCLUDE sam3a_sram.ld 47 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3a4c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3a4c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3a8c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3a8c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x4c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x4c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x4e_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x4e_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x8c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x8c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x8e_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x8e_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x8h_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc/sam3x8h_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3a4c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3a4c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3a8c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3a8c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x4c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x4c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x4e_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x4e_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x8c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x8c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x8e_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x8e_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x8h_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_arm/sam3x8h_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3a4c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3a4c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3a8c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3a8c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3a8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x4c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x4c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x4e_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x4e_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x4_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x8c_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x8c_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x8e_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x8e_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x8h_flash.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_flash.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Device/ATMEL/sam3xa/source/gcc_atmel/sam3x8h_sram.ld: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | INCLUDE sam3x8_sram.ld 31 | -------------------------------------------------------------------------------- /sam/1.0.5/system/CMSIS/Version 2.10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/system/CMSIS/Version 2.10 -------------------------------------------------------------------------------- /sam/1.0.5/system/libsam/build_gcc/.gitignore: -------------------------------------------------------------------------------- 1 | release_sam3a4c/ 2 | -------------------------------------------------------------------------------- /sam/1.0.5/system/libsam/build_gcc/debug.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011 Arduino. All right reserved. 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Lesser General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2.1 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | # See the GNU Lesser General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Lesser General Public 15 | # License along with this library; if not, write to the Free Software 16 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | # 18 | 19 | # Optimization level 20 | # -O1 Optimize 21 | # -O2 Optimize even more 22 | # -O3 Optimize yet more 23 | # -O0 Reduce compilation time and make debugging produce the expected results 24 | # -Os Optimize for size 25 | OPTIMIZATION = -g -O0 -DDEBUG 26 | -------------------------------------------------------------------------------- /sam/1.0.5/system/libsam/build_gcc/release.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011 Arduino. All right reserved. 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Lesser General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2.1 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | # See the GNU Lesser General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Lesser General Public 15 | # License along with this library; if not, write to the Free Software 16 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | # 18 | 19 | # Optimization level 20 | # -O1 Optimize 21 | # -O2 Optimize even more 22 | # -O3 Optimize yet more 23 | # -O0 Reduce compilation time and make debugging produce the expected results 24 | # -Os Optimize for size 25 | OPTIMIZATION = -Os 26 | -------------------------------------------------------------------------------- /sam/1.0.5/system/libsam/include/udp.h: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2011-2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | #ifndef UDPHS_H_INCLUDED 31 | #define UDPHS_H_INCLUDED 32 | 33 | #endif /* UDPHS_H_INCLUDED */ 34 | -------------------------------------------------------------------------------- /sam/1.0.5/system/libsam/readme.txt: -------------------------------------------------------------------------------- 1 | Makefile into build_gcc folder build the SAM peripheral library and put it into ../../../cores/sam Arduino API folder 2 | 3 | /* 4 | %atmel_license% 5 | */ 6 | = 7 | /* ---------------------------------------------------------------------------- 8 | * SAM Software Package License 9 | * ---------------------------------------------------------------------------- 10 | * Copyright (c) 2010, Atmel Corporation 11 | * 12 | * All rights reserved. 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions are met: 16 | * 17 | * - Redistributions of source code must retain the above copyright notice, 18 | * this list of conditions and the disclaimer below. 19 | * 20 | * Atmel's name may not be used to endorse or promote products derived from 21 | * this software without specific prior written permission. 22 | * 23 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 24 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 25 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 26 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 27 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 28 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 29 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 30 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 31 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 32 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 | * ---------------------------------------------------------------------------- 34 | -------------------------------------------------------------------------------- /sam/1.0.5/system/libsam/source/interrupt_sam_nvic.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2011-2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | #include "interrupt_sam_nvic.h" 31 | 32 | //! Global NVIC interrupt enable status (by default it's enabled) 33 | int g_interrupt_enabled = 1; 34 | -------------------------------------------------------------------------------- /sam/1.0.5/system/libsam/source/udp.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2011-2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | #include "chip.h" 31 | 32 | #if SAM3S_SERIES || SAM4S_SERIES 33 | 34 | #include "USB_device.h" 35 | #include "udp.h" 36 | 37 | 38 | #endif /* SAM3S_SERIES || SAM4S_SERIES */ 39 | -------------------------------------------------------------------------------- /sam/1.0.5/system/libsam/source/uotghs.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * SAM Software Package License 3 | * ---------------------------------------------------------------------------- 4 | * Copyright (c) 2011-2012, Atmel Corporation 5 | * 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following condition is met: 10 | * 11 | * - Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the disclaimer below. 13 | * 14 | * Atmel's name may not be used to endorse or promote products derived from 15 | * this software without specific prior written permission. 16 | * 17 | * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 20 | * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 23 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * ---------------------------------------------------------------------------- 28 | */ 29 | 30 | #include "chip.h" 31 | 32 | #if SAM3XA_SERIES 33 | 34 | void (*gpf_isr)(void) = (0UL); 35 | 36 | void UOTGHS_Handler( void ) 37 | { 38 | if (gpf_isr) 39 | gpf_isr(); 40 | } 41 | 42 | #endif /* SAM3XA_SERIES */ 43 | -------------------------------------------------------------------------------- /sam/1.0.5/variants/geolink_opentracker/build.sh: -------------------------------------------------------------------------------- 1 | # Use with MSYS prompt 2 | export ARM_GCC_TOOLCHAIN=$LOCALAPPDATA/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin 3 | 4 | # build libsam 5 | cd ../../system/libsam/build_gcc/ 6 | mingw32-make 7 | 8 | # test build variant 9 | cd ../../../variants/geolink_opentracker/build_gcc/ 10 | mingw32-make 11 | -------------------------------------------------------------------------------- /sam/1.0.5/variants/geolink_opentracker/build_gcc/.gitignore: -------------------------------------------------------------------------------- 1 | debug_geolink_opentracker/ 2 | -------------------------------------------------------------------------------- /sam/1.0.5/variants/geolink_opentracker/build_gcc/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011 Arduino. All right reserved. 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Lesser General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2.1 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | # See the GNU Lesser General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Lesser General Public 15 | # License along with this library; if not, write to the Free Software 16 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | # 18 | 19 | SUBMAKE_OPTIONS=--no-builtin-rules --no-builtin-variables --no-print-directory 20 | 21 | #------------------------------------------------------------------------------- 22 | # Rules 23 | #------------------------------------------------------------------------------- 24 | 25 | all: geolink_opentracker 26 | 27 | .PHONY: geolink_opentracker 28 | geolink_opentracker: 29 | @echo ------------------------------------------------------------------------------------ 30 | @echo --- Making variant geolink_opentracker 31 | @$(MAKE) DEBUG=1 $(SUBMAKE_OPTIONS) -f libvariant_geolink_opentracker.mk 32 | # @$(MAKE) $(SUBMAKE_OPTIONS) -f libvariant_geolink_opentracker.mk 33 | @echo ------------------------------------------------------------------------------------ 34 | 35 | .PHONY: clean 36 | clean: 37 | @echo ------------------------------------------------------------------------------------ 38 | @echo --- Cleaning variant geolink_opentracker 39 | @$(MAKE) DEBUG=1 $(SUBMAKE_OPTIONS) -f libvariant_geolink_opentracker.mk $@ 40 | # @$(MAKE) $(SUBMAKE_OPTIONS) -f libvariant_geolink_opentracker.mk $@ 41 | @echo ------------------------------------------------------------------------------------ 42 | 43 | -------------------------------------------------------------------------------- /sam/1.0.5/variants/geolink_opentracker/build_gcc/debug.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011 Arduino. All right reserved. 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Lesser General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2.1 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | # See the GNU Lesser General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Lesser General Public 15 | # License along with this library; if not, write to the Free Software 16 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | # 18 | 19 | # Optimization level 20 | # -O1 Optimize 21 | # -O2 Optimize even more 22 | # -O3 Optimize yet more 23 | # -O0 Reduce compilation time and make debugging produce the expected results 24 | # -Os Optimize for size 25 | OPTIMIZATION = -g -O0 -DDEBUG 26 | -------------------------------------------------------------------------------- /sam/1.0.5/variants/geolink_opentracker/build_gcc/release.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011 Arduino. All right reserved. 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Lesser General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2.1 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | # See the GNU Lesser General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Lesser General Public 15 | # License along with this library; if not, write to the Free Software 16 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | # 18 | 19 | # Optimization level 20 | # -O1 Optimize 21 | # -O2 Optimize even more 22 | # -O3 Optimize yet more 23 | # -O0 Reduce compilation time and make debugging produce the expected results 24 | # -Os Optimize for size 25 | OPTIMIZATION = -Os 26 | -------------------------------------------------------------------------------- /sam/1.0.5/variants/geolink_opentracker/clean.sh: -------------------------------------------------------------------------------- 1 | # Use with MSYS prompt 2 | export ARM_GCC_TOOLCHAIN=$LOCALAPPDATA/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin 3 | 4 | # build libsam 5 | cd ../../system/libsam/build_gcc/ 6 | mingw32-make clean 7 | 8 | # test build variant 9 | cd ../../../variants/geolink_opentracker/build_gcc/ 10 | mingw32-make clean 11 | -------------------------------------------------------------------------------- /sam/1.0.5/variants/geolink_opentracker/libsam_sam3a4c_gcc_rel.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/sam/1.0.5/variants/geolink_opentracker/libsam_sam3a4c_gcc_rel.a -------------------------------------------------------------------------------- /sam/1.0.5/variants/geolink_opentracker/pins_arduino.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011 Arduino. All right reserved. 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Lesser General Public 6 | License as published by the Free Software Foundation; either 7 | version 2.1 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | See the GNU Lesser General Public License for more details. 13 | 14 | You should have received a copy of the GNU Lesser General Public 15 | License along with this library; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | // API compatibility 20 | #include "variant.h" 21 | 22 | --------------------------------------------------------------------------------