1
0
mirror of https://github.com/Optiboot/optiboot.git synced 2025-07-31 07:44:19 +03:00

291 Commits

Author SHA1 Message Date
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
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