@@ -0,0 +1,339 | |||||
|
1 | GNU GENERAL PUBLIC LICENSE | |||
|
2 | Version 2, June 1991 | |||
|
3 | ||||
|
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., | |||
|
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
|
6 | Everyone is permitted to copy and distribute verbatim copies | |||
|
7 | of this license document, but changing it is not allowed. | |||
|
8 | ||||
|
9 | Preamble | |||
|
10 | ||||
|
11 | The licenses for most software are designed to take away your | |||
|
12 | freedom to share and change it. By contrast, the GNU General Public | |||
|
13 | License is intended to guarantee your freedom to share and change free | |||
|
14 | software--to make sure the software is free for all its users. This | |||
|
15 | General Public License applies to most of the Free Software | |||
|
16 | Foundation's software and to any other program whose authors commit to | |||
|
17 | using it. (Some other Free Software Foundation software is covered by | |||
|
18 | the GNU Lesser General Public License instead.) You can apply it to | |||
|
19 | your programs, too. | |||
|
20 | ||||
|
21 | When we speak of free software, we are referring to freedom, not | |||
|
22 | price. Our General Public Licenses are designed to make sure that you | |||
|
23 | have the freedom to distribute copies of free software (and charge for | |||
|
24 | this service if you wish), that you receive source code or can get it | |||
|
25 | if you want it, that you can change the software or use pieces of it | |||
|
26 | in new free programs; and that you know you can do these things. | |||
|
27 | ||||
|
28 | To protect your rights, we need to make restrictions that forbid | |||
|
29 | anyone to deny you these rights or to ask you to surrender the rights. | |||
|
30 | These restrictions translate to certain responsibilities for you if you | |||
|
31 | distribute copies of the software, or if you modify it. | |||
|
32 | ||||
|
33 | For example, if you distribute copies of such a program, whether | |||
|
34 | gratis or for a fee, you must give the recipients all the rights that | |||
|
35 | you have. You must make sure that they, too, receive or can get the | |||
|
36 | source code. And you must show them these terms so they know their | |||
|
37 | rights. | |||
|
38 | ||||
|
39 | We protect your rights with two steps: (1) copyright the software, and | |||
|
40 | (2) offer you this license which gives you legal permission to copy, | |||
|
41 | distribute and/or modify the software. | |||
|
42 | ||||
|
43 | Also, for each author's protection and ours, we want to make certain | |||
|
44 | that everyone understands that there is no warranty for this free | |||
|
45 | software. If the software is modified by someone else and passed on, we | |||
|
46 | want its recipients to know that what they have is not the original, so | |||
|
47 | that any problems introduced by others will not reflect on the original | |||
|
48 | authors' reputations. | |||
|
49 | ||||
|
50 | Finally, any free program is threatened constantly by software | |||
|
51 | patents. We wish to avoid the danger that redistributors of a free | |||
|
52 | program will individually obtain patent licenses, in effect making the | |||
|
53 | program proprietary. To prevent this, we have made it clear that any | |||
|
54 | patent must be licensed for everyone's free use or not licensed at all. | |||
|
55 | ||||
|
56 | The precise terms and conditions for copying, distribution and | |||
|
57 | modification follow. | |||
|
58 | ||||
|
59 | GNU GENERAL PUBLIC LICENSE | |||
|
60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |||
|
61 | ||||
|
62 | 0. This License applies to any program or other work which contains | |||
|
63 | a notice placed by the copyright holder saying it may be distributed | |||
|
64 | under the terms of this General Public License. The "Program", below, | |||
|
65 | refers to any such program or work, and a "work based on the Program" | |||
|
66 | means either the Program or any derivative work under copyright law: | |||
|
67 | that is to say, a work containing the Program or a portion of it, | |||
|
68 | either verbatim or with modifications and/or translated into another | |||
|
69 | language. (Hereinafter, translation is included without limitation in | |||
|
70 | the term "modification".) Each licensee is addressed as "you". | |||
|
71 | ||||
|
72 | Activities other than copying, distribution and modification are not | |||
|
73 | covered by this License; they are outside its scope. The act of | |||
|
74 | running the Program is not restricted, and the output from the Program | |||
|
75 | is covered only if its contents constitute a work based on the | |||
|
76 | Program (independent of having been made by running the Program). | |||
|
77 | Whether that is true depends on what the Program does. | |||
|
78 | ||||
|
79 | 1. You may copy and distribute verbatim copies of the Program's | |||
|
80 | source code as you receive it, in any medium, provided that you | |||
|
81 | conspicuously and appropriately publish on each copy an appropriate | |||
|
82 | copyright notice and disclaimer of warranty; keep intact all the | |||
|
83 | notices that refer to this License and to the absence of any warranty; | |||
|
84 | and give any other recipients of the Program a copy of this License | |||
|
85 | along with the Program. | |||
|
86 | ||||
|
87 | You may charge a fee for the physical act of transferring a copy, and | |||
|
88 | you may at your option offer warranty protection in exchange for a fee. | |||
|
89 | ||||
|
90 | 2. You may modify your copy or copies of the Program or any portion | |||
|
91 | of it, thus forming a work based on the Program, and copy and | |||
|
92 | distribute such modifications or work under the terms of Section 1 | |||
|
93 | above, provided that you also meet all of these conditions: | |||
|
94 | ||||
|
95 | a) You must cause the modified files to carry prominent notices | |||
|
96 | stating that you changed the files and the date of any change. | |||
|
97 | ||||
|
98 | b) You must cause any work that you distribute or publish, that in | |||
|
99 | whole or in part contains or is derived from the Program or any | |||
|
100 | part thereof, to be licensed as a whole at no charge to all third | |||
|
101 | parties under the terms of this License. | |||
|
102 | ||||
|
103 | c) If the modified program normally reads commands interactively | |||
|
104 | when run, you must cause it, when started running for such | |||
|
105 | interactive use in the most ordinary way, to print or display an | |||
|
106 | announcement including an appropriate copyright notice and a | |||
|
107 | notice that there is no warranty (or else, saying that you provide | |||
|
108 | a warranty) and that users may redistribute the program under | |||
|
109 | these conditions, and telling the user how to view a copy of this | |||
|
110 | License. (Exception: if the Program itself is interactive but | |||
|
111 | does not normally print such an announcement, your work based on | |||
|
112 | the Program is not required to print an announcement.) | |||
|
113 | ||||
|
114 | These requirements apply to the modified work as a whole. If | |||
|
115 | identifiable sections of that work are not derived from the Program, | |||
|
116 | and can be reasonably considered independent and separate works in | |||
|
117 | themselves, then this License, and its terms, do not apply to those | |||
|
118 | sections when you distribute them as separate works. But when you | |||
|
119 | distribute the same sections as part of a whole which is a work based | |||
|
120 | on the Program, the distribution of the whole must be on the terms of | |||
|
121 | this License, whose permissions for other licensees extend to the | |||
|
122 | entire whole, and thus to each and every part regardless of who wrote it. | |||
|
123 | ||||
|
124 | Thus, it is not the intent of this section to claim rights or contest | |||
|
125 | your rights to work written entirely by you; rather, the intent is to | |||
|
126 | exercise the right to control the distribution of derivative or | |||
|
127 | collective works based on the Program. | |||
|
128 | ||||
|
129 | In addition, mere aggregation of another work not based on the Program | |||
|
130 | with the Program (or with a work based on the Program) on a volume of | |||
|
131 | a storage or distribution medium does not bring the other work under | |||
|
132 | the scope of this License. | |||
|
133 | ||||
|
134 | 3. You may copy and distribute the Program (or a work based on it, | |||
|
135 | under Section 2) in object code or executable form under the terms of | |||
|
136 | Sections 1 and 2 above provided that you also do one of the following: | |||
|
137 | ||||
|
138 | a) Accompany it with the complete corresponding machine-readable | |||
|
139 | source code, which must be distributed under the terms of Sections | |||
|
140 | 1 and 2 above on a medium customarily used for software interchange; or, | |||
|
141 | ||||
|
142 | b) Accompany it with a written offer, valid for at least three | |||
|
143 | years, to give any third party, for a charge no more than your | |||
|
144 | cost of physically performing source distribution, a complete | |||
|
145 | machine-readable copy of the corresponding source code, to be | |||
|
146 | distributed under the terms of Sections 1 and 2 above on a medium | |||
|
147 | customarily used for software interchange; or, | |||
|
148 | ||||
|
149 | c) Accompany it with the information you received as to the offer | |||
|
150 | to distribute corresponding source code. (This alternative is | |||
|
151 | allowed only for noncommercial distribution and only if you | |||
|
152 | received the program in object code or executable form with such | |||
|
153 | an offer, in accord with Subsection b above.) | |||
|
154 | ||||
|
155 | The source code for a work means the preferred form of the work for | |||
|
156 | making modifications to it. For an executable work, complete source | |||
|
157 | code means all the source code for all modules it contains, plus any | |||
|
158 | associated interface definition files, plus the scripts used to | |||
|
159 | control compilation and installation of the executable. However, as a | |||
|
160 | special exception, the source code distributed need not include | |||
|
161 | anything that is normally distributed (in either source or binary | |||
|
162 | form) with the major components (compiler, kernel, and so on) of the | |||
|
163 | operating system on which the executable runs, unless that component | |||
|
164 | itself accompanies the executable. | |||
|
165 | ||||
|
166 | If distribution of executable or object code is made by offering | |||
|
167 | access to copy from a designated place, then offering equivalent | |||
|
168 | access to copy the source code from the same place counts as | |||
|
169 | distribution of the source code, even though third parties are not | |||
|
170 | compelled to copy the source along with the object code. | |||
|
171 | ||||
|
172 | 4. You may not copy, modify, sublicense, or distribute the Program | |||
|
173 | except as expressly provided under this License. Any attempt | |||
|
174 | otherwise to copy, modify, sublicense or distribute the Program is | |||
|
175 | void, and will automatically terminate your rights under this License. | |||
|
176 | However, parties who have received copies, or rights, from you under | |||
|
177 | this License will not have their licenses terminated so long as such | |||
|
178 | parties remain in full compliance. | |||
|
179 | ||||
|
180 | 5. You are not required to accept this License, since you have not | |||
|
181 | signed it. However, nothing else grants you permission to modify or | |||
|
182 | distribute the Program or its derivative works. These actions are | |||
|
183 | prohibited by law if you do not accept this License. Therefore, by | |||
|
184 | modifying or distributing the Program (or any work based on the | |||
|
185 | Program), you indicate your acceptance of this License to do so, and | |||
|
186 | all its terms and conditions for copying, distributing or modifying | |||
|
187 | the Program or works based on it. | |||
|
188 | ||||
|
189 | 6. Each time you redistribute the Program (or any work based on the | |||
|
190 | Program), the recipient automatically receives a license from the | |||
|
191 | original licensor to copy, distribute or modify the Program subject to | |||
|
192 | these terms and conditions. You may not impose any further | |||
|
193 | restrictions on the recipients' exercise of the rights granted herein. | |||
|
194 | You are not responsible for enforcing compliance by third parties to | |||
|
195 | this License. | |||
|
196 | ||||
|
197 | 7. If, as a consequence of a court judgment or allegation of patent | |||
|
198 | infringement or for any other reason (not limited to patent issues), | |||
|
199 | conditions are imposed on you (whether by court order, agreement or | |||
|
200 | otherwise) that contradict the conditions of this License, they do not | |||
|
201 | excuse you from the conditions of this License. If you cannot | |||
|
202 | distribute so as to satisfy simultaneously your obligations under this | |||
|
203 | License and any other pertinent obligations, then as a consequence you | |||
|
204 | may not distribute the Program at all. For example, if a patent | |||
|
205 | license would not permit royalty-free redistribution of the Program by | |||
|
206 | all those who receive copies directly or indirectly through you, then | |||
|
207 | the only way you could satisfy both it and this License would be to | |||
|
208 | refrain entirely from distribution of the Program. | |||
|
209 | ||||
|
210 | If any portion of this section is held invalid or unenforceable under | |||
|
211 | any particular circumstance, the balance of the section is intended to | |||
|
212 | apply and the section as a whole is intended to apply in other | |||
|
213 | circumstances. | |||
|
214 | ||||
|
215 | It is not the purpose of this section to induce you to infringe any | |||
|
216 | patents or other property right claims or to contest validity of any | |||
|
217 | such claims; this section has the sole purpose of protecting the | |||
|
218 | integrity of the free software distribution system, which is | |||
|
219 | implemented by public license practices. Many people have made | |||
|
220 | generous contributions to the wide range of software distributed | |||
|
221 | through that system in reliance on consistent application of that | |||
|
222 | system; it is up to the author/donor to decide if he or she is willing | |||
|
223 | to distribute software through any other system and a licensee cannot | |||
|
224 | impose that choice. | |||
|
225 | ||||
|
226 | This section is intended to make thoroughly clear what is believed to | |||
|
227 | be a consequence of the rest of this License. | |||
|
228 | ||||
|
229 | 8. If the distribution and/or use of the Program is restricted in | |||
|
230 | certain countries either by patents or by copyrighted interfaces, the | |||
|
231 | original copyright holder who places the Program under this License | |||
|
232 | may add an explicit geographical distribution limitation excluding | |||
|
233 | those countries, so that distribution is permitted only in or among | |||
|
234 | countries not thus excluded. In such case, this License incorporates | |||
|
235 | the limitation as if written in the body of this License. | |||
|
236 | ||||
|
237 | 9. The Free Software Foundation may publish revised and/or new versions | |||
|
238 | of the General Public License from time to time. Such new versions will | |||
|
239 | be similar in spirit to the present version, but may differ in detail to | |||
|
240 | address new problems or concerns. | |||
|
241 | ||||
|
242 | Each version is given a distinguishing version number. If the Program | |||
|
243 | specifies a version number of this License which applies to it and "any | |||
|
244 | later version", you have the option of following the terms and conditions | |||
|
245 | either of that version or of any later version published by the Free | |||
|
246 | Software Foundation. If the Program does not specify a version number of | |||
|
247 | this License, you may choose any version ever published by the Free Software | |||
|
248 | Foundation. | |||
|
249 | ||||
|
250 | 10. If you wish to incorporate parts of the Program into other free | |||
|
251 | programs whose distribution conditions are different, write to the author | |||
|
252 | to ask for permission. For software which is copyrighted by the Free | |||
|
253 | Software Foundation, write to the Free Software Foundation; we sometimes | |||
|
254 | make exceptions for this. Our decision will be guided by the two goals | |||
|
255 | of preserving the free status of all derivatives of our free software and | |||
|
256 | of promoting the sharing and reuse of software generally. | |||
|
257 | ||||
|
258 | NO WARRANTY | |||
|
259 | ||||
|
260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY | |||
|
261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN | |||
|
262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | |||
|
263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED | |||
|
264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |||
|
265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS | |||
|
266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE | |||
|
267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, | |||
|
268 | REPAIR OR CORRECTION. | |||
|
269 | ||||
|
270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | |||
|
271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR | |||
|
272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, | |||
|
273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING | |||
|
274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | |||
|
275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY | |||
|
276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER | |||
|
277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | |||
|
278 | POSSIBILITY OF SUCH DAMAGES. | |||
|
279 | ||||
|
280 | END OF TERMS AND CONDITIONS | |||
|
281 | ||||
|
282 | How to Apply These Terms to Your New Programs | |||
|
283 | ||||
|
284 | If you develop a new program, and you want it to be of the greatest | |||
|
285 | possible use to the public, the best way to achieve this is to make it | |||
|
286 | free software which everyone can redistribute and change under these terms. | |||
|
287 | ||||
|
288 | To do so, attach the following notices to the program. It is safest | |||
|
289 | to attach them to the start of each source file to most effectively | |||
|
290 | convey the exclusion of warranty; and each file should have at least | |||
|
291 | the "copyright" line and a pointer to where the full notice is found. | |||
|
292 | ||||
|
293 | <one line to give the program's name and a brief idea of what it does.> | |||
|
294 | Copyright (C) <year> <name of author> | |||
|
295 | ||||
|
296 | This program is free software; you can redistribute it and/or modify | |||
|
297 | it under the terms of the GNU General Public License as published by | |||
|
298 | the Free Software Foundation; either version 2 of the License, or | |||
|
299 | (at your option) any later version. | |||
|
300 | ||||
|
301 | This program is distributed in the hope that it will be useful, | |||
|
302 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
|
303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
|
304 | GNU General Public License for more details. | |||
|
305 | ||||
|
306 | You should have received a copy of the GNU General Public License along | |||
|
307 | with this program; if not, write to the Free Software Foundation, Inc., | |||
|
308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |||
|
309 | ||||
|
310 | Also add information on how to contact you by electronic and paper mail. | |||
|
311 | ||||
|
312 | If the program is interactive, make it output a short notice like this | |||
|
313 | when it starts in an interactive mode: | |||
|
314 | ||||
|
315 | Gnomovision version 69, Copyright (C) year name of author | |||
|
316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | |||
|
317 | This is free software, and you are welcome to redistribute it | |||
|
318 | under certain conditions; type `show c' for details. | |||
|
319 | ||||
|
320 | The hypothetical commands `show w' and `show c' should show the appropriate | |||
|
321 | parts of the General Public License. Of course, the commands you use may | |||
|
322 | be called something other than `show w' and `show c'; they could even be | |||
|
323 | mouse-clicks or menu items--whatever suits your program. | |||
|
324 | ||||
|
325 | You should also get your employer (if you work as a programmer) or your | |||
|
326 | school, if any, to sign a "copyright disclaimer" for the program, if | |||
|
327 | necessary. Here is a sample; alter the names: | |||
|
328 | ||||
|
329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program | |||
|
330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. | |||
|
331 | ||||
|
332 | <signature of Ty Coon>, 1 April 1989 | |||
|
333 | Ty Coon, President of Vice | |||
|
334 | ||||
|
335 | This General Public License does not permit incorporating your program into | |||
|
336 | proprietary programs. If your program is a subroutine library, you may | |||
|
337 | consider it more useful to permit linking proprietary applications with the | |||
|
338 | library. If this is what you want to do, use the GNU Lesser General | |||
|
339 | Public License instead of this License. |
@@ -0,0 +1,39 | |||||
|
1 | Kicad Tools | |||
|
2 | ----------- | |||
|
3 | ||||
|
4 | Kicad Tools is a set of tolls which aims to extend kicad functionality. | |||
|
5 | ||||
|
6 | Licensing | |||
|
7 | --------- | |||
|
8 | ||||
|
9 | Kicad Tools is provided under the terms of the GNU General Public License as published by the | |||
|
10 | Free Software Foundation; either version 2 of the License, or (at your option) any | |||
|
11 | later version. | |||
|
12 | ||||
|
13 | Wiki | |||
|
14 | ---- | |||
|
15 | ||||
|
16 | More details [here](https://hephaistos.lpp.polytechnique.fr/redmine/projects/kicadtools/wiki) | |||
|
17 | ||||
|
18 | How to build | |||
|
19 | ------------ | |||
|
20 | ||||
|
21 | To build it on linux you can look here https://hephaistos.lpp.polytechnique.fr/redmine/projects/kicadtools/wiki/Linux_setup | |||
|
22 | ||||
|
23 | If you can't access to it, first you will need a working qt5 kit with all the development packages. | |||
|
24 | Step 1: | |||
|
25 | Get and install SocExplorer | |||
|
26 | ```Bash | |||
|
27 | hg clone https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/kicadtools kicadtools | |||
|
28 | cd kicadtools | |||
|
29 | qmake-qt5 | |||
|
30 | make | |||
|
31 | sudo make install | |||
|
32 | ``` | |||
|
33 | ||||
|
34 | ||||
|
35 | Bug repports | |||
|
36 | ------------ | |||
|
37 | ||||
|
38 | To repport any bug you can either send a [mail](mailto:alexis.jeandet@member.fsf.org) or repport an issue [here](https://hephaistos.lpp.polytechnique.fr/redmine/projects/kicadtools/issues) | |||
|
39 |
@@ -0,0 +1,24 | |||||
|
1 | #================================================================================================ | |||
|
2 | # | |||
|
3 | # _| _| _| _| _|_|_|_|_| _| | |||
|
4 | # _| _| _|_|_| _|_|_| _|_|_| _| _|_| _|_| _| _|_|_ | |||
|
5 | # _|_| _| _| _| _| _| _| _| _| _| _| _| _| _|_| | |||
|
6 | # _| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_ | |||
|
7 | # _| _| _| _|_|_| _|_|_| _|_|_| _| _|_| _|_| _| _|_|_| | |||
|
8 | # | |||
|
9 | #================================================================================================ | |||
|
10 | # | |||
|
11 | # | |||
|
12 | ||||
|
13 | ||||
|
14 | TEMPLATE = subdirs | |||
|
15 | CONFIG += ordered release | |||
|
16 | ||||
|
17 | SUBDIRS += qilib \ | |||
|
18 | test | |||
|
19 | ||||
|
20 | ||||
|
21 | ||||
|
22 | OTHER_FILES += \ | |||
|
23 | README.md \ | |||
|
24 | COPYING |
This diff has been collapsed as it changes many lines, (560 lines changed) Show them Hide them | |||||
@@ -0,0 +1,560 | |||||
|
1 | ############################################################################# | |||
|
2 | # Makefile for building: libQIlib.so.1.0.0 | |||
|
3 | # Generated by qmake (3.0) (Qt 5.2.1) | |||
|
4 | # Project: QIlib.pro | |||
|
5 | # Template: lib | |||
|
6 | # Command: /usr/bin/qmake-qt5 -o Makefile QIlib.pro | |||
|
7 | ############################################################################# | |||
|
8 | ||||
|
9 | MAKEFILE = Makefile | |||
|
10 | ||||
|
11 | ####### Compiler, tools and options | |||
|
12 | ||||
|
13 | CC = gcc | |||
|
14 | CXX = g++ | |||
|
15 | DEFINES = -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB | |||
|
16 | CFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |||
|
17 | CXXFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |||
|
18 | INCPATH = -I/usr/lib64/qt5/mkspecs/linux-g++-64 -I. -Iparsers -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Imoc | |||
|
19 | LINK = g++ | |||
|
20 | LFLAGS = -m64 -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libQIlib.so.1 | |||
|
21 | LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread | |||
|
22 | AR = ar cqs | |||
|
23 | RANLIB = | |||
|
24 | QMAKE = /usr/bin/qmake-qt5 | |||
|
25 | TAR = tar -cf | |||
|
26 | COMPRESS = gzip -9f | |||
|
27 | COPY = cp -f | |||
|
28 | SED = sed | |||
|
29 | COPY_FILE = cp -f | |||
|
30 | COPY_DIR = cp -f -R | |||
|
31 | STRIP = | |||
|
32 | INSTALL_FILE = install -m 644 -p | |||
|
33 | INSTALL_DIR = $(COPY_DIR) | |||
|
34 | INSTALL_PROGRAM = install -m 755 -p | |||
|
35 | DEL_FILE = rm -f | |||
|
36 | SYMLINK = ln -f -s | |||
|
37 | DEL_DIR = rmdir | |||
|
38 | MOVE = mv -f | |||
|
39 | CHK_DIR_EXISTS= test -d | |||
|
40 | MKDIR = mkdir -p | |||
|
41 | ||||
|
42 | ####### Output directory | |||
|
43 | ||||
|
44 | OBJECTS_DIR = obj/ | |||
|
45 | ||||
|
46 | ####### Files | |||
|
47 | ||||
|
48 | SOURCES = qicadnetlist.cpp \ | |||
|
49 | qicadnet.cpp \ | |||
|
50 | qicadnetlistparser.cpp \ | |||
|
51 | parsers/lispLike_driver.cpp \ | |||
|
52 | parsers/lispLike_scanner.cpp lispLike.scanner.cpp \ | |||
|
53 | lispLike.parser.cpp | |||
|
54 | OBJECTS = obj/qicadnetlist.o \ | |||
|
55 | obj/qicadnet.o \ | |||
|
56 | obj/qicadnetlistparser.o \ | |||
|
57 | obj/lispLike_driver.o \ | |||
|
58 | obj/lispLike_scanner.o \ | |||
|
59 | obj/lispLike.scanner.o \ | |||
|
60 | obj/lispLike.parser.o | |||
|
61 | DIST = /usr/lib64/qt5/mkspecs/features/spec_pre.prf \ | |||
|
62 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf \ | |||
|
63 | /usr/lib64/qt5/mkspecs/common/unix.conf \ | |||
|
64 | /usr/lib64/qt5/mkspecs/common/linux.conf \ | |||
|
65 | /usr/lib64/qt5/mkspecs/common/gcc-base.conf \ | |||
|
66 | /usr/lib64/qt5/mkspecs/common/gcc-base-unix.conf \ | |||
|
67 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |||
|
68 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |||
|
69 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |||
|
70 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |||
|
71 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |||
|
72 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |||
|
73 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
|
74 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |||
|
75 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |||
|
76 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |||
|
77 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |||
|
78 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |||
|
79 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus_private.pri \ | |||
|
80 | /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative.pri \ | |||
|
81 | /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative_private.pri \ | |||
|
82 | /usr/lib64/qt5/mkspecs/modules/qt_lib_designer.pri \ | |||
|
83 | /usr/lib64/qt5/mkspecs/modules/qt_lib_designer_private.pri \ | |||
|
84 | /usr/lib64/qt5/mkspecs/modules/qt_lib_designercomponents_private.pri \ | |||
|
85 | /usr/lib64/qt5/mkspecs/modules/qt_lib_gui.pri \ | |||
|
86 | /usr/lib64/qt5/mkspecs/modules/qt_lib_gui_private.pri \ | |||
|
87 | /usr/lib64/qt5/mkspecs/modules/qt_lib_help.pri \ | |||
|
88 | /usr/lib64/qt5/mkspecs/modules/qt_lib_help_private.pri \ | |||
|
89 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia.pri \ | |||
|
90 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia_private.pri \ | |||
|
91 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri \ | |||
|
92 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri \ | |||
|
93 | /usr/lib64/qt5/mkspecs/modules/qt_lib_network.pri \ | |||
|
94 | /usr/lib64/qt5/mkspecs/modules/qt_lib_network_private.pri \ | |||
|
95 | /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl.pri \ | |||
|
96 | /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl_private.pri \ | |||
|
97 | /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions.pri \ | |||
|
98 | /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \ | |||
|
99 | /usr/lib64/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \ | |||
|
100 | /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport.pri \ | |||
|
101 | /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport_private.pri \ | |||
|
102 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qml.pri \ | |||
|
103 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qml_private.pri \ | |||
|
104 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri \ | |||
|
105 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest.pri \ | |||
|
106 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest_private.pri \ | |||
|
107 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \ | |||
|
108 | /usr/lib64/qt5/mkspecs/modules/qt_lib_quick.pri \ | |||
|
109 | /usr/lib64/qt5/mkspecs/modules/qt_lib_quick_private.pri \ | |||
|
110 | /usr/lib64/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri \ | |||
|
111 | /usr/lib64/qt5/mkspecs/modules/qt_lib_script.pri \ | |||
|
112 | /usr/lib64/qt5/mkspecs/modules/qt_lib_script_private.pri \ | |||
|
113 | /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools.pri \ | |||
|
114 | /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools_private.pri \ | |||
|
115 | /usr/lib64/qt5/mkspecs/modules/qt_lib_sql.pri \ | |||
|
116 | /usr/lib64/qt5/mkspecs/modules/qt_lib_sql_private.pri \ | |||
|
117 | /usr/lib64/qt5/mkspecs/modules/qt_lib_svg.pri \ | |||
|
118 | /usr/lib64/qt5/mkspecs/modules/qt_lib_svg_private.pri \ | |||
|
119 | /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib.pri \ | |||
|
120 | /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib_private.pri \ | |||
|
121 | /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools.pri \ | |||
|
122 | /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools_private.pri \ | |||
|
123 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit.pri \ | |||
|
124 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit_private.pri \ | |||
|
125 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri \ | |||
|
126 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri \ | |||
|
127 | /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets.pri \ | |||
|
128 | /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets_private.pri \ | |||
|
129 | /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri \ | |||
|
130 | /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri \ | |||
|
131 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xml.pri \ | |||
|
132 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xml_private.pri \ | |||
|
133 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri \ | |||
|
134 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri \ | |||
|
135 | /usr/lib64/qt5/mkspecs/features/qt_functions.prf \ | |||
|
136 | /usr/lib64/qt5/mkspecs/features/qt_config.prf \ | |||
|
137 | /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf \ | |||
|
138 | /usr/lib64/qt5/mkspecs/features/spec_post.prf \ | |||
|
139 | /usr/lib64/qt5/mkspecs/features/exclusive_builds.prf \ | |||
|
140 | /usr/lib64/qt5/mkspecs/features/default_pre.prf \ | |||
|
141 | parsers/Flex_Bison_FIles/Flex_Bison_FIles.pri \ | |||
|
142 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf \ | |||
|
143 | /usr/lib64/qt5/mkspecs/features/default_post.prf \ | |||
|
144 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \ | |||
|
145 | /usr/lib64/qt5/mkspecs/features/warn_on.prf \ | |||
|
146 | /usr/lib64/qt5/mkspecs/features/qt.prf \ | |||
|
147 | /usr/lib64/qt5/mkspecs/features/resources.prf \ | |||
|
148 | /usr/lib64/qt5/mkspecs/features/moc.prf \ | |||
|
149 | /usr/lib64/qt5/mkspecs/features/unix/opengl.prf \ | |||
|
150 | /usr/lib64/qt5/mkspecs/features/uic.prf \ | |||
|
151 | /usr/lib64/qt5/mkspecs/features/unix/thread.prf \ | |||
|
152 | /usr/lib64/qt5/mkspecs/features/testcase_targets.prf \ | |||
|
153 | /usr/lib64/qt5/mkspecs/features/exceptions.prf \ | |||
|
154 | /usr/lib64/qt5/mkspecs/features/yacc.prf \ | |||
|
155 | /usr/lib64/qt5/mkspecs/features/lex.prf \ | |||
|
156 | QIlib.pro \ | |||
|
157 | QIlib.pro | |||
|
158 | QMAKE_TARGET = QIlib | |||
|
159 | DESTDIR = #avoid trailing-slash linebreak | |||
|
160 | TARGET = libQIlib.so.1.0.0 | |||
|
161 | TARGETA = libQIlib.a | |||
|
162 | TARGETD = libQIlib.so.1.0.0 | |||
|
163 | TARGET0 = libQIlib.so | |||
|
164 | TARGET1 = libQIlib.so.1 | |||
|
165 | TARGET2 = libQIlib.so.1.0 | |||
|
166 | ||||
|
167 | ||||
|
168 | first: all | |||
|
169 | ####### Implicit rules | |||
|
170 | ||||
|
171 | .SUFFIXES: .o .c .cpp .cc .cxx .C | |||
|
172 | ||||
|
173 | .cpp.o: | |||
|
174 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |||
|
175 | ||||
|
176 | .cc.o: | |||
|
177 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |||
|
178 | ||||
|
179 | .cxx.o: | |||
|
180 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |||
|
181 | ||||
|
182 | .C.o: | |||
|
183 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |||
|
184 | ||||
|
185 | .c.o: | |||
|
186 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" | |||
|
187 | ||||
|
188 | ####### Build rules | |||
|
189 | ||||
|
190 | all: Makefile $(TARGET) | |||
|
191 | ||||
|
192 | $(TARGET): lispLike.parser.cpp $(OBJECTS) $(SUBLIBS) $(OBJCOMP) | |||
|
193 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | |||
|
194 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) | |||
|
195 | -ln -s $(TARGET) $(TARGET0) | |||
|
196 | -ln -s $(TARGET) $(TARGET1) | |||
|
197 | -ln -s $(TARGET) $(TARGET2) | |||
|
198 | ||||
|
199 | ||||
|
200 | ||||
|
201 | staticlib: $(TARGETA) | |||
|
202 | ||||
|
203 | $(TARGETA): lispLike.parser.cpp $(OBJECTS) $(OBJCOMP) | |||
|
204 | -$(DEL_FILE) $(TARGETA) | |||
|
205 | $(AR) $(TARGETA) $(OBJECTS) | |||
|
206 | ||||
|
207 | Makefile: QIlib.pro /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf /usr/lib64/qt5/mkspecs/features/spec_pre.prf \ | |||
|
208 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf \ | |||
|
209 | /usr/lib64/qt5/mkspecs/common/unix.conf \ | |||
|
210 | /usr/lib64/qt5/mkspecs/common/linux.conf \ | |||
|
211 | /usr/lib64/qt5/mkspecs/common/gcc-base.conf \ | |||
|
212 | /usr/lib64/qt5/mkspecs/common/gcc-base-unix.conf \ | |||
|
213 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |||
|
214 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |||
|
215 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |||
|
216 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |||
|
217 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |||
|
218 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |||
|
219 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
|
220 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |||
|
221 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |||
|
222 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |||
|
223 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |||
|
224 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |||
|
225 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus_private.pri \ | |||
|
226 | /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative.pri \ | |||
|
227 | /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative_private.pri \ | |||
|
228 | /usr/lib64/qt5/mkspecs/modules/qt_lib_designer.pri \ | |||
|
229 | /usr/lib64/qt5/mkspecs/modules/qt_lib_designer_private.pri \ | |||
|
230 | /usr/lib64/qt5/mkspecs/modules/qt_lib_designercomponents_private.pri \ | |||
|
231 | /usr/lib64/qt5/mkspecs/modules/qt_lib_gui.pri \ | |||
|
232 | /usr/lib64/qt5/mkspecs/modules/qt_lib_gui_private.pri \ | |||
|
233 | /usr/lib64/qt5/mkspecs/modules/qt_lib_help.pri \ | |||
|
234 | /usr/lib64/qt5/mkspecs/modules/qt_lib_help_private.pri \ | |||
|
235 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia.pri \ | |||
|
236 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia_private.pri \ | |||
|
237 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri \ | |||
|
238 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri \ | |||
|
239 | /usr/lib64/qt5/mkspecs/modules/qt_lib_network.pri \ | |||
|
240 | /usr/lib64/qt5/mkspecs/modules/qt_lib_network_private.pri \ | |||
|
241 | /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl.pri \ | |||
|
242 | /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl_private.pri \ | |||
|
243 | /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions.pri \ | |||
|
244 | /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \ | |||
|
245 | /usr/lib64/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \ | |||
|
246 | /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport.pri \ | |||
|
247 | /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport_private.pri \ | |||
|
248 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qml.pri \ | |||
|
249 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qml_private.pri \ | |||
|
250 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri \ | |||
|
251 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest.pri \ | |||
|
252 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest_private.pri \ | |||
|
253 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \ | |||
|
254 | /usr/lib64/qt5/mkspecs/modules/qt_lib_quick.pri \ | |||
|
255 | /usr/lib64/qt5/mkspecs/modules/qt_lib_quick_private.pri \ | |||
|
256 | /usr/lib64/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri \ | |||
|
257 | /usr/lib64/qt5/mkspecs/modules/qt_lib_script.pri \ | |||
|
258 | /usr/lib64/qt5/mkspecs/modules/qt_lib_script_private.pri \ | |||
|
259 | /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools.pri \ | |||
|
260 | /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools_private.pri \ | |||
|
261 | /usr/lib64/qt5/mkspecs/modules/qt_lib_sql.pri \ | |||
|
262 | /usr/lib64/qt5/mkspecs/modules/qt_lib_sql_private.pri \ | |||
|
263 | /usr/lib64/qt5/mkspecs/modules/qt_lib_svg.pri \ | |||
|
264 | /usr/lib64/qt5/mkspecs/modules/qt_lib_svg_private.pri \ | |||
|
265 | /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib.pri \ | |||
|
266 | /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib_private.pri \ | |||
|
267 | /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools.pri \ | |||
|
268 | /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools_private.pri \ | |||
|
269 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit.pri \ | |||
|
270 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit_private.pri \ | |||
|
271 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri \ | |||
|
272 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri \ | |||
|
273 | /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets.pri \ | |||
|
274 | /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets_private.pri \ | |||
|
275 | /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri \ | |||
|
276 | /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri \ | |||
|
277 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xml.pri \ | |||
|
278 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xml_private.pri \ | |||
|
279 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri \ | |||
|
280 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri \ | |||
|
281 | /usr/lib64/qt5/mkspecs/features/qt_functions.prf \ | |||
|
282 | /usr/lib64/qt5/mkspecs/features/qt_config.prf \ | |||
|
283 | /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf \ | |||
|
284 | /usr/lib64/qt5/mkspecs/features/spec_post.prf \ | |||
|
285 | /usr/lib64/qt5/mkspecs/features/exclusive_builds.prf \ | |||
|
286 | /usr/lib64/qt5/mkspecs/features/default_pre.prf \ | |||
|
287 | parsers/Flex_Bison_FIles/Flex_Bison_FIles.pri \ | |||
|
288 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf \ | |||
|
289 | /usr/lib64/qt5/mkspecs/features/default_post.prf \ | |||
|
290 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \ | |||
|
291 | /usr/lib64/qt5/mkspecs/features/warn_on.prf \ | |||
|
292 | /usr/lib64/qt5/mkspecs/features/qt.prf \ | |||
|
293 | /usr/lib64/qt5/mkspecs/features/resources.prf \ | |||
|
294 | /usr/lib64/qt5/mkspecs/features/moc.prf \ | |||
|
295 | /usr/lib64/qt5/mkspecs/features/unix/opengl.prf \ | |||
|
296 | /usr/lib64/qt5/mkspecs/features/uic.prf \ | |||
|
297 | /usr/lib64/qt5/mkspecs/features/unix/thread.prf \ | |||
|
298 | /usr/lib64/qt5/mkspecs/features/testcase_targets.prf \ | |||
|
299 | /usr/lib64/qt5/mkspecs/features/exceptions.prf \ | |||
|
300 | /usr/lib64/qt5/mkspecs/features/yacc.prf \ | |||
|
301 | /usr/lib64/qt5/mkspecs/features/lex.prf \ | |||
|
302 | QIlib.pro \ | |||
|
303 | /lib64/libQt5Widgets.prl \ | |||
|
304 | /lib64/libQt5Gui.prl \ | |||
|
305 | /lib64/libQt5Core.prl | |||
|
306 | $(QMAKE) -o Makefile QIlib.pro | |||
|
307 | /usr/lib64/qt5/mkspecs/features/spec_pre.prf: | |||
|
308 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf: | |||
|
309 | /usr/lib64/qt5/mkspecs/common/unix.conf: | |||
|
310 | /usr/lib64/qt5/mkspecs/common/linux.conf: | |||
|
311 | /usr/lib64/qt5/mkspecs/common/gcc-base.conf: | |||
|
312 | /usr/lib64/qt5/mkspecs/common/gcc-base-unix.conf: | |||
|
313 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: | |||
|
314 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: | |||
|
315 | /usr/lib64/qt5/mkspecs/qconfig.pri: | |||
|
316 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: | |||
|
317 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: | |||
|
318 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: | |||
|
319 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri: | |||
|
320 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: | |||
|
321 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: | |||
|
322 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: | |||
|
323 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: | |||
|
324 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: | |||
|
325 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus_private.pri: | |||
|
326 | /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative.pri: | |||
|
327 | /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative_private.pri: | |||
|
328 | /usr/lib64/qt5/mkspecs/modules/qt_lib_designer.pri: | |||
|
329 | /usr/lib64/qt5/mkspecs/modules/qt_lib_designer_private.pri: | |||
|
330 | /usr/lib64/qt5/mkspecs/modules/qt_lib_designercomponents_private.pri: | |||
|
331 | /usr/lib64/qt5/mkspecs/modules/qt_lib_gui.pri: | |||
|
332 | /usr/lib64/qt5/mkspecs/modules/qt_lib_gui_private.pri: | |||
|
333 | /usr/lib64/qt5/mkspecs/modules/qt_lib_help.pri: | |||
|
334 | /usr/lib64/qt5/mkspecs/modules/qt_lib_help_private.pri: | |||
|
335 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia.pri: | |||
|
336 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia_private.pri: | |||
|
337 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri: | |||
|
338 | /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri: | |||
|
339 | /usr/lib64/qt5/mkspecs/modules/qt_lib_network.pri: | |||
|
340 | /usr/lib64/qt5/mkspecs/modules/qt_lib_network_private.pri: | |||
|
341 | /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl.pri: | |||
|
342 | /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl_private.pri: | |||
|
343 | /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions.pri: | |||
|
344 | /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri: | |||
|
345 | /usr/lib64/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri: | |||
|
346 | /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport.pri: | |||
|
347 | /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport_private.pri: | |||
|
348 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qml.pri: | |||
|
349 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qml_private.pri: | |||
|
350 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri: | |||
|
351 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest.pri: | |||
|
352 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest_private.pri: | |||
|
353 | /usr/lib64/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri: | |||
|
354 | /usr/lib64/qt5/mkspecs/modules/qt_lib_quick.pri: | |||
|
355 | /usr/lib64/qt5/mkspecs/modules/qt_lib_quick_private.pri: | |||
|
356 | /usr/lib64/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri: | |||
|
357 | /usr/lib64/qt5/mkspecs/modules/qt_lib_script.pri: | |||
|
358 | /usr/lib64/qt5/mkspecs/modules/qt_lib_script_private.pri: | |||
|
359 | /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools.pri: | |||
|
360 | /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools_private.pri: | |||
|
361 | /usr/lib64/qt5/mkspecs/modules/qt_lib_sql.pri: | |||
|
362 | /usr/lib64/qt5/mkspecs/modules/qt_lib_sql_private.pri: | |||
|
363 | /usr/lib64/qt5/mkspecs/modules/qt_lib_svg.pri: | |||
|
364 | /usr/lib64/qt5/mkspecs/modules/qt_lib_svg_private.pri: | |||
|
365 | /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib.pri: | |||
|
366 | /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib_private.pri: | |||
|
367 | /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools.pri: | |||
|
368 | /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools_private.pri: | |||
|
369 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit.pri: | |||
|
370 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit_private.pri: | |||
|
371 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri: | |||
|
372 | /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri: | |||
|
373 | /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets.pri: | |||
|
374 | /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets_private.pri: | |||
|
375 | /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri: | |||
|
376 | /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri: | |||
|
377 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xml.pri: | |||
|
378 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xml_private.pri: | |||
|
379 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri: | |||
|
380 | /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri: | |||
|
381 | /usr/lib64/qt5/mkspecs/features/qt_functions.prf: | |||
|
382 | /usr/lib64/qt5/mkspecs/features/qt_config.prf: | |||
|
383 | /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf: | |||
|
384 | /usr/lib64/qt5/mkspecs/features/spec_post.prf: | |||
|
385 | /usr/lib64/qt5/mkspecs/features/exclusive_builds.prf: | |||
|
386 | /usr/lib64/qt5/mkspecs/features/default_pre.prf: | |||
|
387 | parsers/Flex_Bison_FIles/Flex_Bison_FIles.pri: | |||
|
388 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf: | |||
|
389 | /usr/lib64/qt5/mkspecs/features/default_post.prf: | |||
|
390 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf: | |||
|
391 | /usr/lib64/qt5/mkspecs/features/warn_on.prf: | |||
|
392 | /usr/lib64/qt5/mkspecs/features/qt.prf: | |||
|
393 | /usr/lib64/qt5/mkspecs/features/resources.prf: | |||
|
394 | /usr/lib64/qt5/mkspecs/features/moc.prf: | |||
|
395 | /usr/lib64/qt5/mkspecs/features/unix/opengl.prf: | |||
|
396 | /usr/lib64/qt5/mkspecs/features/uic.prf: | |||
|
397 | /usr/lib64/qt5/mkspecs/features/unix/thread.prf: | |||
|
398 | /usr/lib64/qt5/mkspecs/features/testcase_targets.prf: | |||
|
399 | /usr/lib64/qt5/mkspecs/features/exceptions.prf: | |||
|
400 | /usr/lib64/qt5/mkspecs/features/yacc.prf: | |||
|
401 | /usr/lib64/qt5/mkspecs/features/lex.prf: | |||
|
402 | QIlib.pro: | |||
|
403 | /lib64/libQt5Widgets.prl: | |||
|
404 | /lib64/libQt5Gui.prl: | |||
|
405 | /lib64/libQt5Core.prl: | |||
|
406 | qmake: FORCE | |||
|
407 | @$(QMAKE) -o Makefile QIlib.pro | |||
|
408 | ||||
|
409 | qmake_all: FORCE | |||
|
410 | ||||
|
411 | dist: | |||
|
412 | @test -d obj/QIlib1.0.0 || mkdir -p obj/QIlib1.0.0 | |||
|
413 | $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/QIlib1.0.0/ && $(COPY_FILE) --parents parsers/Flex_Bison_FIles/lispLike.scanner.l obj/QIlib1.0.0/ && $(COPY_FILE) --parents parsers/Flex_Bison_FIles/lispLike.parser.yy obj/QIlib1.0.0/ && $(COPY_FILE) --parents qicadnetlist.h qicadnet.h qicadnetlistparser.h parsers/lispLike_driver.h parsers/lispLike_scanner.h obj/QIlib1.0.0/ && $(COPY_FILE) --parents qicadnetlist.cpp qicadnet.cpp qicadnetlistparser.cpp parsers/lispLike_driver.cpp parsers/lispLike_scanner.cpp obj/QIlib1.0.0/ && (cd `dirname obj/QIlib1.0.0` && $(TAR) QIlib1.0.0.tar QIlib1.0.0 && $(COMPRESS) QIlib1.0.0.tar) && $(MOVE) `dirname obj/QIlib1.0.0`/QIlib1.0.0.tar.gz . && $(DEL_FILE) -r obj/QIlib1.0.0 | |||
|
414 | ||||
|
415 | ||||
|
416 | clean:compiler_clean | |||
|
417 | -$(DEL_FILE) $(OBJECTS) | |||
|
418 | -$(DEL_FILE) *~ core *.core | |||
|
419 | ||||
|
420 | ||||
|
421 | ####### Sub-libraries | |||
|
422 | ||||
|
423 | distclean: clean | |||
|
424 | -$(DEL_FILE) $(TARGET) | |||
|
425 | -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA) | |||
|
426 | -$(DEL_FILE) Makefile | |||
|
427 | ||||
|
428 | ||||
|
429 | mocclean: compiler_moc_header_clean compiler_moc_source_clean | |||
|
430 | ||||
|
431 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all | |||
|
432 | ||||
|
433 | check: first | |||
|
434 | ||||
|
435 | compiler_flex_make_all: lispLike.scanner.cpp | |||
|
436 | compiler_flex_clean: | |||
|
437 | -$(DEL_FILE) lispLike.scanner.cpp | |||
|
438 | lispLike.scanner.cpp: parsers/Flex_Bison_FIles/lispLike.scanner.l | |||
|
439 | flex -i -olispLike.scanner.cpp parsers/Flex_Bison_FIles/lispLike.scanner.l | |||
|
440 | ||||
|
441 | compiler_bison_make_all: lispLike.parser.cpp | |||
|
442 | compiler_bison_clean: | |||
|
443 | -$(DEL_FILE) lispLike.parser.cpp | |||
|
444 | lispLike.parser.cpp: parsers/Flex_Bison_FIles/lispLike.parser.yy | |||
|
445 | bison -d -o lispLike.parser.cpp parsers/Flex_Bison_FIles/lispLike.parser.yy | |||
|
446 | ||||
|
447 | compiler_rcc_make_all: | |||
|
448 | compiler_rcc_clean: | |||
|
449 | compiler_moc_header_make_all: | |||
|
450 | compiler_moc_header_clean: | |||
|
451 | compiler_moc_source_make_all: | |||
|
452 | compiler_moc_source_clean: | |||
|
453 | compiler_uic_make_all: | |||
|
454 | compiler_uic_clean: | |||
|
455 | compiler_yacc_decl_make_all: | |||
|
456 | compiler_yacc_decl_clean: | |||
|
457 | compiler_yacc_impl_make_all: | |||
|
458 | compiler_yacc_impl_clean: | |||
|
459 | compiler_lex_make_all: | |||
|
460 | compiler_lex_clean: | |||
|
461 | compiler_clean: compiler_flex_clean compiler_bison_clean | |||
|
462 | ||||
|
463 | ####### Compile | |||
|
464 | ||||
|
465 | obj/qicadnetlist.o: qicadnetlist.cpp | |||
|
466 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qicadnetlist.o qicadnetlist.cpp | |||
|
467 | ||||
|
468 | obj/qicadnet.o: qicadnet.cpp | |||
|
469 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qicadnet.o qicadnet.cpp | |||
|
470 | ||||
|
471 | obj/qicadnetlistparser.o: qicadnetlistparser.cpp | |||
|
472 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qicadnetlistparser.o qicadnetlistparser.cpp | |||
|
473 | ||||
|
474 | obj/lispLike_driver.o: parsers/lispLike_driver.cpp parsers/lispLike_driver.h \ | |||
|
475 | parsers/lispLike_scanner.h \ | |||
|
476 | /usr/include/qt5/QtCore/QString \ | |||
|
477 | /usr/include/qt5/QtCore/qstring.h \ | |||
|
478 | /usr/include/qt5/QtCore/qchar.h \ | |||
|
479 | /usr/include/qt5/QtCore/qglobal.h \ | |||
|
480 | /usr/include/qt5/QtCore/qconfig.h \ | |||
|
481 | /usr/include/qt5/QtCore/qconfig-64.h \ | |||
|
482 | /usr/include/qt5/QtCore/qfeatures.h \ | |||
|
483 | /usr/include/qt5/QtCore/qsystemdetection.h \ | |||
|
484 | /usr/include/qt5/QtCore/qprocessordetection.h \ | |||
|
485 | /usr/include/qt5/QtCore/qcompilerdetection.h \ | |||
|
486 | /usr/include/qt5/QtCore/qglobalstatic.h \ | |||
|
487 | /usr/include/qt5/QtCore/qatomic.h \ | |||
|
488 | /usr/include/qt5/QtCore/qbasicatomic.h \ | |||
|
489 | /usr/include/qt5/QtCore/qatomic_bootstrap.h \ | |||
|
490 | /usr/include/qt5/QtCore/qgenericatomic.h \ | |||
|
491 | /usr/include/qt5/QtCore/qatomic_msvc.h \ | |||
|
492 | /usr/include/qt5/QtCore/qatomic_integrity.h \ | |||
|
493 | /usr/include/qt5/QtCore/qoldbasicatomic.h \ | |||
|
494 | /usr/include/qt5/QtCore/qatomic_vxworks.h \ | |||
|
495 | /usr/include/qt5/QtCore/qatomic_power.h \ | |||
|
496 | /usr/include/qt5/QtCore/qatomic_alpha.h \ | |||
|
497 | /usr/include/qt5/QtCore/qatomic_armv7.h \ | |||
|
498 | /usr/include/qt5/QtCore/qatomic_armv6.h \ | |||
|
499 | /usr/include/qt5/QtCore/qatomic_armv5.h \ | |||
|
500 | /usr/include/qt5/QtCore/qatomic_bfin.h \ | |||
|
501 | /usr/include/qt5/QtCore/qatomic_ia64.h \ | |||
|
502 | /usr/include/qt5/QtCore/qatomic_mips.h \ | |||
|
503 | /usr/include/qt5/QtCore/qatomic_s390.h \ | |||
|
504 | /usr/include/qt5/QtCore/qatomic_sh4a.h \ | |||
|
505 | /usr/include/qt5/QtCore/qatomic_sparc.h \ | |||
|
506 | /usr/include/qt5/QtCore/qatomic_x86.h \ | |||
|
507 | /usr/include/qt5/QtCore/qatomic_cxx11.h \ | |||
|
508 | /usr/include/qt5/QtCore/qatomic_gcc.h \ | |||
|
509 | /usr/include/qt5/QtCore/qatomic_unix.h \ | |||
|
510 | /usr/include/qt5/QtCore/qmutex.h \ | |||
|
511 | /usr/include/qt5/QtCore/qlogging.h \ | |||
|
512 | /usr/include/qt5/QtCore/qflags.h \ | |||
|
513 | /usr/include/qt5/QtCore/qtypeinfo.h \ | |||
|
514 | /usr/include/qt5/QtCore/qtypetraits.h \ | |||
|
515 | /usr/include/qt5/QtCore/qsysinfo.h \ | |||
|
516 | /usr/include/qt5/QtCore/qbytearray.h \ | |||
|
517 | /usr/include/qt5/QtCore/qrefcount.h \ | |||
|
518 | /usr/include/qt5/QtCore/qnamespace.h \ | |||
|
519 | /usr/include/qt5/QtCore/qarraydata.h \ | |||
|
520 | /usr/include/qt5/QtCore/qstringbuilder.h \ | |||
|
521 | /usr/include/qt5/QtCore/QList \ | |||
|
522 | /usr/include/qt5/QtCore/qlist.h \ | |||
|
523 | /usr/include/qt5/QtCore/qalgorithms.h \ | |||
|
524 | /usr/include/qt5/QtCore/qiterator.h \ | |||
|
525 | /usr/include/qt5/QtCore/QStringList \ | |||
|
526 | /usr/include/qt5/QtCore/qstringlist.h \ | |||
|
527 | /usr/include/qt5/QtCore/qdatastream.h \ | |||
|
528 | /usr/include/qt5/QtCore/qscopedpointer.h \ | |||
|
529 | /usr/include/qt5/QtCore/qiodevice.h \ | |||
|
530 | /usr/include/qt5/QtCore/qobject.h \ | |||
|
531 | /usr/include/qt5/QtCore/qobjectdefs.h \ | |||
|
532 | /usr/include/qt5/QtCore/qobjectdefs_impl.h \ | |||
|
533 | /usr/include/qt5/QtCore/qcoreevent.h \ | |||
|
534 | /usr/include/qt5/QtCore/qmetatype.h \ | |||
|
535 | /usr/include/qt5/QtCore/qvarlengtharray.h \ | |||
|
536 | /usr/include/qt5/QtCore/qcontainerfwd.h \ | |||
|
537 | /usr/include/qt5/QtCore/qisenum.h \ | |||
|
538 | /usr/include/qt5/QtCore/qobject_impl.h \ | |||
|
539 | /usr/include/qt5/QtCore/qpair.h \ | |||
|
540 | /usr/include/qt5/QtCore/qregexp.h \ | |||
|
541 | /usr/include/qt5/QtCore/qstringmatcher.h | |||
|
542 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/lispLike_driver.o parsers/lispLike_driver.cpp | |||
|
543 | ||||
|
544 | obj/lispLike_scanner.o: parsers/lispLike_scanner.cpp parsers/lispLike_scanner.h | |||
|
545 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/lispLike_scanner.o parsers/lispLike_scanner.cpp | |||
|
546 | ||||
|
547 | obj/lispLike.scanner.o: lispLike.scanner.cpp | |||
|
548 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/lispLike.scanner.o lispLike.scanner.cpp | |||
|
549 | ||||
|
550 | obj/lispLike.parser.o: lispLike.parser.cpp | |||
|
551 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/lispLike.parser.o lispLike.parser.cpp | |||
|
552 | ||||
|
553 | ####### Install | |||
|
554 | ||||
|
555 | install: FORCE | |||
|
556 | ||||
|
557 | uninstall: FORCE | |||
|
558 | ||||
|
559 | FORCE: | |||
|
560 |
@@ -0,0 +1,64 | |||||
|
1 | #================================================== | |||
|
2 | # | |||
|
3 | # _|_| _|_|_| _| _| _| | |||
|
4 | # _| _| _| _| _|_|_| | |||
|
5 | # _| _|_| _| _| _| _| _| | |||
|
6 | # _| _| _| _| _| _| _| | |||
|
7 | # _|_| _| _|_|_| _| _| _|_|_| | |||
|
8 | # | |||
|
9 | #================================================== | |||
|
10 | # | |||
|
11 | # | |||
|
12 | ||||
|
13 | message(" Check if Flex is installed ") | |||
|
14 | !system( "flex -V > temp" ){ | |||
|
15 | error("flex isn't installed, you should install it first or check that it is in the PATH") | |||
|
16 | system( $$QMAKE_DEL_FILE $$PWD"/temp" ) | |||
|
17 | } | |||
|
18 | message(" Success Flex is installed ") | |||
|
19 | message(" Check if Bison is installed ") | |||
|
20 | !system( "bison -V > temp" ){ | |||
|
21 | error("bison isn't installed, you should install it first or check that it is in the PATH") | |||
|
22 | system( $$QMAKE_DEL_FILE $$PWD"/temp" ) | |||
|
23 | } | |||
|
24 | message(" Success Bison is installed ") | |||
|
25 | system( $$QMAKE_DEL_FILE $$PWD"/temp" ) | |||
|
26 | ||||
|
27 | FLEXSOURCES += \ | |||
|
28 | $${PWD}/lispLike.l | |||
|
29 | ||||
|
30 | BISONSOURCES += \ | |||
|
31 | $${PWD}/lispLike.yy | |||
|
32 | ||||
|
33 | lispLikeHeaders.path = $$[QT_INSTALL_HEADERS]/QIlib/lispLike | |||
|
34 | lispLikeHeaders.files = \ | |||
|
35 | $${DESTDIR}/../lispLike/lispLike.hpp \ | |||
|
36 | $${DESTDIR}/../lispLike/location.hh \ | |||
|
37 | $${DESTDIR}/../lispLike/position.hh \ | |||
|
38 | $${DESTDIR}/../lispLike/stack.hh | |||
|
39 | ||||
|
40 | INCLUDEPATH += $${DESTDIR}/.. | |||
|
41 | INSTALLS += lispLikeHeaders | |||
|
42 | ||||
|
43 | flex.name = Flex | |||
|
44 | flex.input = FLEXSOURCES | |||
|
45 | flex.output = ${QMAKE_FILE_BASE}"/lex."${QMAKE_FILE_BASE}.cpp | |||
|
46 | flex.commands = flex -i -o${QMAKE_FILE_OUT} ${QMAKE_FILE_IN} | |||
|
47 | flex.variable_out = SOURCES | |||
|
48 | QMAKE_EXTRA_COMPILERS += flex | |||
|
49 | ||||
|
50 | bison.name = Bison | |||
|
51 | bison.input = BISONSOURCES | |||
|
52 | bison.output = ${QMAKE_FILE_BASE}"/"${QMAKE_FILE_BASE}.cpp | |||
|
53 | bison.commands = bison -d -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_IN} | |||
|
54 | bison.CONFIG += target_predeps | |||
|
55 | bison.variable_out = SOURCES | |||
|
56 | QMAKE_EXTRA_COMPILERS += bison | |||
|
57 | ||||
|
58 | OTHER_FILES += \ | |||
|
59 | $$BISONSOURCES \ | |||
|
60 | $$FLEXSOURCES | |||
|
61 | ||||
|
62 | ||||
|
63 | ||||
|
64 |
@@ -0,0 +1,75 | |||||
|
1 | %{ | |||
|
2 | /* C++ string header, for string ops below */ | |||
|
3 | #include <string> | |||
|
4 | #include <QString> | |||
|
5 | /* Implementation of yyFlexScanner */ | |||
|
6 | #include "lispLike_scanner.h" | |||
|
7 | #include "lispLike.hpp" | |||
|
8 | ||||
|
9 | /* typedef to make the returns for the tokens shorter */ | |||
|
10 | typedef QIlib::lispLike_Parser::token token; | |||
|
11 | ||||
|
12 | /* define to keep from re-typing the same code over and over */ | |||
|
13 | #define STOKEN( x ) ( new QString( x ) ) | |||
|
14 | ||||
|
15 | /* define yyterminate as this instead of NULL */ | |||
|
16 | //#define yyterminate() return( token::END ) | |||
|
17 | ||||
|
18 | /* msvc2010 requires that we exclude this header file. */ | |||
|
19 | #define YY_NO_UNISTD_H | |||
|
20 | %} | |||
|
21 | ||||
|
22 | %option debug | |||
|
23 | %option nodefault | |||
|
24 | %option yyclass="lispLike_Scanner" | |||
|
25 | %option noyywrap | |||
|
26 | %option c++ | |||
|
27 | ||||
|
28 | ||||
|
29 | /* . { return yytext[0]; }*/ | |||
|
30 | ||||
|
31 | %% | |||
|
32 | ||||
|
33 | [ \t\n]+ { } | |||
|
34 | ||||
|
35 | ||||
|
36 | \"[a-zA-Z0-9\-\/\(\)\. \:]+\" { | |||
|
37 | yylval->sval = STOKEN( yytext ); | |||
|
38 | return( token::VALUE ); | |||
|
39 | } | |||
|
40 | ||||
|
41 | \([a-zA-Z0-9]+ { | |||
|
42 | yylval->sval = STOKEN( yytext ); | |||
|
43 | return( token::NODE ); | |||
|
44 | } | |||
|
45 | ||||
|
46 | ||||
|
47 | \) { | |||
|
48 | return( token::CLOSENODE ); | |||
|
49 | } | |||
|
50 | ||||
|
51 | ||||
|
52 | [a-zA-Z0-9\-\/\.\_\~\?\*]+ { | |||
|
53 | yylval->sval = STOKEN( yytext ); | |||
|
54 | return( token::VALUE ); | |||
|
55 | } | |||
|
56 | ||||
|
57 | ||||
|
58 | ||||
|
59 | \"\" { | |||
|
60 | yylval->sval = STOKEN( yytext ); | |||
|
61 | return( token::VALUE ); | |||
|
62 | } | |||
|
63 | ||||
|
64 | ||||
|
65 | .|\n {} | |||
|
66 | ||||
|
67 | ||||
|
68 | %% | |||
|
69 | ||||
|
70 | ||||
|
71 | ||||
|
72 | ||||
|
73 | ||||
|
74 | ||||
|
75 |
@@ -0,0 +1,77 | |||||
|
1 | %skeleton "lalr1.cc" | |||
|
2 | //%require "3.0" | |||
|
3 | %debug | |||
|
4 | %defines | |||
|
5 | %define namespace "QIlib" | |||
|
6 | %define parser_class_name "lispLike_Parser" | |||
|
7 | ||||
|
8 | %code requires{ | |||
|
9 | #include <QString> | |||
|
10 | namespace QIlib { | |||
|
11 | class lispLike_Driver; | |||
|
12 | class lispLike_Scanner; | |||
|
13 | } | |||
|
14 | } | |||
|
15 | ||||
|
16 | %lex-param { QIlib::lispLike_Scanner &scanner } | |||
|
17 | %parse-param { QIlib::lispLike_Scanner &scanner } | |||
|
18 | ||||
|
19 | %lex-param { QIlib::lispLike_Driver &driver } | |||
|
20 | %parse-param { QIlib::lispLike_Driver &driver } | |||
|
21 | ||||
|
22 | %code{ | |||
|
23 | #include <iostream> | |||
|
24 | #include <cstdlib> | |||
|
25 | #include <fstream> | |||
|
26 | /* include for all driver functions */ | |||
|
27 | #include <lispLike_driver.h> | |||
|
28 | ||||
|
29 | /* this is silly, but I can't figure out a way around */ | |||
|
30 | static int yylex(QIlib::lispLike_Parser::semantic_type *yylval, | |||
|
31 | QIlib::lispLike_Scanner &scanner, | |||
|
32 | QIlib::lispLike_Driver &driver); | |||
|
33 | ||||
|
34 | ||||
|
35 | } | |||
|
36 | ||||
|
37 | /* token types */ | |||
|
38 | %union { | |||
|
39 | QString* sval; | |||
|
40 | } | |||
|
41 | ||||
|
42 | //%token END 0 "end of file" | |||
|
43 | %token <sval> VALUE | |||
|
44 | %token <sval> NODE | |||
|
45 | %token CLOSENODE | |||
|
46 | ||||
|
47 | /* destructor rule for <sval> objects */ | |||
|
48 | %destructor { if ($$) { delete ($$); ($$) = NULL; } } <sval> | |||
|
49 | ||||
|
50 | ||||
|
51 | %% | |||
|
52 | ||||
|
53 | PartNode | |||
|
54 | : NODE { driver.add_node( *$1 ); } | |||
|
55 | | PartNode NODE { driver.add_node( *$2 ); } | |||
|
56 | | PartNode VALUE { driver.add_value( *$2 ); } | |||
|
57 | | PartNode CLOSENODE { driver.close_node(); } | |||
|
58 | ||||
|
59 | ||||
|
60 | %% | |||
|
61 | ||||
|
62 | ||||
|
63 | void QIlib::lispLike_Parser::error(const location_type& loc, const std::string &err_message ) | |||
|
64 | { | |||
|
65 | std::cerr << "Error: " << err_message << "\n"; | |||
|
66 | } | |||
|
67 | ||||
|
68 | ||||
|
69 | /* include for access to scanner.yylex */ | |||
|
70 | #include "lispLike_scanner.h" | |||
|
71 | ||||
|
72 | static int yylex( QIlib::lispLike_Parser::semantic_type *yylval, | |||
|
73 | QIlib::lispLike_Scanner &scanner, | |||
|
74 | QIlib::lispLike_Driver &driver ) | |||
|
75 | { | |||
|
76 | return( scanner.yylex(yylval) ); | |||
|
77 | } |
@@ -0,0 +1,133 | |||||
|
1 | /*Mainly copied from http://research.engineering.wustl.edu/~beardj/FlexBisonC++.html*/ | |||
|
2 | #include "lispLike_driver.h" | |||
|
3 | #include<assert.h> | |||
|
4 | ||||
|
5 | QIlib::lispLike_Driver::lispLike_Driver() | |||
|
6 | :parser( NULL ),scanner( NULL ) | |||
|
7 | { | |||
|
8 | currentNode = &rootNode; | |||
|
9 | } | |||
|
10 | ||||
|
11 | QIlib::lispLike_Driver::~lispLike_Driver() | |||
|
12 | { | |||
|
13 | delete(scanner); | |||
|
14 | scanner = NULL; | |||
|
15 | delete(parser); | |||
|
16 | parser = NULL; | |||
|
17 | } | |||
|
18 | ||||
|
19 | bool QIlib::lispLike_Driver::parse(const char *filename) | |||
|
20 | { | |||
|
21 | if(filename!=NULL) | |||
|
22 | { | |||
|
23 | std::ifstream in_file( filename ); | |||
|
24 | if( ! in_file.good() ) return false; | |||
|
25 | ||||
|
26 | delete(scanner); | |||
|
27 | try | |||
|
28 | { | |||
|
29 | scanner = new QIlib::lispLike_Scanner( &in_file ); | |||
|
30 | } | |||
|
31 | catch( std::bad_alloc &ba ) | |||
|
32 | { | |||
|
33 | std::cerr << "Failed to allocate scanner: (" << | |||
|
34 | ba.what() << ")\n"; | |||
|
35 | return false; | |||
|
36 | } | |||
|
37 | ||||
|
38 | delete(parser); | |||
|
39 | try | |||
|
40 | { | |||
|
41 | parser = new QIlib::lispLike_Parser( (*scanner) /* scanner */, | |||
|
42 | (*this) /* driver */ ); | |||
|
43 | } | |||
|
44 | catch( std::bad_alloc &ba ) | |||
|
45 | { | |||
|
46 | std::cerr << "Failed to allocate parser: (" << | |||
|
47 | ba.what() << ")\n"; | |||
|
48 | return false; | |||
|
49 | } | |||
|
50 | const int accept( 0 ); | |||
|
51 | if( parser->parse() != accept ) | |||
|
52 | { | |||
|
53 | std::cerr << "Parse failed!!\n"; | |||
|
54 | return false; | |||
|
55 | } | |||
|
56 | return true; | |||
|
57 | } | |||
|
58 | return false; | |||
|
59 | } | |||
|
60 | ||||
|
61 | void QIlib::lispLike_Driver::add_node(const QString &node) | |||
|
62 | { | |||
|
63 | QIlib::AbstractNode* newNode = new QIlib::AbstractNode(node,currentNode); | |||
|
64 | currentNode = newNode; | |||
|
65 | } | |||
|
66 | ||||
|
67 | void QIlib::lispLike_Driver::add_node(const QString &node, const QString &value) | |||
|
68 | { | |||
|
69 | QIlib::AbstractNode* newNode = new QIlib::AbstractNode(node,value,currentNode); | |||
|
70 | currentNode = newNode; | |||
|
71 | } | |||
|
72 | ||||
|
73 | void QIlib::lispLike_Driver::add_value(const QString &value) | |||
|
74 | { | |||
|
75 | currentNode->Values.append(value); | |||
|
76 | } | |||
|
77 | ||||
|
78 | void QIlib::lispLike_Driver::close_node() | |||
|
79 | { | |||
|
80 | if(currentNode->parent) | |||
|
81 | currentNode = currentNode->parent; | |||
|
82 | } | |||
|
83 | ||||
|
84 | ||||
|
85 | ||||
|
86 | ||||
|
87 | ||||
|
88 | ||||
|
89 | ||||
|
90 | ||||
|
91 | ||||
|
92 | ||||
|
93 | QIlib::AbstractNode::AbstractNode(QIlib::AbstractNode *parent) | |||
|
94 | { | |||
|
95 | this->parent =parent; | |||
|
96 | if(parent) | |||
|
97 | parent->nodes.append(this); | |||
|
98 | } | |||
|
99 | ||||
|
100 | ||||
|
101 | QIlib::AbstractNode::AbstractNode(const QString &Name, QIlib::AbstractNode *parent) | |||
|
102 | :name(Name) | |||
|
103 | { | |||
|
104 | this->parent = parent; | |||
|
105 | if(parent) | |||
|
106 | parent->nodes.append(this); | |||
|
107 | } | |||
|
108 | ||||
|
109 | ||||
|
110 | QIlib::AbstractNode::AbstractNode(const QString &Name, const QString &Value, QIlib::AbstractNode *parent) | |||
|
111 | :name(Name) | |||
|
112 | { | |||
|
113 | this->parent = parent; | |||
|
114 | if(parent) | |||
|
115 | parent->nodes.append(this); | |||
|
116 | Values.append(Value); | |||
|
117 | } | |||
|
118 | ||||
|
119 | QString QIlib::AbstractNode::print() | |||
|
120 | { | |||
|
121 | QString result; | |||
|
122 | result.append(this->name+" "); | |||
|
123 | for(int i=0;i<this->nodes.count();i++) | |||
|
124 | { | |||
|
125 | result.append(this->nodes.at(i)->print()); | |||
|
126 | } | |||
|
127 | for(int i=0;i<this->Values.count();i++) | |||
|
128 | { | |||
|
129 | result.append(Values.at(i)+" "); | |||
|
130 | } | |||
|
131 | result.append(")"); | |||
|
132 | return result; | |||
|
133 | } |
@@ -0,0 +1,49 | |||||
|
1 | #ifndef LISPLIKE_DRIVER_H | |||
|
2 | #define LISPLIKE_DRIVER_H | |||
|
3 | #include <string> | |||
|
4 | #include "lispLike_scanner.h" | |||
|
5 | #include <lispLike/lispLike.hpp> | |||
|
6 | #include <QString> | |||
|
7 | #include <QList> | |||
|
8 | #include <QStringList> | |||
|
9 | #include <iostream> | |||
|
10 | #include <cstdlib> | |||
|
11 | #include <fstream> | |||
|
12 | ||||
|
13 | namespace QIlib{ | |||
|
14 | ||||
|
15 | class AbstractNode | |||
|
16 | { | |||
|
17 | public: | |||
|
18 | AbstractNode( QIlib::AbstractNode* parent=NULL); | |||
|
19 | AbstractNode(const QString& Name, QIlib::AbstractNode* parent=NULL); | |||
|
20 | AbstractNode(const QString& Name,const QString& Value, QIlib::AbstractNode* parent=NULL); | |||
|
21 | QString print(); | |||
|
22 | QList<QIlib::AbstractNode*> nodes; | |||
|
23 | QString name; | |||
|
24 | QStringList Values; | |||
|
25 | QIlib::AbstractNode* parent; | |||
|
26 | }; | |||
|
27 | ||||
|
28 | class lispLike_Driver | |||
|
29 | { | |||
|
30 | public: | |||
|
31 | lispLike_Driver(); | |||
|
32 | ||||
|
33 | virtual ~lispLike_Driver(); | |||
|
34 | bool parse( const char *filename ); | |||
|
35 | void add_node( const QString &node ); | |||
|
36 | void add_node( const QString &node , const QString &value); | |||
|
37 | void add_value( const QString &value ); | |||
|
38 | void close_node(); | |||
|
39 | ||||
|
40 | ||||
|
41 | protected: | |||
|
42 | ||||
|
43 | QIlib::lispLike_Parser *parser; | |||
|
44 | QIlib::lispLike_Scanner *scanner; | |||
|
45 | QIlib::AbstractNode rootNode; | |||
|
46 | QIlib::AbstractNode* currentNode; | |||
|
47 | }; | |||
|
48 | } | |||
|
49 | #endif // LISPLIKE_DRIVER_H |
@@ -0,0 +1,14 | |||||
|
1 | #include "lispLike_scanner.h" | |||
|
2 | ||||
|
3 | QIlib::lispLike_Scanner::lispLike_Scanner(std::istream *in) | |||
|
4 | : yyFlexLexer(in), yylval( NULL ) | |||
|
5 | { | |||
|
6 | ||||
|
7 | } | |||
|
8 | ||||
|
9 | ||||
|
10 | int QIlib::lispLike_Scanner::yylex(QIlib::lispLike_Parser::semantic_type *lval) | |||
|
11 | { | |||
|
12 | yylval = lval; | |||
|
13 | return( yylex() ); | |||
|
14 | } |
@@ -0,0 +1,31 | |||||
|
1 | #ifndef LISPLIKE_SCANNER_H | |||
|
2 | #define LISPLIKE_SCANNER_H | |||
|
3 | #if ! defined(yyFlexLexerOnce) | |||
|
4 | #include <FlexLexer.h> | |||
|
5 | #endif | |||
|
6 | #include <iostream> | |||
|
7 | #include <cstdlib> | |||
|
8 | #include <fstream> | |||
|
9 | ||||
|
10 | #undef YY_DECL | |||
|
11 | #define YY_DECL int QIlib::lispLike_Scanner::yylex() | |||
|
12 | ||||
|
13 | #include <lispLike/lispLike.hpp> | |||
|
14 | ||||
|
15 | namespace QIlib{ | |||
|
16 | ||||
|
17 | class lispLike_Scanner : public yyFlexLexer | |||
|
18 | { | |||
|
19 | public: | |||
|
20 | lispLike_Scanner(std::istream *in); | |||
|
21 | int yylex(QIlib::lispLike_Parser::semantic_type *lval); | |||
|
22 | ||||
|
23 | private: | |||
|
24 | /* hide this one from public view */ | |||
|
25 | int yylex(); | |||
|
26 | /* yyval ptr */ | |||
|
27 | QIlib::lispLike_Parser::semantic_type *yylval; | |||
|
28 | }; | |||
|
29 | } | |||
|
30 | ||||
|
31 | #endif // LISPLIKE_SCANNER_H |
@@ -0,0 +1,17 | |||||
|
1 | #include "qicadnet.h" | |||
|
2 | ||||
|
3 | QIlib::QIcadNet::QIcadNet() | |||
|
4 | { | |||
|
5 | } | |||
|
6 | ||||
|
7 | QIlib::QIcadNet::~QIcadNet() | |||
|
8 | { | |||
|
9 | ||||
|
10 | } | |||
|
11 | ||||
|
12 | ||||
|
13 | QIlib::QIcadNetNode::QIcadNetNode(QString ref, QString node) | |||
|
14 | { | |||
|
15 | this->p_ref = ref; | |||
|
16 | this->p_node = node; | |||
|
17 | } |
@@ -0,0 +1,31 | |||||
|
1 | #ifndef QINET_H | |||
|
2 | #define QINET_H | |||
|
3 | #include <QString> | |||
|
4 | #include <QList> | |||
|
5 | ||||
|
6 | namespace QIlib{ | |||
|
7 | class QIcadNetNode | |||
|
8 | { | |||
|
9 | public: | |||
|
10 | QIcadNetNode(QString ref,QString node); | |||
|
11 | QString ref(){return this->p_ref;} | |||
|
12 | QString node(){return this->p_node;} | |||
|
13 | private: | |||
|
14 | QString p_ref; | |||
|
15 | QString p_node; | |||
|
16 | }; | |||
|
17 | ||||
|
18 | class QIcadNet | |||
|
19 | { | |||
|
20 | public: | |||
|
21 | QIcadNet(); | |||
|
22 | ~QIcadNet(); | |||
|
23 | int code(); | |||
|
24 | QString name(); | |||
|
25 | private: | |||
|
26 | int p_code; | |||
|
27 | QString p_name; | |||
|
28 | QList<QIcadNetNode*> p_nodes; | |||
|
29 | }; | |||
|
30 | } | |||
|
31 | #endif // QINET_H |
@@ -0,0 +1,132 | |||||
|
1 | #include "qicadnetlist.h" | |||
|
2 | #include <QRegularExpression> | |||
|
3 | ||||
|
4 | ||||
|
5 | const char* root_c ="(export"; | |||
|
6 | const char* version_c ="(version"; | |||
|
7 | const char* design_c ="(design"; | |||
|
8 | const char* source_c ="(source"; | |||
|
9 | const char* date_c ="(date"; | |||
|
10 | const char* tool_c ="(tool"; | |||
|
11 | const char* components_c ="(components"; | |||
|
12 | const char* component_c ="(comp"; | |||
|
13 | const char* ref_c ="(ref"; | |||
|
14 | const char* value_c ="(value"; | |||
|
15 | const char* libsource_c ="(libsource"; | |||
|
16 | const char* lib_c ="(lib"; | |||
|
17 | const char* part_c ="(part"; | |||
|
18 | const char* sheetpath_c ="(sheetpath"; | |||
|
19 | const char* names_c ="(names"; | |||
|
20 | const char* tstamps_c ="(tstamps"; | |||
|
21 | const char* tstamp_c ="(tstamp"; | |||
|
22 | const char* libparts_c ="(libparts"; | |||
|
23 | const char* libpart_c ="(libpart"; | |||
|
24 | const char* fields_c ="(fields"; | |||
|
25 | const char* field_c ="(field"; | |||
|
26 | const char* name_c ="(name"; | |||
|
27 | const char* pins_c ="(pins"; | |||
|
28 | const char* pin_c ="(pin"; | |||
|
29 | const char* num_c ="(num"; | |||
|
30 | const char* type_c ="(type"; | |||
|
31 | const char* libraries_c ="(libraries"; | |||
|
32 | const char* library_c ="(library"; | |||
|
33 | const char* logical_c ="(logical"; | |||
|
34 | const char* uri_c ="(uri"; | |||
|
35 | const char* nets_c ="(nets"; | |||
|
36 | const char* net_c ="(net"; | |||
|
37 | const char* code_c ="(code"; | |||
|
38 | const char* node_c ="(node"; | |||
|
39 | ||||
|
40 | ||||
|
41 | QIlib::QIcadNetList::QIcadNetList() | |||
|
42 | { | |||
|
43 | ||||
|
44 | } | |||
|
45 | ||||
|
46 | ||||
|
47 | bool QIlib::QIcadNetList::parseNetList(const QString &netlist) | |||
|
48 | { | |||
|
49 | ||||
|
50 | parse(netlist.toStdString().c_str()); | |||
|
51 | updateConcreteTree(); | |||
|
52 | return false; | |||
|
53 | } | |||
|
54 | ||||
|
55 | QString QIlib::QIcadNetList::print() | |||
|
56 | { | |||
|
57 | return rootNode.print(); | |||
|
58 | } | |||
|
59 | ||||
|
60 | QIlib::AbstractNode *QIlib::QIcadNetList::getAbstractNode(const QString &node, int index) | |||
|
61 | { | |||
|
62 | return getAbstractNode(&rootNode,node,&index); | |||
|
63 | } | |||
|
64 | ||||
|
65 | QIlib::AbstractNode *QIlib::QIcadNetList::getAbstractNode(QIlib::AbstractNode *rootNode, const QString &node, int* index) | |||
|
66 | { | |||
|
67 | for(int i=0;i<rootNode->nodes.count();i++) | |||
|
68 | { | |||
|
69 | if(rootNode->nodes.at(i)->name==node) | |||
|
70 | { | |||
|
71 | if((*index)==0) | |||
|
72 | { | |||
|
73 | return rootNode->nodes.at(i); | |||
|
74 | } | |||
|
75 | (*index)-=1; | |||
|
76 | } | |||
|
77 | else | |||
|
78 | { | |||
|
79 | if(0<rootNode->nodes.at(i)->nodes.count()) | |||
|
80 | { | |||
|
81 | QIlib::AbstractNode *result=getAbstractNode(rootNode->nodes.at(i),node,index); | |||
|
82 | if(NULL!=result)return result; | |||
|
83 | } | |||
|
84 | } | |||
|
85 | } | |||
|
86 | return NULL; | |||
|
87 | } | |||
|
88 | ||||
|
89 | /* | |||
|
90 | QString version; | |||
|
91 | QIcadNetListDesign design; | |||
|
92 | QList<QIcadNetListComponent*> components; | |||
|
93 | QList<QIcadNetListLibPart*> libparts; | |||
|
94 | QIcadNetListLevel rootSheet; | |||
|
95 | */ | |||
|
96 | ||||
|
97 | #define setVal(dest,node,name,index) \ | |||
|
98 | (node) = getAbstractNode((name),(index));\ | |||
|
99 | if(((node)!=NULL)&&(0<(node)->Values.count())) \ | |||
|
100 | {\ | |||
|
101 | (dest) = (node)->Values.at(0); \ | |||
|
102 | } \ | |||
|
103 | ||||
|
104 | ||||
|
105 | void QIlib::QIcadNetList::updateConcreteTree() | |||
|
106 | { | |||
|
107 | QIlib::AbstractNode *node; | |||
|
108 | setVal(this->version,node,QIlib::Lexique::version_c,0); | |||
|
109 | setVal(this->design.date,node,QIlib::Lexique::date_c,0); | |||
|
110 | setVal(this->design.source,node,QIlib::Lexique::source_c,0); | |||
|
111 | setVal(this->design.tool,node,QIlib::Lexique::tool_c,0); | |||
|
112 | this->design.date.clear(); | |||
|
113 | } | |||
|
114 | ||||
|
115 | ||||
|
116 | ||||
|
117 | ||||
|
118 | ||||
|
119 | QIlib::QIcadAbstractNodeWrapper::QIcadAbstractNodeWrapper() | |||
|
120 | { | |||
|
121 | ||||
|
122 | } | |||
|
123 | ||||
|
124 | QIlib::QIcadAbstractNodeWrapper::~QIcadAbstractNodeWrapper() | |||
|
125 | { | |||
|
126 | /*First delete all the childs*/ | |||
|
127 | for(int i=0;i<this->childs.count();i++) | |||
|
128 | { | |||
|
129 | if(this->childs.at(i)) | |||
|
130 | delete this->childs.at(i); | |||
|
131 | } | |||
|
132 | } |
@@ -0,0 +1,144 | |||||
|
1 | #ifndef QICADNETLIST_H | |||
|
2 | #define QICADNETLIST_H | |||
|
3 | #include <QString> | |||
|
4 | #include <QStringList> | |||
|
5 | #include <QList> | |||
|
6 | #include <QFile> | |||
|
7 | #include <parsers/lispLike_driver.h> | |||
|
8 | #include <qicadnet.h> | |||
|
9 | ||||
|
10 | namespace QIlib{ | |||
|
11 | ||||
|
12 | namespace Lexique | |||
|
13 | { | |||
|
14 | extern "C" const char* root_c ; | |||
|
15 | extern "C" const char* version_c ; | |||
|
16 | extern "C" const char* design_c ; | |||
|
17 | extern "C" const char* source_c ; | |||
|
18 | extern "C" const char* date_c ; | |||
|
19 | extern "C" const char* tool_c ; | |||
|
20 | extern "C" const char* components_c ; | |||
|
21 | extern "C" const char* component_c ; | |||
|
22 | extern "C" const char* ref_c ; | |||
|
23 | extern "C" const char* value_c ; | |||
|
24 | extern "C" const char* libsource_c ; | |||
|
25 | extern "C" const char* lib_c ; | |||
|
26 | extern "C" const char* part_c ; | |||
|
27 | extern "C" const char* sheetpath_c ; | |||
|
28 | extern "C" const char* names_c ; | |||
|
29 | extern "C" const char* tstamps_c ; | |||
|
30 | extern "C" const char* tstamp_c ; | |||
|
31 | extern "C" const char* libparts_c ; | |||
|
32 | extern "C" const char* libpart_c ; | |||
|
33 | extern "C" const char* fields_c ; | |||
|
34 | extern "C" const char* field_c ; | |||
|
35 | extern "C" const char* name_c ; | |||
|
36 | extern "C" const char* pins_c ; | |||
|
37 | extern "C" const char* pin_c ; | |||
|
38 | extern "C" const char* num_c ; | |||
|
39 | extern "C" const char* type_c ; | |||
|
40 | extern "C" const char* libraries_c ; | |||
|
41 | extern "C" const char* library_c ; | |||
|
42 | extern "C" const char* logical_c ; | |||
|
43 | extern "C" const char* uri_c ; | |||
|
44 | extern "C" const char* nets_c ; | |||
|
45 | extern "C" const char* net_c ; | |||
|
46 | extern "C" const char* code_c ; | |||
|
47 | extern "C" const char* node_c ; | |||
|
48 | ||||
|
49 | } | |||
|
50 | ||||
|
51 | class QIcadNetListLevel | |||
|
52 | { | |||
|
53 | public: | |||
|
54 | QIcadNetListLevel() {} | |||
|
55 | QList<QIcadNetListLevel*> sublevels; | |||
|
56 | QList<QIcadNet*> nets; | |||
|
57 | }; | |||
|
58 | ||||
|
59 | class QIcadNetListDesign | |||
|
60 | { | |||
|
61 | public: | |||
|
62 | QIcadNetListDesign(){} | |||
|
63 | QString source; | |||
|
64 | QString date; | |||
|
65 | QString tool; | |||
|
66 | }; | |||
|
67 | ||||
|
68 | class QIcadNetListComponent | |||
|
69 | { | |||
|
70 | public: | |||
|
71 | typedef struct libsource_t | |||
|
72 | { | |||
|
73 | QString lib; | |||
|
74 | QString part; | |||
|
75 | }libsource_t; | |||
|
76 | typedef struct sheetpath_t | |||
|
77 | { | |||
|
78 | QString names; | |||
|
79 | QString tstamp; | |||
|
80 | }sheetpath_t; | |||
|
81 | QIcadNetListComponent(){} | |||
|
82 | QString ref; | |||
|
83 | QString value; | |||
|
84 | QString tstamp; | |||
|
85 | libsource_t libsource; | |||
|
86 | sheetpath_t sheetpath; | |||
|
87 | }; | |||
|
88 | ||||
|
89 | class QIcadNetListLibPart | |||
|
90 | { | |||
|
91 | public: | |||
|
92 | typedef struct fields_t | |||
|
93 | { | |||
|
94 | QString ref; | |||
|
95 | QString value; | |||
|
96 | QString footprint; | |||
|
97 | QString datasheet; | |||
|
98 | }fields_t; | |||
|
99 | typedef struct pin_t | |||
|
100 | { | |||
|
101 | int num; | |||
|
102 | QString name; | |||
|
103 | QString type; | |||
|
104 | }pin_t; | |||
|
105 | QIcadNetListLibPart(); | |||
|
106 | QString lib; | |||
|
107 | QString part; | |||
|
108 | QStringList footprints; | |||
|
109 | fields_t fields; | |||
|
110 | QList<pin_t*> pins; | |||
|
111 | }; | |||
|
112 | ||||
|
113 | class QIcadAbstractNodeWrapper | |||
|
114 | { | |||
|
115 | public: | |||
|
116 | QIcadAbstractNodeWrapper(); | |||
|
117 | ~QIcadAbstractNodeWrapper(); | |||
|
118 | QString value(); | |||
|
119 | QList<QIcadAbstractNodeWrapper*> childs; | |||
|
120 | QIcadAbstractNodeWrapper* parent; | |||
|
121 | private: | |||
|
122 | QIlib::AbstractNode* node; | |||
|
123 | }; | |||
|
124 | ||||
|
125 | class QIcadNetList : private lispLike_Driver | |||
|
126 | { | |||
|
127 | public: | |||
|
128 | QIcadNetList(); | |||
|
129 | bool parseNetList(const QString& netlist); | |||
|
130 | QString toString(); | |||
|
131 | QString fileName; | |||
|
132 | QString version; | |||
|
133 | QIcadNetListDesign design; | |||
|
134 | QList<QIcadNetListComponent*> components; | |||
|
135 | QList<QIcadNetListLibPart*> libparts; | |||
|
136 | QIcadNetListLevel rootSheet; | |||
|
137 | QString print(); | |||
|
138 | private: | |||
|
139 | QIlib::AbstractNode* getAbstractNode(const QString& node,int index); | |||
|
140 | QIlib::AbstractNode* getAbstractNode(QIlib::AbstractNode* rootNode,const QString& node,int* index); | |||
|
141 | void updateConcreteTree(); | |||
|
142 | }; | |||
|
143 | } | |||
|
144 | #endif // QICADNETLIST_H |
@@ -0,0 +1,23 | |||||
|
1 | #================================================== | |||
|
2 | # | |||
|
3 | # _|_| _|_|_| _| _| _| | |||
|
4 | # _| _| _| _| _|_|_| | |||
|
5 | # _| _|_| _| _| _| _| _| | |||
|
6 | # _| _| _| _| _| _| _| | |||
|
7 | # _|_| _| _|_|_| _| _| _|_|_| | |||
|
8 | # | |||
|
9 | #================================================== | |||
|
10 | # | |||
|
11 | # | |||
|
12 | ||||
|
13 | ||||
|
14 | ||||
|
15 | INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QIlib | |||
|
16 | ||||
|
17 | LIBS += -lQIlib -lfl | |||
|
18 | ||||
|
19 | ||||
|
20 | ||||
|
21 | ||||
|
22 | ||||
|
23 |
@@ -0,0 +1,64 | |||||
|
1 | #================================================== | |||
|
2 | # | |||
|
3 | # _|_| _|_|_| _| _| _| | |||
|
4 | # _| _| _| _| _|_|_| | |||
|
5 | # _| _|_| _| _| _| _| _| | |||
|
6 | # _| _| _| _| _| _| _| | |||
|
7 | # _|_| _| _|_|_| _| _| _|_|_| | |||
|
8 | # | |||
|
9 | #================================================== | |||
|
10 | # | |||
|
11 | # | |||
|
12 | ||||
|
13 | QT += core gui | |||
|
14 | ||||
|
15 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | |||
|
16 | ||||
|
17 | TARGET = QIlib | |||
|
18 | TEMPLATE = lib | |||
|
19 | ||||
|
20 | LIBS += -lfl | |||
|
21 | ||||
|
22 | MOC_DIR = moc | |||
|
23 | RCC_DIR = resources | |||
|
24 | OBJECTS_DIR = obj | |||
|
25 | DESTDIR = lib | |||
|
26 | ||||
|
27 | include ( ./parsers/Flex_Bison_FIles/Flex_Bison_FIles.pri ) | |||
|
28 | ||||
|
29 | qilibcfg.path = $$[QT_INSTALL_PREFIX]/mkspecs/features | |||
|
30 | qilibcfg.files = \ | |||
|
31 | qilib.prf | |||
|
32 | ||||
|
33 | target.path = $$[QT_INSTALL_LIBS] | |||
|
34 | ||||
|
35 | qilibHeaders.path = $$[QT_INSTALL_HEADERS]/QIlib | |||
|
36 | qilibHeaders.files = \ | |||
|
37 | qicadnetlist.h \ | |||
|
38 | qicadnet.h \ | |||
|
39 | ||||
|
40 | qilibParsersHeaders.path = $$[QT_INSTALL_HEADERS]/QIlib/parsers | |||
|
41 | qilibParsersHeaders.files = \ | |||
|
42 | parsers/lispLike_driver.h \ | |||
|
43 | parsers/lispLike_scanner.h | |||
|
44 | ||||
|
45 | ||||
|
46 | INSTALLS += target qilibHeaders qilibParsersHeaders qilibcfg | |||
|
47 | ||||
|
48 | INCLUDEPATH += ./parsers | |||
|
49 | ||||
|
50 | SOURCES += \ | |||
|
51 | qicadnetlist.cpp \ | |||
|
52 | qicadnet.cpp \ | |||
|
53 | parsers/lispLike_driver.cpp \ | |||
|
54 | parsers/lispLike_scanner.cpp | |||
|
55 | ||||
|
56 | ||||
|
57 | HEADERS += \ | |||
|
58 | qicadnetlist.h \ | |||
|
59 | qicadnet.h \ | |||
|
60 | parsers/lispLike_driver.h \ | |||
|
61 | parsers/lispLike_scanner.h | |||
|
62 | ||||
|
63 | OTHER_FILES += qilib.prf | |||
|
64 |
@@ -0,0 +1,45 | |||||
|
1 | QT += core gui | |||
|
2 | CONFIG += qilib | |||
|
3 | ||||
|
4 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | |||
|
5 | ||||
|
6 | TARGET = LispLikeDump | |||
|
7 | TEMPLATE = app | |||
|
8 | MOC_DIR = moc | |||
|
9 | RCC_DIR = resources | |||
|
10 | OBJECTS_DIR = obj | |||
|
11 | DESTDIR = bin | |||
|
12 | ||||
|
13 | SOURCES += main.cpp | |||
|
14 | ||||
|
15 | FILESTOCOPY.files += \ | |||
|
16 | $${PWD}/../testFiles/netlist1.net \ | |||
|
17 | $${PWD}/../testFiles/netlist2.net \ | |||
|
18 | $${PWD}/../testFiles/pcb1.kicad_pcb | |||
|
19 | ||||
|
20 | FILESTOCOPY.path = $${DESTDIR} | |||
|
21 | ||||
|
22 | message($${DESTDIR}) | |||
|
23 | ||||
|
24 | defineTest(copyFiles) { | |||
|
25 | files = $$1 | |||
|
26 | DDIR = $$2 | |||
|
27 | win32:DDIR ~= s,/,\\,g | |||
|
28 | QMAKE_POST_LINK += $$QMAKE_MKDIR $$quote($$DDIR) $$escape_expand(\\n\\t) | |||
|
29 | for(FILE, files) { | |||
|
30 | message(copying file $$FILE to $$DIR) | |||
|
31 | # Replace slashes in paths with backslashes for Windows | |||
|
32 | win32:FILE ~= s,/,\\,g | |||
|
33 | QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t) | |||
|
34 | } | |||
|
35 | export(QMAKE_POST_LINK) | |||
|
36 | } | |||
|
37 | ||||
|
38 | ||||
|
39 | ||||
|
40 | !isEmpty(FILESTOCOPY.files) { | |||
|
41 | copyFiles($$FILESTOCOPY.files,$$FILESTOCOPY.path) | |||
|
42 | } | |||
|
43 | ||||
|
44 | ||||
|
45 |
@@ -0,0 +1,27 | |||||
|
1 | #include <QDir> | |||
|
2 | #include <QFile> | |||
|
3 | #include <QApplication> | |||
|
4 | #include <qicadnetlist.h> | |||
|
5 | #include <QDebug> | |||
|
6 | #include <QTime> | |||
|
7 | /* | |||
|
8 | #include <lispLike_driver.h> | |||
|
9 | */ | |||
|
10 | ||||
|
11 | int main(int argc, char *argv[]) | |||
|
12 | { | |||
|
13 | QApplication ap(argc,argv); | |||
|
14 | QIlib::QIcadNetList NetListdriver; | |||
|
15 | if(argc>1) | |||
|
16 | { | |||
|
17 | if(QFile::exists(argv[1])) | |||
|
18 | { | |||
|
19 | QTime tm; | |||
|
20 | tm.start(); | |||
|
21 | NetListdriver.parseNetList(argv[1]); | |||
|
22 | qDebug()<<"File parsed in "<<tm.elapsed()<<"ms"; | |||
|
23 | std::cout<<NetListdriver.print().toStdString(); | |||
|
24 | } | |||
|
25 | } | |||
|
26 | return 0; | |||
|
27 | } |
@@ -0,0 +1,18 | |||||
|
1 | ||||
|
2 | ||||
|
3 | TEMPLATE = subdirs | |||
|
4 | CONFIG += ordered release | |||
|
5 | ||||
|
6 | SUBDIRS += dumpLispLikeFiles | |||
|
7 | ||||
|
8 | ||||
|
9 | ||||
|
10 | ||||
|
11 | OTHER_FILES += \ | |||
|
12 | testFiles/netlist1.net \ | |||
|
13 | testFiles/netlist2.net \ | |||
|
14 | testFiles/pcb1.kicad_pcb | |||
|
15 | ||||
|
16 | ||||
|
17 | ||||
|
18 |
@@ -0,0 +1,411 | |||||
|
1 | (export (version D) | |||
|
2 | (design | |||
|
3 | (source /home/guan/boards/boiler/boiler.sch) | |||
|
4 | (date "Sat 12 Oct 2013 10:55:49 PM EDT") | |||
|
5 | (tool "eeschema (2013-mar-13)-testing")) | |||
|
6 | (components | |||
|
7 | (comp (ref IC1) | |||
|
8 | (value 24L-MOD-8) | |||
|
9 | (libsource (lib guan) (part 24L-MOD-8)) | |||
|
10 | (sheetpath (names /) (tstamps /)) | |||
|
11 | (tstamp 52533BBE)) | |||
|
12 | (comp (ref IC2) | |||
|
13 | (value ATXMEGA8E5-A) | |||
|
14 | (libsource (lib guan) (part ATXMEGA8E5-A)) | |||
|
15 | (sheetpath (names /) (tstamps /)) | |||
|
16 | (tstamp 52545974)) | |||
|
17 | (comp (ref C2) | |||
|
18 | (value 0.1uF) | |||
|
19 | (libsource (lib device) (part C)) | |||
|
20 | (sheetpath (names /) (tstamps /)) | |||
|
21 | (tstamp 52546804)) | |||
|
22 | (comp (ref C3) | |||
|
23 | (value 0.1uF) | |||
|
24 | (libsource (lib device) (part C)) | |||
|
25 | (sheetpath (names /) (tstamps /)) | |||
|
26 | (tstamp 5254762B)) | |||
|
27 | (comp (ref C1) | |||
|
28 | (value 0.1uF) | |||
|
29 | (libsource (lib device) (part C)) | |||
|
30 | (sheetpath (names /) (tstamps /)) | |||
|
31 | (tstamp 5254849B)) | |||
|
32 | (comp (ref U1) | |||
|
33 | (value AQV252) | |||
|
34 | (libsource (lib guan) (part AQV252)) | |||
|
35 | (sheetpath (names /) (tstamps /)) | |||
|
36 | (tstamp 52552335)) | |||
|
37 | (comp (ref R3) | |||
|
38 | (value 33R) | |||
|
39 | (libsource (lib device) (part R)) | |||
|
40 | (sheetpath (names /) (tstamps /)) | |||
|
41 | (tstamp 52553078)) | |||
|
42 | (comp (ref P2) | |||
|
43 | (value CONN_2) | |||
|
44 | (libsource (lib conn) (part CONN_2)) | |||
|
45 | (sheetpath (names /) (tstamps /)) | |||
|
46 | (tstamp 52555ACB)) | |||
|
47 | (comp (ref P1) | |||
|
48 | (value CONN_3X2) | |||
|
49 | (libsource (lib conn) (part CONN_3X2)) | |||
|
50 | (sheetpath (names /) (tstamps /)) | |||
|
51 | (tstamp 52555B20)) | |||
|
52 | (comp (ref R1) | |||
|
53 | (value 1K) | |||
|
54 | (libsource (lib device) (part R)) | |||
|
55 | (sheetpath (names /) (tstamps /)) | |||
|
56 | (tstamp 52555B2F)) | |||
|
57 | (comp (ref R2) | |||
|
58 | (value 1K) | |||
|
59 | (libsource (lib device) (part R)) | |||
|
60 | (sheetpath (names /) (tstamps /)) | |||
|
61 | (tstamp 5255698D)) | |||
|
62 | (comp (ref D2) | |||
|
63 | (value LED) | |||
|
64 | (libsource (lib device) (part LED)) | |||
|
65 | (sheetpath (names /) (tstamps /)) | |||
|
66 | (tstamp 5255699C)) | |||
|
67 | (comp (ref D1) | |||
|
68 | (value LED) | |||
|
69 | (libsource (lib device) (part LED)) | |||
|
70 | (sheetpath (names /) (tstamps /)) | |||
|
71 | (tstamp 525569BA)) | |||
|
72 | (comp (ref U2) | |||
|
73 | (value MIC5205) | |||
|
74 | (libsource (lib guan) (part MIC5205)) | |||
|
75 | (sheetpath (names /) (tstamps /)) | |||
|
76 | (tstamp 525688C8)) | |||
|
77 | (comp (ref C4) | |||
|
78 | (value 470pF) | |||
|
79 | (libsource (lib device) (part C)) | |||
|
80 | (sheetpath (names /) (tstamps /)) | |||
|
81 | (tstamp 5256954D)) | |||
|
82 | (comp (ref C5) | |||
|
83 | (value 4.7uF) | |||
|
84 | (libsource (lib device) (part C)) | |||
|
85 | (sheetpath (names /) (tstamps /)) | |||
|
86 | (tstamp 5256962C)) | |||
|
87 | (comp (ref P3) | |||
|
88 | (value RASM722X) | |||
|
89 | (libsource (lib conn) (part CONN_2)) | |||
|
90 | (sheetpath (names /) (tstamps /)) | |||
|
91 | (tstamp 5256F96D)) | |||
|
92 | (comp (ref C6) | |||
|
93 | (value 4.7uF) | |||
|
94 | (libsource (lib device) (part C)) | |||
|
95 | (sheetpath (names /) (tstamps /)) | |||
|
96 | (tstamp 52574204)) | |||
|
97 | (comp (ref L1) | |||
|
98 | (value INDUCTOR) | |||
|
99 | (libsource (lib device) (part INDUCTOR)) | |||
|
100 | (sheetpath (names /) (tstamps /)) | |||
|
101 | (tstamp 52574F79)) | |||
|
102 | (comp (ref P4) | |||
|
103 | (value CONN_1) | |||
|
104 | (libsource (lib conn) (part CONN_1)) | |||
|
105 | (sheetpath (names /) (tstamps /)) | |||
|
106 | (tstamp 52587B8E)) | |||
|
107 | (comp (ref P5) | |||
|
108 | (value CONN_1) | |||
|
109 | (libsource (lib conn) (part CONN_1)) | |||
|
110 | (sheetpath (names /) (tstamps /)) | |||
|
111 | (tstamp 52587B9D)) | |||
|
112 | (comp (ref P6) | |||
|
113 | (value CONN_1) | |||
|
114 | (libsource (lib conn) (part CONN_1)) | |||
|
115 | (sheetpath (names /) (tstamps /)) | |||
|
116 | (tstamp 52587BAC)) | |||
|
117 | (comp (ref P7) | |||
|
118 | (value CONN_1) | |||
|
119 | (libsource (lib conn) (part CONN_1)) | |||
|
120 | (sheetpath (names /) (tstamps /)) | |||
|
121 | (tstamp 52587BBB))) | |||
|
122 | (libparts | |||
|
123 | (libpart (lib guan) (part 24L-MOD-8) | |||
|
124 | (fields | |||
|
125 | (field (name Reference) IC) | |||
|
126 | (field (name Value) 24L-MOD-8)) | |||
|
127 | (pins | |||
|
128 | (pin (num 1) (name GND) (type power_in)) | |||
|
129 | (pin (num 2) (name VCC) (type power_in)) | |||
|
130 | (pin (num 3) (name CE) (type input)) | |||
|
131 | (pin (num 4) (name CSN) (type input)) | |||
|
132 | (pin (num 5) (name SCK) (type input)) | |||
|
133 | (pin (num 6) (name MOSI) (type input)) | |||
|
134 | (pin (num 7) (name MISO) (type output)) | |||
|
135 | (pin (num 8) (name IRQ) (type output)))) | |||
|
136 | (libpart (lib guan) (part AQV252) | |||
|
137 | (fields | |||
|
138 | (field (name Reference) U) | |||
|
139 | (field (name Value) AQV252)) | |||
|
140 | (pins | |||
|
141 | (pin (num 1) (name ~) (type power_in)) | |||
|
142 | (pin (num 2) (name ~) (type power_in)) | |||
|
143 | (pin (num 3) (name ~) (type power_in)) | |||
|
144 | (pin (num 4) (name ~) (type power_in)) | |||
|
145 | (pin (num 5) (name ~) (type power_in)) | |||
|
146 | (pin (num 6) (name ~) (type power_in)))) | |||
|
147 | (libpart (lib guan) (part ATXMEGA8E5-A) | |||
|
148 | (fields | |||
|
149 | (field (name Reference) IC) | |||
|
150 | (field (name Value) ATXMEGA8E5-A)) | |||
|
151 | (pins | |||
|
152 | (pin (num 1) (name GND) (type power_in)) | |||
|
153 | (pin (num 2) (name PA4/ADC4/AC4) (type 3state)) | |||
|
154 | (pin (num 3) (name PA3/ADC3/DAC1/AC3) (type 3state)) | |||
|
155 | (pin (num 4) (name PA2/ADC2/DAC0/AC2) (type 3state)) | |||
|
156 | (pin (num 5) (name PA1/ADC1/AC1) (type 3state)) | |||
|
157 | (pin (num 6) (name PA0/ADC0/AC0/AREF) (type 3state)) | |||
|
158 | (pin (num 7) (name PDIDATA) (type power_in)) | |||
|
159 | (pin (num 8) (name RESET/PDICLK) (type power_in)) | |||
|
160 | (pin (num 9) (name PC7/OC4D/TXD0/MOSI) (type power_in)) | |||
|
161 | (pin (num 10) (name PC6/OC4C/RXD0/MISO) (type power_in)) | |||
|
162 | (pin (num 11) (name PC5/OC4B/OC5B/XCK0/SCK) (type power_in)) | |||
|
163 | (pin (num 12) (name PC4/OC4A/OC5A/SS) (type power_in)) | |||
|
164 | (pin (num 13) (name PC3/OC4D/TXD0) (type power_in)) | |||
|
165 | (pin (num 14) (name PC2/OC4C/RXD0) (type power_in)) | |||
|
166 | (pin (num 15) (name PC1/OC4B/XCK0/SCL) (type power_in)) | |||
|
167 | (pin (num 16) (name PC0/OC4A/SDA) (type power_in)) | |||
|
168 | (pin (num 17) (name VCC) (type power_in)) | |||
|
169 | (pin (num 18) (name GND) (type power_in)) | |||
|
170 | (pin (num 19) (name PR1/XTAL1/TOSC1) (type power_in)) | |||
|
171 | (pin (num 20) (name PR0/XTAL2/TOSC2) (type power_in)) | |||
|
172 | (pin (num 21) (name PD7/ADC15/TXD0) (type power_in)) | |||
|
173 | (pin (num 22) (name PD6/ADC14/RXD0) (type power_in)) | |||
|
174 | (pin (num 23) (name PD5/ADC13/OC5B/XCK0) (type power_in)) | |||
|
175 | (pin (num 24) (name PD4/ADC12/OC5A) (type power_in)) | |||
|
176 | (pin (num 25) (name PD3/ADC11/TXD0) (type power_in)) | |||
|
177 | (pin (num 26) (name PD2/ADC10/RXD0) (type power_in)) | |||
|
178 | (pin (num 27) (name PD1/ADC9/XCK0/SCL) (type power_in)) | |||
|
179 | (pin (num 28) (name PD0/ADC8/SDA/AREF) (type power_in)) | |||
|
180 | (pin (num 29) (name PA7/ADC7/AC7) (type power_in)) | |||
|
181 | (pin (num 30) (name PA6/ADC6/AC6) (type power_in)) | |||
|
182 | (pin (num 31) (name PA5/ADC5/AC5) (type 3state)) | |||
|
183 | (pin (num 32) (name AVCC) (type power_in)))) | |||
|
184 | (libpart (lib guan) (part MIC5205) | |||
|
185 | (fields | |||
|
186 | (field (name Reference) U) | |||
|
187 | (field (name Value) MIC5205)) | |||
|
188 | (pins | |||
|
189 | (pin (num 1) (name VIN) (type power_in)) | |||
|
190 | (pin (num 2) (name GND) (type power_in)) | |||
|
191 | (pin (num 3) (name EN) (type input)) | |||
|
192 | (pin (num 4) (name BYP) (type power_out)) | |||
|
193 | (pin (num 5) (name VOUT) (type power_out)))) | |||
|
194 | (libpart (lib device) (part C) | |||
|
195 | (description "Condensateur non polarise") | |||
|
196 | (footprints | |||
|
197 | (fp SM*) | |||
|
198 | (fp C?) | |||
|
199 | (fp C1-1)) | |||
|
200 | (fields | |||
|
201 | (field (name Reference) C) | |||
|
202 | (field (name Value) C)) | |||
|
203 | (pins | |||
|
204 | (pin (num 1) (name ~) (type passive)) | |||
|
205 | (pin (num 2) (name ~) (type passive)))) | |||
|
206 | (libpart (lib device) (part INDUCTOR) | |||
|
207 | (fields | |||
|
208 | (field (name Reference) L) | |||
|
209 | (field (name Value) INDUCTOR)) | |||
|
210 | (pins | |||
|
211 | (pin (num 1) (name 1) (type passive)) | |||
|
212 | (pin (num 2) (name 2) (type passive)))) | |||
|
213 | (libpart (lib device) (part LED) | |||
|
214 | (footprints | |||
|
215 | (fp LED-3MM) | |||
|
216 | (fp LED-5MM) | |||
|
217 | (fp LED-10MM) | |||
|
218 | (fp LED-0603) | |||
|
219 | (fp LED-0805) | |||
|
220 | (fp LED-1206) | |||
|
221 | (fp LEDV)) | |||
|
222 | (fields | |||
|
223 | (field (name Reference) D) | |||
|
224 | (field (name Value) LED)) | |||
|
225 | (pins | |||
|
226 | (pin (num 1) (name A) (type passive)) | |||
|
227 | (pin (num 2) (name K) (type passive)))) | |||
|
228 | (libpart (lib device) (part R) | |||
|
229 | (description Resistance) | |||
|
230 | (footprints | |||
|
231 | (fp R?) | |||
|
232 | (fp SM0603) | |||
|
233 | (fp SM0805) | |||
|
234 | (fp R?-*) | |||
|
235 | (fp SM1206)) | |||
|
236 | (fields | |||
|
237 | (field (name Reference) R) | |||
|
238 | (field (name Value) R)) | |||
|
239 | (pins | |||
|
240 | (pin (num 1) (name ~) (type passive)) | |||
|
241 | (pin (num 2) (name ~) (type passive)))) | |||
|
242 | (libpart (lib conn) (part CONN_1) | |||
|
243 | (description "1 pin") | |||
|
244 | (fields | |||
|
245 | (field (name Reference) P) | |||
|
246 | (field (name Value) CONN_1)) | |||
|
247 | (pins | |||
|
248 | (pin (num 1) (name 1) (type passive)))) | |||
|
249 | (libpart (lib conn) (part CONN_2) | |||
|
250 | (description "Symbole general de connecteur") | |||
|
251 | (fields | |||
|
252 | (field (name Reference) P) | |||
|
253 | (field (name Value) CONN_2)) | |||
|
254 | (pins | |||
|
255 | (pin (num 1) (name P1) (type passive)) | |||
|
256 | (pin (num 2) (name PM) (type passive)))) | |||
|
257 | (libpart (lib conn) (part CONN_3X2) | |||
|
258 | (description "Symbole general de connecteur") | |||
|
259 | (fields | |||
|
260 | (field (name Reference) P) | |||
|
261 | (field (name Value) CONN_3X2)) | |||
|
262 | (pins | |||
|
263 | (pin (num 1) (name 1) (type passive)) | |||
|
264 | (pin (num 2) (name 2) (type passive)) | |||
|
265 | (pin (num 3) (name 3) (type passive)) | |||
|
266 | (pin (num 4) (name 4) (type passive)) | |||
|
267 | (pin (num 5) (name 5) (type passive)) | |||
|
268 | (pin (num 6) (name 6) (type passive))))) | |||
|
269 | (libraries | |||
|
270 | (library (logical guan) | |||
|
271 | (uri /home/guan/boards/guan.lib)) | |||
|
272 | (library (logical device) | |||
|
273 | (uri /usr/share/kicad/library/device.lib)) | |||
|
274 | (library (logical conn) | |||
|
275 | (uri /usr/share/kicad/library/conn.lib))) | |||
|
276 | (nets | |||
|
277 | (net (code 1) (name "") | |||
|
278 | (node (ref P4) (pin 1))) | |||
|
279 | (net (code 2) (name "") | |||
|
280 | (node (ref P5) (pin 1))) | |||
|
281 | (net (code 3) (name "") | |||
|
282 | (node (ref P6) (pin 1))) | |||
|
283 | (net (code 4) (name "") | |||
|
284 | (node (ref P7) (pin 1))) | |||
|
285 | (net (code 5) (name /LED2) | |||
|
286 | (node (ref R2) (pin 2)) | |||
|
287 | (node (ref IC2) (pin 3))) | |||
|
288 | (net (code 6) (name /LED1) | |||
|
289 | (node (ref IC2) (pin 6)) | |||
|
290 | (node (ref R1) (pin 2))) | |||
|
291 | (net (code 7) (name "") | |||
|
292 | (node (ref IC2) (pin 21))) | |||
|
293 | (net (code 8) (name "") | |||
|
294 | (node (ref IC2) (pin 20))) | |||
|
295 | (net (code 9) (name "") | |||
|
296 | (node (ref IC2) (pin 23))) | |||
|
297 | (net (code 10) (name "") | |||
|
298 | (node (ref IC2) (pin 16))) | |||
|
299 | (net (code 11) (name "") | |||
|
300 | (node (ref P1) (pin 4))) | |||
|
301 | (net (code 12) (name "") | |||
|
302 | (node (ref P1) (pin 3))) | |||
|
303 | (net (code 13) (name /PDIDATA) | |||
|
304 | (node (ref IC2) (pin 7)) | |||
|
305 | (node (ref P1) (pin 1))) | |||
|
306 | (net (code 14) (name /PDICLK) | |||
|
307 | (node (ref IC2) (pin 8)) | |||
|
308 | (node (ref P1) (pin 5))) | |||
|
309 | (net (code 15) (name "") | |||
|
310 | (node (ref C4) (pin 1)) | |||
|
311 | (node (ref U2) (pin 4))) | |||
|
312 | (net (code 16) (name GND) | |||
|
313 | (node (ref D1) (pin 2)) | |||
|
314 | (node (ref C1) (pin 2)) | |||
|
315 | (node (ref IC1) (pin 1)) | |||
|
316 | (node (ref U1) (pin 2)) | |||
|
317 | (node (ref IC2) (pin 1)) | |||
|
318 | (node (ref C3) (pin 2)) | |||
|
319 | (node (ref P1) (pin 6)) | |||
|
320 | (node (ref IC2) (pin 18)) | |||
|
321 | (node (ref D2) (pin 2)) | |||
|
322 | (node (ref C2) (pin 1)) | |||
|
323 | (node (ref C4) (pin 2)) | |||
|
324 | (node (ref U2) (pin 2)) | |||
|
325 | (node (ref C5) (pin 2)) | |||
|
326 | (node (ref P3) (pin 2)) | |||
|
327 | (node (ref C6) (pin 1))) | |||
|
328 | (net (code 17) (name /VOUT) | |||
|
329 | (node (ref L1) (pin 1)) | |||
|
330 | (node (ref U2) (pin 5))) | |||
|
331 | (net (code 18) (name VCC) | |||
|
332 | (node (ref C3) (pin 1)) | |||
|
333 | (node (ref C2) (pin 2)) | |||
|
334 | (node (ref L1) (pin 2)) | |||
|
335 | (node (ref C1) (pin 1)) | |||
|
336 | (node (ref P1) (pin 2)) | |||
|
337 | (node (ref IC2) (pin 32)) | |||
|
338 | (node (ref C5) (pin 1)) | |||
|
339 | (node (ref IC1) (pin 2)) | |||
|
340 | (node (ref IC2) (pin 17))) | |||
|
341 | (net (code 19) (name /VIN) | |||
|
342 | (node (ref U2) (pin 1)) | |||
|
343 | (node (ref U2) (pin 3)) | |||
|
344 | (node (ref C6) (pin 2)) | |||
|
345 | (node (ref P3) (pin 1))) | |||
|
346 | (net (code 20) (name "") | |||
|
347 | (node (ref IC2) (pin 22))) | |||
|
348 | (net (code 21) (name "") | |||
|
349 | (node (ref IC2) (pin 19))) | |||
|
350 | (net (code 22) (name /RELAY) | |||
|
351 | (node (ref IC2) (pin 24)) | |||
|
352 | (node (ref R3) (pin 1))) | |||
|
353 | (net (code 23) (name /OUT1) | |||
|
354 | (node (ref P2) (pin 1)) | |||
|
355 | (node (ref U1) (pin 6))) | |||
|
356 | (net (code 24) (name /OUT2) | |||
|
357 | (node (ref P2) (pin 2)) | |||
|
358 | (node (ref U1) (pin 4))) | |||
|
359 | (net (code 25) (name /CSN) | |||
|
360 | (node (ref IC2) (pin 12)) | |||
|
361 | (node (ref IC1) (pin 4))) | |||
|
362 | (net (code 26) (name /IRQ) | |||
|
363 | (node (ref IC2) (pin 14)) | |||
|
364 | (node (ref IC1) (pin 8))) | |||
|
365 | (net (code 27) (name /MISO) | |||
|
366 | (node (ref IC2) (pin 10)) | |||
|
367 | (node (ref IC1) (pin 7))) | |||
|
368 | (net (code 28) (name /MOSI) | |||
|
369 | (node (ref IC1) (pin 6)) | |||
|
370 | (node (ref IC2) (pin 9))) | |||
|
371 | (net (code 29) (name /SCK) | |||
|
372 | (node (ref IC2) (pin 11)) | |||
|
373 | (node (ref IC1) (pin 5))) | |||
|
374 | (net (code 30) (name /CE) | |||
|
375 | (node (ref IC2) (pin 13)) | |||
|
376 | (node (ref IC1) (pin 3))) | |||
|
377 | (net (code 31) (name "") | |||
|
378 | (node (ref R3) (pin 2)) | |||
|
379 | (node (ref U1) (pin 1))) | |||
|
380 | (net (code 32) (name "") | |||
|
381 | (node (ref D1) (pin 1)) | |||
|
382 | (node (ref R2) (pin 1))) | |||
|
383 | (net (code 33) (name "") | |||
|
384 | (node (ref D2) (pin 1)) | |||
|
385 | (node (ref R1) (pin 1))) | |||
|
386 | (net (code 34) (name "") | |||
|
387 | (node (ref IC2) (pin 25))) | |||
|
388 | (net (code 35) (name "") | |||
|
389 | (node (ref IC2) (pin 26))) | |||
|
390 | (net (code 36) (name "") | |||
|
391 | (node (ref IC2) (pin 27))) | |||
|
392 | (net (code 37) (name "") | |||
|
393 | (node (ref IC2) (pin 28))) | |||
|
394 | (net (code 38) (name "") | |||
|
395 | (node (ref IC2) (pin 29))) | |||
|
396 | (net (code 39) (name "") | |||
|
397 | (node (ref IC2) (pin 15))) | |||
|
398 | (net (code 40) (name "") | |||
|
399 | (node (ref IC2) (pin 2))) | |||
|
400 | (net (code 41) (name "") | |||
|
401 | (node (ref IC2) (pin 4))) | |||
|
402 | (net (code 42) (name "") | |||
|
403 | (node (ref IC2) (pin 5))) | |||
|
404 | (net (code 43) (name "") | |||
|
405 | (node (ref IC2) (pin 30))) | |||
|
406 | (net (code 44) (name "") | |||
|
407 | (node (ref IC2) (pin 31))) | |||
|
408 | (net (code 45) (name "") | |||
|
409 | (node (ref U1) (pin 3))) | |||
|
410 | (net (code 46) (name "") | |||
|
411 | (node (ref U1) (pin 5))))) No newline at end of file |
@@ -0,0 +1,4 | |||||
|
1 | (export (version D) (design | |||
|
2 | (source /home/guan/boards/boiler/boiler.sch) | |||
|
3 | (date "Sat 12 Oct 2013 10:55:49 PM EDT") | |||
|
4 | (tool "eeschema (2013-mar-13)-testing"))) |
This diff has been collapsed as it changes many lines, (1318 lines changed) Show them Hide them | |||||
@@ -0,0 +1,1318 | |||||
|
1 | (kicad_pcb (version 3) (host pcbnew "(2013-june-11)-stable") | |||
|
2 | ||||
|
3 | (general | |||
|
4 | (links 38) | |||
|
5 | (no_connects 38) | |||
|
6 | (area 0 0 0 0) | |||
|
7 | (thickness 1.6) | |||
|
8 | (drawings 12) | |||
|
9 | (tracks 0) | |||
|
10 | (zones 0) | |||
|
11 | (modules 23) | |||
|
12 | (nets 17) | |||
|
13 | ) | |||
|
14 | ||||
|
15 | (page A3) | |||
|
16 | (layers | |||
|
17 | (15 F.Cu signal) | |||
|
18 | (0 B.Cu signal) | |||
|
19 | (16 B.Adhes user) | |||
|
20 | (17 F.Adhes user) | |||
|
21 | (18 B.Paste user) | |||
|
22 | (19 F.Paste user) | |||
|
23 | (20 B.SilkS user) | |||
|
24 | (21 F.SilkS user) | |||
|
25 | (22 B.Mask user) | |||
|
26 | (23 F.Mask user) | |||
|
27 | (24 Dwgs.User user) | |||
|
28 | (25 Cmts.User user) | |||
|
29 | (26 Eco1.User user) | |||
|
30 | (27 Eco2.User user) | |||
|
31 | (28 Edge.Cuts user) | |||
|
32 | ) | |||
|
33 | ||||
|
34 | (setup | |||
|
35 | (last_trace_width 0.254) | |||
|
36 | (trace_clearance 0.254) | |||
|
37 | (zone_clearance 0.508) | |||
|
38 | (zone_45_only no) | |||
|
39 | (trace_min 0.254) | |||
|
40 | (segment_width 0.2) | |||
|
41 | (edge_width 0.15) | |||
|
42 | (via_size 0.889) | |||
|
43 | (via_drill 0.635) | |||
|
44 | (via_min_size 0.889) | |||
|
45 | (via_min_drill 0.508) | |||
|
46 | (uvia_size 0.508) | |||
|
47 | (uvia_drill 0.127) | |||
|
48 | (uvias_allowed no) | |||
|
49 | (uvia_min_size 0.508) | |||
|
50 | (uvia_min_drill 0.127) | |||
|
51 | (pcb_text_width 0.3) | |||
|
52 | (pcb_text_size 1 1) | |||
|
53 | (mod_edge_width 0.15) | |||
|
54 | (mod_text_size 1 1) | |||
|
55 | (mod_text_width 0.15) | |||
|
56 | (pad_size 1 1) | |||
|
57 | (pad_drill 0.6) | |||
|
58 | (pad_to_mask_clearance 0) | |||
|
59 | (aux_axis_origin 0 0) | |||
|
60 | (visible_elements FFFFFFBF) | |||
|
61 | (pcbplotparams | |||
|
62 | (layerselection 3178497) | |||
|
63 | (usegerberextensions true) | |||
|
64 | (excludeedgelayer true) | |||
|
65 | (linewidth 0.150000) | |||
|
66 | (plotframeref false) | |||
|
67 | (viasonmask false) | |||
|
68 | (mode 1) | |||
|
69 | (useauxorigin false) | |||
|
70 | (hpglpennumber 1) | |||
|
71 | (hpglpenspeed 20) | |||
|
72 | (hpglpendiameter 15) | |||
|
73 | (hpglpenoverlay 2) | |||
|
74 | (psnegative false) | |||
|
75 | (psa4output false) | |||
|
76 | (plotreference true) | |||
|
77 | (plotvalue true) | |||
|
78 | (plotothertext true) | |||
|
79 | (plotinvisibletext false) | |||
|
80 | (padsonsilk false) | |||
|
81 | (subtractmaskfromsilk false) | |||
|
82 | (outputformat 1) | |||
|
83 | (mirror false) | |||
|
84 | (drillshape 1) | |||
|
85 | (scaleselection 1) | |||
|
86 | (outputdirectory "")) | |||
|
87 | ) | |||
|
88 | ||||
|
89 | (net 0 "") | |||
|
90 | (net 1 /power/1.8V) | |||
|
91 | (net 2 /power/3.3V) | |||
|
92 | (net 3 /power/I_SENS) | |||
|
93 | (net 4 /power/LOW_BAT) | |||
|
94 | (net 5 /power/VBAT) | |||
|
95 | (net 6 /power/VBUS_USB) | |||
|
96 | (net 7 GND) | |||
|
97 | (net 8 N-0000011) | |||
|
98 | (net 9 N-0000013) | |||
|
99 | (net 10 N-0000018) | |||
|
100 | (net 11 N-0000020) | |||
|
101 | (net 12 N-000005) | |||
|
102 | (net 13 N-000006) | |||
|
103 | (net 14 N-000007) | |||
|
104 | (net 15 N-000008) | |||
|
105 | (net 16 N-000009) | |||
|
106 | ||||
|
107 | (net_class Default "Ceci est la Netclass par dΓ©faut" | |||
|
108 | (clearance 0.254) | |||
|
109 | (trace_width 0.254) | |||
|
110 | (via_dia 0.889) | |||
|
111 | (via_drill 0.635) | |||
|
112 | (uvia_dia 0.508) | |||
|
113 | (uvia_drill 0.127) | |||
|
114 | (add_net "") | |||
|
115 | (add_net /power/1.8V) | |||
|
116 | (add_net /power/3.3V) | |||
|
117 | (add_net /power/I_SENS) | |||
|
118 | (add_net /power/LOW_BAT) | |||
|
119 | (add_net /power/VBAT) | |||
|
120 | (add_net /power/VBUS_USB) | |||
|
121 | (add_net GND) | |||
|
122 | (add_net N-0000011) | |||
|
123 | (add_net N-0000013) | |||
|
124 | (add_net N-0000018) | |||
|
125 | (add_net N-0000020) | |||
|
126 | (add_net N-000005) | |||
|
127 | (add_net N-000006) | |||
|
128 | (add_net N-000007) | |||
|
129 | (add_net N-000008) | |||
|
130 | (add_net N-000009) | |||
|
131 | ) | |||
|
132 | ||||
|
133 | (module VQFP64 (layer F.Cu) (tedit 533F1878) (tstamp 533F18BA) | |||
|
134 | (at 48.26 88.9) | |||
|
135 | (descr "Module CMS VQFP 64 pins") | |||
|
136 | (tags "CMS VQFP") | |||
|
137 | (path /533F17AB/533F1BE5) | |||
|
138 | (attr smd) | |||
|
139 | (fp_text reference U1 (at 0 -1.26746) (layer F.SilkS) | |||
|
140 | (effects (font (size 1.524 1.016) (thickness 0.2032))) | |||
|
141 | ) | |||
|
142 | (fp_text value VS1053 (at 8.89 10.16) (layer F.SilkS) | |||
|
143 | (effects (font (size 1.524 1.016) (thickness 0.2032))) | |||
|
144 | ) | |||
|
145 | (fp_line (start -4.445 5.08) (end -5.08 4.445) (layer F.SilkS) (width 0.2032)) | |||
|
146 | (fp_line (start -5.08 4.445) (end -5.08 -4.826) (layer F.SilkS) (width 0.2032)) | |||
|
147 | (fp_line (start -5.08 -4.826) (end -4.826 -5.08) (layer F.SilkS) (width 0.2032)) | |||
|
148 | (fp_line (start -4.826 -5.08) (end 4.826 -5.08) (layer F.SilkS) (width 0.2032)) | |||
|
149 | (fp_line (start 4.826 -5.08) (end 5.08 -4.826) (layer F.SilkS) (width 0.2032)) | |||
|
150 | (fp_line (start 5.08 -4.826) (end 5.08 4.826) (layer F.SilkS) (width 0.2032)) | |||
|
151 | (fp_line (start 5.08 4.826) (end 4.826 5.08) (layer F.SilkS) (width 0.2032)) | |||
|
152 | (fp_line (start 4.826 5.08) (end -4.445 5.08) (layer F.SilkS) (width 0.2032)) | |||
|
153 | (fp_circle (center -3.81 3.81) (end -3.81 3.175) (layer F.SilkS) (width 0.2032)) | |||
|
154 | (pad 54 smd rect (at -5.842 -1.2446) (size 1.524 0.254) | |||
|
155 | (layers F.Cu F.Paste F.Mask) | |||
|
156 | ) | |||
|
157 | (pad 55 smd rect (at -5.842 -0.7493) (size 1.524 0.254) | |||
|
158 | (layers F.Cu F.Paste F.Mask) | |||
|
159 | ) | |||
|
160 | (pad 56 smd rect (at -5.842 -0.254) (size 1.524 0.254) | |||
|
161 | (layers F.Cu F.Paste F.Mask) | |||
|
162 | ) | |||
|
163 | (pad 57 smd rect (at -5.842 0.254) (size 1.524 0.254) | |||
|
164 | (layers F.Cu F.Paste F.Mask) | |||
|
165 | ) | |||
|
166 | (pad 58 smd rect (at -5.842 0.7493) (size 1.524 0.254) | |||
|
167 | (layers F.Cu F.Paste F.Mask) | |||
|
168 | ) | |||
|
169 | (pad 59 smd rect (at -5.842 1.2446) (size 1.524 0.254) | |||
|
170 | (layers F.Cu F.Paste F.Mask) | |||
|
171 | ) | |||
|
172 | (pad 60 smd rect (at -5.842 1.7526) (size 1.524 0.254) | |||
|
173 | (layers F.Cu F.Paste F.Mask) | |||
|
174 | ) | |||
|
175 | (pad 61 smd rect (at -5.842 2.2479) (size 1.524 0.254) | |||
|
176 | (layers F.Cu F.Paste F.Mask) | |||
|
177 | ) | |||
|
178 | (pad 62 smd rect (at -5.842 2.7432) (size 1.524 0.254) | |||
|
179 | (layers F.Cu F.Paste F.Mask) | |||
|
180 | ) | |||
|
181 | (pad 63 smd rect (at -5.842 3.2512) (size 1.524 0.254) | |||
|
182 | (layers F.Cu F.Paste F.Mask) | |||
|
183 | ) | |||
|
184 | (pad 64 smd rect (at -5.842 3.7465) (size 1.524 0.254) | |||
|
185 | (layers F.Cu F.Paste F.Mask) | |||
|
186 | ) | |||
|
187 | (pad 27 smd rect (at 5.842 -1.2446) (size 1.524 0.254) | |||
|
188 | (layers F.Cu F.Paste F.Mask) | |||
|
189 | ) | |||
|
190 | (pad 26 smd rect (at 5.842 -0.7493) (size 1.524 0.254) | |||
|
191 | (layers F.Cu F.Paste F.Mask) | |||
|
192 | ) | |||
|
193 | (pad 25 smd rect (at 5.842 -0.254) (size 1.524 0.254) | |||
|
194 | (layers F.Cu F.Paste F.Mask) | |||
|
195 | ) | |||
|
196 | (pad 24 smd rect (at 5.842 0.254) (size 1.524 0.254) | |||
|
197 | (layers F.Cu F.Paste F.Mask) | |||
|
198 | ) | |||
|
199 | (pad 23 smd rect (at 5.842 0.7493) (size 1.524 0.254) | |||
|
200 | (layers F.Cu F.Paste F.Mask) | |||
|
201 | ) | |||
|
202 | (pad 22 smd rect (at 5.842 1.2446) (size 1.524 0.254) | |||
|
203 | (layers F.Cu F.Paste F.Mask) | |||
|
204 | ) | |||
|
205 | (pad 21 smd rect (at 5.842 1.7526) (size 1.524 0.254) | |||
|
206 | (layers F.Cu F.Paste F.Mask) | |||
|
207 | ) | |||
|
208 | (pad 20 smd rect (at 5.842 2.2479) (size 1.524 0.254) | |||
|
209 | (layers F.Cu F.Paste F.Mask) | |||
|
210 | ) | |||
|
211 | (pad 19 smd rect (at 5.842 2.7432) (size 1.524 0.254) | |||
|
212 | (layers F.Cu F.Paste F.Mask) | |||
|
213 | ) | |||
|
214 | (pad 18 smd rect (at 5.842 3.2512) (size 1.524 0.254) | |||
|
215 | (layers F.Cu F.Paste F.Mask) | |||
|
216 | ) | |||
|
217 | (pad 17 smd rect (at 5.842 3.7465) (size 1.524 0.254) | |||
|
218 | (layers F.Cu F.Paste F.Mask) | |||
|
219 | ) | |||
|
220 | (pad 48 smd rect (at -3.7465 -5.842) (size 0.254 1.524) | |||
|
221 | (layers F.Cu F.Paste F.Mask) | |||
|
222 | ) | |||
|
223 | (pad 47 smd rect (at -3.2512 -5.842) (size 0.254 1.524) | |||
|
224 | (layers F.Cu F.Paste F.Mask) | |||
|
225 | ) | |||
|
226 | (pad 46 smd rect (at -2.7432 -5.842) (size 0.254 1.524) | |||
|
227 | (layers F.Cu F.Paste F.Mask) | |||
|
228 | ) | |||
|
229 | (pad 45 smd rect (at -2.2479 -5.842) (size 0.254 1.524) | |||
|
230 | (layers F.Cu F.Paste F.Mask) | |||
|
231 | ) | |||
|
232 | (pad 44 smd rect (at -1.7526 -5.842) (size 0.254 1.524) | |||
|
233 | (layers F.Cu F.Paste F.Mask) | |||
|
234 | ) | |||
|
235 | (pad 43 smd rect (at -1.2446 -5.842) (size 0.254 1.524) | |||
|
236 | (layers F.Cu F.Paste F.Mask) | |||
|
237 | ) | |||
|
238 | (pad 42 smd rect (at -0.7493 -5.842) (size 0.254 1.524) | |||
|
239 | (layers F.Cu F.Paste F.Mask) | |||
|
240 | ) | |||
|
241 | (pad 41 smd rect (at -0.254 -5.842) (size 0.254 1.524) | |||
|
242 | (layers F.Cu F.Paste F.Mask) | |||
|
243 | ) | |||
|
244 | (pad 40 smd rect (at 0.254 -5.842) (size 0.254 1.524) | |||
|
245 | (layers F.Cu F.Paste F.Mask) | |||
|
246 | ) | |||
|
247 | (pad 39 smd rect (at 0.7493 -5.842) (size 0.254 1.524) | |||
|
248 | (layers F.Cu F.Paste F.Mask) | |||
|
249 | ) | |||
|
250 | (pad 38 smd rect (at 1.2446 -5.842) (size 0.254 1.524) | |||
|
251 | (layers F.Cu F.Paste F.Mask) | |||
|
252 | ) | |||
|
253 | (pad 11 smd rect (at 1.2446 5.842) (size 0.254 1.524) | |||
|
254 | (layers F.Cu F.Paste F.Mask) | |||
|
255 | ) | |||
|
256 | (pad 10 smd rect (at 0.7493 5.842) (size 0.254 1.524) | |||
|
257 | (layers F.Cu F.Paste F.Mask) | |||
|
258 | ) | |||
|
259 | (pad 9 smd rect (at 0.254 5.842) (size 0.254 1.524) | |||
|
260 | (layers F.Cu F.Paste F.Mask) | |||
|
261 | ) | |||
|
262 | (pad 8 smd rect (at -0.254 5.842) (size 0.254 1.524) | |||
|
263 | (layers F.Cu F.Paste F.Mask) | |||
|
264 | ) | |||
|
265 | (pad 7 smd rect (at -0.7493 5.842) (size 0.254 1.524) | |||
|
266 | (layers F.Cu F.Paste F.Mask) | |||
|
267 | ) | |||
|
268 | (pad 6 smd rect (at -1.2446 5.842) (size 0.254 1.524) | |||
|
269 | (layers F.Cu F.Paste F.Mask) | |||
|
270 | ) | |||
|
271 | (pad 5 smd rect (at -1.7526 5.842) (size 0.254 1.524) | |||
|
272 | (layers F.Cu F.Paste F.Mask) | |||
|
273 | ) | |||
|
274 | (pad 4 smd rect (at -2.2479 5.842) (size 0.254 1.524) | |||
|
275 | (layers F.Cu F.Paste F.Mask) | |||
|
276 | ) | |||
|
277 | (pad 3 smd rect (at -2.7432 5.842) (size 0.254 1.524) | |||
|
278 | (layers F.Cu F.Paste F.Mask) | |||
|
279 | ) | |||
|
280 | (pad 2 smd rect (at -3.2512 5.842) (size 0.254 1.524) | |||
|
281 | (layers F.Cu F.Paste F.Mask) | |||
|
282 | ) | |||
|
283 | (pad 1 smd rect (at -3.7465 5.842) (size 0.254 1.524) | |||
|
284 | (layers F.Cu F.Paste F.Mask) | |||
|
285 | ) | |||
|
286 | (pad 12 smd rect (at 1.7526 5.842) (size 0.254 1.524) | |||
|
287 | (layers F.Cu F.Paste F.Mask) | |||
|
288 | ) | |||
|
289 | (pad 13 smd rect (at 2.2479 5.842) (size 0.254 1.524) | |||
|
290 | (layers F.Cu F.Paste F.Mask) | |||
|
291 | ) | |||
|
292 | (pad 14 smd rect (at 2.7432 5.842) (size 0.254 1.524) | |||
|
293 | (layers F.Cu F.Paste F.Mask) | |||
|
294 | ) | |||
|
295 | (pad 15 smd rect (at 3.2512 5.842) (size 0.254 1.524) | |||
|
296 | (layers F.Cu F.Paste F.Mask) | |||
|
297 | ) | |||
|
298 | (pad 16 smd rect (at 3.7465 5.842) (size 0.254 1.524) | |||
|
299 | (layers F.Cu F.Paste F.Mask) | |||
|
300 | ) | |||
|
301 | (pad 33 smd rect (at 3.7465 -5.842) (size 0.254 1.524) | |||
|
302 | (layers F.Cu F.Paste F.Mask) | |||
|
303 | ) | |||
|
304 | (pad 34 smd rect (at 3.2512 -5.842) (size 0.254 1.524) | |||
|
305 | (layers F.Cu F.Paste F.Mask) | |||
|
306 | ) | |||
|
307 | (pad 35 smd rect (at 2.7432 -5.842) (size 0.254 1.524) | |||
|
308 | (layers F.Cu F.Paste F.Mask) | |||
|
309 | ) | |||
|
310 | (pad 36 smd rect (at 2.2479 -5.842) (size 0.254 1.524) | |||
|
311 | (layers F.Cu F.Paste F.Mask) | |||
|
312 | ) | |||
|
313 | (pad 37 smd rect (at 1.7526 -5.842) (size 0.254 1.524) | |||
|
314 | (layers F.Cu F.Paste F.Mask) | |||
|
315 | ) | |||
|
316 | (pad 28 smd rect (at 5.842 -1.7526) (size 1.524 0.254) | |||
|
317 | (layers F.Cu F.Paste F.Mask) | |||
|
318 | ) | |||
|
319 | (pad 29 smd rect (at 5.842 -2.2479) (size 1.524 0.254) | |||
|
320 | (layers F.Cu F.Paste F.Mask) | |||
|
321 | ) | |||
|
322 | (pad 30 smd rect (at 5.842 -2.7432) (size 1.524 0.254) | |||
|
323 | (layers F.Cu F.Paste F.Mask) | |||
|
324 | ) | |||
|
325 | (pad 31 smd rect (at 5.842 -3.2512) (size 1.524 0.254) | |||
|
326 | (layers F.Cu F.Paste F.Mask) | |||
|
327 | ) | |||
|
328 | (pad 32 smd rect (at 5.842 -3.7465) (size 1.524 0.254) | |||
|
329 | (layers F.Cu F.Paste F.Mask) | |||
|
330 | ) | |||
|
331 | (pad 53 smd rect (at -5.842 -1.7526) (size 1.524 0.254) | |||
|
332 | (layers F.Cu F.Paste F.Mask) | |||
|
333 | ) | |||
|
334 | (pad 52 smd rect (at -5.842 -2.2479) (size 1.524 0.254) | |||
|
335 | (layers F.Cu F.Paste F.Mask) | |||
|
336 | ) | |||
|
337 | (pad 51 smd rect (at -5.842 -2.7432) (size 1.524 0.254) | |||
|
338 | (layers F.Cu F.Paste F.Mask) | |||
|
339 | ) | |||
|
340 | (pad 50 smd rect (at -5.842 -3.2512) (size 1.524 0.254) | |||
|
341 | (layers F.Cu F.Paste F.Mask) | |||
|
342 | ) | |||
|
343 | (pad 49 smd rect (at -5.842 -3.7465) (size 1.524 0.254) | |||
|
344 | (layers F.Cu F.Paste F.Mask) | |||
|
345 | ) | |||
|
346 | (model smd/vqfp64.wrl | |||
|
347 | (at (xyz 0 0 0)) | |||
|
348 | (scale (xyz 0.395 0.395 0.5)) | |||
|
349 | (rotate (xyz 0 0 0)) | |||
|
350 | ) | |||
|
351 | ) | |||
|
352 | ||||
|
353 | (module TFT1P4705 (layer B.Cu) (tedit 53090EC8) (tstamp 533F18F3) | |||
|
354 | (at 63.5 69.85) | |||
|
355 | (path /533F1856/533F1B54) | |||
|
356 | (fp_text reference U2 (at -11 29 180) (layer B.SilkS) | |||
|
357 | (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) | |||
|
358 | ) | |||
|
359 | (fp_text value TFT1P4705 (at -19.5 29) (layer B.SilkS) | |||
|
360 | (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) | |||
|
361 | ) | |||
|
362 | (fp_line (start -5 25.5) (end -25 25.5) (layer B.SilkS) (width 0.3)) | |||
|
363 | (fp_line (start -5 -25.5) (end -25 -25.5) (layer B.SilkS) (width 0.3)) | |||
|
364 | (fp_line (start -3 -25.5) (end 0 -25.5) (layer B.SilkS) (width 0.3)) | |||
|
365 | (fp_line (start 0 -25.5) (end 0 -19) (layer B.SilkS) (width 0.3)) | |||
|
366 | (fp_line (start -3 25.5) (end 0 25.5) (layer B.SilkS) (width 0.3)) | |||
|
367 | (fp_line (start 0 25.5) (end 0 19) (layer B.SilkS) (width 0.3)) | |||
|
368 | (fp_line (start -5 -25.45) (end -3 -25.45) (layer B.SilkS) (width 0.3)) | |||
|
369 | (fp_line (start -5 25.45) (end -3 25.45) (layer B.SilkS) (width 0.3)) | |||
|
370 | (fp_line (start -5 27.83) (end -5 -27.83) (layer B.SilkS) (width 0.3)) | |||
|
371 | (fp_line (start -3 27.83) (end -3 -27.83) (layer B.SilkS) (width 0.3)) | |||
|
372 | (fp_line (start -26.1 27.83) (end -26.1 27.83) (layer B.SilkS) (width 0.3)) | |||
|
373 | (fp_line (start -26.1 27.83) (end -26.1 -27.83) (layer B.SilkS) (width 0.3)) | |||
|
374 | (fp_line (start -26.1 -27.83) (end 57.94 -27.83) (layer B.SilkS) (width 0.3)) | |||
|
375 | (fp_line (start 57.94 27.83) (end 57.94 -27.83) (layer B.SilkS) (width 0.3)) | |||
|
376 | (fp_line (start -3 27.83) (end -3 27.83) (layer B.SilkS) (width 0.3)) | |||
|
377 | (fp_line (start -26.1 27.83) (end 57.94 27.83) (layer B.SilkS) (width 0.3)) | |||
|
378 | (pad 1 smd oval (at -0.5 18) (size 3 0.5) | |||
|
379 | (layers B.Cu B.Paste B.Mask) | |||
|
380 | ) | |||
|
381 | (pad 2 smd oval (at -0.5 17) (size 3 0.5) | |||
|
382 | (layers B.Cu B.Paste B.Mask) | |||
|
383 | ) | |||
|
384 | (pad 3 smd oval (at -0.5 16) (size 3 0.5) | |||
|
385 | (layers B.Cu B.Paste B.Mask) | |||
|
386 | ) | |||
|
387 | (pad 4 smd oval (at -0.5 15) (size 3 0.5) | |||
|
388 | (layers B.Cu B.Paste B.Mask) | |||
|
389 | ) | |||
|
390 | (pad 5 smd oval (at -0.5 14) (size 3 0.5) | |||
|
391 | (layers B.Cu B.Paste B.Mask) | |||
|
392 | ) | |||
|
393 | (pad 6 smd oval (at -0.5 13) (size 3 0.5) | |||
|
394 | (layers B.Cu B.Paste B.Mask) | |||
|
395 | ) | |||
|
396 | (pad 7 smd oval (at -0.5 12) (size 3 0.5) | |||
|
397 | (layers B.Cu B.Paste B.Mask) | |||
|
398 | ) | |||
|
399 | (pad 8 smd oval (at -0.5 11) (size 3 0.5) | |||
|
400 | (layers B.Cu B.Paste B.Mask) | |||
|
401 | ) | |||
|
402 | (pad 9 smd oval (at -0.5 10) (size 3 0.5) | |||
|
403 | (layers B.Cu B.Paste B.Mask) | |||
|
404 | ) | |||
|
405 | (pad 10 smd oval (at -0.5 9) (size 3 0.5) | |||
|
406 | (layers B.Cu B.Paste B.Mask) | |||
|
407 | ) | |||
|
408 | (pad 11 smd oval (at -0.5 8) (size 3 0.5) | |||
|
409 | (layers B.Cu B.Paste B.Mask) | |||
|
410 | ) | |||
|
411 | (pad 12 smd oval (at -0.5 7) (size 3 0.5) | |||
|
412 | (layers B.Cu B.Paste B.Mask) | |||
|
413 | ) | |||
|
414 | (pad 13 smd oval (at -0.5 6) (size 3 0.5) | |||
|
415 | (layers B.Cu B.Paste B.Mask) | |||
|
416 | ) | |||
|
417 | (pad 14 smd oval (at -0.5 5) (size 3 0.5) | |||
|
418 | (layers B.Cu B.Paste B.Mask) | |||
|
419 | ) | |||
|
420 | (pad 15 smd oval (at -0.5 4) (size 3 0.5) | |||
|
421 | (layers B.Cu B.Paste B.Mask) | |||
|
422 | ) | |||
|
423 | (pad 16 smd oval (at -0.5 3) (size 3 0.5) | |||
|
424 | (layers B.Cu B.Paste B.Mask) | |||
|
425 | ) | |||
|
426 | (pad 17 smd oval (at -0.5 2) (size 3 0.5) | |||
|
427 | (layers B.Cu B.Paste B.Mask) | |||
|
428 | ) | |||
|
429 | (pad 18 smd oval (at -0.5 1) (size 3 0.5) | |||
|
430 | (layers B.Cu B.Paste B.Mask) | |||
|
431 | ) | |||
|
432 | (pad 19 smd oval (at -0.5 0) (size 3 0.5) | |||
|
433 | (layers B.Cu B.Paste B.Mask) | |||
|
434 | ) | |||
|
435 | (pad 20 smd oval (at -0.5 -1) (size 3 0.5) | |||
|
436 | (layers B.Cu B.Paste B.Mask) | |||
|
437 | ) | |||
|
438 | (pad 21 smd oval (at -0.5 -2) (size 3 0.5) | |||
|
439 | (layers B.Cu B.Paste B.Mask) | |||
|
440 | ) | |||
|
441 | (pad 22 smd oval (at -0.5 -3) (size 3 0.5) | |||
|
442 | (layers B.Cu B.Paste B.Mask) | |||
|
443 | ) | |||
|
444 | (pad 23 smd oval (at -0.5 -4) (size 3 0.5) | |||
|
445 | (layers B.Cu B.Paste B.Mask) | |||
|
446 | ) | |||
|
447 | (pad 24 smd oval (at -0.5 -5) (size 3 0.5) | |||
|
448 | (layers B.Cu B.Paste B.Mask) | |||
|
449 | ) | |||
|
450 | (pad 25 smd oval (at -0.5 -6) (size 3 0.5) | |||
|
451 | (layers B.Cu B.Paste B.Mask) | |||
|
452 | ) | |||
|
453 | (pad 26 smd oval (at -0.5 -7) (size 3 0.5) | |||
|
454 | (layers B.Cu B.Paste B.Mask) | |||
|
455 | ) | |||
|
456 | (pad 27 smd oval (at -0.5 -8) (size 3 0.5) | |||
|
457 | (layers B.Cu B.Paste B.Mask) | |||
|
458 | ) | |||
|
459 | (pad 28 smd oval (at -0.5 -9) (size 3 0.5) | |||
|
460 | (layers B.Cu B.Paste B.Mask) | |||
|
461 | ) | |||
|
462 | (pad 29 smd oval (at -0.5 -10) (size 3 0.5) | |||
|
463 | (layers B.Cu B.Paste B.Mask) | |||
|
464 | ) | |||
|
465 | (pad 30 smd oval (at -0.5 -11) (size 3 0.5) | |||
|
466 | (layers B.Cu B.Paste B.Mask) | |||
|
467 | ) | |||
|
468 | (pad 31 smd oval (at -0.5 -12) (size 3 0.5) | |||
|
469 | (layers B.Cu B.Paste B.Mask) | |||
|
470 | ) | |||
|
471 | (pad 32 smd oval (at -0.5 -13) (size 3 0.5) | |||
|
472 | (layers B.Cu B.Paste B.Mask) | |||
|
473 | ) | |||
|
474 | (pad 33 smd oval (at -0.5 -14) (size 3 0.5) | |||
|
475 | (layers B.Cu B.Paste B.Mask) | |||
|
476 | ) | |||
|
477 | (pad 34 smd oval (at -0.5 -15) (size 3 0.5) | |||
|
478 | (layers B.Cu B.Paste B.Mask) | |||
|
479 | ) | |||
|
480 | (pad 35 smd oval (at -0.5 -16) (size 3 0.5) | |||
|
481 | (layers B.Cu B.Paste B.Mask) | |||
|
482 | ) | |||
|
483 | (pad 36 smd oval (at -0.5 -17) (size 3 0.5) | |||
|
484 | (layers B.Cu B.Paste B.Mask) | |||
|
485 | ) | |||
|
486 | (pad 37 smd oval (at -0.5 -18) (size 3 0.5) | |||
|
487 | (layers B.Cu B.Paste B.Mask) | |||
|
488 | ) | |||
|
489 | ) | |||
|
490 | ||||
|
491 | (module QFN24 (layer F.Cu) (tedit 48A948E6) (tstamp 5343006B) | |||
|
492 | (at 45.72 53.34) | |||
|
493 | (path /5331FC2B/533F2447) | |||
|
494 | (fp_text reference U3 (at 0 -3.81) (layer F.SilkS) | |||
|
495 | (effects (font (size 1.00076 1.00076) (thickness 0.3048))) | |||
|
496 | ) | |||
|
497 | (fp_text value LTC3455 (at 0 3.81) (layer F.SilkS) | |||
|
498 | (effects (font (size 1.00076 1.00076) (thickness 0.3048))) | |||
|
499 | ) | |||
|
500 | (fp_line (start -1.99136 -2.4892) (end 2.4892 -2.4892) (layer F.SilkS) (width 0.14986)) | |||
|
501 | (fp_line (start -2.4892 -1.99136) (end -2.4892 2.4892) (layer F.SilkS) (width 0.14986)) | |||
|
502 | (fp_line (start -2.4892 -1.99136) (end -1.99136 -2.4892) (layer F.SilkS) (width 0.14986)) | |||
|
503 | (fp_line (start -1.99136 -1.74244) (end -1.99136 -1.99136) (layer F.SilkS) (width 0.20066)) | |||
|
504 | (fp_line (start -1.99136 -1.99136) (end -1.74244 -1.99136) (layer F.SilkS) (width 0.20066)) | |||
|
505 | (fp_line (start -1.74244 1.99136) (end -1.99136 1.99136) (layer F.SilkS) (width 0.20066)) | |||
|
506 | (fp_line (start -1.99136 1.99136) (end -1.99136 1.74244) (layer F.SilkS) (width 0.20066)) | |||
|
507 | (fp_line (start 1.99136 1.74244) (end 1.99136 1.99136) (layer F.SilkS) (width 0.20066)) | |||
|
508 | (fp_line (start 1.99136 1.99136) (end 1.74244 1.99136) (layer F.SilkS) (width 0.20066)) | |||
|
509 | (fp_line (start 1.74244 -1.99136) (end 1.99136 -1.99136) (layer F.SilkS) (width 0.20066)) | |||
|
510 | (fp_line (start 1.99136 -1.99136) (end 1.99136 -1.74244) (layer F.SilkS) (width 0.20066)) | |||
|
511 | (fp_line (start 2.4892 2.4892) (end -2.4892 2.4892) (layer F.SilkS) (width 0.14986)) | |||
|
512 | (fp_line (start 2.4892 -2.4892) (end 2.4892 2.4892) (layer F.SilkS) (width 0.14986)) | |||
|
513 | (pad "" smd rect (at 0 0 270) (size 2.49936 2.49936) | |||
|
514 | (layers *.Cu F.Paste F.Mask) | |||
|
515 | ) | |||
|
516 | (pad 1 smd oval (at -1.99898 -1.24968) (size 0.8001 0.24892) | |||
|
517 | (layers F.Cu F.Paste F.Mask) | |||
|
518 | (net 16 N-000009) | |||
|
519 | ) | |||
|
520 | (pad 2 smd oval (at -1.99898 -0.7493) (size 0.8001 0.24892) | |||
|
521 | (layers F.Cu F.Paste F.Mask) | |||
|
522 | (net 3 /power/I_SENS) | |||
|
523 | ) | |||
|
524 | (pad 3 smd oval (at -1.99898 -0.24892) (size 0.8001 0.24892) | |||
|
525 | (layers F.Cu F.Paste F.Mask) | |||
|
526 | (net 9 N-0000013) | |||
|
527 | ) | |||
|
528 | (pad 4 smd oval (at -1.99898 0.24892) (size 0.8001 0.24892) | |||
|
529 | (layers F.Cu F.Paste F.Mask) | |||
|
530 | (net 14 N-000007) | |||
|
531 | ) | |||
|
532 | (pad 5 smd oval (at -1.99898 0.7493) (size 0.8001 0.24892) | |||
|
533 | (layers F.Cu F.Paste F.Mask) | |||
|
534 | ) | |||
|
535 | (pad 6 smd oval (at -1.99898 1.24968) (size 0.8001 0.24892) | |||
|
536 | (layers F.Cu F.Paste F.Mask) | |||
|
537 | ) | |||
|
538 | (pad 7 smd oval (at -1.24968 1.99898 90) (size 0.8001 0.24892) | |||
|
539 | (layers F.Cu F.Paste F.Mask) | |||
|
540 | (net 8 N-0000011) | |||
|
541 | ) | |||
|
542 | (pad 8 smd oval (at -0.7493 1.99898 90) (size 0.8001 0.24892) | |||
|
543 | (layers F.Cu F.Paste F.Mask) | |||
|
544 | (net 6 /power/VBUS_USB) | |||
|
545 | ) | |||
|
546 | (pad 9 smd oval (at -0.24892 1.99898 90) (size 0.8001 0.24892) | |||
|
547 | (layers F.Cu F.Paste F.Mask) | |||
|
548 | (net 5 /power/VBAT) | |||
|
549 | ) | |||
|
550 | (pad 10 smd oval (at 0.24892 1.99898 90) (size 0.8001 0.24892) | |||
|
551 | (layers F.Cu F.Paste F.Mask) | |||
|
552 | (net 15 N-000008) | |||
|
553 | ) | |||
|
554 | (pad 11 smd oval (at 0.7493 1.99898 90) (size 0.8001 0.24892) | |||
|
555 | (layers F.Cu F.Paste F.Mask) | |||
|
556 | (net 7 GND) | |||
|
557 | ) | |||
|
558 | (pad 12 smd oval (at 1.24968 1.99898 90) (size 0.8001 0.24892) | |||
|
559 | (layers F.Cu F.Paste F.Mask) | |||
|
560 | (net 11 N-0000020) | |||
|
561 | ) | |||
|
562 | (pad 13 smd oval (at 1.99898 1.24968 180) (size 0.8001 0.24892) | |||
|
563 | (layers F.Cu F.Paste F.Mask) | |||
|
564 | (net 2 /power/3.3V) | |||
|
565 | ) | |||
|
566 | (pad 14 smd oval (at 1.99898 0.7493 180) (size 0.8001 0.24892) | |||
|
567 | (layers F.Cu F.Paste F.Mask) | |||
|
568 | ) | |||
|
569 | (pad 15 smd oval (at 1.99898 0.24892 180) (size 0.8001 0.24892) | |||
|
570 | (layers F.Cu F.Paste F.Mask) | |||
|
571 | ) | |||
|
572 | (pad 16 smd oval (at 1.99898 -0.24892 180) (size 0.8001 0.24892) | |||
|
573 | (layers F.Cu F.Paste F.Mask) | |||
|
574 | (net 10 N-0000018) | |||
|
575 | ) | |||
|
576 | (pad 17 smd oval (at 1.99898 -0.7493 180) (size 0.8001 0.24892) | |||
|
577 | (layers F.Cu F.Paste F.Mask) | |||
|
578 | (net 4 /power/LOW_BAT) | |||
|
579 | ) | |||
|
580 | (pad 18 smd oval (at 1.99898 -1.24968 180) (size 0.8001 0.24892) | |||
|
581 | (layers F.Cu F.Paste F.Mask) | |||
|
582 | (net 12 N-000005) | |||
|
583 | ) | |||
|
584 | (pad 19 smd oval (at 1.24968 -1.99898 270) (size 0.8001 0.24892) | |||
|
585 | (layers F.Cu F.Paste F.Mask) | |||
|
586 | ) | |||
|
587 | (pad 20 smd oval (at 0.7493 -1.99898 270) (size 0.8001 0.24892) | |||
|
588 | (layers F.Cu F.Paste F.Mask) | |||
|
589 | ) | |||
|
590 | (pad 21 smd oval (at 0.24892 -1.99898 270) (size 0.8001 0.24892) | |||
|
591 | (layers F.Cu F.Paste F.Mask) | |||
|
592 | ) | |||
|
593 | (pad 22 smd oval (at -0.24892 -1.99898 270) (size 0.8001 0.24892) | |||
|
594 | (layers F.Cu F.Paste F.Mask) | |||
|
595 | ) | |||
|
596 | (pad 23 smd oval (at -0.7493 -1.99898 270) (size 0.8001 0.24892) | |||
|
597 | (layers F.Cu F.Paste F.Mask) | |||
|
598 | ) | |||
|
599 | (pad 24 smd oval (at -1.24968 -1.99898 270) (size 0.8001 0.24892) | |||
|
600 | (layers F.Cu F.Paste F.Mask) | |||
|
601 | ) | |||
|
602 | (pad "" np_thru_hole circle (at 0 0 270) (size 0.8001 0.8001) (drill 0.8001) | |||
|
603 | (layers *.Cu *.SilkS *.Mask) | |||
|
604 | ) | |||
|
605 | (pad "" np_thru_hole circle (at 0.762 -0.762 270) (size 0.8001 0.8001) (drill 0.8001) | |||
|
606 | (layers *.Cu *.SilkS *.Mask) | |||
|
607 | ) | |||
|
608 | (pad "" np_thru_hole circle (at -0.762 -0.762 270) (size 0.8001 0.8001) (drill 0.8001) | |||
|
609 | (layers *.Cu *.SilkS *.Mask) | |||
|
610 | ) | |||
|
611 | (pad "" np_thru_hole circle (at 0.762 0.762 270) (size 0.8001 0.8001) (drill 0.8001) | |||
|
612 | (layers *.Cu *.SilkS *.Mask) | |||
|
613 | ) | |||
|
614 | (pad "" np_thru_hole circle (at -0.762 0.762 270) (size 0.8001 0.8001) (drill 0.8001) | |||
|
615 | (layers *.Cu *.SilkS *.Mask) | |||
|
616 | ) | |||
|
617 | (model smd/qfn24.wrl | |||
|
618 | (at (xyz 0 0 0)) | |||
|
619 | (scale (xyz 1 1 1)) | |||
|
620 | (rotate (xyz 0 0 0)) | |||
|
621 | ) | |||
|
622 | ) | |||
|
623 | ||||
|
624 | (module SM1210 (layer F.Cu) (tedit 42806E94) (tstamp 53430AC3) | |||
|
625 | (at 38.1 25.4) | |||
|
626 | (tags "CMS SM") | |||
|
627 | (path /5331FC2B/53430F5E) | |||
|
628 | (attr smd) | |||
|
629 | (fp_text reference L2 (at 0 -0.508) (layer F.SilkS) | |||
|
630 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
631 | ) | |||
|
632 | (fp_text value 4.7Β΅F (at 0 0.508) (layer F.SilkS) | |||
|
633 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
634 | ) | |||
|
635 | (fp_circle (center -2.413 1.524) (end -2.286 1.397) (layer F.SilkS) (width 0.127)) | |||
|
636 | (fp_line (start -0.762 -1.397) (end -2.286 -1.397) (layer F.SilkS) (width 0.127)) | |||
|
637 | (fp_line (start -2.286 -1.397) (end -2.286 1.397) (layer F.SilkS) (width 0.127)) | |||
|
638 | (fp_line (start -2.286 1.397) (end -0.762 1.397) (layer F.SilkS) (width 0.127)) | |||
|
639 | (fp_line (start 0.762 1.397) (end 2.286 1.397) (layer F.SilkS) (width 0.127)) | |||
|
640 | (fp_line (start 2.286 1.397) (end 2.286 -1.397) (layer F.SilkS) (width 0.127)) | |||
|
641 | (fp_line (start 2.286 -1.397) (end 0.762 -1.397) (layer F.SilkS) (width 0.127)) | |||
|
642 | (pad 1 smd rect (at -1.524 0) (size 1.27 2.54) | |||
|
643 | (layers F.Cu F.Paste F.Mask) | |||
|
644 | (net 8 N-0000011) | |||
|
645 | ) | |||
|
646 | (pad 2 smd rect (at 1.524 0) (size 1.27 2.54) | |||
|
647 | (layers F.Cu F.Paste F.Mask) | |||
|
648 | (net 1 /power/1.8V) | |||
|
649 | ) | |||
|
650 | (model smd/chip_cms.wrl | |||
|
651 | (at (xyz 0 0 0)) | |||
|
652 | (scale (xyz 0.17 0.2 0.17)) | |||
|
653 | (rotate (xyz 0 0 0)) | |||
|
654 | ) | |||
|
655 | ) | |||
|
656 | ||||
|
657 | (module SM1210 (layer F.Cu) (tedit 42806E94) (tstamp 53430AD0) | |||
|
658 | (at 31.75 25.4) | |||
|
659 | (tags "CMS SM") | |||
|
660 | (path /5331FC2B/53430F6B) | |||
|
661 | (attr smd) | |||
|
662 | (fp_text reference L1 (at 0 -0.508) (layer F.SilkS) | |||
|
663 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
664 | ) | |||
|
665 | (fp_text value 4.7Β΅F (at 0 0.508) (layer F.SilkS) | |||
|
666 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
667 | ) | |||
|
668 | (fp_circle (center -2.413 1.524) (end -2.286 1.397) (layer F.SilkS) (width 0.127)) | |||
|
669 | (fp_line (start -0.762 -1.397) (end -2.286 -1.397) (layer F.SilkS) (width 0.127)) | |||
|
670 | (fp_line (start -2.286 -1.397) (end -2.286 1.397) (layer F.SilkS) (width 0.127)) | |||
|
671 | (fp_line (start -2.286 1.397) (end -0.762 1.397) (layer F.SilkS) (width 0.127)) | |||
|
672 | (fp_line (start 0.762 1.397) (end 2.286 1.397) (layer F.SilkS) (width 0.127)) | |||
|
673 | (fp_line (start 2.286 1.397) (end 2.286 -1.397) (layer F.SilkS) (width 0.127)) | |||
|
674 | (fp_line (start 2.286 -1.397) (end 0.762 -1.397) (layer F.SilkS) (width 0.127)) | |||
|
675 | (pad 1 smd rect (at -1.524 0) (size 1.27 2.54) | |||
|
676 | (layers F.Cu F.Paste F.Mask) | |||
|
677 | (net 11 N-0000020) | |||
|
678 | ) | |||
|
679 | (pad 2 smd rect (at 1.524 0) (size 1.27 2.54) | |||
|
680 | (layers F.Cu F.Paste F.Mask) | |||
|
681 | (net 2 /power/3.3V) | |||
|
682 | ) | |||
|
683 | (model smd/chip_cms.wrl | |||
|
684 | (at (xyz 0 0 0)) | |||
|
685 | (scale (xyz 0.17 0.2 0.17)) | |||
|
686 | (rotate (xyz 0 0 0)) | |||
|
687 | ) | |||
|
688 | ) | |||
|
689 | ||||
|
690 | (module SM1206 (layer F.Cu) (tedit 42806E24) (tstamp 53430ADC) | |||
|
691 | (at 25.4 25.4) | |||
|
692 | (path /5331FC2B/534313F5) | |||
|
693 | (attr smd) | |||
|
694 | (fp_text reference C7 (at 0 0) (layer F.SilkS) | |||
|
695 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
696 | ) | |||
|
697 | (fp_text value 10Β΅F (at 0 0) (layer F.SilkS) hide | |||
|
698 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
699 | ) | |||
|
700 | (fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
701 | (fp_line (start -2.54 1.143) (end -0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
702 | (fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
703 | (fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
704 | (fp_line (start 2.54 1.143) (end 0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
705 | (fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
706 | (pad 1 smd rect (at -1.651 0) (size 1.524 2.032) | |||
|
707 | (layers F.Cu F.Paste F.Mask) | |||
|
708 | (net 2 /power/3.3V) | |||
|
709 | ) | |||
|
710 | (pad 2 smd rect (at 1.651 0) (size 1.524 2.032) | |||
|
711 | (layers F.Cu F.Paste F.Mask) | |||
|
712 | (net 7 GND) | |||
|
713 | ) | |||
|
714 | (model smd/chip_cms.wrl | |||
|
715 | (at (xyz 0 0 0)) | |||
|
716 | (scale (xyz 0.17 0.16 0.16)) | |||
|
717 | (rotate (xyz 0 0 0)) | |||
|
718 | ) | |||
|
719 | ) | |||
|
720 | ||||
|
721 | (module SM1206 (layer F.Cu) (tedit 42806E24) (tstamp 53430AE8) | |||
|
722 | (at 24.13 29.21) | |||
|
723 | (path /5331FC2B/53433485) | |||
|
724 | (attr smd) | |||
|
725 | (fp_text reference C4 (at 0 0) (layer F.SilkS) | |||
|
726 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
727 | ) | |||
|
728 | (fp_text value 10Β΅F (at 0 0) (layer F.SilkS) hide | |||
|
729 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
730 | ) | |||
|
731 | (fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
732 | (fp_line (start -2.54 1.143) (end -0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
733 | (fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
734 | (fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
735 | (fp_line (start 2.54 1.143) (end 0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
736 | (fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
737 | (pad 1 smd rect (at -1.651 0) (size 1.524 2.032) | |||
|
738 | (layers F.Cu F.Paste F.Mask) | |||
|
739 | (net 15 N-000008) | |||
|
740 | ) | |||
|
741 | (pad 2 smd rect (at 1.651 0) (size 1.524 2.032) | |||
|
742 | (layers F.Cu F.Paste F.Mask) | |||
|
743 | (net 7 GND) | |||
|
744 | ) | |||
|
745 | (model smd/chip_cms.wrl | |||
|
746 | (at (xyz 0 0 0)) | |||
|
747 | (scale (xyz 0.17 0.16 0.16)) | |||
|
748 | (rotate (xyz 0 0 0)) | |||
|
749 | ) | |||
|
750 | ) | |||
|
751 | ||||
|
752 | (module SM1206 (layer F.Cu) (tedit 42806E24) (tstamp 53430AF4) | |||
|
753 | (at 38.1 29.21) | |||
|
754 | (path /5331FC2B/5343187A) | |||
|
755 | (attr smd) | |||
|
756 | (fp_text reference C8 (at 0 0) (layer F.SilkS) | |||
|
757 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
758 | ) | |||
|
759 | (fp_text value 10Β΅F (at 0 0) (layer F.SilkS) hide | |||
|
760 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
761 | ) | |||
|
762 | (fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
763 | (fp_line (start -2.54 1.143) (end -0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
764 | (fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
765 | (fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
766 | (fp_line (start 2.54 1.143) (end 0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
767 | (fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
768 | (pad 1 smd rect (at -1.651 0) (size 1.524 2.032) | |||
|
769 | (layers F.Cu F.Paste F.Mask) | |||
|
770 | (net 1 /power/1.8V) | |||
|
771 | ) | |||
|
772 | (pad 2 smd rect (at 1.651 0) (size 1.524 2.032) | |||
|
773 | (layers F.Cu F.Paste F.Mask) | |||
|
774 | (net 7 GND) | |||
|
775 | ) | |||
|
776 | (model smd/chip_cms.wrl | |||
|
777 | (at (xyz 0 0 0)) | |||
|
778 | (scale (xyz 0.17 0.16 0.16)) | |||
|
779 | (rotate (xyz 0 0 0)) | |||
|
780 | ) | |||
|
781 | ) | |||
|
782 | ||||
|
783 | (module SM1206 (layer F.Cu) (tedit 42806E24) (tstamp 53430B00) | |||
|
784 | (at 36.83 33.02) | |||
|
785 | (path /5331FC2B/53431865) | |||
|
786 | (attr smd) | |||
|
787 | (fp_text reference C6 (at 0 0) (layer F.SilkS) | |||
|
788 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
789 | ) | |||
|
790 | (fp_text value 10pF (at 0 0) (layer F.SilkS) hide | |||
|
791 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
792 | ) | |||
|
793 | (fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
794 | (fp_line (start -2.54 1.143) (end -0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
795 | (fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
796 | (fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
797 | (fp_line (start 2.54 1.143) (end 0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
798 | (fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
799 | (pad 1 smd rect (at -1.651 0) (size 1.524 2.032) | |||
|
800 | (layers F.Cu F.Paste F.Mask) | |||
|
801 | (net 1 /power/1.8V) | |||
|
802 | ) | |||
|
803 | (pad 2 smd rect (at 1.651 0) (size 1.524 2.032) | |||
|
804 | (layers F.Cu F.Paste F.Mask) | |||
|
805 | (net 16 N-000009) | |||
|
806 | ) | |||
|
807 | (model smd/chip_cms.wrl | |||
|
808 | (at (xyz 0 0 0)) | |||
|
809 | (scale (xyz 0.17 0.16 0.16)) | |||
|
810 | (rotate (xyz 0 0 0)) | |||
|
811 | ) | |||
|
812 | ) | |||
|
813 | ||||
|
814 | (module SM1206 (layer F.Cu) (tedit 42806E24) (tstamp 53430B0C) | |||
|
815 | (at 24.13 31.75) | |||
|
816 | (path /5331FC2B/5343020B) | |||
|
817 | (attr smd) | |||
|
818 | (fp_text reference C2 (at 0 0) (layer F.SilkS) | |||
|
819 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
820 | ) | |||
|
821 | (fp_text value 4.7Β΅F (at 0 0) (layer F.SilkS) hide | |||
|
822 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
823 | ) | |||
|
824 | (fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
825 | (fp_line (start -2.54 1.143) (end -0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
826 | (fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
827 | (fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
828 | (fp_line (start 2.54 1.143) (end 0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
829 | (fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
830 | (pad 1 smd rect (at -1.651 0) (size 1.524 2.032) | |||
|
831 | (layers F.Cu F.Paste F.Mask) | |||
|
832 | (net 5 /power/VBAT) | |||
|
833 | ) | |||
|
834 | (pad 2 smd rect (at 1.651 0) (size 1.524 2.032) | |||
|
835 | (layers F.Cu F.Paste F.Mask) | |||
|
836 | (net 7 GND) | |||
|
837 | ) | |||
|
838 | (model smd/chip_cms.wrl | |||
|
839 | (at (xyz 0 0 0)) | |||
|
840 | (scale (xyz 0.17 0.16 0.16)) | |||
|
841 | (rotate (xyz 0 0 0)) | |||
|
842 | ) | |||
|
843 | ) | |||
|
844 | ||||
|
845 | (module SM1206 (layer F.Cu) (tedit 42806E24) (tstamp 53430B18) | |||
|
846 | (at 44.45 29.21) | |||
|
847 | (path /5331FC2B/53431057) | |||
|
848 | (attr smd) | |||
|
849 | (fp_text reference C5 (at 0 0) (layer F.SilkS) | |||
|
850 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
851 | ) | |||
|
852 | (fp_text value 10pF (at 0 0) (layer F.SilkS) hide | |||
|
853 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
854 | ) | |||
|
855 | (fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
856 | (fp_line (start -2.54 1.143) (end -0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
857 | (fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
858 | (fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
859 | (fp_line (start 2.54 1.143) (end 0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
860 | (fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
861 | (pad 1 smd rect (at -1.651 0) (size 1.524 2.032) | |||
|
862 | (layers F.Cu F.Paste F.Mask) | |||
|
863 | (net 2 /power/3.3V) | |||
|
864 | ) | |||
|
865 | (pad 2 smd rect (at 1.651 0) (size 1.524 2.032) | |||
|
866 | (layers F.Cu F.Paste F.Mask) | |||
|
867 | (net 12 N-000005) | |||
|
868 | ) | |||
|
869 | (model smd/chip_cms.wrl | |||
|
870 | (at (xyz 0 0 0)) | |||
|
871 | (scale (xyz 0.17 0.16 0.16)) | |||
|
872 | (rotate (xyz 0 0 0)) | |||
|
873 | ) | |||
|
874 | ) | |||
|
875 | ||||
|
876 | (module SM1206 (layer F.Cu) (tedit 42806E24) (tstamp 53430B24) | |||
|
877 | (at 30.48 31.75) | |||
|
878 | (path /5331FC2B/53430BA6) | |||
|
879 | (attr smd) | |||
|
880 | (fp_text reference C1 (at 0 0) (layer F.SilkS) | |||
|
881 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
882 | ) | |||
|
883 | (fp_text value 4.7Β΅F (at 0 0) (layer F.SilkS) hide | |||
|
884 | (effects (font (size 0.762 0.762) (thickness 0.127))) | |||
|
885 | ) | |||
|
886 | (fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
887 | (fp_line (start -2.54 1.143) (end -0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
888 | (fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
889 | (fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer F.SilkS) (width 0.127)) | |||
|
890 | (fp_line (start 2.54 1.143) (end 0.889 1.143) (layer F.SilkS) (width 0.127)) | |||
|
891 | (fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer F.SilkS) (width 0.127)) | |||
|
892 | (pad 1 smd rect (at -1.651 0) (size 1.524 2.032) | |||
|
893 | (layers F.Cu F.Paste F.Mask) | |||
|
894 | (net 6 /power/VBUS_USB) | |||
|
895 | ) | |||
|
896 | (pad 2 smd rect (at 1.651 0) (size 1.524 2.032) | |||
|
897 | (layers F.Cu F.Paste F.Mask) | |||
|
898 | (net 7 GND) | |||
|
899 | ) | |||
|
900 | (model smd/chip_cms.wrl | |||
|
901 | (at (xyz 0 0 0)) | |||
|
902 | (scale (xyz 0.17 0.16 0.16)) | |||
|
903 | (rotate (xyz 0 0 0)) | |||
|
904 | ) | |||
|
905 | ) | |||
|
906 | ||||
|
907 | (module SM0402 (layer F.Cu) (tedit 50A4E0BA) (tstamp 53430B30) | |||
|
908 | (at 27.94 27.94) | |||
|
909 | (path /5331FC2B/5343103D) | |||
|
910 | (attr smd) | |||
|
911 | (fp_text reference R6 (at 0 0) (layer F.SilkS) | |||
|
912 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
913 | ) | |||
|
914 | (fp_text value 249k (at 0.09906 0) (layer F.SilkS) hide | |||
|
915 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
916 | ) | |||
|
917 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
918 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
919 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
920 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
921 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
922 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
923 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
924 | (layers F.Cu F.Paste F.Mask) | |||
|
925 | (net 2 /power/3.3V) | |||
|
926 | ) | |||
|
927 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
928 | (layers F.Cu F.Paste F.Mask) | |||
|
929 | (net 12 N-000005) | |||
|
930 | ) | |||
|
931 | (model smd\chip_cms.wrl | |||
|
932 | (at (xyz 0 0 0.002)) | |||
|
933 | (scale (xyz 0.05 0.05 0.05)) | |||
|
934 | (rotate (xyz 0 0 0)) | |||
|
935 | ) | |||
|
936 | ) | |||
|
937 | ||||
|
938 | (module SM0402 (layer F.Cu) (tedit 53430AEF) (tstamp 53430B3C) | |||
|
939 | (at 27.94 29.21) | |||
|
940 | (path /5331FC2B/534313AC) | |||
|
941 | (attr smd) | |||
|
942 | (fp_text reference R8 (at 0 1.27) (layer F.SilkS) | |||
|
943 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
944 | ) | |||
|
945 | (fp_text value 80.6k (at 0.09906 0) (layer F.SilkS) hide | |||
|
946 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
947 | ) | |||
|
948 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
949 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
950 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
951 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
952 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
953 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
954 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
955 | (layers F.Cu F.Paste F.Mask) | |||
|
956 | (net 12 N-000005) | |||
|
957 | ) | |||
|
958 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
959 | (layers F.Cu F.Paste F.Mask) | |||
|
960 | (net 7 GND) | |||
|
961 | ) | |||
|
962 | (model smd\chip_cms.wrl | |||
|
963 | (at (xyz 0 0 0.002)) | |||
|
964 | (scale (xyz 0.05 0.05 0.05)) | |||
|
965 | (rotate (xyz 0 0 0)) | |||
|
966 | ) | |||
|
967 | ) | |||
|
968 | ||||
|
969 | (module SM0402 (layer F.Cu) (tedit 50A4E0BA) (tstamp 53430B48) | |||
|
970 | (at 30.48 27.94) | |||
|
971 | (path /5331FC2B/5343185F) | |||
|
972 | (attr smd) | |||
|
973 | (fp_text reference R7 (at 0 0) (layer F.SilkS) | |||
|
974 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
975 | ) | |||
|
976 | (fp_text value 100k (at 0.09906 0) (layer F.SilkS) hide | |||
|
977 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
978 | ) | |||
|
979 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
980 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
981 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
982 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
983 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
984 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
985 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
986 | (layers F.Cu F.Paste F.Mask) | |||
|
987 | (net 1 /power/1.8V) | |||
|
988 | ) | |||
|
989 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
990 | (layers F.Cu F.Paste F.Mask) | |||
|
991 | (net 16 N-000009) | |||
|
992 | ) | |||
|
993 | (model smd\chip_cms.wrl | |||
|
994 | (at (xyz 0 0 0.002)) | |||
|
995 | (scale (xyz 0.05 0.05 0.05)) | |||
|
996 | (rotate (xyz 0 0 0)) | |||
|
997 | ) | |||
|
998 | ) | |||
|
999 | ||||
|
1000 | (module SM0402 (layer F.Cu) (tedit 50A4E0BA) (tstamp 53430B54) | |||
|
1001 | (at 24.13 35.56) | |||
|
1002 | (path /5331FC2B/53430241) | |||
|
1003 | (attr smd) | |||
|
1004 | (fp_text reference R5 (at 0 0) (layer F.SilkS) | |||
|
1005 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1006 | ) | |||
|
1007 | (fp_text value 806k (at 0.09906 0) (layer F.SilkS) hide | |||
|
1008 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1009 | ) | |||
|
1010 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1011 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1012 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1013 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1014 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1015 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1016 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
1017 | (layers F.Cu F.Paste F.Mask) | |||
|
1018 | (net 7 GND) | |||
|
1019 | ) | |||
|
1020 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
1021 | (layers F.Cu F.Paste F.Mask) | |||
|
1022 | (net 10 N-0000018) | |||
|
1023 | ) | |||
|
1024 | (model smd\chip_cms.wrl | |||
|
1025 | (at (xyz 0 0 0.002)) | |||
|
1026 | (scale (xyz 0.05 0.05 0.05)) | |||
|
1027 | (rotate (xyz 0 0 0)) | |||
|
1028 | ) | |||
|
1029 | ) | |||
|
1030 | ||||
|
1031 | (module SM0402 (layer F.Cu) (tedit 50A4E0BA) (tstamp 53430B60) | |||
|
1032 | (at 27.94 35.56) | |||
|
1033 | (path /5331FC2B/53431873) | |||
|
1034 | (attr smd) | |||
|
1035 | (fp_text reference R9 (at 0 0) (layer F.SilkS) | |||
|
1036 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1037 | ) | |||
|
1038 | (fp_text value 80.6k (at 0.09906 0) (layer F.SilkS) hide | |||
|
1039 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1040 | ) | |||
|
1041 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1042 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1043 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1044 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1045 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1046 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1047 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
1048 | (layers F.Cu F.Paste F.Mask) | |||
|
1049 | (net 16 N-000009) | |||
|
1050 | ) | |||
|
1051 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
1052 | (layers F.Cu F.Paste F.Mask) | |||
|
1053 | (net 7 GND) | |||
|
1054 | ) | |||
|
1055 | (model smd\chip_cms.wrl | |||
|
1056 | (at (xyz 0 0 0.002)) | |||
|
1057 | (scale (xyz 0.05 0.05 0.05)) | |||
|
1058 | (rotate (xyz 0 0 0)) | |||
|
1059 | ) | |||
|
1060 | ) | |||
|
1061 | ||||
|
1062 | (module SM0402 (layer F.Cu) (tedit 50A4E0BA) (tstamp 53430B6C) | |||
|
1063 | (at 30.48 35.56) | |||
|
1064 | (path /5331FC2B/5343023B) | |||
|
1065 | (attr smd) | |||
|
1066 | (fp_text reference R2 (at 0 0) (layer F.SilkS) | |||
|
1067 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1068 | ) | |||
|
1069 | (fp_text value 2.49M (at 0.09906 0) (layer F.SilkS) hide | |||
|
1070 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1071 | ) | |||
|
1072 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1073 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1074 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1075 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1076 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1077 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1078 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
1079 | (layers F.Cu F.Paste F.Mask) | |||
|
1080 | (net 5 /power/VBAT) | |||
|
1081 | ) | |||
|
1082 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
1083 | (layers F.Cu F.Paste F.Mask) | |||
|
1084 | (net 10 N-0000018) | |||
|
1085 | ) | |||
|
1086 | (model smd\chip_cms.wrl | |||
|
1087 | (at (xyz 0 0 0.002)) | |||
|
1088 | (scale (xyz 0.05 0.05 0.05)) | |||
|
1089 | (rotate (xyz 0 0 0)) | |||
|
1090 | ) | |||
|
1091 | ) | |||
|
1092 | ||||
|
1093 | (module SM0402 (layer F.Cu) (tedit 50A4E0BA) (tstamp 53430B78) | |||
|
1094 | (at 33.02 35.56) | |||
|
1095 | (path /5331FC2B/53431FFB) | |||
|
1096 | (attr smd) | |||
|
1097 | (fp_text reference R1 (at 0 0) (layer F.SilkS) | |||
|
1098 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1099 | ) | |||
|
1100 | (fp_text value 2.49k (at 0.09906 0) (layer F.SilkS) hide | |||
|
1101 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1102 | ) | |||
|
1103 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1104 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1105 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1106 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1107 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1108 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1109 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
1110 | (layers F.Cu F.Paste F.Mask) | |||
|
1111 | (net 7 GND) | |||
|
1112 | ) | |||
|
1113 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
1114 | (layers F.Cu F.Paste F.Mask) | |||
|
1115 | (net 3 /power/I_SENS) | |||
|
1116 | ) | |||
|
1117 | (model smd\chip_cms.wrl | |||
|
1118 | (at (xyz 0 0 0.002)) | |||
|
1119 | (scale (xyz 0.05 0.05 0.05)) | |||
|
1120 | (rotate (xyz 0 0 0)) | |||
|
1121 | ) | |||
|
1122 | ) | |||
|
1123 | ||||
|
1124 | (module SM0402 (layer F.Cu) (tedit 50A4E0BA) (tstamp 53430B84) | |||
|
1125 | (at 21.59 35.56) | |||
|
1126 | (path /5331FC2B/534324EF) | |||
|
1127 | (attr smd) | |||
|
1128 | (fp_text reference C3 (at 0 0) (layer F.SilkS) | |||
|
1129 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1130 | ) | |||
|
1131 | (fp_text value 100nF (at 0.09906 0) (layer F.SilkS) hide | |||
|
1132 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1133 | ) | |||
|
1134 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1135 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1136 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1137 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1138 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1139 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1140 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
1141 | (layers F.Cu F.Paste F.Mask) | |||
|
1142 | (net 9 N-0000013) | |||
|
1143 | ) | |||
|
1144 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
1145 | (layers F.Cu F.Paste F.Mask) | |||
|
1146 | (net 7 GND) | |||
|
1147 | ) | |||
|
1148 | (model smd\chip_cms.wrl | |||
|
1149 | (at (xyz 0 0 0.002)) | |||
|
1150 | (scale (xyz 0.05 0.05 0.05)) | |||
|
1151 | (rotate (xyz 0 0 0)) | |||
|
1152 | ) | |||
|
1153 | ) | |||
|
1154 | ||||
|
1155 | (module SM0402 (layer F.Cu) (tedit 50A4E0BA) (tstamp 53430B90) | |||
|
1156 | (at 16.51 29.21) | |||
|
1157 | (path /5331FC2B/534329F4) | |||
|
1158 | (attr smd) | |||
|
1159 | (fp_text reference R3 (at 0 0) (layer F.SilkS) | |||
|
1160 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1161 | ) | |||
|
1162 | (fp_text value 1k (at 0.09906 0) (layer F.SilkS) hide | |||
|
1163 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1164 | ) | |||
|
1165 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1166 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1167 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1168 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1169 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1170 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1171 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
1172 | (layers F.Cu F.Paste F.Mask) | |||
|
1173 | (net 13 N-000006) | |||
|
1174 | ) | |||
|
1175 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
1176 | (layers F.Cu F.Paste F.Mask) | |||
|
1177 | (net 14 N-000007) | |||
|
1178 | ) | |||
|
1179 | (model smd\chip_cms.wrl | |||
|
1180 | (at (xyz 0 0 0.002)) | |||
|
1181 | (scale (xyz 0.05 0.05 0.05)) | |||
|
1182 | (rotate (xyz 0 0 0)) | |||
|
1183 | ) | |||
|
1184 | ) | |||
|
1185 | ||||
|
1186 | (module SM0402 (layer F.Cu) (tedit 50A4E0BA) (tstamp 53430B9C) | |||
|
1187 | (at 13.97 25.4) | |||
|
1188 | (path /5331FC2B/5343021A) | |||
|
1189 | (attr smd) | |||
|
1190 | (fp_text reference R4 (at 0 0) (layer F.SilkS) | |||
|
1191 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1192 | ) | |||
|
1193 | (fp_text value 1M (at 0.09906 0) (layer F.SilkS) hide | |||
|
1194 | (effects (font (size 0.35052 0.3048) (thickness 0.07112))) | |||
|
1195 | ) | |||
|
1196 | (fp_line (start -0.254 -0.381) (end -0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1197 | (fp_line (start -0.762 -0.381) (end -0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1198 | (fp_line (start -0.762 0.381) (end -0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1199 | (fp_line (start 0.254 -0.381) (end 0.762 -0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1200 | (fp_line (start 0.762 -0.381) (end 0.762 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1201 | (fp_line (start 0.762 0.381) (end 0.254 0.381) (layer F.SilkS) (width 0.07112)) | |||
|
1202 | (pad 1 smd rect (at -0.44958 0) (size 0.39878 0.59944) | |||
|
1203 | (layers F.Cu F.Paste F.Mask) | |||
|
1204 | (net 2 /power/3.3V) | |||
|
1205 | ) | |||
|
1206 | (pad 2 smd rect (at 0.44958 0) (size 0.39878 0.59944) | |||
|
1207 | (layers F.Cu F.Paste F.Mask) | |||
|
1208 | (net 4 /power/LOW_BAT) | |||
|
1209 | ) | |||
|
1210 | (model smd\chip_cms.wrl | |||
|
1211 | (at (xyz 0 0 0.002)) | |||
|
1212 | (scale (xyz 0.05 0.05 0.05)) | |||
|
1213 | (rotate (xyz 0 0 0)) | |||
|
1214 | ) | |||
|
1215 | ) | |||
|
1216 | ||||
|
1217 | (module LED-0603 (layer F.Cu) (tedit 53430B36) (tstamp 53430BB8) | |||
|
1218 | (at 39.37 20.32) | |||
|
1219 | (descr "LED 0603 smd package") | |||
|
1220 | (tags "LED led 0603 SMD smd SMT smt smdled SMDLED smtled SMTLED") | |||
|
1221 | (path /5331FC2B/534329DC) | |||
|
1222 | (attr smd) | |||
|
1223 | (fp_text reference D1 (at 0 -1.016) (layer F.SilkS) | |||
|
1224 | (effects (font (size 0.508 0.508) (thickness 0.127))) | |||
|
1225 | ) | |||
|
1226 | (fp_text value LED (at 0 1.016) (layer F.SilkS) hide | |||
|
1227 | (effects (font (size 0.508 0.508) (thickness 0.127))) | |||
|
1228 | ) | |||
|
1229 | (fp_line (start 0.44958 -0.44958) (end 0.44958 0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1230 | (fp_line (start 0.44958 0.44958) (end 0.84836 0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1231 | (fp_line (start 0.84836 -0.44958) (end 0.84836 0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1232 | (fp_line (start 0.44958 -0.44958) (end 0.84836 -0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1233 | (fp_line (start -0.84836 -0.44958) (end -0.84836 0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1234 | (fp_line (start -0.84836 0.44958) (end -0.44958 0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1235 | (fp_line (start -0.44958 -0.44958) (end -0.44958 0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1236 | (fp_line (start -0.84836 -0.44958) (end -0.44958 -0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1237 | (fp_line (start 0 -0.44958) (end 0 -0.29972) (layer F.SilkS) (width 0.06604)) | |||
|
1238 | (fp_line (start 0 -0.29972) (end 0.29972 -0.29972) (layer F.SilkS) (width 0.06604)) | |||
|
1239 | (fp_line (start 0.29972 -0.44958) (end 0.29972 -0.29972) (layer F.SilkS) (width 0.06604)) | |||
|
1240 | (fp_line (start 0 -0.44958) (end 0.29972 -0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1241 | (fp_line (start 0 0.29972) (end 0 0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1242 | (fp_line (start 0 0.44958) (end 0.29972 0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1243 | (fp_line (start 0.29972 0.29972) (end 0.29972 0.44958) (layer F.SilkS) (width 0.06604)) | |||
|
1244 | (fp_line (start 0 0.29972) (end 0.29972 0.29972) (layer F.SilkS) (width 0.06604)) | |||
|
1245 | (fp_line (start 0 -0.14986) (end 0 0.14986) (layer F.SilkS) (width 0.06604)) | |||
|
1246 | (fp_line (start 0 0.14986) (end 0.29972 0.14986) (layer F.SilkS) (width 0.06604)) | |||
|
1247 | (fp_line (start 0.29972 -0.14986) (end 0.29972 0.14986) (layer F.SilkS) (width 0.06604)) | |||
|
1248 | (fp_line (start 0 -0.14986) (end 0.29972 -0.14986) (layer F.SilkS) (width 0.06604)) | |||
|
1249 | (fp_line (start 0.44958 -0.39878) (end -0.44958 -0.39878) (layer F.SilkS) (width 0.1016)) | |||
|
1250 | (fp_line (start 0.44958 0.39878) (end -0.44958 0.39878) (layer F.SilkS) (width 0.1016)) | |||
|
1251 | (pad 1 smd rect (at -0.7493 0) (size 0.79756 0.79756) | |||
|
1252 | (layers F.Cu F.Paste F.Mask) | |||
|
1253 | (net 6 /power/VBUS_USB) | |||
|
1254 | ) | |||
|
1255 | (pad 2 smd rect (at 0.7493 0) (size 0.79756 0.79756) | |||
|
1256 | (layers F.Cu F.Paste F.Mask) | |||
|
1257 | (net 13 N-000006) | |||
|
1258 | ) | |||
|
1259 | ) | |||
|
1260 | ||||
|
1261 | (dimension 55.88 (width 0.25) (layer Eco1.User) | |||
|
1262 | (gr_text "55,880 mm" (at 131.809999 69.850001 270) (layer Eco1.User) | |||
|
1263 | (effects (font (size 1 1) (thickness 0.25))) | |||
|
1264 | ) | |||
|
1265 | (feature1 (pts (xy 113.03 97.79) (xy 132.809999 97.790001))) | |||
|
1266 | (feature2 (pts (xy 113.03 41.91) (xy 132.809999 41.910001))) | |||
|
1267 | (crossbar (pts (xy 130.809999 41.910001) (xy 130.809999 97.790001))) | |||
|
1268 | (arrow1a (pts (xy 130.809999 97.790001) (xy 130.223579 96.663498))) | |||
|
1269 | (arrow1b (pts (xy 130.809999 97.790001) (xy 131.396419 96.663498))) | |||
|
1270 | (arrow2a (pts (xy 130.809999 41.910001) (xy 130.223579 43.036504))) | |||
|
1271 | (arrow2b (pts (xy 130.809999 41.910001) (xy 131.396419 43.036504))) | |||
|
1272 | ) | |||
|
1273 | (dimension 43.18 (width 0.25) (layer Eco1.User) | |||
|
1274 | (gr_text "43,180 mm" (at 100.33 37.100001) (layer Eco1.User) | |||
|
1275 | (effects (font (size 1 1) (thickness 0.25))) | |||
|
1276 | ) | |||
|
1277 | (feature1 (pts (xy 121.92 46.99) (xy 121.92 36.100001))) | |||
|
1278 | (feature2 (pts (xy 78.74 46.99) (xy 78.74 36.100001))) | |||
|
1279 | (crossbar (pts (xy 78.74 38.100001) (xy 121.92 38.100001))) | |||
|
1280 | (arrow1a (pts (xy 121.92 38.100001) (xy 120.793497 38.686421))) | |||
|
1281 | (arrow1b (pts (xy 121.92 38.100001) (xy 120.793497 37.513581))) | |||
|
1282 | (arrow2a (pts (xy 78.74 38.100001) (xy 79.866503 38.686421))) | |||
|
1283 | (arrow2b (pts (xy 78.74 38.100001) (xy 79.866503 37.513581))) | |||
|
1284 | ) | |||
|
1285 | (gr_line (start 121.92 97.79) (end 121.92 41.91) (angle 90) (layer Eco1.User) (width 0.2)) | |||
|
1286 | (gr_line (start 78.74 97.79) (end 121.92 97.79) (angle 90) (layer Eco1.User) (width 0.2)) | |||
|
1287 | (gr_line (start 78.74 41.91) (end 78.74 97.79) (angle 90) (layer Eco1.User) (width 0.2)) | |||
|
1288 | (gr_line (start 121.92 41.91) (end 78.74 41.91) (angle 90) (layer Eco1.User) (width 0.2)) | |||
|
1289 | (dimension 55.88 (width 0.25) (layer Eco1.User) | |||
|
1290 | (gr_text "55,880 mm" (at 28.210001 69.85 270) (layer Eco1.User) | |||
|
1291 | (effects (font (size 1 1) (thickness 0.25))) | |||
|
1292 | ) | |||
|
1293 | (feature1 (pts (xy 38.1 97.79) (xy 27.210001 97.79))) | |||
|
1294 | (feature2 (pts (xy 38.1 41.91) (xy 27.210001 41.91))) | |||
|
1295 | (crossbar (pts (xy 29.210001 41.91) (xy 29.210001 97.79))) | |||
|
1296 | (arrow1a (pts (xy 29.210001 97.79) (xy 28.623581 96.663497))) | |||
|
1297 | (arrow1b (pts (xy 29.210001 97.79) (xy 29.796421 96.663497))) | |||
|
1298 | (arrow2a (pts (xy 29.210001 41.91) (xy 28.623581 43.036503))) | |||
|
1299 | (arrow2b (pts (xy 29.210001 41.91) (xy 29.796421 43.036503))) | |||
|
1300 | ) | |||
|
1301 | (dimension 38.1 (width 0.25) (layer Eco1.User) | |||
|
1302 | (gr_text "38,100 mm" (at 55.88 37.100001) (layer Eco1.User) | |||
|
1303 | (effects (font (size 1 1) (thickness 0.25))) | |||
|
1304 | ) | |||
|
1305 | (feature1 (pts (xy 74.93 45.72) (xy 74.93 36.100001))) | |||
|
1306 | (feature2 (pts (xy 36.83 45.72) (xy 36.83 36.100001))) | |||
|
1307 | (crossbar (pts (xy 36.83 38.100001) (xy 74.93 38.100001))) | |||
|
1308 | (arrow1a (pts (xy 74.93 38.100001) (xy 73.803497 38.686421))) | |||
|
1309 | (arrow1b (pts (xy 74.93 38.100001) (xy 73.803497 37.513581))) | |||
|
1310 | (arrow2a (pts (xy 36.83 38.100001) (xy 37.956503 38.686421))) | |||
|
1311 | (arrow2b (pts (xy 36.83 38.100001) (xy 37.956503 37.513581))) | |||
|
1312 | ) | |||
|
1313 | (gr_line (start 36.83 97.79) (end 36.83 41.91) (angle 90) (layer Eco1.User) (width 0.2)) | |||
|
1314 | (gr_line (start 74.93 97.79) (end 36.83 97.79) (angle 90) (layer Eco1.User) (width 0.2)) | |||
|
1315 | (gr_line (start 74.93 41.91) (end 74.93 97.79) (angle 90) (layer Eco1.User) (width 0.2)) | |||
|
1316 | (gr_line (start 36.83 41.91) (end 76.2 41.91) (angle 90) (layer Eco1.User) (width 0.2)) | |||
|
1317 | ||||
|
1318 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now