Skip to content

Commit 3924219

Browse files
authored
Merge branch 'micropython:master' into Waveshare_Board
2 parents 3946cf5 + c732041 commit 3924219

File tree

2,306 files changed

+88434
-46333
lines changed

Some content is hidden

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

2,306 files changed

+88434
-46333
lines changed

.git-blame-ignore-revs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# all: Prune trailing whitespace.
2+
dda9b9c6da5d3c31fa8769e581a753e95a270803
3+
4+
# all: Remove the "STATIC" macro and just use "static" instead.
5+
decf8e6a8bb940d5829ca3296790631fcece7b21
6+
7+
# renesas-ra: Fix spelling mistakes found by codespell.
8+
b3f2f18f927fa2fad10daf63d8c391331f5edf58
9+
10+
# all: Update Python formatting to ruff-format.
11+
bbd8760bd9a2302e5abee29db279102bb11d7732
12+
113
# all: Fix various spelling mistakes found by codespell 2.2.6.
214
cf490a70917a1b2d38ba9b58e763e0837d0f7ca7
315

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88

99
# These are binary so should never be modified by git.
1010
*.a binary
11+
*.ico binary
1112
*.png binary
1213
*.jpg binary
1314
*.dxf binary
1415
*.mpy binary
16+
*.der binary
1517

