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

network/time: Add option to set ntp ip address or to set ntp via dhcp #3679

Open
wants to merge 219 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
ef86e9e
Remove default IP address for metrics & logs
Tomcus Jan 29, 2024
2d996ab
Disable sending crashdumps by default
vorner Feb 22, 2023
56a5076
Remove uploading dumps to server
Derevin Mar 1, 2023
fdc9011
Adjust retraction distance in UnloadInner (retract further back to en…
michalrudolf Mar 7, 2024
270ed0c
Fix BSOD when aborting selftest while homing
danopernis Mar 7, 2024
144ee98
Fix focus stealing (not only) in DialogToolActionBox
danopernis Mar 5, 2024
76ca7d7
More robust variant of usbh_power_cycle reset after an usb error
kvmq Mar 8, 2024
4ad08c7
IS: Fix the issue with a random printer stopping during printing.
hejllukas Mar 8, 2024
b02e018
MMU: Count tool changes in the odometer
vorner Mar 8, 2024
be364a7
connect: Allow SEND_STATE_INFO in errors
vorner Mar 12, 2024
34922ed
Introduce save_to_persistent_storage_without_enabling()
danopernis Mar 11, 2024
861e1ca
Change phase stepping wizard into gcode
danopernis Feb 19, 2024
29196d5
Remove obnoxious accelerometer logging
danopernis Mar 11, 2024
b417a8a
Refactor frames in the phase stepping wizard
danopernis Mar 11, 2024
66473bb
Implement progress reporting in phase stepping calibration
danopernis Mar 12, 2024
3dd943e
Add header to phase stepping calibration wizard
danopernis Mar 12, 2024
9c0d8a8
Add hideous additional text to otherwise nice frame
danopernis Mar 12, 2024
2c327ab
Rename reporter to hooks and make it into pure interface
danopernis Mar 12, 2024
c9ae590
Remove unused phase_stepping::last_calibration_result
danopernis Mar 12, 2024
5e4c3cf
Move phase_stepping::CalibrationResult to its only consumer
danopernis Mar 12, 2024
bb61b26
Remove some obsolete phase stepping abstractions
danopernis Mar 12, 2024
1b18dd2
Enable aborting phase steping calibration wizard
danopernis Mar 12, 2024
0b40b6d
Adjust phase stepping wizard final screen
danopernis Mar 12, 2024
b6dad64
Fix bsod on mmu reflash
michalrudolf Mar 11, 2024
89c812c
Fix XL Enclosure requested changes
michalrudolf Mar 12, 2024
a117d74
gcode: M73 add missing get report functionality
bkerler Feb 18, 2024
e84362c
M1977: Remove unused header
danopernis Mar 13, 2024
4d8448e
M1977: Change FSM only when there are valid data
danopernis Mar 13, 2024
267d49f
M1977: Remove 'enabling' FSM state
danopernis Mar 13, 2024
6da296b
Fix trasnfers not cleaning up
HelclM Mar 13, 2024
ce7c6f6
MMU: Track failures in a leaky bucket
vorner Mar 11, 2024
58a449b
MMU: Pop up warnings about extruder maintenance
vorner Mar 12, 2024
d8e45c9
MMU: Menu item to reset the extruder maintenance
vorner Mar 12, 2024
496d221
MMU: Tests for the failure bucket
vorner Mar 12, 2024
afca1f0
PS: Also preserve the step fraction with absolute origins
wavexx Mar 11, 2024
480b74c
PS: Describe some fields
wavexx Mar 12, 2024
89d99af
PS: Reduce duplication in reset_from_halt()
wavexx Mar 12, 2024
6e6214f
PS: Handle COREXY correctly when resetting
wavexx Mar 13, 2024
769ac47
PS: Preserve step fraction also when hard-stopping
wavexx Mar 12, 2024
128b0e6
PS: Initialize current_distance directly with the stepper counters
wavexx Mar 13, 2024
16fb84e
PS: Avoid prefixing total_start_pos for consistency
wavexx Mar 13, 2024
02d8d6e
PS: Handle msteps.e uniformly when resetting
wavexx Mar 13, 2024
3fcf7f0
PS: Also reset current_distance.e
wavexx Mar 14, 2024
3f7e32e
Unify Pause::loop_XX functions
CZDanol-prusa Mar 8, 2024
547a2a0
Pause: unify loop_load_common & loop_load_mmu
CZDanol-prusa Mar 6, 2024
e44c351
Pause: MMU Load to nozzle - ask for color correct
CZDanol-prusa Mar 6, 2024
624d269
Change text for MMU filament detected to something slightly more reas…
CZDanol-prusa Mar 6, 2024
8564aab
Pause: remove unused (un)load_mode_t
CZDanol-prusa Mar 7, 2024
6f9ccb0
Pause: unify loop_load_mmu_change to _common
CZDanol-prusa Mar 7, 2024
9c97877
MMU: Ask color correct on M600/runout
CZDanol-prusa Mar 7, 2024
6cf38de
Include MMU2 FW in xFlash
CZDanol-prusa Mar 12, 2024
a80a165
MMU: FW Updater
CZDanol-prusa Mar 12, 2024
769b371
Add cmake error if MMU FW not present
CZDanol-prusa Mar 15, 2024
cc682f6
Hotfix: Wrong filaments button mode on non-MMU printers
CZDanol-prusa Mar 15, 2024
203e150
Do not block HOST_USER_CLASS_ACTIVE callback with phost->class_mutex
kvmq Mar 8, 2024
56273cc
Add texts for coldpull dialog (for translations)
michalrudolf Mar 13, 2024
0875c44
Finalize Cold Pull texts
mody Mar 15, 2024
4d9144c
git subrepo commit (merge) lib/Prusa-Error-Codes
michalrudolf Mar 15, 2024
4ec7d10
Update POT file
michalrudolf Mar 15, 2024
0e502db
Basic click command support
HelclM Mar 5, 2024
507b0eb
Rewrite state detection.
HelclM Mar 11, 2024
27e37fe
Rename CLICK_BUTTON to DIALOG_ACTION
HelclM Mar 13, 2024
fc586b5
Make Quick pause clickable in connect.
HelclM Mar 14, 2024
0cf6ae5
Mk3.5: Callibrate selftest for HotendType::stock_with_sock
CZDanol-prusa Mar 18, 2024
853a2c3
Increase ScrollBar width to 8 px
CZDanol-prusa Mar 18, 2024
51f6a8b
Fix freertos-gdb-plugin.py
CZDanol-prusa Mar 18, 2024
6be88fe
Adding Bed Level Correction for MK3.5 and MINI
vojtanvk Mar 11, 2024
6c5f2de
Hotfix bed level correction GUI after reset
danopernis Mar 14, 2024
f2f08d5
MDNS: Make it active on only one interface
vorner Mar 19, 2024
37472f7
MDNS: Disable timeouts on iface removal
vorner Mar 19, 2024
ec83229
MDNS: Tune timeouts vs delayed packets
vorner Mar 15, 2024
3834db9
MDNS: Further limits adjustments
vorner Mar 19, 2024
a170eb6
Fix bad default change; Add SheetSupport option
vojtanvk Mar 19, 2024
c0f13c9
Planner settings: prepare for applying machine limits
CZDanol-prusa Mar 19, 2024
e3d1a7d
Planner: move max_jerk to settings
CZDanol-prusa Mar 19, 2024
383352c
Introduce gui_try_gcode_with_msg
CZDanol-prusa Mar 20, 2024
3b005be
Use gui_try_gcode_with_msg in MI_STUCK_FILAMENT_DETECTION
CZDanol-prusa Mar 20, 2024
3638f81
Enable liveWatch in launch.json
CZDanol-prusa Mar 19, 2024
dfa0fd2
Add stealth mode journal+marlin vars
CZDanol-prusa Mar 18, 2024
0fcbb4a
Add gcodes for stealth mode on/off
CZDanol-prusa Mar 19, 2024
48064b7
Add stealth mode support for M73
CZDanol-prusa Mar 18, 2024
a47f244
Add stealth mode switch in the UI
CZDanol-prusa Mar 18, 2024
f90e387
Introduce HWLIMIT defintions for printers
Mar 5, 2024
c662969
Planner: Apply HWLIMITs
CZDanol-prusa Mar 19, 2024
83bcdec
Hotfix: Show MI_HOTEND_TYPE on Mk3.5
CZDanol-prusa Mar 14, 2024
737f2a6
Refactor Enclosure
michalrudolf Mar 15, 2024
b17d4a0
Introduce MI_MMU_ISSUE_GCODE_SLOT
CZDanol-prusa Mar 20, 2024
2e41f9a
Use MI_MMU_ISSUE_GCODE_SLOT for MI_MMU_EJECT_FILAMENT
CZDanol-prusa Mar 20, 2024
dbed831
Use MI_MMU_ISSUE_GCODE_SLOT for MI_MMU_PRELOAD_SLOT
CZDanol-prusa Mar 20, 2024
6647246
Use MI_MMU_ISSUE_GCODE_SLOT for MI_MMU_LOAD_TO_NOZZLE
CZDanol-prusa Mar 20, 2024
845a75a
Use MI_MMU_ISSUE_GCODE_SLOT for MI_MMU_CUT_FILAMENT
CZDanol-prusa Mar 20, 2024
60b9cfd
Use MI_MMU_ISSUE_GCODE_SLOT for MI_MMU_LOAD_TEST_FILAMENT
CZDanol-prusa Mar 20, 2024
2771f7d
MMU: Rename Eject Filament -> Eject From MMU
CZDanol-prusa Mar 20, 2024
a00f653
Unify menu item style
CZDanol-prusa Mar 20, 2024
3904954
Enforce footer config when enabling MMU rework
CZDanol-prusa Mar 20, 2024
f70c37a
Remove unused MI_CALIB_FSENSOR_MMU
CZDanol-prusa Mar 20, 2024
99059ef
SelftestFrameFSensor: Remove unused en_text_have_filament
CZDanol-prusa Mar 20, 2024
3120378
SelftestFrameFSensor: Differentiate text for mmu_rework
CZDanol-prusa Mar 20, 2024
670d425
fix: typo in internal server error
joachimklug Sep 5, 2023
004b334
MMU: Change link for maintenance
vorner Mar 20, 2024
cb5702c
Connect report state printing in regular MMU filament changes.
HelclM Mar 21, 2024
7bfbd8d
Handle null pointers in crash dump save_message()
lukash Mar 21, 2024
216db26
git subrepo pull --force lib/Prusa-Error-Codes
HelclM Mar 21, 2024
7da1720
Make dialogs take texts form error yaml.
HelclM Mar 19, 2024
372bd1b
Edit frame_qr_layout for MINI
michalrudolf Mar 20, 2024
7eb310e
Fix MK3.5 MBL to be 7x7
vojtanvk Mar 21, 2024
12aa692
Make MINI/3.5 stop digging into the bed
vojtanvk Mar 12, 2024
246621d
Fix dialog move z texts on MINI display
michalrudolf Mar 21, 2024
2d3e8f3
Hotfix: snprintf warning in MI_MMU_ISSUE_GCODE_SLOT
CZDanol-prusa Mar 22, 2024
406ff37
IWindowMenuItem: optimize move_focus to the same item
CZDanol-prusa Mar 21, 2024
6f46bff
Input Shaper menu: Disable editing during print
CZDanol-prusa Mar 21, 2024
315f898
IS: M9200 gcode to reload settings from the store
CZDanol-prusa Mar 21, 2024
ba26a82
IS menu: Use config_store instead of direct access
CZDanol-prusa Mar 21, 2024
88c3ba0
Fix WiInfo trying to translate EVERYTHING
CZDanol-prusa Mar 21, 2024
e143cf4
Refactor ScreenMenuVersionInfo
CZDanol-prusa Mar 21, 2024
291b04c
MMU: Update FW to 3.0.3
CZDanol-prusa Mar 22, 2024
ee3dc0e
Clear filament type when turning off MMU
CZDanol-prusa Mar 21, 2024
a983c45
Remove fsm_types_test and fsm_serializers_test
danopernis Mar 21, 2024
4b99bc6
Remove test screens
danopernis Mar 21, 2024
99da8a4
Rewrite FSM queues
danopernis Mar 21, 2024
f9ee0be
MMU:BFW-5144:Preload menu wording
Mar 22, 2024
27d8d43
MMU:BFW-5144:Printer tools->MMU filament
Mar 22, 2024
70e6d2a
MMU:BFW-5144:MultioolFilChange->Filament Change
Mar 22, 2024
b0651e8
MMU:BFW-5144:Tools Mapping->Filament mapping
Mar 22, 2024
5322c7d
MMU:BFW-5144:Tool Filament N->Filament N
Mar 22, 2024
7ccdbe5
Fix locking in lwip
HelclM Mar 22, 2024
d395935
MMU maintenance texts
vorner Mar 25, 2024
6c42a21
Small fixes for the new FSM
HelclM Mar 25, 2024
cf361c3
Do media_prefetch_init() inside the media_prefetch() task
danopernis Mar 25, 2024
028175f
Reduce heap allocations in media prefetch
danopernis Mar 25, 2024
f364f51
Fix PrusaPackGcodeReader::stream_t::hs_decoder being move unsafe
CZDanol-prusa Mar 25, 2024
1771fee
Make IGcodeReader constructors protected
CZDanol-prusa Mar 25, 2024
d289a66
Make IGcodeReader::file move-safe
CZDanol-prusa Mar 25, 2024
7ce0573
Fix crash_dump_debug.py... Again.
CZDanol-prusa Mar 22, 2024
2be6353
Fix not checking for stream_gcode_start() in stream_thumbnail_start()
CZDanol-prusa Mar 22, 2024
b4fd2db
Another freertos-gdb-plugin fix.
CZDanol-prusa Mar 25, 2024
0a81664
Use unique_file_ptr on more places
CZDanol-prusa Mar 25, 2024
2a7d0ef
Fix memory leak in WindowPreviewThumbnail::unconditionalDraw
CZDanol-prusa Mar 25, 2024
b9b70d9
FIx FS/Estall lock missing in some loads
CZDanol-prusa Mar 25, 2024
f221dd4
Make hostname MI's visibility dev only
michalrudolf Mar 25, 2024
4a5c070
Show hostname MI on ili9488 display
michalrudolf Mar 25, 2024
ef2a7da
Fix one-click-print not triggering on USB reinsert
CZDanol-prusa Mar 26, 2024
70ede46
Update translations 6.0.0
michalrudolf Mar 26, 2024
081570f
Add script for replacing unsupported characters in .PO files
michalrudolf Mar 26, 2024
55fd9eb
mmu: Adjust maintenance limits
vorner Mar 26, 2024
5563d82
Adjust MINI HW limits according to PrusaSlicer Profiles
michalrudolf Mar 26, 2024
bfdc43c
Adjust MK3.5 HW limits according to PrusaSlicer Profiles
michalrudolf Mar 26, 2024
fbadd7e
Adjust MK4 HW limits according to PrusaSlicer Profiles
michalrudolf Mar 26, 2024
9b62c24
Remove Nextruder Maintanance menu item from MK3.5 FW
michalrudolf Mar 26, 2024
0e5b347
Extend MMU load to nozzle sequence on MK3.5
michalrudolf Mar 27, 2024
d6e87e7
MMU:Register 0x82:Fail the next LoadToExtr
Mar 26, 2024
0afda7e
Update translations: BFW-5288
Mar 27, 2024
38fa882
Fix formatable error strings
michalrudolf Mar 27, 2024
652a65f
Introduce M104.1 GCode
CZDanol-prusa Mar 27, 2024
83513e4
Disable input shaper menu
michalrudolf Mar 28, 2024
c6be896
Hotfix tool mapping screen after refactoring FSM.
danopernis Mar 28, 2024
9488063
Mark filament as unloaded after successful cold-pull
mody Apr 2, 2024
f076165
MMU: Fix reset sequence
CZDanol-prusa Mar 28, 2024
a80c9e4
MMU: Add recovery from UART error
CZDanol-prusa Mar 28, 2024
0f5080d
MMU bootloader: Introduce result
CZDanol-prusa Mar 28, 2024
1850972
MMU: MI_MMU_BOOTLOADER_RESULT
CZDanol-prusa Mar 28, 2024
e031d76
Stealth: auto fall back to std mode progress data
CZDanol-prusa Apr 2, 2024
4da0c6d
Use osDelay instead of HAL_Delay in usb_host
CZDanol-prusa Apr 2, 2024
1641cc6
Do not call osDelay inside USBH_LL_DriverVBUS
CZDanol-prusa Apr 3, 2024
62d55b4
Fix missing MI_MMU_PRELOAD_ALL in ScreenMenuMMUPreloadToMMU
CZDanol-prusa Apr 3, 2024
1f89d74
Adjust loading to nozzle before print on mk3.5 with MMU + Fix absolut…
michalrudolf Apr 3, 2024
19689d4
Smaller header icon for USB
CZDanol-prusa Apr 4, 2024
c80dd07
window_header_t: show/hide_bed_info -> set_show_bed_info
CZDanol-prusa Apr 4, 2024
9030135
window_t::Shadow/Unshadow -> set_shadow
CZDanol-prusa Apr 4, 2024
42a60e1
Refactor window_header_t::updateMedia
CZDanol-prusa Apr 4, 2024
1c55e97
Improve window_header_t::updateAllRects
CZDanol-prusa Apr 4, 2024
376f492
Add stealth mode icon to window_header
CZDanol-prusa Apr 4, 2024
a4cedb3
Get rid of the "beautiful rolling text" on home screen header
CZDanol-prusa Apr 4, 2024
f35c55a
Decrease score of ClientFSM::Selftest
CZDanol-prusa Apr 4, 2024
a4ce531
Render ScreenMenuSTSCalibrations when dialog is shown
CZDanol-prusa Apr 4, 2024
8c6221c
Fix wrong order in CSelftestPart_FSensor
CZDanol-prusa Apr 4, 2024
9be6b84
Get rid of selftest_snake::querying_user
CZDanol-prusa Apr 4, 2024
62991d5
Fix double mutex lock in media_print_resume
CZDanol-prusa Apr 5, 2024
4a626d1
media_reset_position: Do not reset on reset failure
CZDanol-prusa Apr 5, 2024
7d65859
Split gcode reader to separate files
danopernis Apr 3, 2024
daac271
Improve PrusaPackGcodeReader::get_restore_block_for_offset
CZDanol-prusa Apr 5, 2024
923e05c
media_print_reopen: Fix not updating restore info
CZDanol-prusa Apr 8, 2024
dbae065
MK35:FSensor:report synthetic filtered value
Apr 8, 2024
ea7d1e6
Hide Nextruder maintenance when no MMU rework
DRracer Apr 8, 2024
5d82b1b
Abstract out stream_restore_info_rec_t
CZDanol-prusa Apr 8, 2024
a77361d
fixup! Hide Nextruder maintenance when no MMU rework
CZDanol-prusa Apr 8, 2024
d74d381
Add some asserts to GCodeReader
CZDanol-prusa Apr 5, 2024
33fa3e1
Fix uninitialized PrusaPackGcodeReader::ptr_stream_getc_decompressed
CZDanol-prusa Apr 5, 2024
c725c7b
PlainGcodeReader::output_type -> IGcodeReader::stream_mode
CZDanol-prusa Apr 5, 2024
c5b9c36
GCodeReader:: add additional stream_mode checks
CZDanol-prusa Apr 5, 2024
e79fe25
fixup! Get rid of selftest_snake::querying_user
CZDanol-prusa Apr 8, 2024
eeaad44
Fix MK3.5 MMU after factory reset
michalrudolf Apr 5, 2024
af1ff99
Fix BSOD on power panic resume
CZDanol-prusa Apr 9, 2024
3c9d2b7
Admit using CMSIS in ChannelMutex
danopernis Mar 26, 2024
7f83ce7
Fix i2c::ChannelMutex
CZDanol-prusa Apr 9, 2024
f96adfd
Improve Touchscreen_GT911::update_impl ISR check
CZDanol-prusa Apr 9, 2024
422e494
Hotfix: i2c::ChannelMutex
CZDanol-prusa Apr 10, 2024
7dd55a8
Header: larger 20x16 USB & stealth icons
CZDanol-prusa Apr 11, 2024
20cd3b2
PS: Make EnsureState movable
Tomcus Apr 11, 2024
3f8d3de
selftest: Disable phase stepping before running selftest
Tomcus Apr 11, 2024
27f4e03
cleanup: Remove unused includes and remove not needed virtual methods
Tomcus Apr 11, 2024
e73abe6
calib Z: Disable PS when running test with gcode
Tomcus Apr 12, 2024
5a24fb0
G425: Disable phase stepping when running Tool Offset Calibration
Tomcus Apr 10, 2024
80027e7
toolchange: slowdown parking to make tool offset calib more accurate
Tomcus Apr 8, 2024
cd12249
Config store backend: END_ITEM_SIZE_WITH_CRC, BANK_HEADER_SIZE_WITH_CRC
CZDanol-prusa Apr 11, 2024
8801963
Fix mistake in Backend::load_all
CZDanol-prusa Apr 11, 2024
7c7fd66
journal::Backend: Introduce failing regression test
CZDanol-prusa Apr 12, 2024
97769f4
journal::Backend: More reasonable free bank space calculation
CZDanol-prusa Apr 12, 2024
fd1c837
Fix failing test journal::EEPROM::Regression BFW-3553
CZDanol-prusa Apr 12, 2024
f20608c
Load: Fix Response::Stop not working in LoadPhases_t::check_filament_…
CZDanol-prusa Apr 12, 2024
ed9ffcc
Revert "Disable input shaper menu"
CZDanol-prusa Apr 15, 2024
10b36a3
Disable IS adjustments
CZDanol-prusa Apr 15, 2024
eb6d96c
Confirm print stop on serial printing
CZDanol-prusa Apr 15, 2024
f837441
Fix stealth mode showing 0% with old gcode
CZDanol-prusa Apr 15, 2024
b299ef1
Fix screen_printing_data_t::w_etime_label not updating if value is N/A
CZDanol-prusa Apr 15, 2024
1a8d2ec
fix: Increase measurement task stack to run selftests in debug build
Tomcus Apr 12, 2024
3d0b8cf
Tool mapping: Do not require double touch
CZDanol-prusa Apr 10, 2024
0de68b8
Translate FooterItemFinda values
CZDanol-prusa Apr 15, 2024
5a14456
Add ntp server address to settings menu and ntp via dhcp support. Pre…
bkerler Jan 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
82 changes: 68 additions & 14 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,25 @@
"type": "cortex-debug",
"servertype": "openocd",
"armToolchainPath": "${workspaceRoot}/.dependencies/gcc-arm-none-eabi-13.2.1/bin",
"openOCDPreConfigLaunchCommands": ["set bbf_over_debugger_path ./build-vscode-buddy/firmware.bbf"],
"configFiles": ["${workspaceRoot}/utils/debug/00_common.cfg", "${workspaceRoot}/utils/debug/10_custom_config.cfg", "${workspaceRoot}/utils/debug/20_board_buddy.cfg", "${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"],
"openOCDPreConfigLaunchCommands": [
"set bbf_over_debugger_path ./build-vscode-buddy/firmware.bbf"
],
"configFiles": [
"${workspaceRoot}/utils/debug/00_common.cfg",
"${workspaceRoot}/utils/debug/10_custom_config.cfg",
"${workspaceRoot}/utils/debug/20_board_buddy.cfg",
"${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"
],
"toolchainPrefix": "arm-none-eabi",
"device": "STM32F427ZI",
// swd file is disabled, it is known to cause issues in some cases. Enable it if you need to see register view.
//"svdFile": "${workspaceRoot}/.dependencies/cmsis-svd-0.4.9999/STM32F427.svd",
"rtos": "FreeRTOS",
"breakAfterReset": false,
"preLaunchTask": "Backup current ELF",
"liveWatch": {
"enabled": true,
},
"rttConfig": {
"enabled": true,
"address": "auto",
Expand All @@ -43,13 +53,23 @@
"type": "cortex-debug",
"servertype": "openocd",
"armToolchainPath": "${workspaceRoot}/.dependencies/gcc-arm-none-eabi-13.2.1/bin",
"openOCDPreConfigLaunchCommands": ["set bbf_over_debugger_path ./build-vscode-buddy/firmware.bbf"],
"configFiles": ["${workspaceRoot}/utils/debug/00_common.cfg", "${workspaceRoot}/utils/debug/10_custom_config.cfg", "${workspaceRoot}/utils/debug/20_board_buddy.cfg", "${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"],
"openOCDPreConfigLaunchCommands": [
"set bbf_over_debugger_path ./build-vscode-buddy/firmware.bbf"
],
"configFiles": [
"${workspaceRoot}/utils/debug/00_common.cfg",
"${workspaceRoot}/utils/debug/10_custom_config.cfg",
"${workspaceRoot}/utils/debug/20_board_buddy.cfg",
"${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"
],
"toolchainPrefix": "arm-none-eabi",
"device": "STM32F427ZI",
// swd file is disabled, it is known to cause issues in some cases. Enable it if you need to see register view.
//"svdFile": "${workspaceRoot}/.dependencies/cmsis-svd-0.4.9999/STM32F427.svd",
"rtos": "FreeRTOS",
"liveWatch": {
"enabled": true,
},
"rttConfig": {
"enabled": true,
"address": "auto",
Expand All @@ -75,8 +95,15 @@
"type": "cortex-debug",
"servertype": "openocd",
"armToolchainPath": "${workspaceRoot}/.dependencies/gcc-arm-none-eabi-13.2.1/bin",
"openOCDPreConfigLaunchCommands": ["set PUPPY_TYPE dwarf"],
"configFiles": ["${workspaceRoot}/utils/debug/00_common.cfg", "${workspaceRoot}/utils/debug/10_custom_config.cfg", "${workspaceRoot}/utils/debug/20_board_puppy.cfg", "${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"],
"openOCDPreConfigLaunchCommands": [
"set PUPPY_TYPE dwarf"
],
"configFiles": [
"${workspaceRoot}/utils/debug/00_common.cfg",
"${workspaceRoot}/utils/debug/10_custom_config.cfg",
"${workspaceRoot}/utils/debug/20_board_puppy.cfg",
"${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"
],
"toolchainPrefix": "arm-none-eabi",
"device": "STM32G07",
"svdFile": "${workspaceRoot}/.dependencies/cmsis-svd-0.4.9999/STM32G07x.svd",
Expand Down Expand Up @@ -110,8 +137,15 @@
"type": "cortex-debug",
"servertype": "openocd",
"armToolchainPath": "${workspaceRoot}/.dependencies/gcc-arm-none-eabi-13.2.1/bin",
"openOCDPreConfigLaunchCommands": ["set PUPPY_TYPE dwarf"],
"configFiles": ["${workspaceRoot}/utils/debug/00_common.cfg", "${workspaceRoot}/utils/debug/10_custom_config.cfg", "${workspaceRoot}/utils/debug/20_board_puppy.cfg", "${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"],
"openOCDPreConfigLaunchCommands": [
"set PUPPY_TYPE dwarf"
],
"configFiles": [
"${workspaceRoot}/utils/debug/00_common.cfg",
"${workspaceRoot}/utils/debug/10_custom_config.cfg",
"${workspaceRoot}/utils/debug/20_board_puppy.cfg",
"${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"
],
"toolchainPrefix": "arm-none-eabi",
"device": "STM32G07",
"svdFile": "${workspaceRoot}/.dependencies/cmsis-svd-0.4.9999/STM32G07x.svd",
Expand Down Expand Up @@ -141,8 +175,15 @@
"type": "cortex-debug",
"servertype": "openocd",
"armToolchainPath": "${workspaceRoot}/.dependencies/gcc-arm-none-eabi-13.2.1/bin",
"openOCDPreConfigLaunchCommands": ["set PUPPY_TYPE modularbed"],
"configFiles": ["${workspaceRoot}/utils/debug/00_common.cfg", "${workspaceRoot}/utils/debug/10_custom_config.cfg", "${workspaceRoot}/utils/debug/20_board_puppy.cfg", "${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"],
"openOCDPreConfigLaunchCommands": [
"set PUPPY_TYPE modularbed"
],
"configFiles": [
"${workspaceRoot}/utils/debug/00_common.cfg",
"${workspaceRoot}/utils/debug/10_custom_config.cfg",
"${workspaceRoot}/utils/debug/20_board_puppy.cfg",
"${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"
],
"toolchainPrefix": "arm-none-eabi",
"device": "STM32G07",
"svdFile": "${workspaceRoot}/.dependencies/cmsis-svd-0.4.9999/STM32G07x.svd",
Expand All @@ -160,8 +201,15 @@
"type": "cortex-debug",
"servertype": "openocd",
"armToolchainPath": "${workspaceRoot}/.dependencies/gcc-arm-none-eabi-13.2.1/bin",
"openOCDPreConfigLaunchCommands": ["set PUPPY_TYPE modularbed"],
"configFiles": ["${workspaceRoot}/utils/debug/00_common.cfg", "${workspaceRoot}/utils/debug/10_custom_config.cfg", "${workspaceRoot}/utils/debug/20_board_puppy.cfg", "${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"],
"openOCDPreConfigLaunchCommands": [
"set PUPPY_TYPE modularbed"
],
"configFiles": [
"${workspaceRoot}/utils/debug/00_common.cfg",
"${workspaceRoot}/utils/debug/10_custom_config.cfg",
"${workspaceRoot}/utils/debug/20_board_puppy.cfg",
"${workspaceRoot}/utils/debug/30_rtt_workaround.cfg"
],
"toolchainPrefix": "arm-none-eabi",
"device": "STM32G07",
"svdFile": "${workspaceRoot}/.dependencies/cmsis-svd-0.4.9999/STM32G07x.svd",
Expand All @@ -188,7 +236,9 @@
"type": "cortex-debug",
"servertype": "qemu",
"serverpath": "${workspaceRoot}/.venv/bin/simulator_as_qemu",
"serverArgs": ["--scripted"],
"serverArgs": [
"--scripted"
],
"windows": {
"serverpath": "${workspaceRoot}/.venv/Scripts/simulator_as_qemu"
},
Expand Down Expand Up @@ -221,7 +271,11 @@
"compounds": [
{
"name": "XL - ALL",
"configurations": ["Launch Buddy","Launch Dwarf", "Launch ModularBed"],
"configurations": [
"Launch Buddy",
"Launch Dwarf",
"Launch ModularBed"
],
"presentation": {
"group": "XL Puppies",
},
Expand Down
9 changes: 9 additions & 0 deletions ProjectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ set(PRINTERS_WITH_REMOTE_ACCELEROMETER "XL" "XL_DEV_KIT")

set(PRINTERS_WITH_COLDPULL "MK4")

set(PRINTERS_WITH_BED_LEVEL_CORRECTION "MK3.5" "MINI")

set(PRINTERS_WITH_SHEET_SUPPORT "MINI" "MK3.5")
# Set printer board
set(BOARDS_WITH_ADVANCED_POWER "XBUDDY" "XLBUDDY" "DWARF")
set(BOARDS_WITH_ILI9488 "XBUDDY" "XLBUDDY")
Expand Down Expand Up @@ -722,6 +725,12 @@ else()
define_boolean_option(HAS_COLDPULL NO)
endif()

if(${PRINTER} IN_LIST PRINTERS_WITH_SHEET_SUPPORT)
define_boolean_option(HAS_SHEET_SUPPORT YES)
else()
define_boolean_option(HAS_SHEET_SUPPORT NO)
endif()

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(DEBUG YES)
define_boolean_option(NETWORKING_BENCHMARK_ENABLED YES)
Expand Down
1 change: 0 additions & 1 deletion doc/logging_components.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ This file is generated automatically so don't edit it directly
- EEPROM: LOG_SEVERITY_INFO, src/persistent_stores/store_instances/config_store/store_c_api.cpp
- ESPIF: LOG_SEVERITY_INFO, lib/WUI/espif.cpp
- EspFlash: LOG_SEVERITY_DEBUG, lib/WUI/esp_flash.cpp
- FSM: LOG_SEVERITY_INFO, src/common/fsm_types.cpp
- FSensor: LOG_SEVERITY_INFO, src/common/filament_sensors_handler.cpp
- FileSystem: LOG_SEVERITY_INFO, src/buddy/filesystem.cpp
- GUI: LOG_SEVERITY_DEBUG, src/gui/logger.cpp
Expand Down
2 changes: 2 additions & 0 deletions doc/prusa_printer_settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ hostname=prusa
# Printer support two dns servers. If variables are not empty, they will be used
# even is DHCP pr AUTO type is set.
dns4=192.168.0.1;192.168.0.2
# ip or dns name for NTP server
ntp=prusa3d.pool.ntp.org

[eth::ipv4]
# Type could be DHCP, STATIC or OFF.
Expand Down
21 changes: 19 additions & 2 deletions include/buddy/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,30 @@ extern "C" {
#define CHECKSUM_BY_HARDWARE 0
#define LWIP_DHCP 1
#define MEM_ALIGNMENT 4
// TODO: Investigate why we suddenly need so many timeouts BFW-5183
#define MEMP_NUM_SYS_TIMEOUT 13
#define LWIP_ETHERNET 1
#define LWIP_DNS_SECURE 7
#define DNS_MAX_NAME_LENGTH 128

#if MDNS()
#define MDNS_MAX_STORED_PKTS 1
// Each interface takes up to 6 timeouts (in addition to the packets).
// One is the "main" one, the other 5 deal with some delayed answering (and
// probably can be lowered, a lot of these could come in sequence instead
// of starting them in parallel).
//
// We limit ourselves to only one active interface and don't do mdns on the
// other.
#define MDNS_EXTRA_TIMEOUTS 6 + MDNS_MAX_STORED_PKTS
#define LWIP_MDNS_RESPONDER 1
// For MDNS
#define LWIP_IGMP 1
#define LWIP_NUM_NETIF_CLIENT_DATA 1
#define LWIP_NETIF_EXT_STATUS_CALLBACK 1
#else
// No extra timeouts if no MDNS
#define MDNS_EXTRA_TIMEOUTS 0
#endif
#define MEMP_NUM_SYS_TIMEOUT 8 + MDNS_EXTRA_TIMEOUTS

#define TCP_MSS 1024
#define TCP_WND (8 * TCP_MSS)
Expand All @@ -40,6 +51,12 @@ extern "C" {
#define TCPIP_THREAD_STACKSIZE 1248
#define TCPIP_MBOX_SIZE PBUF_POOL_SIZE + PBUF_POOL_SMALL_SIZE

#define SNTP_SERVER_DNS 1
#define SNTP_GET_SERVERS_FROM_DHCP 1
#define SNTP_GET_SERVERS_FROM_DHCPV6 1
#define LWIP_DHCP_GET_NTP_SRV 1
#define SNTP_MAX_SERVERS 2

#define DEFAULT_UDP_RECVMBOX_SIZE TCPIP_MBOX_SIZE
#define DEFAULT_TCP_RECVMBOX_SIZE TCPIP_MBOX_SIZE
#define DEFAULT_ACCEPTMBOX_SIZE TCPIP_MBOX_SIZE
Expand Down
2 changes: 1 addition & 1 deletion include/buddy/lwippools.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LWIP_MEMPOOL(PBUF_POOL_SMALL, PBUF_POOL_SMALL_SIZE, (LWIP_MEM_ALIGN_SIZE(sizeof(

LWIP_MALLOC_MEMPOOL_START
#if MDNS()
LWIP_MALLOC_MEMPOOL(8, 128)
LWIP_MALLOC_MEMPOOL(7, 128)
#else
LWIP_MALLOC_MEMPOOL(6, 128)
#endif
Expand Down
8 changes: 2 additions & 6 deletions include/common/fsm_base_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@ class BaseData {
SetPhase(phase);
SetData(data);
}
constexpr bool operator==(const BaseData &other) const {
return GetPhase() == other.GetPhase() && GetData() == other.GetData();
}
constexpr bool operator!=(const BaseData &other) const {
return !((*this) == other);
}

constexpr auto operator<=>(const BaseData &) const = default;
};
static_assert(sizeof(BaseData) == BaseDataSZ, "Wrong size of BaseData");

Expand Down
2 changes: 1 addition & 1 deletion include/common/hotend_type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static constexpr EnumArray<HotendType, const char *, HotendType::_cnt> hotend_ty
/// Some hotend types are only supported by some printers, but the enum is the same for all -> hence this filtering array
static constexpr EnumArray<HotendType, bool, HotendType::_cnt> hotend_type_supported {
{ HotendType::stock, true },
{ HotendType::stock_with_sock, true },
{ HotendType::stock_with_sock, PRINTER_IS_PRUSA_MK4 || PRINTER_IS_PRUSA_MK3_5 || PRINTER_IS_PRUSA_iX },
{ HotendType::e3d_revo, PRINTER_IS_PRUSA_MK3_5 },
};

Expand Down
2 changes: 1 addition & 1 deletion include/guiconfig/GuiDefaults.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ struct GuiDefaults {
static constexpr padding_ui8_t MenuPaddingSpecial = padding_ui8_t({ 0, 6, 0, 0 });
#elif defined(USE_ILI9488)
static constexpr size_t MenuUseFixedUnitWidth = 0; // 0 == calculate in runtime
static constexpr Rect16::Width_t MenuScrollbarWidth = 4;
static constexpr Rect16::Width_t MenuScrollbarWidth = 8;
static constexpr uint8_t MenuItemCornerRadius = 5; //
static constexpr padding_ui8_t MenuItemDelimiterPadding = padding_ui8_t({ 41, 0, 37, 0 });
static constexpr padding_ui8_t MenuPaddingItems = padding_ui8_t({ 6, 10, 6, 10 });
Expand Down
24 changes: 24 additions & 0 deletions include/marlin/Configuration_MINI.h
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,12 @@
#define DEFAULT_MAX_FEEDRATE \
{ 180, 180, 12, 80 }

/// HW limits of feed rate
#define HWLIMIT_NORMAL_MAX_FEEDRATE \
{ 400, 400, 12, 80 }
#define HWLIMIT_STEALTH_MAX_FEEDRATE \
{ 180, 180, 12, 80 }

/**
* Default Max Acceleration (change/s) change = mm/s
* (Maximum start speed for accelerated moves)
Expand All @@ -696,6 +702,12 @@
#define DEFAULT_MAX_ACCELERATION \
{ 1250, 1250, 400, 4000 }

/// HW limits of max acceleration
#define HWLIMIT_NORMAL_MAX_ACCELERATION \
{ 4000, 4000, 400, 5000 }
#define HWLIMIT_STEALTH_MAX_ACCELERATION \
{ 2500, 2500, 400, 5000 }

/**
* Default Acceleration (change/s) change = mm/s
* Override with M204
Expand All @@ -708,6 +720,14 @@
#define DEFAULT_RETRACT_ACCELERATION 1250 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 1250 // X, Y, Z acceleration for travel (non printing) moves

/// HW limits of Acceleration
#define HWLIMIT_NORMAL_ACCELERATION 4000
#define HWLIMIT_STEALTH_ACCELERATION 2500
#define HWLIMIT_NORMAL_RETRACT_ACCELERATION 1250
#define HWLIMIT_STEALTH_RETRACT_ACCELERATION 1250
#define HWLIMIT_NORMAL_TRAVEL_ACCELERATION 4000
#define HWLIMIT_STEALTH_TRAVEL_ACCELERATION 2500

//
// Use Junction Deviation instead of traditional Jerk Limiting
//
Expand All @@ -734,6 +754,10 @@

#define DEFAULT_EJERK 10 // May be used by Linear Advance

/// HW limits of Jerk
#define HWLIMIT_NORMAL_JERK { 8, 8, 2, 10 }
#define HWLIMIT_STEALTH_JERK { 8, 8, 2, 10 }

/**
* S-Curve Acceleration
*
Expand Down
24 changes: 24 additions & 0 deletions include/marlin/Configuration_MK3.5.h
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,12 @@
#define DEFAULT_MAX_FEEDRATE \
{ 200, 200, 40, 45 }

/// HW limits of feed rate
#define HWLIMIT_NORMAL_MAX_FEEDRATE \
{ 300, 300, 12, 120 }
#define HWLIMIT_STEALTH_MAX_FEEDRATE \
{ 160, 160, 40, 100 }

/**
* Default Max Acceleration (change/s) change = mm/s
* (Maximum start speed for accelerated moves)
Expand All @@ -760,6 +766,12 @@
#define DEFAULT_MAX_ACCELERATION \
{ 1250, 1250, 400, 4000 }

/// HW limits of max acceleration
#define HWLIMIT_NORMAL_MAX_ACCELERATION \
{ 4000, 4000, 200, 2500 }
#define HWLIMIT_STEALTH_MAX_ACCELERATION \
{ 2500, 2500, 200, 2500 }

/**
* Default Acceleration (change/s) change = mm/s
* Override with M204
Expand All @@ -772,6 +784,14 @@
#define DEFAULT_RETRACT_ACCELERATION 1250 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 1250 // X, Y, Z acceleration for travel (non printing) moves

/// HW limits of Acceleration
#define HWLIMIT_NORMAL_ACCELERATION 4000
#define HWLIMIT_STEALTH_ACCELERATION 2500
#define HWLIMIT_NORMAL_RETRACT_ACCELERATION 1250
#define HWLIMIT_STEALTH_RETRACT_ACCELERATION 1200
#define HWLIMIT_NORMAL_TRAVEL_ACCELERATION 4000
#define HWLIMIT_STEALTH_TRAVEL_ACCELERATION 2500

//
// Use Junction Deviation instead of traditional Jerk Limiting
//
Expand All @@ -796,6 +816,10 @@

#define DEFAULT_EJERK 5 // May be used by Linear Advance

/// HW limits of Jerk
#define HWLIMIT_NORMAL_JERK { 8, 8, 2, 5 }
#define HWLIMIT_STEALTH_JERK { 8, 8, 2, 5 }

/**
* S-Curve Acceleration
*
Expand Down
Loading