You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-17Lines changed: 42 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ I designed and made it to be used for upgrading the hotend.**
33
33
---
34
34
35
35
## Universal Firmware for RET6/RCT6 chips:
36
-
G32, N32, H32, Creality 4.2.7 and 4.2.2 boards<br>
36
+
G32, N32, H32, Creality 4.2.7 and 4.2.2 boards<br>
37
37
**_<sup><sub>(Also available for E3 Free-runs, BTT SKR Mini E3, STM32F401, GD32F303, and others)</sub></sup>_**
38
38
39
39
> [!IMPORTANT]
@@ -57,6 +57,8 @@ New ICON's have been added, and old ones enhanced. Whoever edited them before sa
57
57
58
58
---
59
59
60
+
## Firmware for HC32 chips:
61
+
60
62
> [!IMPORTANT]
61
63
> **Information regarding HC32:**
62
64
@@ -88,21 +90,34 @@ Other changes and updates are [addressed here](https://github.com/classicrocker8
88
90
There is a *MarlinSimulator* file provided to test out for yourself. It simulates a pre-built configuration of this firmware.
89
91
90
92
The *MarlinSimulator* can compile for Manual Mesh Bed Leveling or Auto Bed Leveling w/`BLTOUCH` enabled.
91
-
Start in **Configuration.h** and change the `MOTHERBOARD` to `BOARD_SIMULATED`, then disable `ENDSTOP_INTERRUPTS_FEATURE` and `PROUI_EX`.
92
-
Then in **platformio.ini** at `default_envs =` change to `simulator_windows` (for Windows) | `simulator_linux_release` (for Linux).
93
-
If there is an error run `./buildroot/share/scripts/simulator_error.sh` or change the following manually:
94
-
- Replace `#define INVERT_E0_DIR HMI_data.Invert_E0` with `#define INVERT_E0_DIR false` (or comment it and `#undef INVERT_E0_DIR` out) in **proui/dwin_defines.h**.
95
-
- Comment out `#undef Z_MIN_ENDSTOP_HIT_STATE` in **inc/Conditionals-5-post.h**.
96
-
- Replace `-flto` with `-fno-lto` at `release_flags =` under `[simulator_common]` in **native.ini**.
93
+
Start in **Configuration.h** and change `MOTHERBOARD` to `BOARD_SIMULATED`, then disable `ENDSTOP_INTERRUPTS_FEATURE` and `PROUI_EX`:
94
+
```y
95
+
#ifndef MOTHERBOARD
96
+
#define MOTHERBOARD BOARD_SIMULATED
97
+
#endif
98
+
---
99
+
//#define ENDSTOP_INTERRUPTS_FEATURE
100
+
---
101
+
//#define PROUI_EX 1
102
+
```
103
+
<br>
104
+
105
+
Then in **platformio.ini** for `default_envs =` change to `simulator_windows` (for Windows) | `simulator_linux_release` (for Linux):
106
+
```ini
107
+
default_envs = simulator_windows
108
+
---
109
+
default_envs = simulator_linux_release
110
+
```
97
111
98
112
For MacOS you're on your own...sorry.
99
113
100
-
Then you have to extract **SDL2-devel-2.32.2-mingw.zip** from /**docs**.
101
-
Or for the latest releast go to [libsdl-org/SDL/releases](https://github.com/libsdl-org/SDL/releases) and look for the latest **SDL2** version (**NOT***SDL3*)
114
+
#### Install Files (Windows)
115
+
If you haven't already, you must install the SDL2 library.
116
+
**SDL2-devel-2.32.2-mingw.zip** is provided for in /**docs**.
117
+
Or get the latest release at [libsdl-org/SDL/releases](https://github.com/libsdl-org/SDL/releases) and look for **SDL2** version (**NOT***SDL3*)
102
118
You can *either* copy/paste the files directly, or install them.
103
-
It's recommended to install them, but if you have any issues, then try copy/paste method.
119
+
It's recommended to install them, but if you have any issues, then try the alternative copy/paste method.
104
120
105
-
#### Install Files (Windows)
106
121
Navigate to the extracted SDL2 directory in an *MSYS2* or *bash* terminal (Run as Administrator):
107
122
108
123
To install SDL for native (32-bit) development:
@@ -133,11 +148,21 @@ These are the files you need to install:
133
148
- There may be other basic ones if you don't have already; like python, cmake, pip...
134
149
135
150
#### Using MarlinSimulator
136
-
- Open the executable program found in **.pio\build\simulator_<windows/linux>**
137
-
-- For Linux, enter in a terminal `./MarlinSimulator`
138
-
- Under `SD Card`, under `Components` on the right side, select or load an image
139
-
- Select Serial Monitor(1)
140
-
- Use like a normal terminal, enter `G28` to watch it Home
151
+
Before building, open a terminal and run `./buildroot/share/scripts/simulator_error.sh`, or change the following manually:
152
+
- Replace `#define INVERT_E0_DIR HMI_data.Invert_E0` with `#define INVERT_E0_DIR false` (or comment it and `#undef INVERT_E0_DIR` out) in **proui/dwin_defines.h**.
153
+
- Comment out `#undef Z_MIN_ENDSTOP_HIT_STATE` in **inc/Conditionals-5-post.h**.
154
+
- Replace `-flto` with `-fno-lto` at `release_flags =` under `[simulator_common]` in **native.ini**.
155
+
156
+
157
+
- Open the executable program found in **.pio\build\simulator_<windows|linux_release>**.
158
+
-- For Windows, *MarlinSimulator.exe*
159
+
-- For Linux, enter in a terminal: `./MarlinSimulator`
160
+
161
+
How to use:
162
+
- Under `SD Card`, under `Components` on the right side, select or load an image.
163
+
-- To simulate an actual print, you may need to use a *.img* file containing the *.gcode*.
164
+
- Select Serial Monitor(1) if you do not see any output.
165
+
- Use like a normal terminal, enter `G28` to watch it Home for example.
141
166
142
167
<br>
143
168
@@ -210,7 +235,7 @@ Thanks to Reddit u/schuh8 and GitHub @whasupjohn for donating his board to help
210
235
<summary>Find me</summary>
211
236
On <ahref="https://www.facebook.com/yoboyyy">Facebook</a>
212
237
213
-
On Reddit: u/<b>In*Us*2</b>
238
+
On Reddit: u/<b>In*Us*2</b> - not actually, but if you know, you know
0 commit comments