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

120 Commits

Author SHA1 Message Date
eec48bbe1d Update README.md 2015-06-02 10:08:30 -07:00
52a7902d74 Merge pull request #135 from majekw/virtualboot
Fix/small rewrite of Virtual boot partition
2015-05-30 18:52:31 -07:00
bfb3d5fc33 Apparently working release.sh, .json.TEMPLATE and boards.txt ! 2015-05-29 22:26:45 -07:00
9035de2f1e Tweaks in Virtual boot partition
* Add fallback to WDT interrupt if no SPM ready is available
* Add possibility to define custom vector using Makefile
2015-05-29 11:32:35 +02:00
988c239889 Initial commit of "release.sh" release-building script.
Also the board manager .json file (first attempt)
v6.2
2015-05-29 00:19:16 -07:00
3876d71a1d Fuse values adjusted; might be correct. STILL NOT DONE! 2015-05-28 19:04:55 -07:00
6e7851a093 Fix/small rewrite of Virtual boot partition
* Changed interrupt vector to save original jump. Now uses SPM_Ready
  instead of watchdog's.
* Rewrite/fix 'rjmp' part to use and calculate correctly on all 12 bits
  of address.
* Added 'virboot8' test target to Makefile with Virtboot on Atmega8.
2015-05-29 01:08:30 +02:00
49e184b0f0 Initial commit of 1.6-style boards.txt file. NOT FINISHED YET! 2015-05-26 18:40:24 -07:00
50ad43feb9 Add test_reset example demonstrating/testing reset cause determination 2015-05-25 22:54:45 -07:00
51ee0789fd Soft Uart should reset watchdog in getchr()
https://github.com/Optiboot/optiboot/issues/116
2015-05-25 16:38:10 -07:00
08499e09b9 Update README.TXT
https://github.com/Optiboot/optiboot/issues/128
2015-05-25 16:29:44 -07:00
e1f2fe4468 https://github.com/Optiboot/optiboot/issues/131 UARTCMD was defined in
Makefile, but UART_CMD was used in Makefile.1280.  Make sure that all the
command-line options are consistantly named with the "_CMD" syntax.
2015-05-25 16:01:29 -07:00
e754f243e7 Merge pull request #123 from madworm/master
Added target: atmega168p [QFN32].
2015-04-15 02:53:24 -07:00
9129678dbd Added target: atmega168p [QFN32]. 2015-04-14 20:36:11 +02:00
a50f07ef30 Fix VIRTUAL_BOOT_PARTITION. virboot328 is tested and working.
All issues in https://github.com/Optiboot/optiboot/issues/120
should be fixed.  Still needs testing on other targets.
2015-03-27 21:43:28 -07:00
adc01f2209 Add explicit copyright notices to source and Makefiles.
Optiboot is licensed under GPLv2
(Since a bootloader can be updated orthoganally to application code
in a microcontroller, this does NOT mean that applications using
optiboot also need to be GPL'ed.)

https://github.com/Optiboot/optiboot/issues/119
2015-03-21 01:22:37 -07:00
47340dac7f Change basic instructions for GitHub vs Google Code. 2015-03-20 22:53:25 -07:00
05cc3afdc0 Port from Google code. 2015-03-19 22:34:46 -07:00
c0c10a8798 Now version 6.2
https://code.google.com/p/optiboot/issues/detail?id=110
Make the "length" variable types be dependent on SPM_PAGESIZE.
Having it be uint8_t on smaller chips saves significant code
space, but it really should be uint16_t on bigger chips.

(Also, fix the luminet makefile target.  Not that the code works.)
2014-08-18 22:19:26 -07:00
452fdbedf8 Update .hex and .lst files for pre-built targets 2014-08-14 02:00:36 -07:00
c51c792997 Fix OPTIBOOT_CUSTOMVER (send it!)
Make no-wait mod less picky about skipping the bootloader.
Remove some dead code
2014-08-14 01:07:03 -07:00
22e6743b7b commit .hex and .lst files as well, so they're up-to-date. 2014-06-28 01:37:55 -07:00
6c06686902 /* 6.0 WestfW: Modularize memory read/write functions */
/*             Remove serial/flash overlap		  */
/*              (and all references to NRWWSTART/etc)	  */
/*             Correctly handle pagesize > 255bytes       */
/*             Add EEPROM support in BIGBOOT (1284)       */
/*             EEPROM write on small chips now causes err */
/*             Split Makefile into smaller pieces         */
/*             Add Wicked devices Wildfire		  */
/*	       Move UART=n conditionals into pin_defs.h   */
/*	       Remove LUDICOUS_SPEED option		  */
/*	       Replace inline assembler for .version      */
/*              and add OPTIBOOT_CUSTOMVER for user code  */
/*             Fix LED value for Bobuino (Makefile)       */
/*             Make all functions explicitly inline or    */
/*              noinline, so we fit when using gcc4.8     */
/*             Change optimization options for gcc4.8	  */
/*             Make ENV=arduino work in 1.5.x trees.	  */
2014-06-28 01:34:17 -07:00
0e5f3accef Issue 102: Support 1Mbps BAUD_RATE
https://code.google.com/p/optiboot/issues/detail?id=102
(Allow high bitrates if the resulting error is zero.)
2014-05-14 01:05:16 -07:00
55aca16bb3 While the baudcheck thing is nice, it is not strictly necessary, and
it uses some pretty "edgey" compiler/makefile capabilities.  This
patch causes Make to ignore errors (and procede anyway) if there are
errors in the baudcheck part of the build.
2013-06-07 18:24:30 -07:00
68543bff6d Update "upload.protocol" values to "arduino" 2013-05-13 00:58:42 -07:00
849195dd82 Fix version number ("4.6" to "5.0") in the comments. 2013-04-11 22:50:32 -07:00
0582897987 Implement a check of the specified baud rate,
so that the user can see whether it's going to be reasonably
accurate or not.  There are two parts to this:
1) Use of #error and #warning in optiboot.c, for when the error is large.
2) Since you can't get the compiler to spit out actual numbers, create a
   new target "baudcheck" that does.  This is somewhat complicated by the
   possibile non-availability of the usual development tools in the user
   environment, so baudcheck.c is run through the avr-gcc preprocessor, and
   produces a shell script.

