From d1f80fe9c590244f9d1b03fad6a36087460376cc Mon Sep 17 00:00:00 2001 From: steve-chamberlin Date: Mon, 25 Apr 2016 13:48:59 -0700 Subject: [PATCH] Added AVR Studio project file for SIMM Programmer firmware --- SIMMProgrammer-AVRStudio.atsln | 20 ++++ SIMMProgrammer-AVRStudio.cproj | 172 +++++++++++++++++++++++++++++++++ 2 files changed, 192 insertions(+) create mode 100644 SIMMProgrammer-AVRStudio.atsln create mode 100644 SIMMProgrammer-AVRStudio.cproj diff --git a/SIMMProgrammer-AVRStudio.atsln b/SIMMProgrammer-AVRStudio.atsln new file mode 100644 index 0000000..63dd9e5 --- /dev/null +++ b/SIMMProgrammer-AVRStudio.atsln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# AvrStudio Solution File, Format Version 11.00 +Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "SIMMProgrammer-AVRStudio", "SIMMProgrammer-AVRStudio.cproj", "{A831F317-AB11-4E59-8FCF-0E48824CE1BA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|AVR = Debug|AVR + Release|AVR = Release|AVR + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A831F317-AB11-4E59-8FCF-0E48824CE1BA}.Debug|AVR.ActiveCfg = Debug|AVR + {A831F317-AB11-4E59-8FCF-0E48824CE1BA}.Debug|AVR.Build.0 = Debug|AVR + {A831F317-AB11-4E59-8FCF-0E48824CE1BA}.Release|AVR.ActiveCfg = Release|AVR + {A831F317-AB11-4E59-8FCF-0E48824CE1BA}.Release|AVR.Build.0 = Release|AVR + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SIMMProgrammer-AVRStudio.cproj b/SIMMProgrammer-AVRStudio.cproj new file mode 100644 index 0000000..32181e3 --- /dev/null +++ b/SIMMProgrammer-AVRStudio.cproj @@ -0,0 +1,172 @@ + + + + 2.0 + 5.1 + com.Atmel.AVRGCC8 + {a831f317-ab11-4e59-8fcf-0e48824ce1ba} + AT90USB646 + none + Executable + C + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + programmer-firmware + SIMMProgrammer-AVRStudio + programmer-firmware + Native + 2.11.1 + + + + + True + True + + + USB_DEVICE_ONLY + F_USB=16000000 + DEVICE_STATE_AS_GPIOR=0 + ORDERED_EP_CONFIG + FIXED_CONTROL_ENDPOINT_SIZE=8 + FIXED_NUM_CONFIGURATIONS=1 + USE_FLASH_DESCRIPTORS + USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" + F_CPU=16000000 + + + Optimize for size (-Os) + True + True + True + True + True + + + m + + + True + + + "$(AVRSTUDIO_EXE_PATH)\extensions\Atmel\AVRGCC\3.3.1.27\AVRToolchain\bin\avr-objcopy" -R .eeprom -R .fuse -R .lock -R .signature -O binary $(OutputFileName)$(OutputFileExtension) $(OutputFileName).bin + + + + + True + True + + + USB_DEVICE_ONLY + F_USB=16000000 + DEVICE_STATE_AS_GPIOR=0 + ORDERED_EP_CONFIG + FIXED_CONTROL_ENDPOINT_SIZE=8 + FIXED_NUM_CONFIGURATIONS=1 + USE_FLASH_DESCRIPTORS + USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" + F_CPU=16000000 + + + Optimize (-O1) + True + True + Default (-g2) + True + + + m + + + Default (-g2) + + + "$(AVRSTUDIO_EXE_PATH)\extensions\Atmel\AVRGCC\3.3.1.27\AVRToolchain\bin\avr-objcopy" -R .eeprom -R .fuse -R .lock -R .signature -O binary $(OutputFileName)$(OutputFileExtension) $(OutputFileName).bin + + + + compile + + + compile + + + compile + + + compile + + + compile + + + compile + + + compile + + + compile + + + compile + + + compile + + + compile + + + compile + usb_serial.c + + + compile + usb_serial.h + + + compile + simm_electrical_test.c + + + compile + simm_electrical_test.h + + + compile + CDCClassDevice.c + + + compile + USBTask.c + + + compile + Events.c + + + compile + DeviceStandardReq.c + + + compile + USBController_AVR8.c + + + compile + USBInterrupt_AVR8.c + + + compile + Endpoint_AVR8.c + + + compile + EndpointStream_AVR8.c + + + + \ No newline at end of file