Commit Graph

19 Commits

Author SHA1 Message Date
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
3d-gussner
28edd5a80b Prepare PF-build.sh for Prusa Arduino_Boards V1.0.2
As I am planning to add new Prusa Arduino_Boards definition version 1.0.2 which contains few changes which interfere withthe existing PF-build.sh using Arduino_Boards v1.0.1,
i had to add an additional variable.

I have tested PF-build.sh with Arduino_Boards v1.0.1 and v1.0.2

It creates identical firmware hex files, if I manage it to run in the same minute.
If one of the runs is off by a minute compared to the other there is just one line in the hex code different,
which is showing the compiling date, time and firmware version.
2019-09-23 19:22:45 +02:00
3d-gussner
5799b0b8ee
Added comment 2019-07-26 10:35:11 +02:00
3d-gussner
302355b0f3
Download JSON file from Prusa3d repository
As the PR https://github.com/prusa3d/Arduino_Boards/pull/1 is merged it makes sense to switch also in PF-build.sh to prusa3d Arduino_Boards repository.
2019-07-26 10:32:14 +02:00
Marek Kühn
df00bc9bb5 Linux 32-bit recognition fixed 2019-07-24 13:14:59 +02:00
3d-gussner
396621c12d Changed Folders and Finding OS version
- Changed Build-env path to "PF-build-dl" as requested in PR https://github.com/prusa3d/Prusa-Firmware/pull/2028
- Changed Hex-files folder to PF-build-hex as requested in PR
- Added Finding OS version routine so supporting new OS should get easier
2019-07-24 00:10:32 +02:00
3d-gussner
1e0a1a45de Typo 2019-07-22 18:02:45 +02:00
3d-gussner
6bf019293e Changed BOARD_URL to DRracers respository...
after he pulled my PR https://github.com/DRracer/Arduino_Boards/pull/1
2019-07-22 17:26:50 +02:00
3d-gussner
2d505b78a5 Added few things to prevent an unstable ...
build environment using Arduino IDE GUI
2019-07-22 15:49:15 +02:00
3d-gussner
acb761a0aa Typo fixes 2019-07-18 07:17:35 +02:00
3d-gussner
25b9193ce0 PF-build for v1.0.6
What has changed:
- It downloads Arduino IDE 1.8.5 just once. Good for future build enviroment versions
- Uses Prusa Arduino_Boards. At this moment it download my 3d-gussner fork/branch/release. Pull request is made to DRracers his fork ... and finally to Prusa repository
- Minimized PF-build-env to changed files only. At this moment it only \hardware\tools\avr\avr\lib\ldscripts\avr6.xn

Old but updated:
Arduino IDE is portable and this build environment can be used with GUI.
Important preferences are set during istallation.
One thing users need to do is to go to Boardsmanager and search for Prusa and use EINSy board.
2019-07-17 13:51:34 +02:00
Marek Bel
719af3293e Enable compiler warnings in community build script. 2019-05-14 18:50:05 +02:00
Andrew Luebke
a6f10625c5 Found another mistake 2019-04-05 15:44:52 -07:00
Andrew Luebke
99d6c74999 Fixed spelling errors in PF-build.sh 2019-04-05 14:53:33 -07:00
3d-gussner
3b78e61b68 Fix flash size check 2019-03-13 22:32:02 +01:00
Marek Bel
900ee0c5ef Update build environment to fix maximum flash size check. 2019-03-13 19:18:44 +01:00
3d-gussner
3726936b41 Added arguments to run PF-build.sh without user input
maybe an otion to use travis
2019-02-16 08:04:45 +01:00
3d-gussner
a608b0d26e Fix travis fail 2019-02-16 06:05:43 +01:00