avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [RFC] Signature API


From: Weddington, Eric
Subject: [avr-libc-dev] [RFC] Signature API
Date: Wed, 4 Mar 2009 09:04:18 -0700

Hi All,

See attached. This file is proposed for <avr/signature.h> in avr-libc, inspired 
by this thread in AVR Freaks:
<http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=546899#546899>

The idea is that by including this file, the .signature section of the ELF file 
would be populated with the signature bytes that are defined in the individual 
I/O file. This allows programming tools (such as AVR Studio) the ability to 
compare the on-chip signature with the one in the file. All the user has to do 
is to include the header file, so there's really not much of an API.

Note that documentation is currently missing, but is easily added.

Thoughts?

Before release?

Thanks,
Eric Weddington



begin 666 signature.h
address@hidden>7)I9VAT("AC*2 R,# Y+"!!=&UE;"!#;W)P;W)A=&EO;@H@("!!
M;&P@<FEG:'1S(')E<address@hidden(" @4F5D:7-T<FEB=71I;address@hidden('5S
M92!I;B!S;address@hidden(&)I;F%R>2!F;W)M<address@hidden:"!O<B!W:71H;W5T
M"B @(&UO9&EF:6-A=&EO;address@hidden)E('!E<FUI='1E9"!P<F]V:61E9"!T:&%T
M('1H92!F;VQL;W=I;F<@8V]N9&ET:6]N<R!A<F4@;address@hidden(" @*B!2961I
M<W1R:6)U=&EO;G,@;V8@<V]U<F-E(&-O9&4@;75S="!R971A:address@hidden&AE(&%B
M;W9E(&-O<'ER:6=H= H@(" @(&YO=&address@hidden&AI<R!L:7-T(&]F(&-O;F1I
M=&EO;G,@86YD('1H92!F;VQL;W=I;F<@9&ES8VQA:6UE<BX*"B @("address@hidden
M:7-T<FEB=71I;VYS(&EN(&)I;F%R>2!F;W)M(&UU<W0@<F5P<F]D=6-E('1H
M92!A8F]V92!C;W!Y<FEG:'0*(" @("!N;W1I8V4L('1H:7,@;&ES="!O9B!C
M;VYD:71I;VYS(&%N9"!T:&address@hidden;&]W:6YG(&1I<V-L86EM97(@:6X*(" @
M("!T:&address@hidden&]C=6UE;G1A=&EO;B!A;F0O;W(@;W1H97(@;6%T97)I86QS('!R
M;W9I9&5D('=I=&@@=&AE"B @(" @9&ES=')I8G5T:address@hidden(" @*B!.96ET
M:&5R('1H92!N86UE(&]F('1H92!C;W!Y<FEG:'0@:&]L9&5R<R!N;W(@=&AE
M(&YA;65S(&]F"B @(" @8V]N=')I8G5T;W)S(&UA>2!B92!U<V5D('1O(&5N
M9&]R<V4@;W(@<')O;6]T92!P<F]D=6-T<R!D97)I=F5D"B @(" @9G)O;2!T
M:&ES('-O9G1W87)E('=I=&AO=70@<W!E8VEF:6,@<')I;W(@=W)I='1E;B!P
M97)M:7-S:address@hidden("!42$E3(%-/1E1705)%($E3(%!23U9)1$5$($)9(%1(
M12!#3U!94DE'address@hidden,address@hidden))0E543U)3(")!4R!)4R(*
M("address@hidden($584%)%4U,@3U(@24U03$E%1"!705)204Y42453+"!)3D-,
M541)3D<L($)55"address@hidden"address@hidden"B @24U03$E%1"!705)2
M04Y42453($]&($U%4D-(04Y404))address@hidden&3U(@02!0
M05)424-53$%2(%!54E!/4T4*("address@hidden"address@hidden@address@hidden
address@hidden@5$A%($-/4%E224=(5"!/5TY%4B!/4B!#3TY44DE"551/4E,@
M0D4*("!,24%"address@hidden($%.62!$25)%0U0L($E.1$E214-4+"!)3D-)1$5.
M5$%,+"!34$5#24%,+"!%6$5-4$Q!4EDL($]2"B @0T].4T51545.5$E!3"!$
M04U!1T53("A)3D-,541)3D<L($)55"address@hidden"address@hidden)/0U52
address@hidden("!354)35$E4551%($=/3T13($]2(%-%4E9)0T53.R!,3U-3
M($]&(address@hidden@3U(@4%)/address@hidden(@0E5324Y%4U,*("!)3E1%
M4E)54%1)3TXI($A/5T5615(@0T%54T5$($%.1"!/address@hidden)9($]&
M($Q)04))address@hidden)address@hidden@($-/3E1204-4+"!35%))address@hidden
M0DE,2519+"!/4B!43U)4("A)3D-,541)3D<@3D5'3$E'14Y#12!/4B!/5$A%
M4E=)4T4I"B @05))4TE.1R!)address@hidden($]55"!/address@hidden($]&
M(%1(25,@4T]&5%=!4D4L(address@hidden@041625-%1"!/1B!42$4*("!03U-3
M24))3$E462!/1B!354-(($1!34%'address@hidden"B\J("1)9"address@hidden"B\J(&%V
M<B]S:6=N871U<F4N:" M(%-I9VYA='address@hidden"address@hidden
M4E]324=.05154D5?2%\*(V1E9FEN92!?05927U-)1TY!5%5215](7R Q"@HC
M:6YC;'5D92 address@hidden"@HC:address@hidden&5F:6YE9"A324=.05154D5?,"D@
M)address@hidden&5F:6YE9"A324=.05154D5?,2D@)address@hidden&5F:6YE9"A324=.05154D5?
M,BD*"G1Y<&5D968@<W1R=6-T"GL*(" @('5N<VEG;F5D(&-H87(@8GET93([
M"B @("!U;G-I9VYE9"!C:&%R(&)Y=&4Q.PH@(" @=6YS:address@hidden<B!B
M>71E,#L*?2!?7W-I9VYA='5R95]T.PH*(address@hidden
M:6=N871U<F5?="!?7W-I9VYA='5R92!?7V%T=')I8G5T95]?*"AS96-T:6]N
M("@B+G-I9VYA='5R92(I*2D*"E-)1TY!5%5212 ]"GL*(" N8GET93(@/2!3
M24=.05154D5?,BP*(" N8GET93$@/2!324=.05154D5?,2P*(" N8GET93 @
M/2!324=.05154D5?, I].R *"B-E;F1I9B @address@hidden&5F:6YE9"A324=.0515
M4D5?,"D@)address@hidden&5F:6YE9"A324=.05154D5?,2D@)address@hidden&5F:6YE9"A324=.
M05154D5?,address@hidden"B-E;F1I9B @address@hidden@*B\*
`
end




reply via email to

[Prev in Thread] Current Thread [Next in Thread]