changing name

This commit is contained in:
Thomas Kopp 2014-10-16 21:15:56 +02:00
parent b0dbf6d753
commit 05aebbd54b
3 changed files with 141 additions and 139 deletions

View File

@ -31,7 +31,7 @@
# To rebuild project do "make clean" then "make all".
#
# mth 2004/09
# mth 2004/09
# Differences from WinAVR 20040720 sample:
# - DEPFLAGS according to Eric Weddingtion's fix (avrfreaks/gcc-forum)
# - F_CPU Define in CFLAGS and AFLAGS
@ -70,7 +70,7 @@ ASRC = usbdrv/usbdrvasm.S
# Optimization level, can be [0, 1, 2, 3, s].
# Optimization level, can be [0, 1, 2, 3, s].
# 0 = turn off optimization. s = optimize for size.
# (Note: 3 is not always the best optimization level. See avr-libc FAQ.)
OPT = s
@ -83,7 +83,7 @@ DEBUG =
# List any extra directories to look for include files here.
# Each directory must be seperated by a space.
EXTRAINCDIRS =
EXTRAINCDIRS =
# Compiler flag to set the C Standard level.
# c89 - "ANSI" C
@ -142,7 +142,7 @@ CFLAGS += -Wl,--gc-sections
# for use in COFF files, additional information about filenames
# and function names needs to be present in the assembler source
# files -- see avr-libc docs [FIXME: not yet described there]
ASFLAGS = -Wa,-adhlns=$(<:.S=.lst),-gstabs
ASFLAGS = -Wa,-adhlns=$(<:.S=.lst),-gstabs
ASFLAGS += -DF_CPU=$(F_CPU)
@ -154,7 +154,7 @@ PRINTF_LIB_MIN = -Wl,-u,vfprintf -lprintf_min
# Floating point printf version (requires MATH_LIB = -lm below)
PRINTF_LIB_FLOAT = -Wl,-u,vfprintf -lprintf_flt
PRINTF_LIB = #$(PRINTF_LIB_MIN)
PRINTF_LIB = #$(PRINTF_LIB_MIN)
# Minimalistic scanf version
SCANF_LIB_MIN = -Wl,-u,vfscanf -lscanf_min
@ -189,7 +189,7 @@ LDFLAGS += -Wl,--relax
# Programming support using avrdude. Settings and variables.
# Programming hardware: alf avr910 avrisp bascom bsd
# Programming hardware: alf avr910 avrisp bascom bsd
# dt006 pavr picoweb pony-stk200 sp12 stk200 stk500
#
# Type: avrdude -c ?
@ -197,11 +197,12 @@ LDFLAGS += -Wl,--relax
#
#AVRDUDE_PROGRAMMER = dragon_isp
#AVRDUDE_PROGRAMMER = avrisp2
AVRDUDE_PROGRAMMER = buspirate
AVRDUDE_PROGRAMMER = jtag3isp
# AVRDUDE_PROGRAMMER = buspirate
# com1 = serial port. Use lpt1 to connect to parallel port.
#AVRDUDE_PORT = -P usb #-P com1 # programmer connected to serial device
AVRDUDE_PORT = -P /dev/ttyUSB1
AVRDUDE_PORT = -P usb #-P com1 # programmer connected to serial device
# AVRDUDE_PORT = -P /dev/ttyUSB1
AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex:i
AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep:i
@ -217,7 +218,7 @@ AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep:i
#AVRDUDE_NO_VERIFY = -V
# Increase verbosity level. Please use this when submitting bug
# reports about avrdude. See <http://savannah.nongnu.org/projects/avrdude>
# reports about avrdude. See <http://savannah.nongnu.org/projects/avrdude>
# to submit bug reports.
#AVRDUDE_VERBOSE = -v -v
@ -257,7 +258,7 @@ COPY = cp
MSG_ERRORS_NONE = Errors: none
MSG_BEGIN = -------- begin --------
MSG_END = -------- end --------
MSG_SIZE_BEFORE = Size before:
MSG_SIZE_BEFORE = Size before:
MSG_SIZE_AFTER = Size after:
MSG_COFF = Converting to AVR COFF:
MSG_EXTENDED_COFF = Converting to AVR Extended COFF:
@ -274,7 +275,7 @@ MSG_CLEANING = Cleaning project:
# Define all object files.
OBJ = $(SRC:.c=.o) $(ASRC:.S=.o)
OBJ = $(SRC:.c=.o) $(ASRC:.S=.o)
# Define all listing files.
LST = $(ASRC:.S=.lst) $(SRC:.c=.lst)
@ -301,7 +302,7 @@ build: elf hex eep lss sym
elf: $(TARGET).elf
hex: $(TARGET).hex
#eep: $(TARGET).eep
lss: $(TARGET).lss
lss: $(TARGET).lss
sym: $(TARGET).sym
@ -335,12 +336,12 @@ sizeafter:
# Display compiler version information.
gccversion :
gccversion :
@$(CC) --version
# Program the device.
# Program the device.
#program: $(TARGET).hex $(TARGET).eep
program:
$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
@ -353,7 +354,7 @@ COFFCONVERT=$(OBJCOPY) --debugging \
--change-section-address .data-0x800000 \
--change-section-address .bss-0x800000 \
--change-section-address .noinit-0x800000 \
--change-section-address .eeprom-0x810000
--change-section-address .eeprom-0x810000
coff: $(TARGET).elf
@ -408,7 +409,7 @@ extcoff: $(TARGET).elf
%.o : %.c
@echo
@echo $(MSG_COMPILING) $<
$(CC) -c $(ALL_CFLAGS) $< -o $@
$(CC) -c $(ALL_CFLAGS) $< -o $@
# Compile: create assembler files from C source files.

