Skip to content

Commit c720172

Browse files
committed
Preparing the repository
1 parent d595bc0 commit c720172

File tree

223 files changed

+20735
-0
lines changed

Some content is hidden

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

223 files changed

+20735
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.187.0/containers/python-3/.devcontainer/base.Dockerfile
2+
3+
# [Choice] Python version: 3, 3.9, 3.8, 3.7, 3.6
4+
ARG VARIANT="3.9.0-buster"
5+
FROM python:${VARIANT}
6+
7+
# [Option] Install Node.js
8+
ARG INSTALL_NODE="true"
9+
ARG NODE_VERSION="lts/*"
10+
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
11+
12+
# [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
13+
# COPY requirements.txt /tmp/pip-tmp/
14+
# RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
15+
# && rm -rf /tmp/pip-tmp
16+
17+
# [Optional] Uncomment this section to install additional OS packages.
18+
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
19+
# && apt-get -y install --no-install-recommends <your-package-list-here>
20+
21+
# [Optional] Uncomment this line to install global node packages.
22+
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
23+
24+
25+
RUN pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
26+
RUN platformio update
27+
# To get the test platforms
28+
RUN pip install PyYaml
29+
#ENV PATH /code/buildroot/bin/:/code/buildroot/tests/:${PATH}

.devcontainer/devcontainer.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.187.0/containers/python-3
3+
{
4+
"name": "Python 3",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
"context": "..",
8+
"args": {
9+
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9
10+
"VARIANT": "3.9.0-buster",
11+
// Options
12+
"INSTALL_NODE": "false",
13+
"NODE_VERSION": "lts/*"
14+
}
15+
},
16+
17+
// Set *default* container specific settings.json values on container create.
18+
"settings": {
19+
"python.pythonPath": "/usr/local/bin/python",
20+
"python.languageServer": "Pylance",
21+
"python.linting.enabled": true,
22+
"python.linting.pylintEnabled": true,
23+
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
24+
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
25+
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
26+
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
27+
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
28+
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
29+
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
30+
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
31+
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
32+
},
33+
34+
// Add the IDs of extensions you want installed when the container is created.
35+
"extensions": [
36+
"ms-python.python",
37+
"ms-python.vscode-pylance",
38+
"platformio.platformio-ide",
39+
"marlinfirmware.auto-build",
40+
"editorconfig.editorconfig"
41+
],
42+
43+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
44+
// "forwardPorts": [],
45+
46+
// Use 'postCreateCommand' to run commands after the container is created.
47+
// "postCreateCommand": "pip3 install --user -r requirements.txt",
48+
49+
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
50+
// "remoteUser": "vscode"
51+
}

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
custom: ["https://www.paypal.com/paypalme/mriscoc"]
2+
patreon: mriscoc

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
name: 🐛 Report a bug
2+
description: Create a bug report to help improve the Professional Firmware
3+
title: "[BUG] (bug summary)"
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: >
8+
Do you want to ask a question? Are you looking for support or a feature request? Please use the [Discussions page](https://github.com/mriscoc/Ender3V2S1/discussions).
9+
10+
- type: markdown
11+
attributes:
12+
value: |
13+
**Thank you for reporting a bug in Professional Firmware!**
14+
15+
## Before Reporting a Bug
16+
17+
- Read and understand [Code of Conduct](https://github.com/mriscoc/Ender3V2S1/blob/Ender3V2S1-Released/.github/code_of_conduct.md). You are expected to comply with it, including treating everyone with respect.
18+
19+
- Try the latest precompiled versions to make sure the issue you are reporting is not caused by your custom configuration.
20+
21+
- If you compile a custom version, test your configuration with the Marlin [`bugfix-2.1.x` branch](https://github.com/MarlinFirmware/Marlin/archive/bugfix-2.1.x.zip) to see whether the issue also exists in Marlin.
22+
23+
## Instructions
24+
25+
Please follow the instructions below. Failure to do so may result in your issue being closed. See [Contributing to Professional Firmware](https://github.com/mriscoc/Ender3V2S1/blob/Ender3V2S1-Released/.github/contributing.md) for additional guidelines.
26+
27+
1. Provide a good title not a general one.
28+
2. Fill out all sections of this bug report form.
29+
3. Attach configuration files if applicable.
30+
31+
- type: dropdown
32+
attributes:
33+
label: Did you test with a precompiled firmware?
34+
description: >-
35+
Always try the latest precompiled version to make sure the issue you are reporting is not caused by your custom configuration.
36+
options:
37+
- Yes, and the problem still exists.
38+
- No, but I will test it now!
39+
validations:
40+
required: true
41+
42+
- type: markdown
43+
attributes:
44+
value: |
45+
# Bug Details
46+
47+
- type: textarea
48+
attributes:
49+
label: Bug Description
50+
description: >-
51+
Describe the bug in this section. Tell us what you were trying to do and what
52+
happened that you did not expect. Provide a clear and concise description of the
53+
problem and include as many details as possible.
54+
55+
When pasting formatted text don't forget to put ` ``` ` (on its own line) before and after to make it readable.
56+
placeholder: |
57+
Firmware doesn't work.
58+
validations:
59+
required: true
60+
61+
- type: input
62+
attributes:
63+
label: Bug Timeline
64+
description: Is this a new bug or an old issue? When did it first start?
65+
66+
- type: textarea
67+
attributes:
68+
label: Expected behavior
69+
description: >-
70+
What did you expect to happen?
71+
placeholder: I expected it to move left.
72+
73+
- type: textarea
74+
attributes:
75+
label: Actual behavior
76+
description: What actually happened instead?
77+
placeholder: It moved right instead of left.
78+
79+
- type: textarea
80+
attributes:
81+
label: Steps to Reproduce
82+
description: >-
83+
Please describe the steps needed to reproduce the issue.
84+
placeholder: |
85+
1. [First Step] ...
86+
2. [Second Step] ...
87+
3. [and so on] ...
88+
89+
- type: markdown
90+
attributes:
91+
value: |
92+
# Your Setup
93+
94+
- type: input
95+
attributes:
96+
label: Version of Professional Firmware
97+
description: "See the Control/Info Menu on the Screen or the output of `M115`."
98+
validations:
99+
required: true
100+
101+
- type: input
102+
attributes:
103+
label: Printer model
104+
description: Creality Ender 3V2, S1, F4/F1?
105+
106+
- type: input
107+
attributes:
108+
label: Electronics
109+
description: Board 4.2.2, 4.2.7, SKR Mini?
110+
111+
- type: input
112+
attributes:
113+
label: Add-ons
114+
description: Please list any hardware add-ons that could be involved.
115+
116+
- type: dropdown
117+
attributes:
118+
label: Bed Leveling
119+
description: What kind of bed leveling compensation are you using?
120+
options:
121+
- UBL Bilinear mesh
122+
- ABL Bilinear mesh
123+
- MBL Manual Bed Leveling
124+
125+
- type: dropdown
126+
attributes:
127+
label: Your Slicer
128+
description: Do you use Slic3r, Prusa Slicer, Simplify3D, IdeaMaker...?
129+
options:
130+
- Slic3r
131+
- Simplify3D
132+
- Prusa Slicer
133+
- IdeaMaker
134+
- Cura
135+
- Other (explain below)
136+
137+
- type: dropdown
138+
attributes:
139+
label: Host Software
140+
description: Do you use OctoPrint, Repetier Host, Pronterface...?
141+
options:
142+
- SD Card (headless)
143+
- Repetier Host
144+
- OctoPrint
145+
- Pronterface
146+
- Cura
147+
- Same as my slicer
148+
- Other (explain below)
149+
150+
- type: markdown
151+
attributes:
152+
value: |
153+
# Attachments
154+
155+
- type: markdown
156+
attributes:
157+
value: |
158+
### Optional items to include:
159+
- 'Log output from the host. (`M111 S247` for maximum logging.)'
160+
- Images or videos demonstrating the problem, if it helps to make it clear.
161+
- A G-Code file that exposes the problem, if not affecting _all_ G-code.
162+
163+
- type: textarea
164+
attributes:
165+
label: Additional information & file uploads
166+
description: >-
167+
If you've made any other modifications to the firmware, please describe them in detail.
168+
169+
When pasting formatted text don't forget to put ` ``` ` (on its own line) before and after to make it readable.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 📖 Professional Firmware Documentation
4+
url: https://github.com/mriscoc/Ender3V2S1/wiki
5+
about: Lots of documentation about firmware settings and features.
6+
- name: 📖 Marlin Documentation
7+
url: https://marlinfw.org/
8+
about: Lots of documentation on installing and using Marlin.
9+
- name: 👤 Professional Firmware Facebook group
10+
url: https://www.facebook.com/groups/513889302986197
11+
about: Please ask and answer questions here.
12+
- name: 💸 Want to donate?
13+
url: https://www.paypal.com/paypalme/mriscoc
14+
about: Your contribution to this project is always welcome!

.github/code_of_conduct.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [[email protected]](mailto:[email protected]). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: https://contributor-covenant.org
46+
[version]: https://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)