31cd92f1c9
It turns out that the "-nostdlib" switch that we've been using
...
has been unncessary for quite a long time. It turns out that if
we don't call and stdlib functions, then no stdlib bloat gets
added (duh.) Thanks to matthijskooijman for finally noticing this.
It fixes bugs related to using the EEPROM functions (from stdlib)
in spite of library name changes between compiler versions.
(Now compiles with gcc 3.4.x though gcc 5.2.x, AFAICT.)
https://github.com/Optiboot/optiboot/issues/233
https://github.com/Optiboot/optiboot/issues/177
2018-07-08 19:48:34 -07:00
b70f830785
Update comments in test_reset sketch
2018-07-08 00:55:10 -07:00
ee098cb7ee
Merge pull request #159 from majekw/m2560
...
Add generic support for devices with more than 128KB flash, and atmega2560
2018-07-07 20:49:57 -07:00
29bca68f13
Fixes for 64bit windows. In particular, shorten all the directory names added to the path to the 8.3 format, so they don't contain inconvenient characters like "()" that break the way cmd.exe parses commmand lines.
2017-12-12 01:02:44 -08:00
18547280a5
Merge branch 'master' of https://github.com/WestfW/optiboot
2017-12-09 18:15:59 -08:00
46948cbf40
Update windows omake.bat to use fancy "search for avr-gcc" algorithms from https://github.com/WestfW/Arduino-avr-tools-install
2017-12-09 18:10:20 -08:00
027da13072
Merge pull request #204 from achton/patch-1
...
Fix some typos, mainly.
2017-04-19 19:35:23 -07:00
c7ff4bfe2e
Fix some typos, mainly.
2017-04-19 12:58:50 +02:00
146e8cd14f
Merge branch 'master' of https://github.com/WestfW/optiboot
2017-03-17 14:37:39 -07:00
3a19212a83
add a non-nul URL for ASF "help", to keep AS7 conversion process happy
2017-03-17 14:32:08 -07:00
e3a8b6c97d
Merge pull request #199 from njh/logo
...
Moved optiboot logo from Google Code to GitHub
2017-03-07 03:00:09 -08:00
a5557cb2ab
Moved optiboot logo from Google Code to GitHub
2017-03-06 13:06:49 +00:00
e31fc7fd9c
Merge branch 'master' into m2560
2017-01-01 20:17:20 +01:00
af82d7f67c
Add RAMSTART definition to use correct memory location on older avr-gcc compilers.
...
Avr-gcc shipped with Arduino below version 1.6.x doesn't define RAMSTART
for Armega2560 and Optiboot incorrectly assumes wrong location.
It led to store new flash values in register's memory space which
caused unexpected chip behaviour and write/verification errors.
Thanks to Matthijs Kooijman for finding this.
2016-10-20 23:41:13 +02:00
c811854d46
Merge pull request #188 from ctag/patch-1
...
Declare .init0 section as used in example sketch.
2016-10-13 18:32:11 -07:00
810221178a
Merge pull request #157 from majekw/stk_sw_version
...
Use STK_SW_MINOR/STK_SW_MAJOR instead of hardcoded 0x81/0x82 values.
2016-10-13 18:31:00 -07:00
498702838a
Merge pull request #191 from matthijskooijman/zero-flashes
...
Fix warning when LED_START_FLASHES is 0
2016-10-13 18:29:18 -07:00
ec565db7b6
Merge pull request #185 from Nebula83/master
...
Update pin_defs.h
2016-10-13 18:28:39 -07:00
0a710a8400
Merge pull request #193 from Snafu/patch-1
...
Fixed UART 3 check (oops - cut&pasteO)
2016-10-13 18:27:17 -07:00
89f16443c2
Fixed UART 3 check
...
If UART 3 is selected it should be checked if UDR3 is defined and not if UDR1 is defined.
2016-10-14 03:11:56 +02:00
0eb5e3710a
Update "install" instructions
2016-09-25 23:39:55 -07:00
1e277d9b79
Fix warning when LED_START_FLASHES is 0
...
flash_led() would be declared but not defined, which causes a warning
for static functions.
2016-09-23 21:25:54 +02:00
7a0b60db08
Solution to #187
...
Tested on Arduino IDE 1.6.11.
2016-09-14 14:46:44 -05:00
219d90e4e7
Update pin_defs.h
...
Added __AVR_ATmega328__ to the list of supported targets
2016-07-27 21:51:56 +02:00
814e2a89bd
Fix some typos, improve some comments
2016-02-06 01:36:55 -08:00
390f9095db
Merge branch 'master' of https://github.com/WestfW/optiboot
2016-02-06 01:31:31 -08:00
be06597525
Fix some fuse and lockbit value errors, add Atmel Xplained Mini boards
2016-02-06 01:28:55 -08:00
a09198fd40
Merge pull request #170 from fra87/NewResetExample
...
Modified the test_reset.ino example.
2015-12-28 17:21:54 -08:00
85dccd8e27
Modified the test_reset.ino example.
...
In this new version, the program gives more meaningful strings about the reset source (no more "Unknown" when more sources are triggered).
Moreover the program will not wait for some time before triggering a WDT reset, and clearly asks the user to press a button to reset using that peripheral
Finally, since this program should only run once, the majority of the program is moved to the setup function rather than the loop
2015-12-28 21:53:25 +01:00
fc7cec949f
Merge pull request #166 from swegener/master
...
reorder targets to put generic targets last
2015-12-16 02:14:40 -08:00
b246a1394e
makeall: reorder targets to put generic targets last
...
Signed-off-by: Sven Wegener <sven.wegener@stealer.net >
2015-12-16 11:00:51 +01:00
42e3dfa1d1
Merge pull request #161 from jaseg/master
...
Add support for ATMega16
2015-10-16 22:57:20 -07:00
0fc72a8d17
Add support for ATMega16
2015-10-16 19:19:11 +02:00
7bed5c9c52
Add support for Atmega2560
...
It adds generic support for devices with more than 128KB flash.
Also MEGA 2560 is included as valid target.
It needs Avrdude 6.1 or at least patch from
http://savannah.nongnu.org/bugs/?40897 for ealier versions.
2015-09-30 00:50:19 +02:00
185738b801
Use STK_SW_MINOR/STK_SW_MAJOR instead of hardcoded 0x81/0x82 values.
2015-09-26 20:28:03 +02:00
fc2368bbf5
Add dummy Atmel Studio Solutions/Projects, to make it easier for AS users to
...
compile Optiboot. This has "projects" for xplained168pb, xplained328p, and
xplained328pb, but they simply invoke the normal optiboot makefile, and so
can be easily edited for other targets.
2015-09-24 00:53:42 -07:00
0c1f3494af
Merge branch 'master' of https://github.com/WestfW/optiboot
2015-09-20 22:30:32 -07:00
56e2952e17
Support for Arduino-like Atmel "Xplained mini" eval boards
...
(Xplained mini 168pb, 328p, and 328pb)
Initial work: the -pb variants are treated as mere -p chips, pending support
in the arduino compiler toolchain.
2015-09-20 22:27:59 -07:00
8b62bdeef5
Merge pull request #153 from neuhaus/patch-1
...
Fix typo in README.md
2015-09-01 21:11:33 -07:00
2362679bfc
Fix typo in README.md
2015-09-02 02:42:11 +02:00
8169eb5fc6
Clean up and comment the build script
...
https://github.com/Optiboot/optiboot/issues/129
2015-08-07 00:50:46 -07:00
87a0cdb5d2
Fix baudrate error calcs; get sign right, allow "U" trailer for F_CPU and
...
BAUD_RATE variables.
https://github.com/Optiboot/optiboot/issues/151
2015-08-07 00:35:43 -07:00
79b2fe7200
change #elsif to #elif (as per legal C. Sheesh.)
...
https://github.com/Optiboot/optiboot/issues/143
2015-08-07 00:05:38 -07:00
29b553dc4a
Merge pull request #145 from majekw/attiny84
...
Fix compilation of Attiny84 and some ld crashes on older avr-gcc
2015-08-06 23:09:05 -07:00
b91d134874
Merge pull request #149 from per1234/boards-atmega168-filename
...
Fix ATmega168 bootloader filename
2015-08-06 22:43:46 -07:00
e109af0431
Merge pull request #147 from per1234/JSON-category
...
Use correct category value in JSON index file
2015-08-06 22:40:59 -07:00
1fd82f20a2
Fix ATmega168 bootloader filename
...
Correct filename for ATmega168 and ATmega168P in boards-1.6.txt.
2015-07-20 03:55:01 -07:00
53536624f2
Use correct category value in JSON index file
...
Per https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.6.x---package_index.json-format-specification :
> category: this field is reserved, a 3rd party core must set it to Contributed
2015-07-03 14:24:03 -07:00
b0fb0d9d43
Revert incorrect start .text section left after experiments.
2015-06-24 16:34:51 +02:00
64b43712fe
Fix compilation of Attiny84 on older avr-gcc and some ld crashes
...
* Added override of 'save_vect_num' on Attiny84 target as
WDT_vect_num isn't defined on old avr-gcc (shipped with
Arduino 1.0.x)
* Added workaround for avr-gcc bug #6019
2015-06-24 01:50:19 +02:00