1618
# These should also not be modified by git.
1719
tests/basics/string_cr_conversion.py -text

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
name: Bug report
2+
description: Report a bug or unexpected behaviour
3+
labels: ["bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please provide as much detail as you can, it really helps us find and fix bugs faster.
9+
10+
#### Not a bug report?
11+
12+
* If you have a question \"How Do I ...?\", please post it on [GitHub Discussions](https://github.com/orgs/micropython/discussions/) or [Discord](https://discord.gg/RB8HZSAExQ) instead of here.
13+
* For missing or incorrect documentation, or feature requests, then please [choose a different issue type](https://github.com/micropython/micropython/issues/new/choose).
14+
15+
#### Existing issue?
16+
17+
* Please search for [existing issues](https://github.com/micropython/micropython/issues) matching this bug before reporting.
18+
- type: input
19+
id: port-board-hw
20+
attributes:
21+
label: Port, board and/or hardware
22+
description: |
23+
Which MicroPython port(s) and board(s) are you using?
24+
placeholder: |
25+
esp32 port, ESP32-Fantastic board.
26+
validations:
27+
required: true
28+
- type: textarea
29+
id: version
30+
attributes:
31+
label: MicroPython version
32+
description: |
33+
To find the version:
34+
35+
1. Open a serial REPL.
36+
2. Type Ctrl-B to see the startup message.
37+
3. Copy-paste that output here.
38+
39+
If the issue is about building MicroPython, please provide output of `git describe --dirty` and as much information as possible about the build environment.
40+
41+
If the version or configuration is modified from the official MicroPython releases or the master branch, please tell us the details of this as well.
42+
placeholder: |
43+
MicroPython v6.28.3 on 2029-01-23; PyBoard 9 with STM32F9
44+
validations:
45+
required: true
46+
- type: textarea
47+
id: steps-reproduce
48+
attributes:
49+
label: Reproduction
50+
description: |
51+
What steps will reproduce the problem? Please include all details that could be relevant about the environment, configuration, etc.
52+
53+
If there is Python code to reproduce this issue then please either:
54+
a. Type it into a code block below ([code block guide](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks)), or
55+
b. Post longer code to a [GitHub gist](https://gist.github.com/), or
56+
c. Create a sample project on GitHub.
57+
58+
For build issues, please provide the exact build commands that you ran.
59+
placeholder: |
60+
1. Copy paste the code provided below into a new file
61+
2. Use `mpremote run` to execute it on the board.
62+
validations:
63+
required: true
64+
- type: textarea
65+
id: expected
66+
attributes:
67+
label: Expected behaviour
68+
description: |
69+
What did you expect MicroPython to do? If comparing output with CPython or a different MicroPython port/version then please provide that output here.
70+
placeholder: |
71+
Expected to print "Hello World".
72+
73+
Here is the correct output, seen with previous MicroPython version v3.14.159:
74+
75+
> [...]
76+
- type: textarea
77+
id: what-happened
78+
attributes:
79+
label: Observed behaviour
80+
description: |
81+
What actually happened? Where possible please paste exact output, or the complete build log, etc. Very long output can be linked in a [GitHub gist](https://gist.github.com/).
82+
placeholder: |
83+
This unexpected exception appears:
84+
85+
> [...]
86+
validations:
87+
required: true
88+
- type: textarea
89+
id: additional
90+
attributes:
91+
label: Additional Information
92+
description: |
93+
Is there anything else that might help to resolve this issue?
94+
value: No, I've provided everything above.
95+
- type: dropdown
96+
id: code-of-conduct
97+
attributes:
98+
label: Code of Conduct
99+
description: |
100+
Do you agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone?
101+
options:
102+
- "Yes, I agree"
103+
multiple: true
104+
validations:
105+
required: true
106+
- type: markdown
107+
attributes:
108+
value: |
109+
Thanks for taking the time to help improve MicroPython.

.github/ISSUE_TEMPLATE/documentation.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Documentation issue
2+
description: Report areas of the documentation or examples that need improvement
3+
title: "docs: "
4+
labels: ["documentation"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
This form is for reporting issues with the documentation or examples provided with MicroPython.
10+
11+
If you have a general question \"How Do I ...?\", please post it on [GitHub Discussions](https://github.com/orgs/micropython/discussions/) or [Discord](https://discord.gg/RB8HZSAExQ) instead of here.
12+
13+
#### Existing issue?
14+
15+
* Please search for [existing issues](https://github.com/micropython/micropython/issues) before reporting a new one.
16+
- type: input
17+
id: page
18+
attributes:
19+
label: Documentation URL
20+
description: |
21+
Does this issue relate to a particular page in the [online documentation](https://docs.micropython.org/en/latest/)? If yes, please paste the URL of the page:
22+
placeholder: |
23+
https://docs.micropython.org/en/latest/
24+
- type: textarea
25+
id: version
26+
attributes:
27+
label: Description
28+
description: |
29+
Please describe what was missing from the documentation and/or what was incorrect/incomplete.
30+
validations:
31+
required: true
32+
- type: dropdown
33+
id: code-of-conduct
34+
attributes:
35+
label: Code of Conduct
36+
description: |
37+
Do you agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone?
38+
options:
39+
- "Yes, I agree"
40+
multiple: true
41+
validations:
42+
required: true
43+
- type: markdown
44+
attributes:
45+
value: |
46+
Thanks for taking the time to help improve MicroPython.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: Feature request
2+
description: Request a feature or improvement
3+
labels: ['enhancement']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
This form is for requesting features or improvements in MicroPython.
9+
10+
#### Get feedback first
11+
12+
Before submitting a new feature idea here, suggest starting a discussion on [Discord](https://discord.gg/RB8HZSAExQ) or [GitHub Discussions](https://github.com/orgs/micropython/discussions/) to get early feedback from the community and maintainers.
13+
14+
#### Not a MicroPython core feature?
15+
16+
* If you have a question \"How Do I ...?\", please post it on GitHub Discussions or Discord instead of here.
17+
* Could this feature be implemented as a pure Python library? If so, please open the request on the [micropython-lib repository](https://github.com/micropython/micropython-lib/issues) instead.
18+
19+
#### Existing issue?
20+
21+
* Please search for [existing issues](https://github.com/micropython/micropython/issues) before opening a new one.
22+
- type: textarea
23+
id: feature
24+
attributes:
25+
label: Description
26+
description: |
27+
Describe the feature you'd like to see added to MicroPython. What does this feature enable and why is it useful?
28+
29+
* For core Python features, where possible please include a link to the relevant PEP or CPython documentation.
30+
* For new architectures / ports / boards, please provide links to relevant documentation, specifications, and toolchains. Any information about the popularity and unique features about this hardware would also be useful.
31+
* For features for existing ports (e.g. new peripherals or microcontroller features), please describe which port(s) it applies to, and whether this is could be an extension to the machine API or a port-specific module?
32+
* For drivers (e.g. for external hardware), please link to datasheets and/or existing drivers from other sources.
33+
34+
If there is an existing discussion somewhere about this feature, please add a link to it as well.
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: size
39+
attributes:
40+
label: Code Size
41+
description: |
42+
MicroPython aims to strike a balance between functionality and code size. Can this feature be optionally enabled?
43+
44+
If you believe the usefulness of this feature would outweigh the additional code size, please explain. (It's OK to say you're unsure here, we're happy to discuss this with you.)
45+
- type: dropdown
46+
id: implementation
47+
attributes:
48+
label: Implementation
49+
description: |
50+
What is your suggestion for implementing this feature?
51+
52+
(See also: [How to sponsor](https://github.com/sponsors/micropython#sponsors), [How to submit a Pull Request](https://github.com/micropython/micropython/wiki/ContributorGuidelines).)
53+
options:
54+
- I hope the MicroPython maintainers or community will implement this feature
55+
- I intend to implement this feature and would submit a Pull Request if desirable
56+
- I would like to sponsor development of this feature
57+
multiple: true
58+
validations:
59+
required: true
60+
- type: dropdown
61+
id: code-of-conduct
62+
attributes:
63+
label: Code of Conduct
64+
description: |
65+
Do you agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone?
66+
options:
67+
- "Yes, I agree"
68+
multiple: true
69+
validations:
70+
required: true
71+
- type: markdown
72+
attributes:
73+
value: |
74+
Thanks for taking the time to suggest improvements for MicroPython.

.github/ISSUE_TEMPLATE/security.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)