Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add advanced misc fans menu (DWIN) + G-Codes #125

Open
wants to merge 56 commits into
base: 2024-December
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
35e14b4
Add Controller fan settings (DWIN display)
wlkmanist Apr 3, 2024
0cc7140
Add editable Kickstart with DWIN support, fix&improve Controller fan …
wlkmanist Apr 4, 2024
d5b5670
configuration_adv: enable Controller and Extruder fan menu settings
wlkmanist Apr 3, 2024
38ca05f
configuration_adv: Kickstart
wlkmanist Apr 4, 2024
ff85609
Add editable Extruder Auto Fans settings with DWIN support
wlkmanist Apr 8, 2024
b348626
Controller Fan and Auto Fans small improvements
wlkmanist Apr 8, 2024
77c3379
fix Controller Fan with Kickstart
wlkmanist Apr 8, 2024
0cb89f6
Add RU locale for fan settings menu
wlkmanist Apr 8, 2024
5489534
Fix fan speed calculation macro
wlkmanist Apr 8, 2024
84d6907
dwin: fix advanced settings items count
wlkmanist Apr 17, 2024
2437714
dwin: function namings
wlkmanist Apr 17, 2024
dc89046
controllerfan: reduce fan speed update interval during kickstart
wlkmanist Apr 17, 2024
9cc1574
fix M711 and M712 report
wlkmanist Apr 18, 2024
1a53257
dwin: fix menu back item for Fans Settings
wlkmanist Apr 20, 2024
b7e9ef1
Merge branch 'upstream' into adv_fan_menu
wlkmanist Apr 20, 2024
40c3cab
dwin: fix incudes for controllerfan, kickstart, autofans
wlkmanist Apr 21, 2024
bad6240
check if fans actually connected to use with editable/menu
wlkmanist Apr 21, 2024
3db853a
return back checking every extruder auto fan for specific builds
wlkmanist Apr 21, 2024
dec739e
Merge branch 'upstream' into adv_fan_menu
wlkmanist Apr 22, 2024
7185c1d
dwin: use ternary for Fans Settings menu items count
wlkmanist Apr 21, 2024
6c8fd02
Merge branch '2024-December' of https://github.com/classicrocker883/M…
classicrocker883 Dec 28, 2024
4a631da
cleanup dwin menu
classicrocker883 Dec 28, 2024
1c5f5d9
rename CALC_FAN_SPEED
classicrocker883 Dec 28, 2024
8989ab8
update configs_adv
classicrocker883 Dec 28, 2024
1f803bb
fix errors, rearrange - update
classicrocker883 Dec 29, 2024
3f26c7e
Update BTT SKR Mini configs
classicrocker883 Dec 30, 2024
ad674b8
Update feature/controllerfan
classicrocker883 Dec 30, 2024
bd7361a
arrange and define changes
classicrocker883 Dec 31, 2024
81ec1c0
Update - check-pr.yml
classicrocker883 Jan 2, 2025
b00008f
Merge branch '2024-December' of https://github.com/classicrocker883/M…
classicrocker883 Jan 2, 2025
31023f2
Update - 2025-January
classicrocker883 Jan 3, 2025
8a17227
[cron] Bump distribution date (2025-01-03)
classicrocker883 Jan 3, 2025
4a2650e
Update - check-pr.yml Bad PR Target
classicrocker883 Jan 8, 2025
30697cb
🩹 Fix DGUS_LCD_UI_MKS typo
thinkyhead Jan 8, 2025
83278bd
🔨 Some boards with both LPC1768/9 (#27586)
ellensp Jan 8, 2025
36623a2
🐛 Fix config embed and restore (#27628)
ellensp Jan 8, 2025
d57feea
🐛 Fix JG Aurora A1 implementation (#27622)
itiserik Jan 8, 2025
de76f2f
[cron] Bump distribution date (2025-01-09)
thinkyhead Jan 9, 2025
22977c8
✨ Games for E3V2 + MarlinUI (#27620)
shadow578 Jan 9, 2025
63bc413
🧑‍💻 Add STM32/STM32F1 Open Drain (OD) pin mode (#27616)
RedEchidnaUK Jan 9, 2025
7eee772
✨ MAX31865 Bed settings (#27611)
ellensp Jan 9, 2025
acd8259
✨ EVENT_GCODE_BEFORE_G29 (#27566)
thinkyhead Jan 9, 2025
03141f5
[cron] Bump distribution date (2025-01-09)
classicrocker883 Jan 9, 2025
a7d7961
[cron] Bump distribution date (2025-01-10)
thinkyhead Jan 10, 2025
bef1edd
⛙ Merge w/Marlin
classicrocker883 Jan 10, 2025
3ab0cf6
Update - fix dwin_api PointMap
classicrocker883 Jan 10, 2025
5cf21c9
[cron] Bump distribution date (2025-01-11)
classicrocker883 Jan 11, 2025
8d7ecad
🔨 Fix cmake build on Linux (#27605)
classicrocker883 Jan 11, 2025
55add90
[cron] Bump distribution date (2025-01-12)
thinkyhead Jan 12, 2025
28c5913
⚡️ STM32H7 Flash Wear Leveling (#27634)
rondlh Jan 12, 2025
de7ac7f
🐛 Fix M119 filament sensor part (#27596)
GMagician Jan 12, 2025
6eca4bb
🔨 Migrate use_example_configs to Python (#27632)
ellensp Jan 12, 2025
2e14272
🐛 Fix ERYONE Ery32 mini SPI for SD (#27600)
RomanFaktor Jan 12, 2025
2915d4a
⛙ Merge w/Marlin
classicrocker883 Jan 12, 2025
8a0da24
Merge branch '2025-January' of https://github.com/classicrocker883/MR…
classicrocker883 Jan 13, 2025
e859eff
config addons
classicrocker883 Jan 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/bump-date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:

steps:

- name: Check out 2024-December
- name: Check out 2025-January
uses: actions/[email protected]
with:
ref: 2024-December
ref: 2025-January

- name: Bump Date (2024-December)
- name: Bump Date (2025-January)
run: |
if [[ ! "$( git log -1 --pretty=%B )" =~ ^\[cron\] ]]; then
shopt -s globstar && \
Expand Down
31 changes: 16 additions & 15 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,35 @@
# Close PRs directed at release branches
#

name: PR Bad Target
name: Bad PR Target

on:
pull_request_target:
types: [opened]
branches:
- 2024-*
- HC32-*

jobs:
bad_target:
name: PR Bad Target
if: github.repository == 'classicrocker883/MRiscoCProUI'
name: Bad PR Target
if: github.repository == 'classicrocker883/MRiscoCProUI' && github.event.pull_request.base.ref != '2025-January'

runs-on: ubuntu-latest

steps:
- uses: superbrothers/[email protected]
with:
comment: >
Thanks for your contribution!
- uses: superbrothers/[email protected]
with:
comment: |
Thanks for your contribution!

Unfortunately, we can only accept **PR**s targeting the **default** branch.
Anything Marlin specific, or `HC32-*` branches should be submitted [here](https://github.com/MarlinFirmware/Marlin/issues/new/choose).
To fix this:
1. Rebase your branch onto `default`.
2. Submit a new **PR** targeting the most recent.
Unfortunately, we can only accept **PR**s targeting the **default** branch.

Please redo this **PR** starting with the most recent branch and be careful to target it when resubmitting the **PR**.
Anything Marlin specific, or `HC32-*` branches should be submitted [here](https://github.com/MarlinFirmware/Marlin/issues/new/choose).

See [this page](https://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.
To fix this:
1. Rebase your branch onto `default`.
2. Submit a new **PR** targeting the most recent.

Please redo this **PR** starting with the most recent branch and be careful to target it when resubmitting the **PR**.

See [this page](https://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: CI - Build Tests
on:
pull_request:
branches:
- 2024-December
- 2025-January
paths-ignore:
- configurations/**
- display assets/**
Expand All @@ -22,7 +22,7 @@ on:
- '**/*.md'
push:
branches:
- 2024-December
- 2025-January
paths-ignore:
- configurations/**
- display assets/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: CI - Unit Tests
on:
pull_request:
branches:
- 2024-December
- 2025-January
paths-ignore:
- configurations/**
- display assets/**
Expand All @@ -22,7 +22,7 @@ on:
- '**/*.md'
push:
branches:
- 2024-December
- 2025-January
paths-ignore:
- configurations/**
- display assets/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-validate-boards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ name: CI - Validate boards.h
on:
pull_request:
branches:
- 2024-December
- 2025-January
#- bugfix-2.1.x
paths:
- 'Marlin/src/core/boards.h'
push:
branches:
- 2024-December
- 2025-January
#- bugfix-2.1.x
paths:
- 'Marlin/src/core/boards.h'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-validate-pins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ name: CI - Validate Pins Files
on:
pull_request:
branches:
- 2024-December
- 2025-January
# Cannot be enabled on 2.1.x until it contains the unit test framework
#- 2.1.x
paths:
- 'Marlin/src/pins/*/**'
push:
branches:
- 2024-December
- 2025-January
# Cannot be enabled on 2.1.x until it contains the unit test framework
#- 2.1.x
paths:
Expand Down
10 changes: 10 additions & 0 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,10 @@
#define MAX31865_SENSOR_OHMS_2 100
#define MAX31865_CALIBRATION_OHMS_2 430
#endif
#if TEMP_SENSOR_IS_MAX_TC(BED)
#define MAX31865_SENSOR_OHMS_BED 100
#define MAX31865_CALIBRATION_OHMS_BED 430
#endif

#if HAS_E_TEMP_SENSOR
#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109
Expand Down Expand Up @@ -2124,6 +2128,12 @@
#define AUTO_BED_LEVELING_UBL
//#define MESH_BED_LEVELING

/**
* Commands to execute at the start of G29 probing,
* after switching to the PROBING_TOOL.
*/
//#define EVENT_GCODE_BEFORE_G29 "M300 P440 S200"

/**
* Commands to execute at the end of G29 probing.
* Useful to retract or move the Z probe out of the way.
Expand Down
49 changes: 34 additions & 15 deletions Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,10 @@
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
*/
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
//#define MAX31865_SENSOR_WIRES_1 2
//#define MAX31865_SENSOR_WIRES_2 2
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
//#define MAX31865_SENSOR_WIRES_1 2
//#define MAX31865_SENSOR_WIRES_2 2
//#define MAX31865_SENSOR_WIRES_BED 2

//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
Expand All @@ -194,6 +195,7 @@
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
//#define MAX31865_WIRE_OHMS_1 0.0f
//#define MAX31865_WIRE_OHMS_2 0.0f
//#define MAX31865_WIRE_OHMS_BED 0.0f

/**
* Hephestos 2 24V heated bed upgrade kit.
Expand Down Expand Up @@ -587,7 +589,8 @@
//#define CONTROLLER_FAN2_PIN -1 // Set a custom pin for second controller fan
//#define CONTROLLER_FAN_USE_Z_ONLY // With this option only the Z axis is considered
//#define CONTROLLER_FAN_IGNORE_Z // Ignore Z stepper. Useful when stepper timeout is disabled.
#define CONTROLLERFAN_SPEED_MIN 0 // (0-255) Minimum speed. (If set below this value the fan is turned off.)
#define CONTROLLERFAN_SPEED_MIN 40 // (0-255) Minimum speed. (If set below this value the fan is turned off.)
#define CONTROLLERFAN_SPEED_MAX 127 // (0-255) Maximum speed. (Use only for a specific hardware build, or with non default PWM Scale, needs testing with other builds)
#define CONTROLLERFAN_SPEED_ACTIVE 255 // (0-255) Active speed, used when any motor is enabled
#define CONTROLLERFAN_SPEED_IDLE 0 // (0-255) Idle speed, used when motors are disabled
#define CONTROLLERFAN_IDLE_TIME 60 // (seconds) Extra time to keep the fan running after disabling motors
Expand Down Expand Up @@ -616,6 +619,10 @@
//#define FAN_KICKSTART_POWER 180 // 64-255
//#define FAN_KICKSTART_LINEAR // Set kickstart time linearly based on the speed, e.g., for 20% (51) it will be FAN_KICKSTART_TIME * 0.2.
// Useful for quick speed up to low speed. Kickstart power must be set to 255.
//#define FAN_KICKSTART_EDITABLE // Enable M711 configurable settings
#if ENABLED(FAN_KICKSTART_EDITABLE)
#define FAN_KICKSTART_MENU // Enable the Fan Kickstart submenu
#endif

// Some coolers may require a non-zero "off" state.
//#define FAN_OFF_PWM 1
Expand Down Expand Up @@ -682,18 +689,22 @@
#endif

/**
* Extruder cooling fans
* Cooling fans
*
* Extruder auto fans automatically turn on when their extruders'
* temperatures go above EXTRUDER_AUTO_FAN_TEMPERATURE.
* Fans automatically turn on when their extruders'
* temperatures go above threshold.
*
* Your board's pins file specifies the recommended pins. Override those here
* or set to -1 to disable completely.
*
* Multiple extruders can be assigned to the same pin in which case
* the fan will turn on when any selected extruder is above the threshold.
*
* EXAMPLE: When 'EXTRUDER_AUTO_FAN_TEMPERATURE' >= 50
* Fan spins at full speed:
* 'EXTRUDER_AUTO_FAN_SPEED' 255 == full speed
*/
#define E0_AUTO_FAN_PIN -1 // Ender3V2 Configs
#define E0_AUTO_FAN_PIN -1//PC0 // Ender3V2 Configs
#define E1_AUTO_FAN_PIN -1
#define E2_AUTO_FAN_PIN -1
#define E3_AUTO_FAN_PIN -1
Expand All @@ -705,12 +716,20 @@
#define COOLER_AUTO_FAN_PIN -1

#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
#define EXTRUDER_AUTO_FAN_SPEED 255 // 255 == full speed
#define EXTRUDER_AUTO_FAN_SPEED 255
#define CHAMBER_AUTO_FAN_TEMPERATURE 30
#define CHAMBER_AUTO_FAN_SPEED 255
#define COOLER_AUTO_FAN_TEMPERATURE 18
#define COOLER_AUTO_FAN_SPEED 255

/**
* Allow Auto Cooling Fans to be editable
*/
//#define AUTO_FAN_EDITABLE // Enable M712 configurable settings
#if ENABLED(AUTO_FAN_EDITABLE)
#define AUTO_FAN_MENU // Enable the Editable Auto Fans submenu
#endif

/**
* Hotend Cooling Fans tachometers
*
Expand Down Expand Up @@ -2052,17 +2071,17 @@
//#define STATUS_HEAT_PERCENT // Show heating in a progress bar
//#define STATUS_HEAT_POWER // Show heater output power as a vertical bar

// Frivolous Game Options
//#define MARLIN_BRICKOUT
//#define MARLIN_INVADERS
//#define MARLIN_SNAKE
//#define GAMES_EASTER_EGG // Add extra blank lines above the "Games" sub-menu

#endif // HAS_MARLINUI_U8GLIB

#if HAS_MARLINUI_U8GLIB || IS_DWIN_MARLINUI
#define MENU_HOLLOW_FRAME // Enable to save many cycles by drawing a hollow frame on Menu Screens
//#define OVERLAY_GFX_REVERSE // Swap the CW/CCW indicators in the graphics overlay

// Frivolous Game Options
//#define MARLIN_BRICKOUT
//#define MARLIN_INVADERS
//#define MARLIN_SNAKE
//#define GAMES_EASTER_EGG // Add extra blank lines above the "Games" sub-menu
#endif

//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* Marlin release version identifier
*/
#define SHORT_BUILD_VERSION "2.1.3f-12"
#define SHORT_BUILD_VERSION "2.1.3g-1"

/**
* Verbose version identifier which should contain a reference to the location
Expand All @@ -41,7 +41,7 @@
* here we define this default string as the date where the latest release
* version was tagged.
*/
//#define STRING_DISTRIBUTION_DATE "2025-01-01"
//#define STRING_DISTRIBUTION_DATE "2025-01-11"

#define STRING_DISTRIBUTION_DATE __DATE__
#define STRING_DISTRIBUTION_TIME __TIME__
Expand Down
Loading