Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Commit 03d72e9

Browse files
authored
Merge pull request #2 from sakabin/master
update micropython
2 parents 634da8d + cb46574 commit 03d72e9

586 files changed

Lines changed: 50629 additions & 55313 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,6 @@ xtensa-esp32-elf/
5252
xtensa-esp32-elf_psram/
5353

5454
backup.sh
55+
56+
57+
\.vscode/

LICENSE.md

Lines changed: 242 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,256 @@
11
# MicroPython for ESP32
22

3-
# License information
3+
## License information
44

5-
All the source code in this repository is released under MIT or Apache v2.0 license, with the exceptions mentioned bellow.
5+
<br>
6+
All the source code in this repository is released under MIT or Apache v2.0 license.
67

78
All the sources related to **MicroPython** are under **MIT** license.
89

9-
**esp-idf** on which this port is based, is released under **Apache v2.0** license.
10+
**esp-idf** on which this port is based, is released under **Apache v2.0** license ([details](http://esp-idf.readthedocs.io/en/latest/COPYRIGHT.html)).
1011

11-
All the sources created/modified by the repository owner are released under **MIT** license and contains the following copyright notice:<br>
12-
*Copyright (c) 2018 LoBo (https://github.com/loboris)*
12+
> All the sources created/modified by the repository owner are released under **MIT** license and contains the following copyright notice:<br>
13+
> *Copyright (c) 2018 LoBo (https://github.com/loboris)*
1314
1415
Most of the source files contains license and copyright notice, please check the individual files for more information.<br>
15-
Also check the license information in individual components directories.
16+
Also check the license information in individual components directories.<br>
1617

1718
---
1819

19-
The only exception to the MIT/Apache licensing is the **quickmail** library (*MicroPython_BUILD/components/quickmail*) which is licensed under **GNU GPL** v3.0+ license.
20+
```
21+
22+
The MIT License (MIT)
23+
24+
Copyright (c) 2018, LoBo (https://github.com/loboris)
25+
26+
Permission is hereby granted, free of charge, to any person obtaining a copy
27+
of this software and associated documentation files (the "Software"), to deal
28+
in the Software without restriction, including without limitation the rights
29+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30+
copies of the Software, and to permit persons to whom the Software is
31+
furnished to do so, subject to the following conditions:
32+
33+
The above copyright notice and this permission notice shall be included in
34+
all copies or substantial portions of the Software.
35+
36+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42+
THE SOFTWARE.
43+
44+
```
45+
46+
---
47+
48+
```
49+
50+
Apache License
51+
Version 2.0, January 2004
52+
http://www.apache.org/licenses/
53+
54+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
55+
56+
1. Definitions.
57+
58+
"License" shall mean the terms and conditions for use, reproduction,
59+
and distribution as defined by Sections 1 through 9 of this document.
60+
61+
"Licensor" shall mean the copyright owner or entity authorized by
62+
the copyright owner that is granting the License.
63+
64+
"Legal Entity" shall mean the union of the acting entity and all
65+
other entities that control, are controlled by, or are under common
66+
control with that entity. For the purposes of this definition,
67+
"control" means (i) the power, direct or indirect, to cause the
68+
direction or management of such entity, whether by contract or
69+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
70+
outstanding shares, or (iii) beneficial ownership of such entity.
71+
72+
"You" (or "Your") shall mean an individual or Legal Entity
73+
exercising permissions granted by this License.
74+
75+
"Source" form shall mean the preferred form for making modifications,
76+
including but not limited to software source code, documentation
77+
source, and configuration files.
78+
79+
"Object" form shall mean any form resulting from mechanical
80+
transformation or translation of a Source form, including but
81+
not limited to compiled object code, generated documentation,
82+
and conversions to other media types.
83+
84+
"Work" shall mean the work of authorship, whether in Source or
85+
Object form, made available under the License, as indicated by a
86+
copyright notice that is included in or attached to the work
87+
(an example is provided in the Appendix below).
88+
89+
"Derivative Works" shall mean any work, whether in Source or Object
90+
form, that is based on (or derived from) the Work and for which the
91+
editorial revisions, annotations, elaborations, or other modifications
92+
represent, as a whole, an original work of authorship. For the purposes
93+
of this License, Derivative Works shall not include works that remain
94+
separable from, or merely link (or bind by name) to the interfaces of,
95+
the Work and Derivative Works thereof.
96+
97+
"Contribution" shall mean any work of authorship, including
98+
the original version of the Work and any modifications or additions
99+
to that Work or Derivative Works thereof, that is intentionally
100+
submitted to Licensor for inclusion in the Work by the copyright owner
101+
or by an individual or Legal Entity authorized to submit on behalf of
102+
the copyright owner. For the purposes of this definition, "submitted"
103+
means any form of electronic, verbal, or written communication sent
104+
to the Licensor or its representatives, including but not limited to
105+
communication on electronic mailing lists, source code control systems,
106+
and issue tracking systems that are managed by, or on behalf of, the
107+
Licensor for the purpose of discussing and improving the Work, but
108+
excluding communication that is conspicuously marked or otherwise
109+
designated in writing by the copyright owner as "Not a Contribution."
110+
111+
"Contributor" shall mean Licensor and any individual or Legal Entity
112+
on behalf of whom a Contribution has been received by Licensor and
113+
subsequently incorporated within the Work.
114+
115+
2. Grant of Copyright License. Subject to the terms and conditions of
116+
this License, each Contributor hereby grants to You a perpetual,
117+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
118+
copyright license to reproduce, prepare Derivative Works of,
119+
publicly display, publicly perform, sublicense, and distribute the
120+
Work and such Derivative Works in Source or Object form.
121+
122+
3. Grant of Patent License. Subject to the terms and conditions of
123+
this License, each Contributor hereby grants to You a perpetual,
124+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
125+
(except as stated in this section) patent license to make, have made,
126+
use, offer to sell, sell, import, and otherwise transfer the Work,
127+
where such license applies only to those patent claims licensable
128+
by such Contributor that are necessarily infringed by their
129+
Contribution(s) alone or by combination of their Contribution(s)
130+
with the Work to which such Contribution(s) was submitted. If You
131+
institute patent litigation against any entity (including a
132+
cross-claim or counterclaim in a lawsuit) alleging that the Work
133+
or a Contribution incorporated within the Work constitutes direct
134+
or contributory patent infringement, then any patent licenses
135+
granted to You under this License for that Work shall terminate
136+
as of the date such litigation is filed.
137+
138+
4. Redistribution. You may reproduce and distribute copies of the
139+
Work or Derivative Works thereof in any medium, with or without
140+
modifications, and in Source or Object form, provided that You
141+
meet the following conditions:
142+
143+
(a) You must give any other recipients of the Work or
144+
Derivative Works a copy of this License; and
145+
146+
(b) You must cause any modified files to carry prominent notices
147+
stating that You changed the files; and
148+
149+
(c) You must retain, in the Source form of any Derivative Works
150+
that You distribute, all copyright, patent, trademark, and
151+
attribution notices from the Source form of the Work,
152+
excluding those notices that do not pertain to any part of
153+
the Derivative Works; and
154+
155+
(d) If the Work includes a "NOTICE" text file as part of its
156+
distribution, then any Derivative Works that You distribute must
157+
include a readable copy of the attribution notices contained
158+
within such NOTICE file, excluding those notices that do not
159+
pertain to any part of the Derivative Works, in at least one
160+
of the following places: within a NOTICE text file distributed
161+
as part of the Derivative Works; within the Source form or
162+
documentation, if provided along with the Derivative Works; or,
163+
within a display generated by the Derivative Works, if and
164+
wherever such third-party notices normally appear. The contents
165+
of the NOTICE file are for informational purposes only and
166+
do not modify the License. You may add Your own attribution
167+
notices within Derivative Works that You distribute, alongside
168+
or as an addendum to the NOTICE text from the Work, provided
169+
that such additional attribution notices cannot be construed
170+
as modifying the License.
171+
172+
You may add Your own copyright statement to Your modifications and
173+
may provide additional or different license terms and conditions
174+
for use, reproduction, or distribution of Your modifications, or
175+
for any such Derivative Works as a whole, provided Your use,
176+
reproduction, and distribution of the Work otherwise complies with
177+
the conditions stated in this License.
178+
179+
5. Submission of Contributions. Unless You explicitly state otherwise,
180+
any Contribution intentionally submitted for inclusion in the Work
181+
by You to the Licensor shall be under the terms and conditions of
182+
this License, without any additional terms or conditions.
183+
Notwithstanding the above, nothing herein shall supersede or modify
184+
the terms of any separate license agreement you may have executed
185+
with Licensor regarding such Contributions.
186+
187+
6. Trademarks. This License does not grant permission to use the trade
188+
names, trademarks, service marks, or product names of the Licensor,
189+
except as required for reasonable and customary use in describing the
190+
origin of the Work and reproducing the content of the NOTICE file.
191+
192+
7. Disclaimer of Warranty. Unless required by applicable law or
193+
agreed to in writing, Licensor provides the Work (and each
194+
Contributor provides its Contributions) on an "AS IS" BASIS,
195+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
196+
implied, including, without limitation, any warranties or conditions
197+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
198+
PARTICULAR PURPOSE. You are solely responsible for determining the
199+
appropriateness of using or redistributing the Work and assume any
200+
risks associated with Your exercise of permissions under this License.
201+
202+
8. Limitation of Liability. In no event and under no legal theory,
203+
whether in tort (including negligence), contract, or otherwise,
204+
unless required by applicable law (such as deliberate and grossly
205+
negligent acts) or agreed to in writing, shall any Contributor be
206+
liable to You for damages, including any direct, indirect, special,
207+
incidental, or consequential damages of any character arising as a
208+
result of this License or out of the use or inability to use the
209+
Work (including but not limited to damages for loss of goodwill,
210+
work stoppage, computer failure or malfunction, or any and all
211+
other commercial damages or losses), even if such Contributor
212+
has been advised of the possibility of such damages.
213+
214+
9. Accepting Warranty or Additional Liability. While redistributing
215+
the Work or Derivative Works thereof, You may choose to offer,
216+
and charge a fee for, acceptance of support, warranty, indemnity,
217+
or other liability obligations and/or rights consistent with this
218+
License. However, in accepting such obligations, You may act only
219+
on Your own behalf and on Your sole responsibility, not on behalf
220+
of any other Contributor, and only if You agree to indemnify,
221+
defend, and hold each Contributor harmless for any liability
222+
incurred by, or claims asserted against, such Contributor by reason
223+
of your accepting any such warranty or additional liability.
224+
225+
END OF TERMS AND CONDITIONS
226+
227+
APPENDIX: How to apply the Apache License to your work.
228+
229+
To apply the Apache License to your work, attach the following
230+
boilerplate notice, with the fields enclosed by brackets "[]"
231+
replaced with your own identifying information. (Don't include
232+
the brackets!) The text should be enclosed in the appropriate
233+
comment syntax for the file format. We also recommend that a
234+
file or class name and description of purpose be included on the
235+
same "printed page" as the copyright notice for easier
236+
identification within third-party archives.
237+
238+
Copyright [yyyy] [name of copyright owner]
239+
240+
Licensed under the Apache License, Version 2.0 (the "License");
241+
you may not use this file except in compliance with the License.
242+
You may obtain a copy of the License at
243+
244+
http://www.apache.org/licenses/LICENSE-2.0
245+
246+
Unless required by applicable law or agreed to in writing, software
247+
distributed under the License is distributed on an "AS IS" BASIS,
248+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
249+
See the License for the specific language governing permissions and
250+
limitations under the License.
251+
252+
```
253+
254+
---
20255

21-
In case you don't want to use GPL licensed code, the library (it's directory) can be **removed** (deleted) from the repository clone/fork, leaving the project only **MIT/Apache** licensed.
22256

23-
To build the project without quickmail support disable<br>
24-
`→ MicroPython → Modules → MAIL support in Curl module` in **menuconfig**

0 commit comments

Comments
 (0)