Commit Graph

39 Commits

Author SHA1 Message Date
3d-gussner
f93d9c4af0 Make it executable 2021-08-02 08:32:25 +02:00
Yuri D'Elia
1a0a3e00ae Include the required linker script for the language data
Instead of relying on patching the Arduino's avr6.xn linker script
(which is required for the custom language data sections), provide the
linker script and use linker flags in boards.txt to use it.

This *greatly* simplifies the installation and usage of Arduino, and
also ensures the firmware is always built correctly, since a missing
section will result in a non-working firmware which is difficult to
diagnose.
2021-06-21 07:46:09 +02:00
Yuri D'Elia
37f2bee6fd Rework compiler/linker flags
- Remove unnecessary warning flags during linking stage
- Remove -fuse-linker-plugin, implied by -flto at link time
- Remove -fpermissive to avoid future warning creep (depends on https://github.com/prusa3d/Prusa-Firmware/pull/2405)
- Add -fno-rtti for c++ (no savings, just to avoid future usage of rtti)
2021-06-21 07:44:35 +02:00
Voinea Dragos
72082e54fb HAS_SYSTEM_TIMER_0 2021-06-21 07:41:39 +02:00
Yuri D'Elia
070d3e49d7 Make builds more reproducible through -frandom-seed
Some randomness is used by gcc when generating symbol names, unique
values and for LTO.

Provide a constant value based on the object file name in order to avoid
object files changing build-to-build, making debugging/disassembly
easier.
2021-06-21 07:40:59 +02:00
DRracer
ddcd397959
Merge pull request #6 from 3d-gussner/Prusa_Merge_v1.0.3
V1.0.3 to fix "timer0_fract = 0" warning during compiling
2020-02-04 09:31:39 +01:00
3d-gussner
97c9014420 Set JSON links to prusa3d/Arduino_boards/master
- Tests have been successful.
2019-12-17 13:51:42 +01:00
3d-gussner
cdd5ad90da Fix timer0_fract = 0 warning
- for testing the JSON file is linked to 3d-gussner/Arduino_boards/Prusa_Merge_v1.0.3 branch
- after testing it will point to prusa3d/Arduino_boards/master
2019-12-17 12:33:24 +01:00
DRracer
379dd39954
Merge pull request #5 from 3d-gussner/Prusa_Merge_v1.0.2
PFW-1059: V1.0.2 inclunding bootloader and extra flags and timer 4 for Tone 2nd
2019-11-29 22:11:02 +01:00
unknown
1c43faa179 Prepare merge to prusa3d 2019-11-29 22:06:19 +01:00
DRracer
33324bf63f
Merge pull request #1 from DRracer/new-board-4-merge
RAMBo board definition
2019-07-26 09:13:38 +02:00
DRracer
9d65ef4909 proper Einsy RAMBo board naming 2019-07-25 10:16:24 +02:00
DRracer
e71ca750b1 change package paths for the main Prusa3d repo + remove executable flags from the files 2019-07-25 10:11:44 +02:00
DRracer
5434e3420e
Merge pull request #1 from 3d-gussner/Fix_maximum_firmware_flash_size
Fix maximum firmware flash size.
2019-07-22 16:14:02 +02:00
3d-gussner
5055d45e0b Merge branch 'Fix_maximum_firmware_flash_size' of https://github.com/3d-gussner/Arduino_Boards into Fix_maximum_firmware_flash_size 2019-07-22 12:10:28 +02:00
3d-gussner
7a1fac348f added source code folder 2019-07-22 12:08:51 +02:00
3d-gussner
d2483eaf11 Added source folder so changes can be seen easier
Added tool dependecies to stay with Arduino IDE 1.8.5 and boards version 1.6.20.
As there are updates for avr boards I try to fix the build environment to a known version.
2019-07-22 12:05:27 +02:00
3d-gussner
003f5e3c88
Fixed wrong branch 2019-07-17 10:21:28 +02:00
3d-gussner
f77f650b51 Fix maximum firmware flash size.
As this have been changed in 595cc4fb4d I think it belongs here.
2019-07-16 13:04:11 +02:00
DRracer
28de7c664f test new core sources 02a 2019-07-04 09:12:31 +02:00
DRracer
5829ba822e test new core sources 02 2019-07-04 09:10:46 +02:00
DRracer
fdce30635c test new core sources 01 2019-07-04 09:03:38 +02:00
DRracer
b474a0d825 test new core sources 2019-07-04 08:59:53 +02:00
DRracer
f9dd662682 want multiple boards 2019-07-03 16:06:51 +02:00
DRracer
6946875cd9 ... 2019-07-03 16:03:49 +02:00
DRracer
fa818b7513 ... 2019-07-03 15:52:14 +02:00
DRracer
245d624a01 added EINSY RAMBo 2019-07-03 15:39:05 +02:00
Vojtech Bubnik
f36e6b96dc Removed an obsolete testing archive 2018-07-05 21:30:35 +02:00
Vojtech Bubnik
2a29de6554 Changed the USB Product ID of the MMU firmware 2018-07-05 19:58:30 +02:00
Vojtech Bubnik
f2e50d26cf Modified the compilation target from arduino to arduino:arduino 2018-07-05 18:28:59 +02:00
Vojtech Bubnik
b4b6528ec9 Maybe the Arduino IDE was crashing because of missing tools section in the index? 2018-07-05 18:13:38 +02:00
Vojtech Bubnik
d66ed2c69c Being desperate from the Arduino IDE crashes, trying an official example profile 2018-07-05 18:09:39 +02:00
Vojtech Bubnik
6be372c1c6 Bumped up the version number to 1.0.0 with the hope that Arduino IDE will consume it 2018-07-05 18:04:54 +02:00
Vojtech Bubnik
39deceafd2 God knows why is Arduino IDE crashing 2018-07-05 17:42:04 +02:00
Vojtech Bubnik
9265dbda83 FIxed the index json 2018-07-05 17:40:14 +02:00
Vojtech Bubnik
8a86b5fbcc fixed the download path 2018-07-05 17:26:00 +02:00
Vojtech Bubnik
6a9cd40ddf Moved the index file to IDE_Board_Manager 2018-07-05 17:20:04 +02:00
Vojtech Bubnik
a6d37aed68 First release of the Prusa MM Upgrade 2.0 support files 2018-07-05 17:17:31 +02:00
bubnikv
23dcde242b
Initial commit 2018-07-05 16:52:34 +02:00