Commit Graph

907 Commits (e5f7074d2115b78b0b682aca2601fcd72c40483d)

Author SHA1 Message Date
VintagePC 1d1d2f23ec fix message-id 2023-09-17 18:48:11 -04:00
VintagePC fe354a1f51 - allow report upload on error
- fix coverage paths
2023-09-17 18:30:50 -04:00
VintagePC 4e9ad80384 add lcov to packages 2023-09-17 18:18:45 -04:00
VintagePC fbb00f38d3 - Add tests to cmake run
- Share .dependencies cache with pr-size
2023-09-17 18:15:07 -04:00
vintagepc 1f66a8b908
Add Actions firmware build 2023-09-16 20:55:01 -04:00
3d-gussner e2f396e2a2
Merge pull request #299 from 3d-gussner/MMU_Add_actions_size_and_stale
Add pr-size and stale actions.
2023-09-14 13:22:35 +02:00
3d-gussner 2e02eccd91
Merge pull request #300 from prusa3d/vintagepc/more-issue-links
Add links to printer FW repos for reporting actual bugs or issues.
2023-09-14 13:22:19 +02:00
vintagepc f6a943812f
Update config.yml 2023-09-14 07:16:24 -04:00
3d-gussner d68efb994e Add pr-size and stale actions. 2023-09-14 12:39:36 +02:00
3d-gussner 90c1601159
Merge pull request #298 from 3d-gussner/MMU_ISSUE_TEMPLATE_to_Discussions
Redirect Question template over to GH discussions
2023-09-14 12:19:20 +02:00
3d-gussner 063130726a Redirect Question template over to GH discussions 2023-09-14 11:51:05 +02:00
3d-gussner 3f4658dd56 Remove private and use Unit 2023-09-14 11:21:04 +02:00
D.R.racer 3924cb3d4f Update trademarks wording 2023-09-14 08:55:33 +02:00
3d-gussner ad03df4271
Merge pull request #294 from 3d-gussner/License
Add License
2023-09-08 19:02:28 +02:00
3d-gussner 1ebc4995d0
Merge pull request #295 from 3d-gussner/Update_README
First update of README
2023-09-08 14:23:55 +02:00
3d-gussner 36ae4fc250 Add some more text 2023-09-07 13:44:36 +02:00
3d-gussner 8d9e9ea8b6 First update of README 2023-08-31 07:59:07 +02:00
3d-gussner ee2ffba0c3 Add License 2023-08-30 09:31:37 +02:00
3d-gussner 3189e7845d
Merge pull request #293 from 3d-gussner/MMU3
Update to MMU3
2023-08-22 18:35:20 +02:00
3d-gussner c90db080e5 Update to MMU3 2023-08-22 16:11:10 +02:00
Guðni Már Gilbert b9677f922a Optimisation: make constructors constexpr
Cppcheck was complaining some member variables
are not initialised in the constructor.

Change in memory:
Flash: -186 bytes
SRAM: -15 bytes
2023-08-21 06:30:25 +02:00
Guðni Már Gilbert 8e7f3d8b96 optimisation: sg_filter_threshold not initialised in constructor
Caught with Cppcheck

Change in memory:
Flash: -26 bytes
SRAM: 0 bytes
2023-08-21 06:30:25 +02:00
Yuri D'Elia 6a0f49859e cmake: Set source epoch from the HEAD commit
Allow to set the source epoch of the build with
PROJECT_VERSION_TIMESTAMP.

When unset fetch the commit timestamp of the current HEAD automatically
instead of leaving the source as 0.

