1
0
mirror of https://github.com/Optiboot/optiboot.git synced 2025-07-29 20:21:11 +03:00

291 Commits

Author SHA1 Message Date
a97ae13cc4 Better error checking for LED values.
Make formatting prettier and easier to modify.
7.0 v7.0
2018-07-27 01:23:28 -07:00
70bd967c3c Fix some problems with the AtmelStudio Build capability.
Handle recursive Makes, copy the .hex and .lst in the right direction
2018-07-26 20:12:10 -07:00
5e0a6a0031 Fix recursive Makes from Atmel Studios on Win64
Apparently $(MAKE) expanding to something containing "(x86)" is bad!
2018-07-26 02:13:08 -07:00
34c1d2f6ed Makefile options can be set to zero to leave them off.
https://github.com/Optiboot/optiboot/issues/83
2018-07-26 01:46:48 -07:00
a2e1f3b69f Update (and fix) the chaucer* sketches (for testing big uploads.)
update progmem usage (const char instead of prog_char)
use pgm_read_byte_far() where needed.
reset counter i in between segments when printing.
2018-07-25 23:04:59 -07:00
5803649901 More options for testing RESET/MCUSR behavior 2018-07-25 00:39:37 -07:00
b109eb2615 Check for incoming UART data in ledBlink.
Improves reliability, especially with larger LED_START_FLASHES values.
2018-07-24 18:12:31 -07:00
808d68513b Use boot_opt.h instead of boot.h
boot_opt.h includes the standard boot.h, defining only the few _short
versions that optiboot needs.  It also makes these compile-time compatible
with targets that do NOT have SPMCSR accessible with the OUT instruction
(this edit causes no binary changes to any of the makeall targets)
2018-07-24 15:46:45 -07:00
c8d7b03d78 Spelling fix. 2018-07-24 01:41:07 -07:00
a50f47b8ac Version 7.0
(Finally) commit the MarkG55/majekw mcusr patches.
Optimize a bit by implementing a union for the
 various 16bit address values used (based on
 observation by "aweatherguy", but different.)
Slightly optimize math in VIRTUAL_BOOT code
Add some virboot targets, fix some fuses.
Implement LED_START_ON; less code than flashes

"atmega328 SUPPORT_EEPROM=1 LED_START_FLASHES=0 LED_START_ON=1"
now fits (barely) in 512 bytes.
2018-07-24 00:40:48 -07:00
9e7396e1f9 More test content: .hex file with pages of 0xFF's, eeprom data, eeprom test sketch, and improved reset test sketch 2018-07-24 00:24:13 -07:00
2b4e9d40ac Add SUPPORT_EEPROM make option, virboot8 target
Fix the virboot328 targets.
2018-07-22 23:21:51 -07:00
8fdda0b256 This .hex file contains large blocks of 0xFF in the middle, and at the end.
It's used to check whether avrdude is optimizing away the upload of these "ersased" pages.
2018-07-19 01:59:34 -07:00
1c94ee2f2f Merge branch 'master' of https://github.com/Optiboot/optiboot 2018-07-19 00:34:44 -07:00
bb41e8f844 Fix BIGBOOT start address on m328.
change unused bits of EFUSE of m328 to ones.
2018-07-19 00:33:32 -07:00
3c6446f7b1 Merge pull request #212 from majekw/travis
Add support for test compilation using Travis-CI
2018-07-16 19:40:05 -07:00
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
808bc45b53 New Arduino version (1.8.5) and small 'echo' fix. 2017-10-12 11:41:03 +02:00
b284cf74c4 Arduino 1.8.4 is out 2017-09-15 10:15:19 +02:00
8e7c9f225a Fix for spoiling Travis cache 2017-06-21 22:31:33 +02:00
53aa364c67 Don't use --ignore-missing in md5sum because it's too new for Travis 2017-06-21 21:09:19 +02:00
f69900ea8c Add support for test compilation using Travis-CI
This is very basic support, it compiles Optiboot using
avr-tools only from one Arduino version, currently 1.6.9.
Attiny84 is in 'allow_failures' as it currently doesn't
compile on any version of tools.
2017-06-21 14:37:40 +02: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