http://code.google.com/p/optiboot/issues/detail?id=79
2013-03-15 22:55:26 -07:00
706f04e209 Update Version number to 5.0 (for the makefile changes.)
Now that there's a prior "version" demonstrating identical
  binaries, update to 5.0 so we can tell whether anyone uses it.
  This causes much churn in the .hex and .lst files, even though
  only the version number has changed.
Also, add some entries to boards.txt and update it with
   build.variant lines for post IDE 1.0.2  (may no longer work
   with older versions of the IDE.)
Remove the optiboot_lilypad_resonator .hex and .lst, since they
   should be identical to optiboot_lilypad (only fuses change.)
2013-03-11 01:56:42 -07:00
3850563322 oops. Makefile.isp is part of the big Makefile restructuring. 2013-03-11 01:43:36 -07:00
0baaf625bf Major Makefile restructuring.
(Note that this happens without changing any binaries!)
Allows options on Make command line "make xx LED=B3"
  (see also pin_defs.h)
Divide into "chip" targets and "board" targets.
Most boards are (recursive) board targets with options.
Move isp target to separate makefile (fixes m8 EFUSE)
Some (many) targets will now be rebuilt when not
  strictly necessary, so that options will be included.
  (any "make" with options will always compile.)
Set many variables with ?= so they can be overridden
Use arduinoISP settings as default for ISP targets
Restructure makeall to build chip targets last, since versions
  are built and renamed to make the board targets.
