Skip to content

Better documentation for compiling optiboot #355

@mcuee

Description

@mcuee

I think Wiki is a good start as well as README.TXT.
https://github.com/Optiboot/optiboot/wiki/CompilingOptiboot
https://github.com/Optiboot/optiboot/blob/master/optiboot/bootloaders/optiboot/README.TXT

But there are a few questions.
Toolchain -- is WinAVR really supported now? Is Atmel toolchain (avr-gcc 5.4 based and 7.3 based) supported?

I believe WinAVR is no longer supported. So it is better to remove it from the Wiki.
I think Atmel toolchain links should be provided in the Wiki and they should work based on my testing.

https://www.microchip.com/en-us/tools-resources/develop/microchip-studio/gcc-compilers
Atmel version 3.7.0 --> avr-gcc 7.3.0
Atmel version 3.6.2 --> avr-gcc 5.4.0

README.TXT -- which part is still relevant?

Build environment under Windows -- is CMD really supported? What about PowerShell and MSYS2 mingw?

I have no issued building under Linux and macOS. Windows is not a big problem but the building process needs to be better documented. I need to use git bash to get it work or use MSYS2.

Build environment under macOS -- CrossPacks is too old to work for newe version of macOS. It is better to only mention Arduino toolchains which works out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions