Commit Graph

5890 Commits

Author SHA1 Message Date
Alex Voinea
56cb8cbc63
Merge pull request #3432 from leptun/MK3_3.12_Optimizations_PR3
memory and flash optimizations for 3.12 PR3
2022-02-28 13:16:41 +02:00
Guðni Már Gilbert
4a02ff3de8 Change SERIAL_PROTOCOL to SERIAL_PROTOCOLPGM in a few lines
Saves 12 bytes of SRAM but increases flash use by 12 bytes.
2022-02-28 11:37:13 +01:00
Alex Voinea
97c371e5e8 Make the "ln" functions no-inline.
Save 348B of flash
2022-02-27 20:58:56 +01:00
Guðni Már Gilbert
af36f654d1 Optimise a few uses of SERIAL_PROTOCOLLN
Saves 34 bytes of flash memory and reduces code by 8 lines.
2022-02-27 20:58:50 +01:00
Alex Voinea
bb56c35b87 Optimise PINDA cal status Serial print
"PINDA cal status:" is always printed no matter what cal_status is so we can pull that out of the conditional statment.

cal_status is also a boolean, lets just print it directly. Its a simpler code.

Saves 32 bytes of flash and 22 bytes of SRAM

Change serial messages to PGM
2022-02-27 20:58:46 +01:00
Guðni Már Gilbert
efde923e57 Purge ftostr3
Saves 54 bytes of Flash and 2 bytes of SRAM
2022-02-27 20:58:39 +01:00
Alex Voinea
8e85242c8f Temperature selection is int16_t. Use sprintf for PID start command.
Saves 90B of flash and 2B of ram
2022-02-27 20:57:24 +01:00
Guðni Már Gilbert
6d98e99356 Use sprintf_P for M301 instead of ftostr32
Also fixed indentation of if statement

Saves 248 bytes of flash
2022-02-27 20:57:24 +01:00
Guðni Már Gilbert
0e6ff38b61 Optimise strcpy calls to use strcpy_P
Saves 24 bytes of SRAM
2022-02-27 20:57:24 +01:00
Guðni Már Gilbert
3ab57086b1 Remove one call to dtostrf
I could not see any difference in the functionality when testing this locally

Changes save 818 bytes of flash memory
(I suspect this is due to dtostrf no longer being called in the firmware for MK3S?)
2022-02-27 20:57:24 +01:00
Alex Voinea
6e15df6a4e
Merge pull request #3430 from leptun/MK3_MK2_obsolete
Make the MK2 variants obsolete in the MK3 branch
2022-02-25 13:04:39 +02:00
Alex Voinea
0c716d21fe
Merge pull request #3377 from leptun/MK3_fix_lang_reserved_area
Fix lang reserved area alignment
2022-02-25 12:36:33 +02:00
Alex Voinea
a617025d85 Move MK2 variants to obsolete 2022-02-25 11:14:55 +01:00
Alex Voinea
aba0088b4b Remove MK2 builds from travis build 2022-02-25 11:14:25 +01:00
Alex Voinea
ce7cccab80
Merge pull request #3417 from leptun/MK3_temperature_busy_messages
Print busy messages while waiting for heaters
2022-02-25 12:03:23 +02:00
Alex Voinea
e0877db707
Merge pull request #3428 from leptun/MK3_remove_forgotten_SNMM_code
Remove forgotten SNMM code in M600
2022-02-24 17:04:34 +02:00
3d-gussner
3ee62d01ad
Merge pull request #3422 from 3d-gussner/MK3_build_IDE1819_AB105
PFW-1298: Use PF-build-env 1.0.7
2022-02-24 15:57:41 +01:00
pkg2000
97b6356476 Update no.po
Fixed strings that did not fit.
2022-02-24 14:23:03 +01:00
Alex Voinea
50f4981a06 Remove forgotten SNMM code in M600 2022-02-24 14:02:49 +01:00
3d-gussner
3f3915304e Limit atmegaMK404 boards mem to 8,16,32 2022-02-24 11:42:23 +01:00
3d-gussner
98fa74a0d7 Change to Arduino IDE 1.8.19 and Arduino boards 1.0.5
Fix DEV_STATUS to set correctly on RC/BETA/ALPHA/DEVEL
Fix atmegaMK404 Board mem and flash modifications
2022-02-24 10:44:37 +01:00
3d-gussner
0c6d41eda7 Switch to prusa3d url 2022-02-24 09:09:15 +01:00
pkg2000
bb2a64387c Update no.po
Removed fuzzy ("needs work" in POedit) and (probably most) identical strings.
2022-02-23 16:48:57 +01:00
pkg2000
11ff93b78e Update no.po
Almost all filled out. Some missing strings/words, no proofreading or checking done yet.
2022-02-23 15:51:43 +01:00
3d-gussner
f33e5f1770 Fix Norwegian after rebase 2022-02-23 14:52:55 +01:00
3d-gussner
41902315bd Merge branch 'MK3_3.11.0_Improve_languages2' of https://github.com/3d-gussner/Prusa-Firmware into MK3_3.11.0_Improve_languages2 2022-02-23 14:41:59 +01:00
3d-gussner
9dd7540566 Temp. cal. -> PINDA cal.
01234567890123456789
 Temp. cal.   [Off] old
 PINDA cal.   [Off] new

