Commit Graph

5038 Commits

Author SHA1 Message Date
3d-gussner
9f9203b280 Change atmega404 board flash argument to y
Use newer version of MK404-build.sh instead start the program
Added _RAM-<value> and _FLASH-<value> as OUTPUT_FILE_SUFFIX if someone builds an atmega404 firmware
Added some logic if IDE 1.8.13 is used
Added some logic if Arduino_boards 1.0.4 is used
Fixed typo
Restore original `Configuration.h` and `config.h` in case of cannceled script or failed compiling during next start of this script.
use function
Improve MK404 usage
2021-06-23 20:14:30 +02:00
3d-gussner
2b29e52d53 Defined OUTPUT_FILENAME in one location
Added _RAM-<value> and _FLASH-<value> as OUTPUT_FILE_SUFFIX if someone builds an atmega404 firmware
Added some logic if IDE 1.8.13 is used
Added some logic if Arduino_boards 1.0.4 is used
Fixed typo
2021-06-22 09:20:48 +02:00
3d-gussner
8d376ebee0 comment out debug echos 2021-06-21 09:22:35 +02:00
3d-gussner
7a67d578fd Pf-build.sh
Change atmega404 board flash argument to y
Use newer version of MK404-build.sh instead start the program

MK404-build.sh
Change board_flash argument to 'y' and firmware_version to 'f
2021-06-21 09:16:19 +02:00
3d-gussner
3c649a89d3 Merge remote-tracking branch 'upstream/MK3' into PFW-1271_PF-buildv20 2021-06-21 08:01:24 +02:00
Alex Voinea
30d9faef9d
Minor fixes to SD presence handling (#3139)
* Remove forgotten function protorypes

* Fix code indentation

* Fix double sorting if SD card is inserted during setup()

* Correctly handle SD removal during sorting
2021-06-21 07:30:47 +02:00
Voinea Dragos
0cbc759d8b Second attempt at retrieving the SN from the 32u2 IC 2021-06-21 07:24:41 +02:00
Alex Voinea
6d25345fc4 optiboot_xflash comment about w25x20cl messages
Mention supported ICs
2021-06-21 07:21:40 +02:00
Yuri D'Elia
a92c0278fe Use LCD_WIDTH instead of hardcoding 20 2021-06-21 07:21:10 +02:00
metacollin
8a7dd08116 Fixed C++ bug 2021-06-21 07:05:17 +02:00
Yuri D'Elia
09e935d27b Fix two new explicit case fallthru warnings 2021-06-21 06:52:52 +02:00
Yuri D'Elia
d727a949dd Silence explicit case-fallthru 2021-06-21 06:52:52 +02:00
Yuri D'Elia
c096462aab Clarify statement by adding extra braces 2021-06-21 06:52:52 +02:00
Yuri D'Elia
051f03119b Fix misleading indentation warnings by expanding tabs 2021-06-21 06:52:52 +02:00
Yuri D'Elia
f2fe57bfc0 Fix unused static declaration warnings
Guard declarations using the appropriate defines
2021-06-21 06:52:52 +02:00
Jonas Meyer
7bd43b77d7 Remove unnecessary assignment 2021-06-21 06:47:59 +02:00
Yuri D'Elia
eafdf6c216 Also move host_keepalive to manage_inactivity()
This avoids the "busy" output interleaving with regular output in very
rare scenarios.

We should focus in finding which calls are not using manage_inactivity()
properly instead of working it around.
2021-06-21 06:46:24 +02:00
Yuri D'Elia
29322d4bf3 Move host_autoreport() to manage_inactivity()
This makes autoreport work more consistently.
2021-06-21 06:46:24 +02:00
Yuri D'Elia
5c8a231ed6 Move autoreporting out of the temperature ISR
Code running in the temperature ISR needs to be fully reentrant, which
is hard to track down.

Move autoreporting to the main processing loop. This can make the
autoreporting slower or pause at times, but removes the reentrant
restriction, which allows us to use printf_P.
2021-06-21 06:46:24 +02:00
Yuri D'Elia
97f66a6a13 Remove ignored/incorrect PROGMEM
This PROGMEM is currently ignored by gcc, but even if it wasn't it
wouldn't be correct since the following code is expecting to read "item"
without fetching the array itself from PROGMEM.
2021-06-21 06:44:19 +02:00
DRracer
5bb8bb2ccb
Merge pull request #3134 from wavexx/fix_partial_redraw2
Redraw "Preheating to load" in full when modified by other actions
2021-06-21 06:42:13 +02:00
3d-gussner
dde5cea48b Default extrusion graphics to line. Thanks @vintagepc point it out
Added -g 3 and 4 for more details extrusion lines
Check for updates is default. Fix update if internet connection is lost.
2021-06-18 20:40:17 +02:00
3d-gussner
bc98be3d29 Documentation and version number
Added some arguments and checks
2021-06-18 13:47:33 +02:00
3d-gussner
b12c0e2326 Use atmega404 if extanded RAM or FLASH size are chosen
Remove MK404 copy of lang file as it has been fixed in MK404
2021-06-18 13:46:25 +02:00
3d-gussner
ae41d6ca40 Change version to v2.0.0 2021-06-17 21:02:46 +02:00
3d-gussner
4614400298 Save ELF files for FW3.10.1 debugging PRs
Add verbose_IDE to output more information during build
2021-06-17 20:59:35 +02:00
3d-gussner
56889bae13 Update PF-build.sh to work after @DRracer Remove FW version parsing PR 2021-06-17 19:08:55 +02:00
3d-gussner
589b781d04 Merge branch 'MK3_MK404' into PFW-1271_PF-buildv20 2021-06-17 18:47:17 +02:00
DRracer
a8a253c0ae
Merge pull request #3163 from DRracer/farm-m1
Farm workaround M1 message
2021-05-27 09:07:49 +02:00
D.R.racer
6bb7c0e3d3 Farm workaround M1 message
Farmers want to abuse a bug from the previous firmware releases
- they need to see the filename on the status screen instead of "Wait for user..."
So we won't update the message in farm mode...
2021-05-25 09:45:42 +02:00
DRracer
f5ca79926e
Merge pull request #3141 from prusa3d/MK3_3.10.0
MK3_3.10.0 -> MK3
2021-05-07 13:56:46 +02:00
D.R.racer
04de9c0c8a Version changed (3.10.0 build 4481) 2021-05-06 13:46:05 +02:00
3d-gussner
e765c300b0 Update MK404 part to '--bootloader-file ""'
Some cosmetics
2021-05-05 20:05:35 +02:00
Yuri D'Elia
1a92f2e19f Merge remote-tracking branch 'upstream/MK3_3.10.0' into fix_partial_redraw2 2021-05-04 10:49:24 +02:00
3d-gussner
31b38393e9 Merge branch 'MK3_more_flash_more_ram' into MK3_MK404
Add atmega404
2021-05-03 20:01:48 +02:00
3d-gussner
a5ba31b247 Indentations 2021-05-03 14:14:47 +02:00
3d-gussner
16359780f9 Add MK404 'atmega404' and 'atmega404_no_bootloder' option 2021-05-03 14:11:03 +02:00
3d-gussner
41d7eaa94b Update documentation 2021-05-03 08:24:02 +02:00
3d-gussner
d8dd8e49e5 Comment out "manual" xflash update as MK404 can do it now
directly from the hex file.
2021-05-03 07:00:15 +02:00
3d-gussner
2195116beb Add EN_ONLY support for MK404 2021-05-01 01:30:03 +02:00
3d-gussner
6ba8999607 Indentations 2021-04-29 19:23:52 +02:00
3d-gussner
90bc572154 Merge remote-tracking branch 'upstream/MK3_3.10.0' into MK3_MK404 2021-04-29 19:15:45 +02:00
3d-gussner
2ad0514d7c Save changes 2021-04-29 19:15:32 +02:00
DRracer
eaa6801849
Merge pull request #3136 from leptun/PFW-1225_fix_open_file_from_sd_wrong_file
Fix menu_action_sdfile() check_file(filename) call
2021-04-29 16:34:01 +02:00
DRracer
80e248662c
Merge pull request #3079 from 3d-gussner/PFW-1189
PFW-1189 Pre-release tasks
2021-04-29 16:33:18 +02:00
3d-gussner
fa134ee9f1 Update all po files 2021-04-29 15:41:47 +02:00
DRracer
89386036e6
Merge pull request #3137 from leptun/PFW-1239_fix_M23_subroutine_issue
Do not allow M23 to run subroutines
2021-04-29 15:06:33 +02:00
D.R.racer
8e35ab0699 Looks like the last CZ message 2021-04-29 14:40:35 +02:00
D.R.racer
6563a691ce ES missing translations 2021-04-29 13:57:56 +02:00
Yuri D'Elia
a5e40079e5 lang-check: optionally check for missing translations 2021-04-29 12:52:17 +02:00