diff --git a/optiboot/AS7/AS7-README.TXT b/optiboot/AS7/AS7-README.TXT new file mode 100644 index 0000000..91f34f2 --- /dev/null +++ b/optiboot/AS7/AS7-README.TXT @@ -0,0 +1,53 @@ +Building Optiboot with Atmel Studio (or Microchip Studio.) + +This is made based on Atmel Studio version 7 (AS7) + +There is one "Solution" containing multiple projects, one project for each +of the common Microchip Development boards that might "want" to use +Optiboot. A big advantage of using AS7 with one of the development boards +is that it allows for debugging using the AS7 debugging features (the +development boards have built-in debug support as well.) + +Building: + +To use AS7 to build one of the Optiboot versions, open the "Optiboot.atsln" +file from Studio (or double-click on it in Explorer.) + +"Build Solution" will compile all of the projects. To build a single +project, select the desired project/board in the "Solution Explorer" and +then use "Build xxx" from the Build menu. To debug, right-click on the +project and select "Set as StartUp Project" before using "Start Debugging +and Break" from the DEBUG menu. You may need to change he Debug "Tool" +setting in the Project Properties as well (my experience is that if you have +an actual hardware tool plugged in, AS will automatically offer it for +selection.) + + +How things work: + +All of the AS projects are built using an "external makefile", so they're +not "real" AS projects in the sense that you could change toolchain settings +and have them take effect. In theory, this means that you can add +additional projects to support any of the other targets supported by the +Optiboot Makefiles. In reality, there is an unknown problem with recursive +makes, so that you have to (for example) build the curiosity4809 board as + make -f Makefile.mega0 optiboot_atmega4809.hex UARTTX=B0 LED=F5 ... +instead of + makef Makefile.mega0 curiosity4809 + +The Project should be set for the correct Device, the "Build" Panel should +point to the .../bootloaders/optiboot/Makefile (or Makefile.mega0 for mega-0 +anx xTiny chips.) + +The "Build Commandline" should contain the makefile target, and also +PACKS="$(DEVICE_STARTUP_ROOT)" if the chip is dependent on a Pack being +installed. The "Build Events" should copy the .elf file produced by the +makefile: + copy optiboot_attiny817.elf $(MSBuildProjectName).elf + +The current Projects are all "flattened" somewhat from the directory +structure that AS would have produced, but that requires manual editing and +isn't necessary. + +For the sake of clarity, not all of the files actually used in an optiboot +build are shown as "Solution Items." diff --git a/optiboot/AS7/Optiboot.atsln b/optiboot/AS7/Optiboot.atsln new file mode 100644 index 0000000..14493e9 --- /dev/null +++ b/optiboot/AS7/Optiboot.atsln @@ -0,0 +1,68 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Atmel Studio Solution File, Format Version 11.00 +VisualStudioVersion = 14.0.23107.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Optiboot_xplained328p", "Projects\Optiboot_xplained328p.cproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3773CCBD-E79E-4D62-B530-E1CCDB09D098}" + ProjectSection(SolutionItems) = preProject + AS7-README.TXT = AS7-README.TXT + ..\bootloaders\optiboot\boot_opt.h = ..\bootloaders\optiboot\boot_opt.h + ..\bootloaders\optiboot\Makefile = ..\bootloaders\optiboot\Makefile + ..\bootloaders\optiboot\Makefile.mega0 = ..\bootloaders\optiboot\Makefile.mega0 + ..\bootloaders\optiboot\optiboot.c = ..\bootloaders\optiboot\optiboot.c + ..\bootloaders\optiboot\optiboot_x.c = ..\bootloaders\optiboot\optiboot_x.c + ..\bootloaders\optiboot\parse_options.mk = ..\bootloaders\optiboot\parse_options.mk + ..\bootloaders\optiboot\pin_defs.h = ..\bootloaders\optiboot\pin_defs.h + ..\bootloaders\optiboot\pin_defs_x.h = ..\bootloaders\optiboot\pin_defs_x.h + ..\bootloaders\optiboot\pins_rs485.h = ..\bootloaders\optiboot\pins_rs485.h + ..\bootloaders\optiboot\pins_softuart.h = ..\bootloaders\optiboot\pins_softuart.h + ..\bootloaders\optiboot\stk500.h = ..\bootloaders\optiboot\stk500.h + EndProjectSection +EndProject +Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Optiboot_xplained328pb", "Projects\Optiboot_xplained328pb.cproj", "{1FCE634C-064E-4861-B59B-3D67F19F4E73}" +EndProject +Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Optiboot_xplained168pb", "Projects\Optiboot_xplained168pb.cproj", "{4743E9BB-60C9-40C5-BE56-B3E6D46FE724}" +EndProject +Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Optiboot_Curiosity4809", "Projects\Optiboot_Curiosity4809.cproj", "{6227EE60-D2C9-4F42-A423-6FC8100D656A}" +EndProject +Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Optiboot_Xplained817", "Projects\Optiboot_Xplained817.cproj", "{0DACDF0F-4DFB-40BD-9C7A-8EB6ADD06DF8}" +EndProject +Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Optiboot_Curiosity3217", "Projects\Optiboot_Curiosity3217.cproj", "{4855869E-70EF-46C8-A56B-159D9DF9C08C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|AVR = Debug|AVR + Release|AVR = Release|AVR + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.ActiveCfg = Debug|AVR + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.Build.0 = Debug|AVR + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.ActiveCfg = Release|AVR + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.Build.0 = Release|AVR + {1FCE634C-064E-4861-B59B-3D67F19F4E73}.Debug|AVR.ActiveCfg = Debug|AVR + {1FCE634C-064E-4861-B59B-3D67F19F4E73}.Debug|AVR.Build.0 = Debug|AVR + {1FCE634C-064E-4861-B59B-3D67F19F4E73}.Release|AVR.ActiveCfg = Release|AVR + {1FCE634C-064E-4861-B59B-3D67F19F4E73}.Release|AVR.Build.0 = Release|AVR + {4743E9BB-60C9-40C5-BE56-B3E6D46FE724}.Debug|AVR.ActiveCfg = Debug|AVR + {4743E9BB-60C9-40C5-BE56-B3E6D46FE724}.Debug|AVR.Build.0 = Debug|AVR + {4743E9BB-60C9-40C5-BE56-B3E6D46FE724}.Release|AVR.ActiveCfg = Release|AVR + {4743E9BB-60C9-40C5-BE56-B3E6D46FE724}.Release|AVR.Build.0 = Release|AVR + {6227EE60-D2C9-4F42-A423-6FC8100D656A}.Debug|AVR.ActiveCfg = Debug|AVR + {6227EE60-D2C9-4F42-A423-6FC8100D656A}.Debug|AVR.Build.0 = Debug|AVR + {6227EE60-D2C9-4F42-A423-6FC8100D656A}.Release|AVR.ActiveCfg = Release|AVR + {6227EE60-D2C9-4F42-A423-6FC8100D656A}.Release|AVR.Build.0 = Release|AVR + {0DACDF0F-4DFB-40BD-9C7A-8EB6ADD06DF8}.Debug|AVR.ActiveCfg = Debug|AVR + {0DACDF0F-4DFB-40BD-9C7A-8EB6ADD06DF8}.Debug|AVR.Build.0 = Debug|AVR + {0DACDF0F-4DFB-40BD-9C7A-8EB6ADD06DF8}.Release|AVR.ActiveCfg = Release|AVR + {0DACDF0F-4DFB-40BD-9C7A-8EB6ADD06DF8}.Release|AVR.Build.0 = Release|AVR + {4855869E-70EF-46C8-A56B-159D9DF9C08C}.Debug|AVR.ActiveCfg = Debug|AVR + {4855869E-70EF-46C8-A56B-159D9DF9C08C}.Debug|AVR.Build.0 = Debug|AVR + {4855869E-70EF-46C8-A56B-159D9DF9C08C}.Release|AVR.ActiveCfg = Release|AVR + {4855869E-70EF-46C8-A56B-159D9DF9C08C}.Release|AVR.Build.0 = Release|AVR + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/optiboot/AS7/Projects/Optiboot_Curiosity3217.componentinfo.xml b/optiboot/AS7/Projects/Optiboot_Curiosity3217.componentinfo.xml new file mode 100644 index 0000000..667e5dc --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_Curiosity3217.componentinfo.xml @@ -0,0 +1,86 @@ + + + + + + + Device + Startup + + + Atmel + 1.9.0 + C:/Program Files (x86)\Atmel\Studio\7.0\Packs + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\include\ + + include + C + + + include/ + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\include\avr\iotn3217.h + + header + C + 2w4jXovAQpu2/KOPyxeSog== + + include/avr/iotn3217.h + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\templates\main.c + template + source + C Exe + izQh6mt2zs6K/tWC7AU5ww== + + templates/main.c + Main file (.c) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\templates\main.cpp + template + source + C Exe + mkKaE95TOoATsuBGv6jmxg== + + templates/main.cpp + Main file (.cpp) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\gcc\dev\attiny3217 + + libraryPrefix + GCC + + + gcc/dev/attiny3217 + + + + + ATtiny_DFP + C:/Program Files (x86)/Atmel/Studio/7.0/Packs/Atmel/ATtiny_DFP/1.9.337/Atmel.ATtiny_DFP.pdsc + 1.9.337 + true + ATtiny3217 + + + + Resolved + Fixed + true + + + \ No newline at end of file diff --git a/optiboot/AS7/Projects/Optiboot_Curiosity3217.cproj b/optiboot/AS7/Projects/Optiboot_Curiosity3217.cproj new file mode 100644 index 0000000..8f0c3f8 --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_Curiosity3217.cproj @@ -0,0 +1,134 @@ + + + + 2.0 + 7.0 + com.Atmel.AVRGCC8.C + {4855869e-70ef-46c8-a56b-159d9df9c08c} + ATtiny3217 + none + Executable + C + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + Optiboot_Curiosity3217 + Optiboot_Curiosity3217 + Optiboot_Curiosity3217 + Native + true + false + true + true + 0x20000000 + + true + exception_table + 2 + 0 + 0 + + com.atmel.avrdbg.tool.simulator + + 0x1E9522 + + + + + + + + com.atmel.avrdbg.tool.simulator + + + Simulator + + + + + + + -mmcu=attiny3217 -B "%24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\gcc\dev\attiny3217" + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\include\ + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\include\ + + + + + + + + + -mmcu=attiny3217 -B "%24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\gcc\dev\attiny3217" + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\include\ + + + Optimize debugging experience (-Og) + True + True + Default (-g2) + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\include\ + + + Default (-Wa,-g) + + + True + $(MSBuildProjectDirectory)\..\..\bootloaders\optiboot + optiboot_attiny3217.hex UARTTX=B2 TIMEOUT=8 LED=C0 BAUD_RATE=57600 PACKS="$(DEVICE_STARTUP_ROOT)" + clean + ..\..\bootloaders\optiboot\Makefile.mega0 + copy optiboot_attiny3217.elf $(MSBuildProjectName).elf + + + + \ No newline at end of file diff --git a/optiboot/AS7/Projects/Optiboot_Curiosity4809.componentinfo.xml b/optiboot/AS7/Projects/Optiboot_Curiosity4809.componentinfo.xml new file mode 100644 index 0000000..9475ba2 --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_Curiosity4809.componentinfo.xml @@ -0,0 +1,86 @@ + + + + + + + Device + Startup + + + Atmel + 1.6.0 + C:/Program Files (x86)\Atmel\Studio\7.0\Packs + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\include\ + + include + C + + + include/ + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\include\avr\iom4809.h + + header + C + E1mt3ptORaPqOFQECBLDLA== + + include/avr/iom4809.h + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\templates\main.c + template + source + C Exe + smohjrhj7sM0bCdNcE2kjQ== + + templates/main.c + Main file (.c) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\templates\main.cpp + template + source + C Exe + mkKaE95TOoATsuBGv6jmxg== + + templates/main.cpp + Main file (.cpp) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega4809 + + libraryPrefix + GCC + + + gcc/dev/atmega4809 + + + + + ATmega_DFP + C:/Program Files (x86)/Atmel/Studio/7.0/Packs/Atmel/ATmega_DFP/1.6.364/Atmel.ATmega_DFP.pdsc + 1.6.364 + true + ATmega4809 + + + + Resolved + Fixed + true + + + \ No newline at end of file diff --git a/optiboot/AS7/Projects/Optiboot_Curiosity4809.cproj b/optiboot/AS7/Projects/Optiboot_Curiosity4809.cproj new file mode 100644 index 0000000..e0f2d32 --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_Curiosity4809.cproj @@ -0,0 +1,136 @@ + + + + 2.0 + 7.0 + com.Atmel.AVRGCC8.C + {6227ee60-d2c9-4f42-a423-6fc8100d656a} + ATmega4809 + none + Executable + C + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + Curiosity4809 + Optiboot_Curiosity4809 + Curiosity4809 + Native + true + false + true + true + 0x20000000 + + true + exception_table + 2 + 0 + 0 + + com.atmel.avrdbg.tool.simulator + + 0x1E9651 + + + + + + + + com.atmel.avrdbg.tool.simulator + + + Simulator + + + + + + + -mmcu=atmega4809 -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega4809" + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + + + + + + + -mmcu=atmega4809 -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega4809" + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Optimize debugging experience (-Og) + True + True + Default (-g2) + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Default (-Wa,-g) + + + True + $(MSBuildProjectDirectory)\..\..\bootloaders\optiboot + optiboot_atmega4809.hex UARTTX=B0 LED=F5 LED_INVERT=1 TIMEOUT=8 PACKS="$(DEVICE_STARTUP_ROOT)" + clean + ..\..\bootloaders\optiboot\Makefile.mega0 + copy optiboot_atmega4809.elf $(MSBuildProjectName).elf + + + + + + \ No newline at end of file diff --git a/optiboot/AS7/Projects/Optiboot_Xplained817.componentinfo.xml b/optiboot/AS7/Projects/Optiboot_Xplained817.componentinfo.xml new file mode 100644 index 0000000..f7052bf --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_Xplained817.componentinfo.xml @@ -0,0 +1,86 @@ + + + + + + + Device + Startup + + + Atmel + 1.9.0 + C:/Program Files (x86)\Atmel\Studio\7.0\Packs + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\include\ + + include + C + + + include/ + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\include\avr\iotn817.h + + header + C + 7rUevk0MRKrAMXSkT6Lolw== + + include/avr/iotn817.h + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\templates\main.c + template + source + C Exe + +IIsFvRvmws+RJv4YACspA== + + templates/main.c + Main file (.c) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\templates\main.cpp + template + source + C Exe + mkKaE95TOoATsuBGv6jmxg== + + templates/main.cpp + Main file (.cpp) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATtiny_DFP\1.9.337\gcc\dev\attiny817 + + libraryPrefix + GCC + + + gcc/dev/attiny817 + + + + + ATtiny_DFP + C:/Program Files (x86)/Atmel/Studio/7.0/Packs/Atmel/ATtiny_DFP/1.9.337/Atmel.ATtiny_DFP.pdsc + 1.9.337 + true + ATtiny817 + + + + Resolved + Fixed + true + + + \ No newline at end of file diff --git a/optiboot/AS7/Projects/Optiboot_Xplained817.cproj b/optiboot/AS7/Projects/Optiboot_Xplained817.cproj new file mode 100644 index 0000000..2be52c3 --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_Xplained817.cproj @@ -0,0 +1,134 @@ + + + + 2.0 + 7.0 + com.Atmel.AVRGCC8.C + {0dacdf0f-4dfb-40bd-9c7a-8eb6add06df8} + ATtiny817 + none + Executable + C + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + Optiboot_Xplained817 + Optiboot_Xplained817 + Optiboot_Xplained817 + Native + true + false + true + true + 0x20000000 + + true + exception_table + 2 + 0 + 0 + + com.atmel.avrdbg.tool.simulator + + 0x1E9320 + + + + + + + + com.atmel.avrdbg.tool.simulator + + + Simulator + + + + + + + -mmcu=attiny817 -B "%24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\gcc\dev\attiny817" + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\include\ + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\include\ + + + + + + + + + -mmcu=attiny817 -B "%24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\gcc\dev\attiny817" + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\include\ + + + Optimize debugging experience (-Og) + True + True + Default (-g2) + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.9.337\include\ + + + Default (-Wa,-g) + + + True + $(MSBuildProjectDirectory)\..\..\bootloaders\optiboot + optiboot_attiny817.hex UARTTX=B2 TIMEOUT=8 LED=C0 BAUD_RATE=57600 PACKS="$(DEVICE_STARTUP_ROOT)" + clean + ..\..\bootloaders\optiboot\Makefile.mega0 + copy optiboot_attiny817.elf $(MSBuildProjectName).elf + + + + \ No newline at end of file diff --git a/optiboot/AS7/Projects/Optiboot_xplained168pb.componentinfo.xml b/optiboot/AS7/Projects/Optiboot_xplained168pb.componentinfo.xml new file mode 100644 index 0000000..3045f9c --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_xplained168pb.componentinfo.xml @@ -0,0 +1,86 @@ + + + + + + + Device + Startup + + + Atmel + 1.6.0 + C:/Program Files (x86)\Atmel\Studio\7.0\Packs + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\include\ + + include + C + + + include/ + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\include\avr\iom168pb.h + + header + C + QqKdZQWO5OdEJ/I9dQokRQ== + + include/avr/iom168pb.h + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\templates\main.c + template + source + C Exe + 7I9Q+L4k+nPjLWVpVziPaA== + + templates/main.c + Main file (.c) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\templates\main.cpp + template + source + C Exe + mkKaE95TOoATsuBGv6jmxg== + + templates/main.cpp + Main file (.cpp) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega168pb + + libraryPrefix + GCC + + + gcc/dev/atmega168pb + + + + + ATmega_DFP + C:/Program Files (x86)/Atmel/Studio/7.0/Packs/Atmel/ATmega_DFP/1.6.364/Atmel.ATmega_DFP.pdsc + 1.6.364 + true + ATmega168PB + + + + Resolved + Fixed + true + + + \ No newline at end of file diff --git a/optiboot/AS7/Projects/Optiboot_xplained168pb.cproj b/optiboot/AS7/Projects/Optiboot_xplained168pb.cproj new file mode 100644 index 0000000..debead0 --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_xplained168pb.cproj @@ -0,0 +1,144 @@ + + + + 2.0 + 7.0 + com.Atmel.AVRGCC8.C + {4743e9bb-60c9-40c5-be56-b3e6d46fe724} + ATmega168PB + none + Executable + C + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + Optiboot_xplained168pb + Optiboot_xplained168pb + Optiboot_xplained168pb + Native + true + false + true + true + 0x20000000 + + true + exception_table + 2 + 0 + 1 + + com.atmel.avrdbg.tool.medbg + ATML2222050200008424 + 0x1E9415 + + + + + + + + com.atmel.avrdbg.tool.simulator + + + Simulator + + debugWIRE + + + + + debugWIRE + + com.atmel.avrdbg.tool.medbg + ATML2222050200008424 + mEDBG + + + + + + -mmcu=atmega168pb -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega168pb" + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + + + + + + + -mmcu=atmega168pb -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega168pb" + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Optimize debugging experience (-Og) + True + True + Default (-g2) + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Default (-Wa,-g) + + + True + $(MSBuildProjectDirectory)\..\..\bootloaders\optiboot + xplained168pb + clean + ..\..\bootloaders\optiboot\Makefile + copy optiboot_atmega168.elf $(MSBuildProjectName).elf + + + + diff --git a/optiboot/AS7/Projects/Optiboot_xplained328p.componentinfo.xml b/optiboot/AS7/Projects/Optiboot_xplained328p.componentinfo.xml new file mode 100644 index 0000000..52c412d --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_xplained328p.componentinfo.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/optiboot/AS7/Projects/Optiboot_xplained328p.cproj b/optiboot/AS7/Projects/Optiboot_xplained328p.cproj new file mode 100644 index 0000000..65ddf3b --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_xplained328p.cproj @@ -0,0 +1,134 @@ + + + + 2.0 + 7.0 + com.Atmel.AVRGCC8.C + dce6c7e3-ee26-4d79-826b-08594b9ad897 + ATmega328P + none + Executable + C + $(MSBuildProjectName) + .elf + ..\..\bootloaders\optiboot + Optiboot + Optiboot_xplained328p + Optiboot + Native + true + false + true + true + 0x20000000 + + true + exception_table + 2 + 0 + 0 + + com.atmel.avrdbg.tool.simulator + + 0x1E950F + + + + + + + + com.atmel.avrdbg.tool.simulator + + + Simulator + + + + + + + -mmcu=atmega328p -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega328p" + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + + + + + + + -mmcu=atmega328p -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega328p" + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Optimize debugging experience (-Og) + True + True + Default (-g2) + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Default (-Wa,-g) + + + True + $(MSBuildProjectDirectory)\..\..\bootloaders\optiboot + xplained328p + clean + ..\..\bootloaders\optiboot\Makefile + copy optiboot_atmega328.elf $(MSBuildProjectName).elf + + + + diff --git a/optiboot/AS7/Projects/Optiboot_xplained328pb.componentinfo.xml b/optiboot/AS7/Projects/Optiboot_xplained328pb.componentinfo.xml new file mode 100644 index 0000000..86eb089 --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_xplained328pb.componentinfo.xml @@ -0,0 +1,86 @@ + + + + + + + Device + Startup + + + Atmel + 1.6.0 + C:/Program Files (x86)\Atmel\Studio\7.0\Packs + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\include\ + + include + C + + + include/ + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\include\avr\iom328pb.h + + header + C + G+eVwKFAkNNs30Jr6aGylg== + + include/avr/iom328pb.h + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\templates\main.c + template + source + C Exe + A2aesY99x/dOHbRIdMDQKg== + + templates/main.c + Main file (.c) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\templates\main.cpp + template + source + C Exe + mkKaE95TOoATsuBGv6jmxg== + + templates/main.cpp + Main file (.cpp) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega328pb + + libraryPrefix + GCC + + + gcc/dev/atmega328pb + + + + + ATmega_DFP + C:/Program Files (x86)/Atmel/Studio/7.0/Packs/Atmel/ATmega_DFP/1.6.364/Atmel.ATmega_DFP.pdsc + 1.6.364 + true + ATmega328PB + + + + Resolved + Fixed + true + + + \ No newline at end of file diff --git a/optiboot/AS7/Projects/Optiboot_xplained328pb.cproj b/optiboot/AS7/Projects/Optiboot_xplained328pb.cproj new file mode 100644 index 0000000..986897a --- /dev/null +++ b/optiboot/AS7/Projects/Optiboot_xplained328pb.cproj @@ -0,0 +1,134 @@ + + + + 2.0 + 7.0 + com.Atmel.AVRGCC8.C + {1fce634c-064e-4861-b59b-3d67f19f4e73} + ATmega328PB + none + Executable + C + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + Optiboot_xplained328pb + Optiboot_xplained328pb + Optiboot_xplained328pb + Native + true + false + true + true + 0x20000000 + + true + exception_table + 2 + 0 + 0 + + com.atmel.avrdbg.tool.simulator + + 0x1E9516 + + + + + + + + com.atmel.avrdbg.tool.simulator + + + Simulator + + + + + + + -mmcu=atmega328pb -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega328pb" + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + + + + + + + -mmcu=atmega328pb -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\gcc\dev\atmega328pb" + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Optimize debugging experience (-Og) + True + True + Default (-g2) + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.6.364\include\ + + + Default (-Wa,-g) + + + True + $(MSBuildProjectDirectory)\..\..\bootloaders\optiboot + xplained328pb + clean + ..\..\bootloaders\optiboot\Makefile + copy optiboot_atmega328.elf $(MSBuildProjectName).elf + + + +