#
2013-03-11 01:41:25 -07:00
0ee526aa81 Don't set LED_PIN as an output if it's not used.
http://code.google.com/p/optiboot/issues/detail?id=68
2013-03-08 22:09:36 -08:00
43a9da10ed Add ATmega32 support from Pito.
http://code.google.com/p/optiboot/issues/detail?id=77
2013-03-08 21:46:56 -08:00
8ce781dc47 Fix mega1280_isp target.
Have m644 and m1284 isp targets use the full-swing oscillator fuse setting.
2013-03-06 22:29:30 -08:00
ff7e147b73 Add dkinzer patch to pass reset cause to app in R2
http://code.google.com/p/optiboot/issues/detail?id=66
2013-01-04 21:19:05 -08:00
f6b4e6c976 Save code space by using autoincrement lpm/elpm. Bump version to 4.6
http://code.google.com/p/optiboot/issues/detail?id=73
2013-01-04 20:48:05 -08:00
e39a055309 Add .version section to hex files for 1284, Sanguino, mega1280
Rename "mega" target to "mega1280", since optiboot probably doesn't work on a mega2560.
Fix fuse values for pro8.
Add skeleton for using ArduinoISP as programmer for ISP targets.
2012-04-03 00:51:23 -07:00
2b668f8656 Add infrastructure for supporting second/etc UART on a chip.
http://code.google.com/p/optiboot/issues/detail?id=60
Fix and update some of the comments at the start of file.
2012-03-17 01:07:28 -07:00
8f7e45aa84 Commit .hex and .lst files for working ATmega644p bootloader.
http://code.google.com/p/optiboot/issues/detail?id=61
2012-03-10 15:45:32 -08:00
c2efa8bcb7 Fix incorrect signature (from avr-libc) for ATmega644p.
Fix incorrect BoD fuses in Makefile for several targets.
http://code.google.com/p/optiboot/issues/detail?id=61
2012-03-10 15:36:01 -08:00
f60b84ec59 Cosmetic: use symbolic constant STK_LEAVE_PROGMODE ('Q')
http://code.google.com/p/optiboot/issues/detail?id=55
2012-01-31 20:22:03 -08:00
215a47401f Bump the version number, since we've change the binary for an existing
platform (1284.)
2012-01-31 15:01:06 -08:00
f1def92107 Can't upload sketches longer than 122880 bytes on atmega1284.
http://code.google.com/p/optiboot/issues/detail?id=57
Correct NRWWSTART for 1284; byte vs word address confusion.
Add explanatory comments!
2012-01-31 14:42:37 -08:00
6e002e8f18 Issue 54: Code grows to >512 bytes with gcc 4.5.3
Use attribute "OS_main" instead of "naked" for main()
http://code.google.com/p/optiboot/issues/detail?id=54

This is more correct, and prevents code growth when using
gcc4.5.3 and later, where certain optimizations are disabled
in "naked" functions.  In 4.3.2 (current used, the binary
does not change.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42240
2012-01-27 20:49:54 -08:00
af07bb219a Add support for ATmega1284, including sketches larger than 64k
See http://code.google.com/p/optiboot/issues/detail?id=51
2012-01-25 01:17:11 -08:00
856ae041e6 Issue 47: remove the automatic setting of SOFT_UART
also commit the "diecimila" .hex and .lst files, which are still
old in the repository.
2012-01-17 00:01:06 -08:00
88e3ad0555 Added tag v3 for changeset e374dd57c5b8 2011-10-31 01:19:02 -07:00
4bccc86c9d Added tag v4.4 for changeset 1409f521da51 2011-10-31 01:17:14 -07:00
4ad7a6e3cd Remove the "cores" directory from optiboot. These (which were copies of
core files normally distributed with the Arduino IDE or with other boards
(Sanguino, Luminet) have long been so obsolete that they do more harm than
good, and there is now a mechanism for pointing add-on "boards.txt" entries
to the common platform code.

See http://code.google.com/p/optiboot/issues/detail?id=11
v4.4
2011-10-30 01:27:09 -07:00
c0bbc7d8a3 added optiboot/bootloaders/optiboot/README.TXT
added optiboot/bootloaders/optiboot/omake
added optiboot/bootloaders/optiboot/omake.bat
changed optiboot/bootloaders/optiboot/Makefile
changed optiboot/bootloaders/optiboot/makeall
changed optiboot/bootloaders/optiboot/optiboot.c
changed optiboot/bootloaders/optiboot/pin_defs.h

(assorted .hex and .lst files also changed)

This commit syncs up the optiboot mercurial repository with the the
Arduino git repository (as far as optiboot is concerned.)

This should fix (optiboot) issues:
http://code.google.com/p/optiboot/issues/detail?id=1
http://code.google.com/p/optiboot/issues/detail?id=7
http://code.google.com/p/optiboot/issues/detail?id=20
http://code.google.com/p/optiboot/issues/detail?id=23
http://code.google.com/p/optiboot/issues/detail?id=26
http://code.google.com/p/optiboot/issues/detail?id=29
http://code.google.com/p/optiboot/issues/detail?id=30
http://code.google.com/p/optiboot/issues/detail?id=32
http://code.google.com/p/optiboot/issues/detail?id=33
http://code.google.com/p/optiboot/issues/detail?id=34
http://code.google.com/p/optiboot/issues/detail?id=35
http://code.google.com/p/optiboot/issues/detail?id=36
http://code.google.com/p/optiboot/issues/detail?id=37
http://code.google.com/p/optiboot/issues/detail?id=38

See the Arduino commit history for details of which code
changes for which features/bugfix.
2011-10-30 01:13:01 -07:00