Temp. cal.  1/6     old
PINDA cal.    1/6   new

MSG_TEMP_CALIBRATION -> MSG_PINDA_CALIBRATION
MSG_TEMP_CALIBRATION_DONE -> MSG_PINDA_CALIBRATION_DONE

Updated text
- MSG_PINDA_CALIBRATION_DONE
- MSG_PINDA_CAL_FAILED

Update status line during PINDA cal.

Changed PINDA cal. from submenu to function
- Deleted `lcd_pinda_calibration_menu()`
- Deleted `#MSG_CALIBRATE_PINDA c=17`

Tried to update translations

Updated po files
2022-02-23 14:41:43 +01:00
3d-gussner
22e51e1de7 Change Choose extruder to Select extruder for consistant wording 2022-02-23 14:41:43 +01:00
3d-gussner
484827f43f Remove duplicate Extruder fan:
Create MSG in messages to reuse it
Remove `Nozzle FAN`
Change Support -> Extruder info -> fan speeds
2022-02-23 14:41:42 +01:00
3d-gussner
dfa936aa09 Remove Choose filament as it is a duplicate of Select filament 2022-02-23 14:41:42 +01:00
3d-gussner
571e6fabfa FW Crash messages will not be translated 2022-02-23 14:41:42 +01:00
3d-gussner
93d2a8ef70 Temp. cal. -> PINDA cal.
01234567890123456789
 Temp. cal.   [Off] old
 PINDA cal.   [Off] new

Temp. cal.  1/6     old
PINDA cal.    1/6   new

MSG_TEMP_CALIBRATION -> MSG_PINDA_CALIBRATION
MSG_TEMP_CALIBRATION_DONE -> MSG_PINDA_CALIBRATION_DONE

Updated text
- MSG_PINDA_CALIBRATION_DONE
- MSG_PINDA_CAL_FAILED

Update status line during PINDA cal.

Changed PINDA cal. from submenu to function
- Deleted `lcd_pinda_calibration_menu()`
- Deleted `#MSG_CALIBRATE_PINDA c=17`

Tried to update translations

Updated po files
2022-02-23 14:38:57 +01:00
pkg2000
dee2061d73 Added 1 line
ftw longer text required?
2022-02-23 12:00:39 +01:00
pkg2000
3da07d34f3 Norwegian
Part 1
2022-02-23 11:46:07 +01:00
3d-gussner
9d2f3acd13
Merge pull request #3425 from 3d-gussner/MK3_3.11.0_Norwegian
PFW-1296: Add Norwegian basis
2022-02-23 09:32:12 +01:00
3d-gussner
f5d4ba972b Change Choose extruder to Select extruder for consistant wording 2022-02-23 07:52:53 +01:00
3d-gussner
3ddbea14bb Remove duplicate Extruder fan:
Create MSG in messages to reuse it
Remove `Nozzle FAN`
Change Support -> Extruder info -> fan speeds
2022-02-23 06:52:25 +01:00
3d-gussner
a51f799e73 Replace åÅ with aA 2022-02-23 06:38:45 +01:00
3d-gussner
e0b18b279d Remove Choose filament as it is a duplicate of Select filament 2022-02-22 14:06:19 +01:00
3d-gussner
4934e6caf1 FW Crash messages will not be translated 2022-02-22 12:36:33 +01:00
3d-gussner
a33340c176 Typo 2022-02-22 12:18:54 +01:00
3d-gussner
715f466fda Add Norwegian 2022-02-22 11:56:01 +01:00
3d-gussner
436b6f206a Activate Swedish community translation 2022-02-22 06:59:23 +01:00
3d-gussner
087b545e0f Add Swedish to use äöüß 2022-02-22 06:58:37 +01:00
3d-gussner
913cc502b9 Fix merge issues
Fix `\x0a`
Update po files
2022-02-22 06:57:03 +01:00
3d-gussner
153f412012
Merge pull request #82 from pkg2000/Swedish
Swedish
2022-02-21 17:21:24 +01:00
3d-gussner
90734c9eff
Merge branch 'MK3_3.11.0_Swedish' into Swedish 2022-02-21 17:20:37 +01:00
3d-gussner
ea6ec78553 Use PF-build-env 1.0.7
- Based on Arduino IDE 1.8.19
- with Arduino_boards 1.0.5
2022-02-21 12:06:02 +01:00
3d-gussner
09e052ebca
Merge pull request #3420 from gudnimg/fix-finda-timer
Fix FINDA timer
2022-02-21 09:57:12 +01:00
Guðni Már Gilbert
227b6b4b03 Fix FINDA timer
We want to set the FINDA state IF the timer has not expired.
It is helpful to see why by looking at the commit which broke
this 802b8860c8

Without this fix my FINDA sensor just shows N/A. But after this commit is works perfectly.
2022-02-20 12:28:40 +00:00