1
0
mirror of https://github.com/Optiboot/optiboot.git synced 2025-09-03 00:41:12 +03:00
Commit Graph

150 Commits

Author SHA1 Message Date
WestfW
a70f090eb9 Add make help for AVR_FREQ and SINGLESPEED 2018-08-05 18:55:59 -07:00
WestfW
b30d32e152 Finish SINGLESPEED option support 2018-08-05 18:51:42 -07:00
WestfW
ee87d274df More ATtiny fixes. optiboot.c needed the FOURPAGEEASE stuff.
Add ATtiny828, fix some errors in Makefile.tiny.
Make "attiny84" actually a compileable target.
Actually test on live ATtiny84 and ATtiny1634 chips!
2018-08-05 02:42:23 -07:00
WestfW
57bb015c48 Add ATtiny1634 and ATtiny841, via Makefile.tiny
These are the non-LIN based tinys,
based on https://github.com/SpenceKonde/ATTinyCore/
(Except: segregate and modernize the make instructions!)
2018-08-04 03:08:32 -07:00
WestfW
8eb696369a Add build info to BIGBOOT images. Fix some minor bugs. 2018-08-03 17:06:24 -07:00
WestfW
9b83da3489 Update some .hex/.lst files to v7, delete some others
as per https://github.com/Optiboot/optiboot/issues/78
2018-07-30 23:02:59 -07:00
WestfW
0eb655a0fb Reorganize Makefiles slightly; implement "make help"
Make things reasonably self-documenting.
Group related options together (LED, COMM, extra features.)
Group similar targets together.  Or less randomly, anyway.
2018-07-29 01:35:54 -07:00
WestfW
565a9b6bbc Include a version number in the .zip file name. 2018-07-27 22:30:58 -07:00
WestfW
ea848cfc33 Add makeoptions to test various compile options.
Remove use of "error" in Baudcheck not-quite errors, to make searching test logs for actual errors easier.
2018-07-27 22:29:20 -07:00
WestfW
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
Bill Westfield
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
WestfW
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
WestfW
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
WestfW
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
WestfW
5803649901 More options for testing RESET/MCUSR behavior 2018-07-25 00:39:37 -07:00
WestfW
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
WestfW
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
WestfW
c8d7b03d78 Spelling fix. 2018-07-24 01:41:07 -07:00
WestfW
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
WestfW
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
WestfW
2b4e9d40ac Add SUPPORT_EEPROM make option, virboot8 target
Fix the virboot328 targets.
2018-07-22 23:21:51 -07:00
WestfW
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
WestfW
1c94ee2f2f Merge branch 'master' of https://github.com/Optiboot/optiboot 2018-07-19 00:34:44 -07:00
WestfW
bb41e8f844 Fix BIGBOOT start address on m328.
change unused bits of EFUSE of m328 to ones.
2018-07-19 00:33:32 -07:00
Bill Westfield
3c6446f7b1 Merge pull request #212 from majekw/travis
Add support for test compilation using Travis-CI
2018-07-16 19:40:05 -07:00
WestfW
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
WestfW
b70f830785 Update comments in test_reset sketch 2018-07-08 00:55:10 -07:00
Bill Westfield
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
WestfW
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
WestfW
18547280a5 Merge branch 'master' of https://github.com/WestfW/optiboot 2017-12-09 18:15:59 -08:00
WestfW
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
majekw
808bc45b53 New Arduino version (1.8.5) and small 'echo' fix. 2017-10-12 11:41:03 +02:00
majekw
b284cf74c4 Arduino 1.8.4 is out 2017-09-15 10:15:19 +02:00
majekw
8e7c9f225a Fix for spoiling Travis cache 2017-06-21 22:31:33 +02:00
majekw
53aa364c67 Don't use --ignore-missing in md5sum because it's too new for Travis 2017-06-21 21:09:19 +02:00
majekw
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
Bill Westfield
027da13072 Merge pull request #204 from achton/patch-1
Fix some typos, mainly.
2017-04-19 19:35:23 -07:00
Achton Smidt Winther
c7ff4bfe2e Fix some typos, mainly. 2017-04-19 12:58:50 +02:00
WestfW
146e8cd14f Merge branch 'master' of https://github.com/WestfW/optiboot 2017-03-17 14:37:39 -07:00
WestfW
3a19212a83 add a non-nul URL for ASF "help", to keep AS7 conversion process happy 2017-03-17 14:32:08 -07:00
Bill Westfield
e3a8b6c97d Merge pull request #199 from njh/logo
Moved optiboot logo from Google Code to GitHub
2017-03-07 03:00:09 -08:00
Nicholas Humfrey
a5557cb2ab Moved optiboot logo from Google Code to GitHub 2017-03-06 13:06:49 +00:00
majekw
e31fc7fd9c Merge branch 'master' into m2560 2017-01-01 20:17:20 +01:00
Matthijs Kooijman
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
Bill Westfield
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
Bill Westfield
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
Bill Westfield
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
Bill Westfield
ec565db7b6 Merge pull request #185 from Nebula83/master
Update pin_defs.h
2016-10-13 18:28:39 -07:00
Bill Westfield
0a710a8400 Merge pull request #193 from Snafu/patch-1
Fixed UART 3 check (oops - cut&pasteO)
2016-10-13 18:27:17 -07:00
Snafu
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