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
m...@0v]p>7)I9VAT("AC*2 R,# Y+"!!=&UE;"!#;W)P;W)A=&EO;@H@("!!
M;&P@<FEG:'1S(')E<v5r=f...@h*(" @4F5D:7-T<FEB=71I;v...@86yd('5S
M92!I;B!S;w5r...@86yd(&)I;F%R>2!F;W)M<r...@=vet:"!O<B!W:71H;W5T
M"B @(&UO9&EF:6-A=&EO;b...@87)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@;6...@h*(" @*B!2961I
M<W1R:6)U=&EO;G,@;V8@<V]U<F-E(&-O9&4@;75S="!R971A:6...@=&AE(&%B
M;W9E(&-O<'ER:6=H= H@(" @(&YO=&ec...@=&AI<R!L:7-T(&]F(&-O;F1I
M=&EO;G,@86YD('1H92!F;VQL;W=I;F<@9&ES8VQA:6UE<BX*"B @("h...@4f5d
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:&4...@9f]l;&]W:6YG(&1I<V-L86EM97(@:6X*(" @
M("!T:&4...@9&]C=6UE;G1A=&EO;B!A;F0O;W(@;W1H97(@;6%T97)I86QS('!R
M;W9I9&5D('=I=&@@=&AE"B @(" @9&ES=')I8G5T:6...@h*(" @*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:6...@h*("!42$E3(%-/1E1705)%($E3(%!23U9)1$5$($)9(%1(
M12!#3U!94DE'2...@2$],1$524r!!...@0t].5%))0E543U)3(")!4R!)4R(*
M("!!...@04y9($584%)%4U,@3U(@24U03$E%1"!705)204Y42453+"!)3D-,
M541)3D<L($)55"!....@3$e-251%1"!4...@5$a%"B @24U03$E%1"!705)2
M04Y42453($]&($U%4D-(04Y404))3$e462!!...@1de43d534r!&3U(@02!0
M05)424-53$%2(%!54E!/4T4*("!!...@1$e30tq!24u%1"x...@24x@3...@159%
m...@4ta!3$p@5$A%($-/4%E224=(5"!/5TY%4B!/4B!#3TY44DE"551/4E,@
M0D4*("!,24%"3...@1d]2($%.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"!....@3$e-251%1"!4...@4%)/0U52
m14u%...@3t8*("!354)35$E4551%($=/3T13($]2(%-%4E9)0T53.R!,3U-3
M($]&(%53...@1$%402p@3U(@4%)/1de4...@3u(@0E5324Y%4U,*("!)3E1%
M4E)54%1)3TXI($A/5T5615(@0T%54T5$($%.1"!/3b!!...@5$a%3u)9($]&
M($Q)04))3$e4...@5ta%5$a%4b!)3...@h@($-/3E1204-4+"!35%))0...@3$e!
M0DE,2519+"!/4B!43U)4("A)3D-,541)3D<@3D5'3$E'14Y#12!/4B!/5$A%
M4E=)4T4I"B @05))4TE.1R!)3b!!...@5t%9($]55"!/1b!4...@55-%($]&
M(%1(25,@4T]&5%=!4D4L($56...@248@041625-%1"!/1B!42$4*("!03U-3
M24))3$E462!/1B!354-(($1!34%'1...@*b\*"B\J("1)9"0...@*b\*"B\J(&%V
M<B]S:6=N871U<F4N:" M(%-I9VYA='5r92!!...@*b\*"b-i9fyd...@7t%6
M4E]324=.05154D5?2%\*(V1E9FEN92!?05927U-)1TY!5%5215](7R Q"@HC
M:6YC;'5D92 \879r+ve...@^"@HC:6...@9&5F:6YE9"A324=.05154D5?,"D@
M)b...@9&5F:6YE9"A324=.05154D5?,2D@)b...@9&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:6=n...@8vaa<B!B
M>71E,#L*?2!?7W-I9VYA='5R95]T.PH*(v1e9fen92!324=.0515...@7u]s
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 @+...@9&5F:6YE9"A324=.0515
M4D5?,"D@)b...@9&5F:6YE9"A324=.05154D5?,2D@)b...@9&5F:6YE9"A324=.
M05154D5?,b...@*b\*"B-E;F1I9B @+...@7t%64e]324=.05154d5?2%\@*B\*
`
end


_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to