View File

@ -1,124 +1,125 @@
:1000000049C07BC060C05FC05EC05DC05CC05BC0FB
:100010005AC059C058C057C056C055C054C053C02C
:1000200052C051C050C009022200010100807D0968
:100000004CC07EC063C062C061C060C05FC05EC0E3
:100010005DC05CC05BC05AC059C058C057C056C014
:1000200055C054C053C009022200010100807D095F
:100030000400000103000000092101010001221653
:10004000000705810308000A1201100100000008E2
:10005000C016DF0500010102000110034C0045003D
:100060004400430075006200650010034300540023
:1000700048004E002E0064006500040309040600D9
:10008000FF0901A101150026FF007508950109006F
:10009000B20201C011241FBECFEDCDBF10E0A0E61B
:1000A000B0E0EEE9F7E002C005900D92A436B1078A
:1000B000D9F710E0A4E6B0E001C01D92AF39B10756
:1000C000E1F755D16AC39CCFA82FB92F80E090E00B
:1000D00041E050EA609530E009C02D918227979564
:1000E000879510F084279527305EC8F36F5FA8F3DB
:1000F0000895EADF8D939D930895CF93CFB7CF9363
:10010000C395819BE9F7819B09C0819B07C0819BB7
:1001100005C0819B03C0819B01C0A3C0DF93C09138
:100120008200DD27C757DF4F819B02C0DF91EBCFF5
:100130002F930F931F9300B32FEF01FB20F94F93E1
:100140003F9310B34FEF012701FB21F93BE031C092
:100150004E7F012F10B3216028C0102F4D7F2260E9
:10016000000000B329C04B7F2460012F000010B3B2
:100170002BC010B3477F28602AC04F7E00B3206198
:100180002CC04F7D10B320622FC04F7B00B3206482
:1001900032C0422700B349934FEF0000102711FBF4
:1001A00020F910B31670C9F1297F91F2012701FBE4
:1001B00021F900B3237F89F2315058F1102711FB48
:1001C00022F910B3277E79F2012701FB23F92F7C56
:1001D00081F200B3102711FB24F92F7971F200C0CE
:1001E00010B3012701FB25F92F7359F200C000B3AA
:1001F000102711FB26F9223040F200C010B301276E
:1002000001FB27F9243028F64F77206810B300004F
:10021000F9CF10E41ABF002719C03B503195C31B1A
:10022000D04010E41ABF0881033CF9F00B34E9F028
:10023000209180001981110F1213EDCF4A81441FC4
:10024000093641F10D3211F0013E29F70093870084
:100250003F914F911F910F912F91DF91CAB7C6FD2A
:100260004FCFCF91CFBFCF911895209187002223F8
:1002700079F310918500112369F534306AF13093D8
:10028000850020938100109182003BE0311B309368
:10029000820022C0009185000130E4F40AE54F702D
:1002A00049F43091620034FD19C000936200C9E640
:1002B000D0E018C03091740034FD10C00093740079
:1002C000C5E7D0E00FC02795A8F45150A9F4220F3C
:1002D0000000F9CF4AE503C042ED01C0432FC4E15D
:1002E000D0E032E011B31660919A11BB02B320E462
:1002F00016E05F93012756E002BB279520F451508A
:1003000021F4220FF9CF012756E000003B5A02BB2F
:10031000D0F2279528F4515029F4220F0000F9CF8C
:10032000012756E0279502BB20F4515021F4220FFB
:10033000F9CF012756E02991332302BB21F6097F2B
:1003400010918600110FC651D04002BB11F01093DE
:10035000800010E41ABF026011B3197F402F497F5B
:100360005F9100C000C002BB11BB42BB71CF8FEFD9
:1003700087BB88BB88E781BB80E482BB81E792E0D2
:100380009BBD8ABD8BE08EBD7894D2D110E0D0E0C9
:10039000C0E062D008B606FEFCCF80E488BFF894C7
:1003A000115011F580916000D03229F48130C1F4F0
:1003B0001092600015C08823A1F08D2F90E0880F67
:1003C000991F880F991F80509040BFD1609365009E
:1003D000709366008093670090936800DF5F01C0B0
:1003E000D0E010916800187F82B3837C82BB8C2F91
:1003F00069E029D0409165005091660060916700E6
:10040000709168006A017B0104C0F694E794D79468
:10041000C7948A95D2F72C2D209528BBD0FC02C01A
:10042000969A01C0969822B388E090E00C2E01C005
:10043000880F0A94EAF7822B82BBCF5FC33008F0A3
:10044000C0E07894A6CF002480FD060E660F11F060
:100450008695D1F7802D0895CF93DF938091850005
:10046000835087FDA3C090918200209181002D329E
:1004700009F09AC0883009F097C0CCE0D0E0C91BE1
:10048000D109C757DF4F83EC809369008AE58093D9
:100490006200109264008881807619F0CE01E7D066
:1004A0007AC09A81109272008981811106C01092DF
:1004B000730022E730E082E06AC0853019F490933F
:1004C000860062C0863009F049C08B81813041F4DA
:1004D00088E490E0909384008093830082E13AC0A6
:1004E000823041F486E290E0909384008093830010
:1004F00082E230C08330C9F4911108C08AE790E0ED
:10050000909384008093830084E024C0913019F498
:100510008AE690E004C09230E1F48AE590E090939E
:1005200084008093830080E115C0813241F488E328
:1005300090E0909384008093830089E00BC0823226
:1005400041F48EE790E0909384008093830086E1ED
:1005500001C080E090E4909364001DC0883069F091
:10056000893019F4909388000FC08A3049F08B309D
:1005700059F48BE48093750007C028E830E002C08E
:1005800022E730E081E003C022E730E080E03093F2
:100590008400209383009F81911104C09E8198174D
:1005A00008F4892F80936100109285008091620089
:1005B00084FF43C0809161008F3F09F43EC0C82F83
:1005C000893008F0C8E08C1B80936100909169002D
:1005D00088E8892780936900CC2319F180918300F2
:1005E00040918400209164009C2F980F26FF0AC040
:1005F000AAE6B0E0E82FF42F84918D9331969E13F4
:10060000FBCF0BC02AE630E0A82FB42F8D91F90163
:1006100081939F01FD019A13F9CFF0938400E09339
:1006200083006C2F8AE690E064DDCC5FCC3019F05B
:100630008FEF80936100C093620084E190B3967065
:1006400031F48150D9F71092860010928000DF912A
:10065000CF91089585B7826085BF8BB780648BBFCB
:10066000E4E7F0E08BE481838AE580830895FC0170
:1006700080818076803409F059C081818130E9F52C
:1006800084812281811115C0838190E0982F882771
:10069000820F911DAA2797FDA095BA2F4091650062
:1006A000509166006091670070916800442755275B
:1006B00017C0838190E0982F8827820F911DAA2769
:1006C00097FDA095BA2FDC019927882740916500F6
:1006D00050916600609167007091680066277727E7
:1006E000842B952BA62BB72B8093650090936600E7
:1006F000A0936700B093680019C0823091F44091D4
:100700006500509166006091670070916800848177
:1007100090E0880F991F880F991F8050904018D043
:1007200005C0833019F482818093600080E00895D1
:1007300091DF899A2FEB87E299E021508040904029
:10074000E1F700C0000089980895A6E144E00AC0DE
:10075000242F16D0252F14D000C011D0272F10C061
:10076000A82F862FE82FE199FECF1FBA05C0EEBB58
:10077000E09AE3950DB20D924150C8F70895262FE7
:10078000E199FECF1CBA1FBA8EBB2DBB0FB6F894F1
:0E079000E29AE19A0FBE01960895F894FFCF09
:04079E0002FF5A00FC
:100060004400430075006200650016036F006B00DA
:100070006F0079006F006E006F002E006400650055
:10008000040309040600FF0901A101150026FF0071
:10009000750895010900B20201C011241FBECFED01
:1000A000CDBF10E0A0E6B0E0E4EAF7E002C00590C2
:1000B0000D92A436B107D9F710E0A4E6B0E001C074
:1000C0001D92AF39B107E1F755D16AC399CFA82F77
:1000D000B92F80E090E041E050EA609530E009C03F
:1000E0002D9182279795879510F084279527305E6C
:1000F000C8F36F5FA8F30895EADF8D939D93089589
:10010000CF93CFB7CF93C395819BE9F7819B09C06C
:10011000819B07C0819B05C0819B03C0819B01C05F
:10012000A3C0DF93C0918200DD27C757DF4F819BBB
:1001300002C0DF91EBCF2F930F931F9300B32FEFEC
:1001400001FB20F94F933F9310B34FEF012701FBC1
:1001500021F93BE031C04E7F012F10B3216028C050
:10016000102F4D7F2260000000B329C04B7F246018
:10017000012F000010B32BC010B3477F28602AC0A6
:100180004F7E00B320612CC04F7D10B320622FC082
:100190004F7B00B3206432C0422700B349934FEF36
:1001A0000000102711FB20F910B31670C9F1297F48
:1001B00091F2012701FB21F900B3237F89F231502D
:1001C00058F1102711FB22F910B3277E79F201278D
:1001D00001FB23F92F7C81F200B3102711FB24F9D6
:1001E0002F7971F200C010B3012701FB25F92F739D
:1001F00059F200C000B3102711FB26F9223040F25B
:1002000000C010B3012701FB27F9243028F64F77EF
:10021000206810B30000F9CF10E41ABF002719C0FE
:100220003B503195C31BD04010E41ABF0881033CFA
:10023000F9F00B34E9F0209180001981110F1213AD
:10024000EDCF4A81441F093641F10D3211F0013ED4
:1002500029F7009387003F914F911F910F912F91A4
:10026000DF91CAB7C6FD4FCFCF91CFBFCF911895C1
:1002700020918700222379F310918500112369F5DD
:1002800034306AF130938500209381001091820010
:100290003BE0311B3093820022C000918500013089
:1002A000E4F40AE54F7049F43091620034FD19C05E
:1002B00000936200C9E6D0E018C03091740034FDAC
:1002C00010C000937400C5E7D0E00FC02795A8F4D4
:1002D0005150A9F4220F0000F9CF4AE503C042EDC6
:1002E00001C0432FC4E1D0E032E011B31660919A0F
:1002F00011BB02B320E416E05F93012756E002BB76
:10030000279520F4515021F4220FF9CF012756E010
:1003100000003B5A02BBD0F2279528F4515029F433
:10032000220F0000F9CF012756E0279502BB20F4E9
:10033000515021F4220FF9CF012756E029913323A0
:1003400002BB21F6097F10918600110FC651D040E3
:1003500002BB11F01093800010E41ABF026011B3C9
:10036000197F402F497F5F9100C000C002BB11BBC5
:1003700042BB71CF8FEF87BB88BB88E781BB80E42E
:1003800082BB81E792E09BBD8ABD8BE08EBD7894F5
:10039000C9D110E0D0E0C0E059D008B606FEFCCFCD
:1003A00080E488BFF894115011F580916000D0323C
:1003B00029F48130C1F41092600015C08823A1F0A7
:1003C0008D2F90E0880F991F880F991F80509040C3
:1003D000BFD160936500709366008093670090932F
:1003E0006800DF5F01C0D0E010916800187F82B321
:1003F000837C82BB8C2F69E0A2D140916500509133
:10040000660060916700709168006A017B0104C01A
:10041000F694E794D794C7948A95D2F72C2D20951B
:1004200028BBD0FC02C0969A01C0969822B388E0FF
:1004300090E00C2E01C0880F0A94EAF7822B82BB51
:10044000CF5FC33008F0C0E07894A6CFCF93DF939E
:1004500080918500835087FDA3C0909182002091F8
:1004600081002D3209F09AC0883009F097C0CCE0A5
:10047000D0E0C91BD109C757DF4F83EC80936900D7
:100480008AE580936200109264008881807619F07A
:10049000CE01E7D07AC09A811092720089818111D1
:1004A00006C01092730022E730E082E06AC0853017
:1004B00019F49093860062C0863009F049C08B81A0
:1004C000813041F488E490E090938400809383002D
:1004D00082E13AC0823041F486E290E09093840059
:1004E0008093830082E230C08330C9F4911108C048
:1004F00080E890E0909384008093830084E024C09F
:10050000913019F48AE690E018C09230E1F48AE55F
:1005100090E0909384008093830080E115C0813245
:1005200041F488E390E0909384008093830089E015
:100530000BC0823241F484E890E090938400809371
:10054000830086E101C080E090E4909364001DC0C8
:10055000883069F0893019F4909388000FC08A3090
:1005600049F08B3059F48BE48093750007C028E87C
:1005700030E002C022E730E081E003C022E730E053
:1005800080E030938400209383009F81911104C008
:100590009E81981708F4892F80936100109285003E
:1005A0008091620084FF43C0809161008F3F09F415
:1005B0003EC0C82F893008F0C8E08C1B80936100D2
:1005C0009091690088E8892780936900CC2319F10C
:1005D0008091830040918400209164009C2F980FAB
:1005E00026FF0AC0AAE6B0E0E82FF42F84918D938D
:1005F00031969E13FBCF0BC02AE630E0A82FB42F14
:100600008D91F90181939F01FD019A13F9CFF09328
:100610008400E09383006C2F8AE690E06DDDCC5F70
:10062000CC3019F08FEF80936100C093620084E1B9
:1006300090B3967031F48150D9F7109286001092E1
:100640008000DF91CF91089585B7826085BF8BB719
:1006500080648BBFE4E7F0E08BE481838AE58083EC
:100660000895FC0180818076803409F059C0818131
:100670008130E9F584812281811115C0838190E068
:10068000982F8827820F911DAA2797FDA095BA2F32
:10069000409165005091660060916700709168001C
:1006A0004427552717C0838190E0982F8827820F11
:1006B000911DAA2797FDA095BA2FDC0199278827BD
:1006C00040916500509166006091670070916800EC
:1006D00066277727842B952BA62BB72B8093650055
:1006E00090936600A0936700B093680019C08230B1
:1006F00091F440916500509166006091670070919F
:100700006800848190E0880F991F880F991F80509E
:10071000904021D005C0833019F48281809360001D
:1007200080E0089591DF899A2FEB87E299E02150CC
:1007300080409040E1F700C00000899808950024AF
:1007400080FD060E660F11F08695D1F7802D089575
:10075000A6E144E00AC0242F16D0252F14D000C0F3
:1007600011D0272F10C0A82F862FE82FE199FECF98
:100770001FBA05C0EEBBE09AE3950DB20D92415051
:10078000C8F70895262FE199FECF1CBA1FBA8EBB79
:100790002DBB0FB6F894E29AE19A0FBE0196089528
:0407A000F894FFCFFB
:0407A40002FF5A00F6
:00000001FF

View File

@ -239,8 +239,8 @@ section at the end of this file).
#define USB_CFG_DEVICE_VERSION 0x00, 0x01
/* Version number of the device: Minor number first, then major number.
*/
#define USB_CFG_VENDOR_NAME 'C', 'T', 'H', 'N', '.', 'd', 'e'
#define USB_CFG_VENDOR_NAME_LEN 7
#define USB_CFG_VENDOR_NAME 'o', 'k', 'o', 'y', 'o', 'n', 'o', '.', 'd', 'e'
#define USB_CFG_VENDOR_NAME_LEN 10
/* These two values define the vendor name returned by the USB device. The name
* must be given as a list of characters under single quotes. The characters
* are interpreted as Unicode (UTF-16) entities.