Skip to content

Commit 1cda204

Browse files
committed
Preparing the repository
1 parent d595bc0 commit 1cda204

File tree

253 files changed

+21640
-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.

253 files changed

+21640
-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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
custom: ["https://www.paypal.com/donate/?business=85SPAAR6UZEE8","https://link.mercadopago.com.pe/mriscoc"]
2+
patreon: mriscoc
3+
github: [mriscoc]
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
name: 🐛 Report a bug
2+
description: Create a bug report to help improve the Professional Firmware
3+
title: "[BUG] (bug summary)"
4+
labels: ["Bug: Potential ?"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
## Do you want to ask a question? Are you looking for support or a feature request?
10+
**This is not a general printer support forum**. Many problems can be easily solved by reading the firmware [Wiki](https://github.com/mriscoc/Ender3V2S1/wiki#main-topics), please check the calibration guide.
11+
This Issue Queue is for firmware bug reports and development-related issues, and we prefer not to handle user-support questions here.
12+
13+
For best results getting help with configuration and troubleshooting, please use the following resources:
14+
15+
Enhanced support in Patreon: https://www.patreon.com/mriscoc
16+
17+
Free community support:
18+
- Github discussions: https://github.com/mriscoc/Ender3V2S1/discussions
19+
- Facebook: https://www.facebook.com/groups/professionalfirmware
20+
- Telegram: https://t.me/ender3v2s1firmware
21+
- Reddit: https://www.reddit.com/r/Ender3v2Firmware
22+
- Discord: https://discord.gg/3dprinters
23+
24+
## Before Reporting a Bug
25+
26+
- 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.
27+
28+
- Try the latest precompiled versions to make sure the issue you are reporting is not caused by your custom configuration.
29+
30+
- 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.
31+
32+
## Instructions
33+
34+
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.
35+
36+
1. Provide a good title not a general one.
37+
2. Fill out all sections of this bug report form.
38+
3. Attach configuration files if applicable.
39+
40+
- type: dropdown
41+
attributes:
42+
label: Did you test with a precompiled firmware?
43+
description: >-
44+
Always try the latest precompiled version to make sure the issue you are reporting is not caused by your custom configuration.
45+
options:
46+
- Yes, and the problem still exists.
47+
- No, but I will test it now!
48+
validations:
49+
required: true
50+
51+
- type: markdown
52+
attributes:
53+
value: |
54+
# Bug Details
55+
56+
- type: textarea
57+
attributes:
58+
label: Bug Description
59+
description: >-
60+
Describe the bug in this section. Tell us what you were trying to do and what
61+
happened that you did not expect. Provide a clear and concise description of the
62+
problem and include as many details as possible.
63+
64+
When pasting formatted text don't forget to put ` ``` ` (on its own line) before and after to make it readable.
65+
placeholder: |
66+
Firmware doesn't work.
67+
validations:
68+
required: true
69+
70+
- type: input
71+
attributes:
72+
label: Bug Timeline
73+
description: Is this a new bug or an old issue? When did it first start?
74+
75+
- type: textarea
76+
attributes:
77+
label: Expected behavior
78+
description: >-
79+
What did you expect to happen?
80+
placeholder: I expected it to move left.
81+
82+
- type: textarea
83+
attributes:
84+
label: Actual behavior
85+
description: What actually happened instead?
86+
placeholder: It moved right instead of left.
87+
88+
- type: textarea
89+
attributes:
90+
label: Steps to Reproduce
91+
description: >-
92+
Please describe the steps needed to reproduce the issue.
93+
placeholder: |
94+
1. [First Step] ...
95+
2. [Second Step] ...
96+
3. [and so on] ...
97+
98+
- type: markdown
99+
attributes:
100+
value: |
101+
# Your Setup
102+
103+
- type: input
104+
attributes:
105+
label: Version of Professional Firmware
106+
description: "See the Control/Info Menu on the Screen or the output of `M115`."
107+
validations:
108+
required: true
109+
110+
- type: input
111+
attributes:
112+
label: Printer model
113+
description: Creality Ender 3V2, S1, F4/F1?
114+
115+
- type: input
116+
attributes:
117+
label: Electronics
118+
description: Board 4.2.2, 4.2.7, SKR Mini?
119+
120+
- type: input
121+
attributes:
122+
label: LCD/Controller
123+
description: Some Marlin behaviors are determined by the controller. Describe your LCD/Controller model and version.
124+
125+
- type: input
126+
attributes:
127+
label: Other add-ons
128+
description: Please list any other hardware add-ons that could be involved.
129+
130+
- type: dropdown
131+
attributes:
132+
label: Bed Leveling
133+
description: What kind of bed leveling compensation are you using?
134+
options:
135+
- UBL Bilinear mesh
136+
- ABL Bilinear mesh
137+
- MBL Manual Bed Leveling
138+
139+
- type: dropdown
140+
attributes:
141+
label: Your Slicer
142+
description: Do you use Slic3r, Prusa Slicer, Simplify3D, IdeaMaker...?
143+
options:
144+
- Slic3r
145+
- Simplify3D
146+
- Prusa Slicer
147+
- IdeaMaker
148+
- Cura
149+
- Other (explain below)
150+
151+
- type: dropdown
152+
attributes:
153+
label: Host Software
154+
description: Do you use OctoPrint, Repetier Host, Pronterface...?
155+
options:
156+
- SD Card (headless)
157+
- Repetier Host
158+
- OctoPrint
159+
- Pronterface
160+
- Cura
161+
- Same as my slicer
162+
- Other (explain below)
163+
164+
- type: markdown
165+
attributes:
166+
value: |
167+
# Attachments
168+
169+
- type: markdown
170+
attributes:
171+
value: |
172+
### Optional items to include:
173+
- 'Log output from the host. (`M111 S247` for maximum logging.)'
174+
- Images or videos demonstrating the problem, if it helps to make it clear.
175+
- A G-Code file that exposes the problem, if not affecting _all_ G-code.
176+
177+
- type: textarea
178+
attributes:
179+
label: Additional information & file uploads
180+
description: >-
181+
If you've made any other modifications to the firmware, please describe them in detail.
182+
183+
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: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
## Enforcement
32+
33+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by following GitHub's [reporting abuse or spam article](https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances.
34+
35+
## Attribution
36+
37+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://contributor-covenant.org/version/1/4][version]
38+
39+
[homepage]: https://contributor-covenant.org
40+
[version]: https://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)