Commit Graph

67 Commits

Author SHA1 Message Date
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
a795fda7b5 Trying to push travis build 2022-01-21 07:40:04 +01:00
3d-gussner
da910fe861 Switch to arduino_boards v1.0.4 2021-08-02 08:34:35 +02:00
3d-gussner
e779803261 Add/fix few functions
Check MK404 for latest stable release instead of dev branch
2021-07-29 10:57:05 +02:00
3d-gussner
ffb7412637 Fix fresh build 2021-07-17 19:06:58 +02:00
3d-gussner
9fd9ce34a9 MK404 is only supported on Linux at this moment. 2021-06-24 07:29:54 +02:00
3d-gussner
17d7fdf333 Fix MK404 user interaction not to show if compiling 'All' variants 2021-06-24 05:50:20 +02:00
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
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
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
e765c300b0 Update MK404 part to '--bootloader-file ""'
Some cosmetics
2021-05-05 20:05:35 +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
2ad0514d7c Save changes 2021-04-29 19:15:32 +02:00
3d-gussner
1a5898c673 Improve MK404-build.sh check, update 2021-04-23 20:09:20 +02:00
3d-gussner
f8bec339e2 Hack to get more flash and ram for MK404 debug 2021-04-18 20:28:08 +02:00
3d-gussner
0f771b1218 Merge remote-tracking branch 'upstream/MK3' into MK3_MK404
Fix merge
2021-03-17 18:33:54 +01:00
3d-gussner
6ebdb004ab Add lang-community.sh script
Fix `Dutch` hex file copied in `PF-build.sh` for MK2.5/S
2021-03-01 08:25:33 +01:00
3d-gussner
1550e707be Fix few issues
Create MMU2 SDcards
MMU2 only for MK3/S
2021-02-15 11:41:41 +01:00
3d-gussner
bf33198866 Add copy of MK3 and MK3S lang.bin files to MK404 *_xflash.bin
Minor changes:
- Indentations
- Documentation
2021-02-15 11:41:41 +01:00
3d-gussner
de337476cd Add MK404 support
Indentations
2021-02-15 11:41:41 +01:00
3d-gussner
fba83bd309 Add new flags -c -p -n 2021-01-28 09:48:05 +01:00
3d-gussner
67ff9b6b48 Fix typos 2021-01-08 11:01:17 +01:00
3d-gussner
007e59d23c Comment out 'sudo' auto installation
Add '-?' '-h' help output
2021-01-08 11:37:47 +01:00
3d-gussner
7651fbb0d1 Fix output "Configuration_prusa.h" delay if compiling failed. 2020-11-02 17:11:24 +01:00
3d-gussner
a5ba666af0 Changed from arguments to flags/options
Check for "gawk" on Linux
Add argument to change build number automatically to current commit or define own number
Update exit numbers 1-13 for prepare build env 21-29 for prepare compiling 30-36 compiling
2020-11-02 14:54:16 +01:00
3d-gussner
e3b3e66665 Clean PF-Firmware build when changing git branch 2020-10-05 15:25:54 +02:00
3d-gussner
93fd3c95a9 Disable pause and warnings using command line with all needed arguments
Install needed apps under linux if needed.
2020-10-05 13:18:18 +02:00
3d-gussner
ffc7a5344a Typo fix 2020-10-02 18:56:50 +02:00
3d-gussner
2dbce5c0cb Add UNKNOWN as agrument option 2020-10-02 18:54:18 +02:00
3d-gussner
a6a4a0b71d Bug fix if using argument EN_ONLY.
Thank to @leptun for pointing out.
2020-10-01 16:49:38 +02:00
3d-gussner
41da8862b4
MK3 3.9.0 Italian fix (#2663)
* Fix rm ... output issue
Remove files only if they exist

* Fix Italian missing translations
There have been only 362 instead of 365
Sorry for that, normally I double check this.

* Added `not_tran` and `not_used` files
This makes it easier to find missing or obsolate translations

* Revert "Added `not_tran` and `not_used` files"

This reverts commit a1b53dde663dc20a105fd3fa817e612ef999cb97.

These should be ignored

* Ignore ALL `not_tran`and `not_used` files
2020-05-13 20:51:13 +02:00
3d-gussner
deff8dcfde
MK3 3 9 0 missing translations (#2646)
* Add and update missing translations
- updated in Firmware/ files the missing `c=xx` column and `r=yy` rows.
- added missing translations to lang/lang_en*.txt

Everyone is developing and adding messages to serial and especially to LCD  PLEASE add `//// c=xx` or `//// c=xx r=yy` comments.
Preparing translations files without that information is a pain in the ... and takes way more time for somebody else
to review to code as it would take you.

* No need to have `MSG_abcde` again in comments `////` in `messages.c`

* German translation

* Missed a space

* Use the same format as somewhere else

* French translation.
I am not a native French speaking person, so please excuse my mistakes I may have done.

* Spanish translation.
I am not a native Spanish speaking person, so please excuse my mistakes I may have done.

* CZ translation

* Fix typos

* Another fix
It is
Dimmwert and not Dim Wert

* Fix issues reported by `lang-check.py`

* Add "difficult" messages containing `%`

* Updated MSG and German translation

* removed a translation as it breaks the language selection

* No need to wait until any-key is pressed

* No need to wait any-key is pressed

* Fixed two LF issues

* Updated PO files
ready to be send to translators

* Add missing italian translations

* Improve some existing italian translations

* More italian fixes

* More italian fixes

* Add exceptions in editorconfig for po files to avoid recoding

* Fix typo
Thanks @DRracer for pointing out

* Italian translation by @wavexx

* Update po/new/*.po files

* Update after merging MK3 branch

* Update French translation and some c=xx comments

Big thanks to @awenelo @carlin57 for helping with the french translations and their comments.

* Update po files after French translation

* Fixed most `lang-check.py` reported translation errors for Czech and German.
Two Czech have to be reviewed as these are too long.
One German is correct as it is shown in c=20 r=2 but is 1 char longer than this to split the message.
One German translation seams to be to long but have to review the actual max length

* Fix `lang-check.py` Spanish translation errors
There have been quite lot TOO long messages,

Can't imagine that nobody every complained about that.

* Fix `lang-check.py` Italian translations errors

* Update not_tran and not_used files after fixing several translations

* Some more error fixes and update of `po` files

* Polish translation

* Czech updated

* Fix typo

* no need to translate `\x00` if it is the same

* Polish: Runouts->Koniec

* Polish: Runouts->Konce f ... hopefully the last change

* Added MK2.5/s auto power mode to eeprom doxygen

* Final updates.

- Compiled all versions with multi-languages
- Compiled all versions with EN_ONLY
- updated all /lang/po/Firmware*.* files

* Add crlf attributes for po files

As done for editorconfig, this similarly forces git to handle
po files consistently in DOS format.

* Further improvent of IT translations

* Updated translation
Added cleanup to PF-build.sh

* remove lang/not_tran* and lang/not_used mistakenly added into the PR

Co-authored-by: DRracer <drracer@seznam.cz>
Co-authored-by: Yuri D'Elia <wavexx@thregr.org>
Co-authored-by: D.R.racer <drracer@drracer.eu>
2020-05-12 22:23:40 +02:00
3d-gussner
943ea988f9 Adding copy of not_tran.txt and not_used.txt
to make it easier to find not translated and unused messages.
This will hopfully improve the translation process.
2020-05-06 10:54:16 +02:00
3d-gussner
ad4e9482a0 Accecpt all RCx as RC versions
Thanks to @deliopoulos
2020-05-03 14:19:38 +02:00
3d-gussner
8289fcf243
Added RC3 detection in PF-build.sh
As we we got a RC3 version I have updated also `PF-build.sh` to detect it correctly.
2020-04-28 13:39:06 +02:00
3d-gussner
46c06f7eee Updated it to use Arduino_Boards v1.0.3
and linked everything to prusa3d repositories
2019-12-17 14:05:39 +01:00
3d-gussner
28b66bc909
Update to prepare for new prusa3d/PF-build-env
Fixed a bug in Arduino user preferences
2019-12-15 17:27:15 +01:00
unknown
3ce631052d Set PF-build.sh to use v1.0.2 Arduino_Boards 2019-11-29 22:35:07 +01:00
3d-gussner
2af43667c8 Changed folder and check file names...
to have seperated build enviroments depening on Arduino IDE versions and board-versions.

Successfully tested with:
- Arduino IDE 1.8.5 and board version 1.0.1
- Arduino IDE 1.8.5 and board version 1.0.2
  - These two above generate identical hex files

- Arduino IDE 1.8.7 and board version 1.0.2
- Arduino IDE 1.8.8 and board version 1.0.2
- Arduino IDE 1.8.9 and board version 1.0.2
  - These three above generate identical hex files
  - Compared to the 1.8.5 hex files the code uses less resources (Multi language/EN_ONLY):
    ```
    Sketch uses 240082 bytes (94%) of program storage space. Maximum is 253952 bytes.
    Global variables use 6002 bytes of dynamic memory.

    Sketch uses 222344 bytes (87%) of program storage space. Maximum is 253952 bytes.
    Global variables use 6019 bytes of dynamic memory.
    ```
    vs.
    ```
    Sketch uses 241526 bytes (95%) of program storage space. Maximum is 253952 bytes.
    Global variables use 6046 bytes of dynamic memory.

    Sketch uses 223828 bytes (88%) of program storage space. Maximum is 253952 bytes.
    Global variables use 6065 bytes of dynamic memory.
    ```

Failed tests:
- Arduino IDE 1.8.6 and board version 1.0.2
- Arduino IDE 1.8.10 and board version 1.0.2
2019-10-17 14:05:51 +02:00