-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the Starter Kit for the current Harp implementation.
- Loading branch information
Showing
19 changed files
with
1,364 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
| ||
Microsoft Visual Studio Solution File, Format Version 11.00 | ||
# Atmel Studio Solution File, Format Version 11.00 | ||
Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Device", "StarterKit\Device.cproj", "{D4CC7258-F73C-4625-A4DA-7BA2E029F314}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|AVR = Debug|AVR | ||
Release|AVR = Release|AVR | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{D4CC7258-F73C-4625-A4DA-7BA2E029F314}.Debug|AVR.ActiveCfg = Debug|AVR | ||
{D4CC7258-F73C-4625-A4DA-7BA2E029F314}.Debug|AVR.Build.0 = Debug|AVR | ||
{D4CC7258-F73C-4625-A4DA-7BA2E029F314}.Release|AVR.ActiveCfg = Release|AVR | ||
{D4CC7258-F73C-4625-A4DA-7BA2E029F314}.Release|AVR.Build.0 = Release|AVR | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
SHELL := cmd.exe | ||
RM := rm -rf | ||
|
||
USER_OBJS := | ||
|
||
LIBS := | ||
PROJ := | ||
|
||
O_SRCS := | ||
C_SRCS := | ||
S_SRCS := | ||
S_UPPER_SRCS := | ||
OBJ_SRCS := | ||
ASM_SRCS := | ||
PREPROCESSING_SRCS := | ||
OBJS := | ||
OBJS_AS_ARGS := | ||
C_DEPS := | ||
C_DEPS_AS_ARGS := | ||
EXECUTABLES := | ||
OUTPUT_FILE_PATH := | ||
OUTPUT_FILE_PATH_AS_ARGS := | ||
AVR_APP_PATH :=$$$AVR_APP_PATH$$$ | ||
QUOTE := " | ||
ADDITIONAL_DEPENDENCIES:= | ||
OUTPUT_FILE_DEP:= | ||
LIB_DEP:= | ||
LINKER_SCRIPT_DEP:= | ||
|
||
# Every subdirectory with source files must be described here | ||
SUBDIRS := | ||
|
||
|
||
# Add inputs and outputs from these tool invocations to the build variables | ||
C_SRCS += \ | ||
../app.c \ | ||
../app_funcs.c \ | ||
../app_ios_and_regs.c \ | ||
../interrupts.c \ | ||
../main.c | ||
|
||
|
||
PREPROCESSING_SRCS += | ||
|
||
|
||
ASM_SRCS += | ||
|
||
|
||
OBJS += \ | ||
app.o \ | ||
app_funcs.o \ | ||
app_ios_and_regs.o \ | ||
interrupts.o \ | ||
main.o | ||
|
||
OBJS_AS_ARGS += \ | ||
app.o \ | ||
app_funcs.o \ | ||
app_ios_and_regs.o \ | ||
interrupts.o \ | ||
main.o | ||
|
||
C_DEPS += \ | ||
app.d \ | ||
app_funcs.d \ | ||
app_ios_and_regs.d \ | ||
interrupts.d \ | ||
main.d | ||
|
||
C_DEPS_AS_ARGS += \ | ||
app.d \ | ||
app_funcs.d \ | ||
app_ios_and_regs.d \ | ||
interrupts.d \ | ||
main.d | ||
|
||
OUTPUT_FILE_PATH +=Device.elf | ||
|
||
OUTPUT_FILE_PATH_AS_ARGS +=Device.elf | ||
|
||
ADDITIONAL_DEPENDENCIES:= | ||
|
||
OUTPUT_FILE_DEP:= ./makedep.mk | ||
|
||
LIB_DEP+= \ | ||
C:/Users/Filipe\ Carvalho/Documents/BitBucket.FilCarvalho/Harp/Corelibrary.Atxmega/DeviceStarterKit\ -\ Copy_/StarterKit/libATxmega128A1U-1.6.a | ||
|
||
LINKER_SCRIPT_DEP+= | ||
|
||
|
||
# AVR32/GNU C Compiler | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
./%.o: .././%.c | ||
@echo Building file: $< | ||
@echo Invoking: AVR/GNU C Compiler : 4.8.1 | ||
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1061\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -x c -funsigned-char -funsigned-bitfields -DDEBUG -O3 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -g2 -Wall -mmcu=atxmega128a1u -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<" | ||
@echo Finished building: $< | ||
|
||
|
||
|
||
|
||
# AVR32/GNU Preprocessing Assembler | ||
|
||
|
||
|
||
# AVR32/GNU Assembler | ||
|
||
|
||
|
||
|
||
ifneq ($(MAKECMDGOALS),clean) | ||
ifneq ($(strip $(C_DEPS)),) | ||
-include $(C_DEPS) | ||
endif | ||
endif | ||
|
||
# Add inputs and outputs from these tool invocations to the build variables | ||
|
||
# All Target | ||
all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES) | ||
|
||
$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP) $(LINKER_SCRIPT_DEP) | ||
@echo Building target: $@ | ||
@echo Invoking: AVR/GNU Linker : 4.8.1 | ||
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1061\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -Wl,-Map="Device.map" -Wl,--start-group -Wl,-lm -Wl,-lATxmega128A1U-1.6 -Wl,--end-group -Wl,-L"C:\Users\Filipe Carvalho\Documents\BitBucket.FilCarvalho\Harp\Corelibrary.Atxmega\DeviceStarterKit_Filipe\StarterKit" -Wl,-L"C:\Users\FILIPE~1\DOCUME~1\BITBUC~1.FIL\Harp\CORELI~1.ATX\DEVICE~2\STARTE~1" -Wl,-L"C:\Users\FILIPE~1\DOCUME~1\BITBUC~1.FIL\Harp\CORELI~1.ATX\DEVICE~1\STARTE~1" -Wl,--gc-sections -mrelax -mmcu=atxmega128a1u | ||
@echo Finished building target: $@ | ||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1061\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "Device.elf" "Device.hex" | ||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1061\avr8-gnu-toolchain\bin\avr-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex "Device.elf" "Device.eep" || exit 0 | ||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1061\avr8-gnu-toolchain\bin\avr-objdump.exe" -h -S "Device.elf" > "Device.lss" | ||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1061\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "Device.elf" "Device.srec" | ||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1061\avr8-gnu-toolchain\bin\avr-size.exe" "Device.elf" | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
# Other Targets | ||
clean: | ||
-$(RM) $(OBJS_AS_ARGS) $(EXECUTABLES) | ||
-$(RM) $(C_DEPS_AS_ARGS) | ||
rm -rf "Device.elf" "Device.a" "Device.hex" "Device.lss" "Device.eep" "Device.map" "Device.srec" "Device.usersignatures" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit or delete the file | ||
################################################################################ | ||
|
||
app.c | ||
|
||
app_funcs.c | ||
|
||
app_ios_and_regs.c | ||
|
||
interrupts.c | ||
|
||
main.c | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectVersion>6.2</ProjectVersion> | ||
<ToolchainName>com.Atmel.AVRGCC8.C</ToolchainName> | ||
<ProjectGuid>{d4cc7258-f73c-4625-a4da-7ba2e029f314}</ProjectGuid> | ||
<avrdevice>ATxmega128A1U</avrdevice> | ||
<avrdeviceseries>none</avrdeviceseries> | ||
<OutputType>Executable</OutputType> | ||
<Language>C</Language> | ||
<OutputFileName>$(MSBuildProjectName)</OutputFileName> | ||
<OutputFileExtension>.elf</OutputFileExtension> | ||
<OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory> | ||
<AssemblyName>StarterKit</AssemblyName> | ||
<Name>Device</Name> | ||
<RootNamespace>StarterKit</RootNamespace> | ||
<ToolchainFlavour>Native</ToolchainFlavour> | ||
<KeepTimersRunning>true</KeepTimersRunning> | ||
<OverrideVtor>false</OverrideVtor> | ||
<CacheFlash>true</CacheFlash> | ||
<ProgFlashFromRam>true</ProgFlashFromRam> | ||
<RamSnippetAddress /> | ||
<UncachedRange /> | ||
<preserveEEPROM>true</preserveEEPROM> | ||
<OverrideVtorValue /> | ||
<BootSegment>2</BootSegment> | ||
<eraseonlaunchrule>1</eraseonlaunchrule> | ||
<AsfFrameworkConfig> | ||
<framework-data xmlns=""> | ||
<options /> | ||
<configurations /> | ||
<files /> | ||
<documentation help="" /> | ||
<offline-documentation help="" /> | ||
<dependencies> | ||
<content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.21.0" /> | ||
</dependencies> | ||
</framework-data> | ||
</AsfFrameworkConfig> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<ToolchainSettings> | ||
<AvrGcc> | ||
<avrgcc.common.optimization.RelaxBranches>True</avrgcc.common.optimization.RelaxBranches> | ||
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex> | ||
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss> | ||
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep> | ||
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec> | ||
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures> | ||
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned> | ||
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned> | ||
<avrgcc.compiler.symbols.DefSymbols> | ||
<ListValues> | ||
<Value>NDEBUG</Value> | ||
</ListValues> | ||
</avrgcc.compiler.symbols.DefSymbols> | ||
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level> | ||
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers> | ||
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum> | ||
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings> | ||
<avrgcc.linker.libraries.Libraries> | ||
<ListValues> | ||
<Value>libm</Value> | ||
<Value>libATxmega128A1U-1.6.a</Value> | ||
</ListValues> | ||
</avrgcc.linker.libraries.Libraries> | ||
<avrgcc.linker.libraries.LibrarySearchPaths> | ||
<ListValues> | ||
<Value>C:\Users\Filipe Carvalho\Documents\BitBucket.FilCarvalho\Harp\Corelibrary.Atxmega\DeviceStarterKit_Filipe\StarterKit</Value> | ||
<Value>C:\Users\Filipe Carvalho\Documents\BitBucket.FilCarvalho\Harp\Corelibrary.Atxmega\DeviceStarterKit - Copy_\StarterKit</Value> | ||
<Value>C:\Users\Filipe Carvalho\Documents\BitBucket.FilCarvalho\Harp\Corelibrary.Atxmega\DeviceStarterKit\StarterKit</Value> | ||
</ListValues> | ||
</avrgcc.linker.libraries.LibrarySearchPaths> | ||
</AvrGcc> | ||
</ToolchainSettings> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<ToolchainSettings> | ||
<AvrGcc> | ||
<avrgcc.common.optimization.RelaxBranches>True</avrgcc.common.optimization.RelaxBranches> | ||
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex> | ||
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss> | ||
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep> | ||
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec> | ||
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures> | ||
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned> | ||
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned> | ||
<avrgcc.compiler.symbols.DefSymbols> | ||
<ListValues> | ||
<Value>DEBUG</Value> | ||
</ListValues> | ||
</avrgcc.compiler.symbols.DefSymbols> | ||
<avrgcc.compiler.optimization.level>Optimize most (-O3)</avrgcc.compiler.optimization.level> | ||
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers> | ||
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum> | ||
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel> | ||
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings> | ||
<avrgcc.linker.libraries.Libraries> | ||
<ListValues> | ||
<Value>libm</Value> | ||
<Value>libATxmega128A1U-1.6.a</Value> | ||
</ListValues> | ||
</avrgcc.linker.libraries.Libraries> | ||
<avrgcc.linker.libraries.LibrarySearchPaths> | ||
<ListValues> | ||
<Value>C:\Users\Filipe Carvalho\Documents\BitBucket.FilCarvalho\Harp\Corelibrary.Atxmega\DeviceStarterKit_Filipe\StarterKit</Value> | ||
<Value>C:\Users\Filipe Carvalho\Documents\BitBucket.FilCarvalho\Harp\Corelibrary.Atxmega\DeviceStarterKit - Copy_\StarterKit</Value> | ||
<Value>C:\Users\Filipe Carvalho\Documents\BitBucket.FilCarvalho\Harp\Corelibrary.Atxmega\DeviceStarterKit\StarterKit</Value> | ||
</ListValues> | ||
</avrgcc.linker.libraries.LibrarySearchPaths> | ||
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel> | ||
</AvrGcc> | ||
</ToolchainSettings> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="app.c"> | ||
<SubType>compile</SubType> | ||
</Compile> | ||
<Compile Include="app_funcs.c"> | ||
<SubType>compile</SubType> | ||
</Compile> | ||
<Compile Include="app_ios_and_regs.c"> | ||
<SubType>compile</SubType> | ||
</Compile> | ||
<Compile Include="interrupts.c"> | ||
<SubType>compile</SubType> | ||
</Compile> | ||
<Compile Include="main.c"> | ||
<SubType>compile</SubType> | ||
</Compile> | ||
</ItemGroup> | ||
<Import Project="$(AVRSTUDIO_EXE_PATH)\\Vs\\Compiler.targets" /> | ||
</Project> |
Oops, something went wrong.