build
This commit is contained in:
125
Microcontrollers/opdracht 1.5/Debug/Makefile
Normal file
125
Microcontrollers/opdracht 1.5/Debug/Makefile
Normal file
@@ -0,0 +1,125 @@
|
||||
################################################################################
|
||||
# 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 += \
|
||||
../main.c
|
||||
|
||||
|
||||
PREPROCESSING_SRCS +=
|
||||
|
||||
|
||||
ASM_SRCS +=
|
||||
|
||||
|
||||
OBJS += \
|
||||
main.o
|
||||
|
||||
OBJS_AS_ARGS += \
|
||||
main.o
|
||||
|
||||
C_DEPS += \
|
||||
main.d
|
||||
|
||||
C_DEPS_AS_ARGS += \
|
||||
main.d
|
||||
|
||||
OUTPUT_FILE_PATH +=opdracht\ 1.5.elf
|
||||
|
||||
OUTPUT_FILE_PATH_AS_ARGS +="opdracht 1.5.elf"
|
||||
|
||||
ADDITIONAL_DEPENDENCIES:=
|
||||
|
||||
OUTPUT_FILE_DEP:= ./makedep.mk
|
||||
|
||||
LIB_DEP+=
|
||||
|
||||
LINKER_SCRIPT_DEP+=
|
||||
|
||||
|
||||
# AVR32/GNU C Compiler
|
||||
./main.o: .././main.c
|
||||
@echo Building file: $<
|
||||
@echo Invoking: XC8 C Compiler : 2.31
|
||||
$(QUOTE)C:\Program Files\Microchip\xc8\v2.31\bin\xc8-cc.exe$(QUOTE) -mcpu=ATmega128 -mdfp="C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.6.364\xc8" -c -x c -funsigned-char -funsigned-bitfields -mext=cci -D__ATmega128__ -DDEBUG -Og -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -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: XC8 C Linker : 2.31
|
||||
$(QUOTE)C:\Program Files\Microchip\xc8\v2.31\bin\xc8-cc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -mcpu=ATmega128 -mdfp="C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.6.364\xc8" -Wl,-Map="opdracht 1.5.map" -funsigned-char -funsigned-bitfields -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -Og -ffunction-sections -fdata-sections -fpack-struct -fshort-enums --memorysummary,memoryfile.xml
|
||||
@echo Finished building target: $@
|
||||
"C:\Program Files\Microchip\xc8\v2.31\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "opdracht 1.5.elf" "opdracht 1.5.hex"
|
||||
"C:\Program Files\Microchip\xc8\v2.31\bin\avr-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex "opdracht 1.5.elf" "opdracht 1.5.eep" || exit 0
|
||||
"C:\Program Files\Microchip\xc8\v2.31\bin\avr-objdump.exe" -h -S "opdracht 1.5.elf" > "opdracht 1.5.lss"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) $(OBJS_AS_ARGS) $(EXECUTABLES)
|
||||
-$(RM) $(C_DEPS_AS_ARGS)
|
||||
rm -rf "opdracht 1.5.elf" "opdracht 1.5.hex" "opdracht 1.5.eep" "opdracht 1.5.map" "opdracht 1.5.usersignatures" "opdracht 1.5.a" "opdracht 1.5.lss"
|
||||
|
||||
6
Microcontrollers/opdracht 1.5/Debug/makedep.mk
Normal file
6
Microcontrollers/opdracht 1.5/Debug/makedep.mk
Normal file
@@ -0,0 +1,6 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit or delete the file
|
||||
################################################################################
|
||||
|
||||
main.c
|
||||
|
||||
17
Microcontrollers/opdracht 1.5/Debug/memoryfile.xml
Normal file
17
Microcontrollers/opdracht 1.5/Debug/memoryfile.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project>
|
||||
<executable name="opdracht 1.5.elf">
|
||||
<memory name="program">
|
||||
<units>bytes</units>
|
||||
<length>131072</length>
|
||||
<used>170</used>
|
||||
<free>130902</free>
|
||||
</memory>
|
||||
<memory name="data">
|
||||
<units>bytes</units>
|
||||
<length>4096</length>
|
||||
<used>0</used>
|
||||
<free>4096</free>
|
||||
</memory>
|
||||
</executable>
|
||||
</project>
|
||||
1
Microcontrollers/opdracht 1.5/Debug/opdracht 1.5.eep
Normal file
1
Microcontrollers/opdracht 1.5/Debug/opdracht 1.5.eep
Normal file
@@ -0,0 +1 @@
|
||||
:00000001FF
|
||||
102
Microcontrollers/opdracht 1.5/Debug/opdracht 1.5.lss
Normal file
102
Microcontrollers/opdracht 1.5/Debug/opdracht 1.5.lss
Normal file
@@ -0,0 +1,102 @@
|
||||
|
||||
opdracht 1.5.elf: file format elf32-avr
|
||||
|
||||
Sections:
|
||||
Idx Name Size VMA LMA File off Algn
|
||||
0 .data 00000000 00800100 00800100 000000fe 2**0
|
||||
ALLOC, LOAD, DATA
|
||||
1 .text 000000a4 00000000 00000000 00000054 2**1
|
||||
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
||||
2 .comment 0000002f 00000000 00000000 000000fe 2**0
|
||||
CONTENTS, READONLY
|
||||
3 .debug_aranges 00000020 00000000 00000000 0000012d 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
4 .debug_info 000009d7 00000000 00000000 0000014d 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
5 .debug_abbrev 00000756 00000000 00000000 00000b24 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
6 .debug_line 000001a6 00000000 00000000 0000127a 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
7 .debug_frame 00000024 00000000 00000000 00001420 2**2
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
8 .debug_str 0000027d 00000000 00000000 00001444 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
9 .debug_ranges 00000010 00000000 00000000 000016c1 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
10 .text 00000004 000000a4 000000a4 000000f8 2**1
|
||||
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
||||
11 .note.gnu.avr.deviceinfo 0000003c 00000000 00000000 000016d4 2**2
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
12 .text.main 00000002 000000a8 000000a8 000000fc 2**1
|
||||
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
||||
|
||||
Disassembly of section .text:
|
||||
|
||||
00000000 <__vectors>:
|
||||
0: 0c 94 46 00 jmp 0x8c ; 0x8c <__ctors_end>
|
||||
4: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
8: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
c: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
10: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
14: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
18: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
1c: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
20: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
24: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
28: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
2c: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
30: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
34: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
38: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
3c: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
40: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
44: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
48: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
4c: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
50: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
54: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
58: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
5c: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
60: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
64: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
68: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
6c: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
70: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
74: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
78: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
7c: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
80: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
84: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
88: 0c 94 52 00 jmp 0xa4 ; 0xa4 <_etext>
|
||||
|
||||
0000008c <__ctors_end>:
|
||||
8c: 11 24 eor r1, r1
|
||||
8e: 1f be out 0x3f, r1 ; 63
|
||||
90: cf ef ldi r28, 0xFF ; 255
|
||||
92: d0 e1 ldi r29, 0x10 ; 16
|
||||
94: de bf out 0x3e, r29 ; 62
|
||||
96: cd bf out 0x3d, r28 ; 61
|
||||
98: 0e 94 54 00 call 0xa8 ; 0xa8 <main>
|
||||
9c: 0c 94 50 00 jmp 0xa0 ; 0xa0 <_exit>
|
||||
|
||||
000000a0 <_exit>:
|
||||
a0: f8 94 cli
|
||||
|
||||
000000a2 <__stop_program>:
|
||||
a2: ff cf rjmp .-2 ; 0xa2 <__stop_program>
|
||||
|
||||
Disassembly of section .text:
|
||||
|
||||
000000a4 <__bad_interrupt>:
|
||||
a4: 0c 94 00 00 jmp 0 ; 0x0 <__vectors>
|
||||
|
||||
Disassembly of section .text.main:
|
||||
|
||||
000000a8 <main>:
|
||||
*/
|
||||
|
||||
#include <xc.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
a8: ff cf rjmp .-2 ; 0xa8 <main>
|
||||
Reference in New Issue
Block a user