Guðni Már Gilbert
2b1c49dae2
Remove legacy Auto Bed Leveling code
...
The goal is to clean up the project
2024-08-24 07:11:38 +00:00
Guðni Már Gilbert
f5fe658728
fixup after rebase
2024-08-24 07:10:24 +00:00
Guðni Már Gilbert
5e66e71a48
Check if MMU is enabled by reading EEPROM
2024-08-24 07:10:24 +00:00
gudnimg
4ed5b36199
Use a fresh EEPROM cell for the new value
2024-08-24 07:10:24 +00:00
gudnimg
40d3830e6d
Simplify filament_presence_check usage
...
Pull all checks needed into the function such that the caller
only needs to check the return value
Also added description for the filament_presence_check function
2024-08-24 07:10:23 +00:00
gudnimg
75c980c4e7
optimisation: deduplicate more code
...
Change in memory:
Flash: -54 bytes
SRAM: 0 bytes
2024-08-24 07:10:23 +00:00
Guðni Már Gilbert
b7caf36207
optimisation: deduplicate printer check toggle menus
...
This saves ~100B of flash
2024-08-24 07:10:23 +00:00
Guðni Már Gilbert
bf72ecc3f9
Add filament presence check at start of print
...
A new menu setting is added to configure how strict the check should be.
- None: No check is performed
- Warning (default): The user is warned about missing and is prompted to continue with Yes/No. If No is selected, the print is aborted. If no user input is given (e.g. from host printing) then the warning will expire in 30 seconds and assume the Yes option was selected
- Strict: If the filament is not detected when a print is started, it is immediately canceled.
The check is currently performed on G-codes: M24 and M75. Starting a SD print and Host print respectively.
2024-08-24 07:10:23 +00:00
3d-gussner
055f601ad3
Merge pull request #4751 from sarusani/FilamentRunoutActions
...
Send host actions on filament runout
2024-08-23 15:13:08 +02:00
3d-gussner
96d6192be5
Merge pull request #4760 from 3d-gussner/MK3_New_github_issue_templates
...
New GitHub issue templates
2024-08-23 14:52:02 +02:00
3d-gussner
d3cec58a7a
Merge pull request #4761 from 3d-gussner/MK3_MMU303
...
Update MMU version to 3.0.3
2024-08-23 14:40:41 +02:00
3d-gussner
8fe73a0dc2
Update to MMU FW 3.0.3
2024-08-23 14:31:49 +02:00
3d-gussner
c27fb616e0
Merge pull request #4737 from sarusani/ReplaceSetReadyMenuEntry
...
Allow to replace Set Ready menu entry
2024-08-23 14:30:44 +02:00
3d-gussner
7d66cd1ca0
Merge pull request #4758 from sarusani/CheckFSBeforeNozzleChange
...
Abort nozzle change if filament is loaded
2024-08-23 11:18:28 +02:00
sarusani
a2022471ce
Send host actions on filament runout
2024-08-23 10:44:38 +02:00
sarusani
a9e7f387e8
Replace Set Ready menu entry
...
Replace "Set Ready"/"Set nor Ready" menu entry with "Print from host" entry.
Use "action:start" instead of "action:ready"
2024-08-23 10:24:01 +02:00
sarusani
64d9f201da
Exit Nozzle Change if filament is loaded
...
Abort Nozzle change if fsensor is enabled and filament is present.
2024-08-23 10:12:01 +02:00
3d-gussner
2f7715a0b0
Merge pull request #4759 from Panayiotis-git/MK3_M600_Filament_name
...
PFW-1204: M600 - Show filament name at the Insert filament prompt
2024-08-22 16:26:58 +02:00
3d-gussner
0e84d0bb41
Update some text
2024-08-22 14:45:15 +02:00
Panayiotis-git
815b68678d
M600 - Show filament name at the Insert filament prompt
2024-08-21 20:56:13 +03:00
3d-gussner
f64f2bbe68
Merge pull request #4747 from gudnimg/minor-fixes-for-future-tests
...
Fix compiler warning and add missing includes in unit test environment
2024-08-20 11:14:06 +02:00
3d-gussner
e2e6999887
Merge pull request #4753 from gudnimg/remove-HEATER_BED_DUTY_CYCLE_DIVIDER
...
Remove dead configuration `HEATER_BED_DUTY_CYCLE_DIVIDER`
2024-08-19 08:47:22 +02:00
Guðni Már Gilbert
3da141b3a7
Remove dead configuration HEATER_BED_DUTY_CYCLE_DIVIDER
...
Setting HEATER_BED_DUTY_CYCLE_DIVIDER has no effect on the firmware
2024-08-15 17:58:07 +00:00
3d-gussner
21fc1ddf00
Merge pull request #4750 from sarusani/LessZAxisMovementOnManualFilamentUnload
...
Lower MIN_Z_FOR_UNLOAD
2024-08-14 13:03:32 +02:00
sarusani
d3f2dce430
Lower MIN_Z_FOR_UNLOAD
...
Sync value with Buddy firmware
2024-08-14 12:09:41 +02:00
3d-gussner
2f9dafcf97
Fix even more syntax
2024-08-14 11:16:49 +02:00
3d-gussner
dad1e4081e
Fix more syntax issues
2024-08-14 11:08:47 +02:00
3d-gussner
be6c85cf0c
Fix syntax
2024-08-14 11:04:39 +02:00
3d-gussner
8b2074e808
New github issue templates
2024-08-14 10:40:31 +02:00
Guðni Már Gilbert
80f27618c9
Marlin: drop lcd.h include
...
Only include it where needed
2024-08-13 23:40:18 +00:00
Guðni Már Gilbert
41245b2a59
Marlin: drop mmu2.h include
...
We should only be including it where needed
2024-08-13 23:26:09 +00:00
Guðni Már Gilbert
835caa0230
mesh_bed_calibration: drop Marlin.h include
2024-08-13 23:23:21 +00:00
Guðni Már Gilbert
0153eb05a1
util: add stdio.h include for sprintf_P
2024-08-09 14:57:07 +00:00
Guðni Már Gilbert
a1fcb8564e
util: reorder includes alphabetically
...
Place system includes on top
2024-08-09 14:57:07 +00:00
gudnimg
f628c5f912
util: should include avr/eeprom.h
...
The file is calling eeprom_read_byte and should include avr/eeprom.h
2024-08-09 14:57:07 +00:00
gudnimg
9ae8beacc6
eeprom: add missing include stddef.h
...
Fixes compiler warning in test environment:
Prusa-Firmware/Firmware/eeprom.h:712:51: error: ‘size_t’ has not been declared
712 | bool eeprom_is_initialized_block(const void *__p, size_t __n);
|
2024-08-09 14:57:07 +00:00
gudnimg
ad1e3cb12a
Configuration: missing stdint.h include
...
The following error is raised in unit testing environment:
Prusa-Firmware/Firmware/Configuration.h:16:14: error: ‘uint16_t’ does not name a type
16 | extern const uint16_t _nPrinterType;
2024-08-09 14:57:07 +00:00
gudnimg
10d156b28c
tests: Fix a compiler warning in tests -fpermissive
...
Prusa-Firmware/tests/../Firmware/util.h:114:25: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
114 | pStrEnd = strchr(this->ptr, '"');
| ~~~~~~^~~~~~~~~~~~~~~~
| |
| const char*
2024-08-09 14:57:07 +00:00
3d-gussner
428091b7c7
Merge pull request #4736 from gudnimg/cleanup_recursion_hack
...
Remove recursion workaround in Nozzle Change
2024-08-08 11:17:28 +02:00
3d-gussner
80148a862d
Merge pull request #4744 from 3d-gussner/MK3_Update_Stale_bot
...
Update Stale bot message
2024-08-07 06:48:43 +02:00
3d-gussner
bf19b34e11
Merge pull request #4746 from gudnimg/fix-broken-unit-tests-pipeline
...
tests: test_run_all target must depend on tests executable
2024-08-06 14:58:47 +02:00
gudnimg
0a60eb435c
tests: test_run_all target must depend on tests executable
...
Otherwise the tests and Catch2 isn't built
2024-08-06 10:29:44 +00:00
3d-gussner
ebbd58c6e2
Merge pull request #4733 from gudnimg/upgrade-ninja
...
Upgrade ninja from 1.10.2 to 1.12.1
2024-08-06 06:19:06 +02:00
3d-gussner
ed3867ab09
Merge pull request #4745 from gudnimg/readme_update
...
Update Python version in README
2024-08-06 06:11:21 +02:00
Guðni Már Gilbert
b2c17960df
Update Python version in README
...
Python 3.6 and 3.7 are EOL
2024-08-05 17:16:10 +00:00
3d-gussner
decebab9d4
Update Stale bot message
2024-08-05 09:36:27 +02:00
Guðni Már Gilbert
c795b3956c
Merge pull request #4741 from gudnimg/cleanup_followup_gudni
...
PR 4739 follow-up (two things were missed)
2024-08-03 20:11:59 +00:00
gudnimg
efc4cc4996
Remove unused enum MeshLevelingState
2024-08-03 16:48:08 +00:00
gudnimg
15670f21bd
lcd_pick_babystep() doesn't exist anywhere
2024-08-03 16:32:41 +00:00
gudnimg
371c040e8a
EEPROM_BABYSTEP_Z0 is no longer used anywhere in the code base
2024-08-03 16:32:20 +00:00