New Optiboot v.8.0

E' stato rilasciato l'Optiboot versione 8.0.
L'Optiboot è il bootloader usato nell'Arduino.
Nell'IDE dovrebbe essere presente ancora la versione 4.4 con alcune correzioni.

Cosa possa comportare l'adozione del nuovo non so. Non ho ancora studiato il codice.

Qui il changelog:

//
/
Edit History: /
/
/
/
Sep 2018 /
/
8.0 WestfW (and Majekw and MCUDude) /
/
Include do_spm routine callable from the app /
/
at BOOTSTART+2, controllable with compile option /
/
July 2018 /
/
7.0 WestfW (with much input from Others) /
/
Fix MCUSR treatement as per much discussion, /
/
Patches by MarkG55, majekw. Preserve value /
/
for the application, as much as possible. /
/
see MCUSR is cleared in bootloader · Issue #97 · Optiboot/optiboot · GitHub /
/
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 /
/
Aug 2014 /
/
6.2 WestfW: make size of length variables dependent /
/
on the SPM_PAGESIZE. This saves space /
/
on the chips where it's most important. /
/
6.1 WestfW: Fix OPTIBOOT_CUSTOMVER (send it!) /
/
Make no-wait mod less picky about /
/
skipping the bootloader. /
/
Remove some dead code /
/
Jun 2014 /
/
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. /
/
May 2014 /
/
5.0 WestfW: Add support for 1Mbps UART /
/
Mar 2013 /
/
5.0 WestfW: Major Makefile restructuring. /
/
See Makefile and pin_defs.h /
/
(no binary changes) /
/
/
/
4.6 WestfW/Pito: Add ATmega32 support /
/
4.6 WestfW/radoni: Don't set LED_PIN as an output if /
/
not used. (LED_START_FLASHES = 0) /
/
Jan 2013 /
/
4.6 WestfW/dkinzer: use autoincrement lpm for read /
/
4.6 WestfW/dkinzer: pass reset cause to app in R2 /
/
Mar 2012 /
/
4.5 WestfW: add infrastructure for non-zero UARTS. /
/
4.5 WestfW: fix SIGNATURE_2 for m644 (bad in avr-libc) /
/
Jan 2012: /
/
4.5 WestfW: fix NRWW value for m1284. /
/
4.4 WestfW: use attribute OS_main instead of naked for /
/
main(). This allows optimizations that we /
/
count on, which are prohibited in naked /
/
functions due to PR42240. (keeps us less /
/
than 512 bytes when compiler is gcc4.5 /
/
(code from 4.3.2 remains the same.) /
/
4.4 WestfW and Maniacbug: Add m1284 support. This /
/
does not change the 328 binary, so the /
/
version number didn't change either. (?) /
/
June 2011: /
/
4.4 WestfW: remove automatic soft_uart detect (didn't /
/
know what it was doing or why.) Added a /
/
check of the calculated BRG value instead. /
/
Version stays 4.4; existing binaries are /
/
not changed. /
/
4.4 WestfW: add initialization of address to keep /
/
the compiler happy. Change SC'ed targets. /
/
Return the SW version via READ PARAM /
/
4.3 WestfW: catch framing errors in getch(), so that /
/
AVRISP works without HW kludges. /
/
Google Code Archive - Long-term storage for Google Code Project Hosting.
/
4.2 WestfW: reduce code size, fix timeouts, change /
/
verifySpace to use WDT instead of appstart /
/
4.1 WestfW: put version number in binary. /
/
*/

Se, nelle preferenze dell'IDE, si aggiunge il seguente .json:

https://github.com/Optiboot/optiboot/releases/download/v8.0/package_optiboot_optiboot-additional_index.json

... dal "Board Manager" sarà possinile installare "Optiboot 8.0" come una board.

Una volta installato, tra le varie board, apparità Optiboot 8.0 ed una serie di possibili MCU su cui poterlo facilmnete installare tramite l'apposito comando dell'IDE.

Guglielmo

1 Like