We have no use for this on the MMU, but it doesn't hurt to follow what
we do on the MK3.
2023-08-17 14:19:59 +02:00
Alex Voinea 034d007b33
Merge pull request #290 from DRracer/usb-product-string-3
Change USB strings
2023-08-11 11:25:05 +03:00
D.R.racer ad2e944531 Change USB strings
as per request from the PrusaSlicer team + Content team
- product string
- manufacturer string
2023-08-11 10:14:59 +02:00
D.R.racer fbda9faa2a Set maximum bowden length to 1m 2023-08-10 16:08:07 +02:00
D.R.racer 11d205484b Update bowden length register documentation 2023-08-10 16:08:07 +02:00
D.R.racer 0419bdefd7 Perform up to maximumBowdenLength while unloading to FINDA
+ update unit tests to match the changed implementation
2023-08-10 16:08:07 +02:00
D.R.racer 19aa7ce2c7 Fixup sizeof register array after rebase 2023-08-10 16:08:07 +02:00
D.R.racer 41f5d29083 Set correct default bowden length 2023-08-10 16:08:07 +02:00
D.R.racer 570153b5d4 Increase version to 3.0.1 2023-08-10 16:08:07 +02:00
D.R.racer 3a105cab4a Introduce bowden length RW register (no runtime autotune)
contains updated unit tests
2023-08-10 16:08:07 +02:00
D.R.racer 77a8788821 Refactor registers a bit to make unit tests work again 2023-08-10 08:11:52 +02:00
D.R.racer 93a344bde8 Push the compiler into the optimization
It looks like copying the RegisterRec into a local variable (as it has been here before)
seems to confuse the compiler which then refuses to optimize the calls.
With this simple tweak the code is actually 8B shorter than before (while retaining the saved ~170B of RAM)
2023-08-10 08:11:52 +02:00
Guðni Már Gilbert 96985c1502 Fix unit test build
GCC 12 doesn't know AVR pgm_read_ptr()
2023-08-10 08:11:52 +02:00
Guðni Már Gilbert 1661132819 Move MMU registers into PROGMEM
Change in memory:
Flash: +34 bytes
SRAM: -170 bytes
2023-08-10 08:11:52 +02:00
D.R.racer f164a8afa0 Enforce specific ErrorCodes bitmask values 2023-07-28 17:11:43 +02:00
Guðni Már Gilbert 169925fc9f fixup
No change in memory
2023-07-28 17:11:43 +02:00
Guðni Már Gilbert 5293547094 optimisation: Add << operator to ErrorCode
Change in memory:
Flash: -54 bytes
SRAM: 0 bytes
2023-07-28 17:11:43 +02:00
Yuri D'Elia 35a89d2452 CircularIndex: add tests for non-power-of-two sizes 2023-07-28 15:48:14 +02:00
Yuri D'Elia aaee8cab30 CircularIndex: optimize further for non-power-of-two sizes
- Improve count() for non-power-of-two sizes by handling wrap-around
- Improve full() to use always use count(), which is cheaper in both
  scenarios now
2023-07-28 15:48:14 +02:00
Yuri D'Elia 1979d02027 CircularIndex: Fix non-power-of-two sizes
Add back the option to use CircularIndex even for non-power-of-two sizes
for the future.
2023-07-28 15:48:14 +02:00
Yuri D'Elia 040cb8a2a6 catch2: Fix build with gcc13
Cherrypick of catch2 commit 52066dbc2a53f4c3ab2a418d03f93200a8245451 to
fix the build with gcc 13 without a full update.
2023-07-24 12:38:44 +02:00
D.R.racer 4fa352b4fa Change minimum unit tests to reflect new version nr 2023-07-20 10:28:58 +02:00
D.R.racer 77691e93fb Tag 2.1.9 as 3.0.0
Getting ready for the release
2023-07-20 10:28:58 +02:00
D.R.racer 554caa24fa Update build server config 2023-07-13 16:24:06 +02:00
Guðni Már Gilbert 1633d9af9b Optimise CircularIndex count
No change in memory
2023-06-12 07:42:25 +02:00
Guðni Már Gilbert edec4708b5 MMU-239 Add unit test for FINDA flickering when ejecting filament
The test case test the error recovery on all MMU slots.
2023-06-12 07:39:25 +02:00
Guðni Már Gilbert 4d3067213f MMU-239 Add unit test for ejecting slots 0-4
This test ejects slots 0 to 4 and goes through the state machine
without creating any errors like FINDA_FLICKERS.

It also verifies the selector parking position is correct for each
ejected filament slot.
2023-06-12 07:39:25 +02:00
Guðni Már Gilbert 48ea52bd47 Minor header cleanup 2023-06-12 07:39:25 +02:00