-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better documentation for compiling optiboot_flash #8
Comments
Maybe the following page can be a good start. Under Windows I can use git bash and Arduino toolchain to build the hex files from Optiboot github, including the following. However, the same environment does not work for optiboot_flash. I am able to use MSYS2 as well for optiboot, but it does not seem to work with optiboot_flash. |
Please also refer to the following. |
Under MSYS2: it does not work at all.
|
Same for git bash.
|
Single hex build is mostly okay with CMD.exe but it has the same issue as optiboot, because of
|
Single hex file build works well under git bash.
|
Single hex file build also works under MSYS2 but I can not use
|
If I delete the check to enable
|
BTW, MegaCoreX optiboot_x seems to be fine.
click for detailed build log
|
Another good reference for Windows can be from DxCore. It works for DxCore optiboot_dx and megaTinyCore optiboot_x. Results: |
BTW, no issues for Linux, I just need to modify Makefile to use the right toolchain.
|
I can make it work under Windows as well for optiboot_x for MegaCoreX with some tweaks.
|
The problem is rather steange, both uder git bash or MSYS2.
|
Finally found the solution for this one. The following patch works under git bash or MSYS2. But
Build log:
|
It will be good to have a bit better documentation to let the user know how to build the hex file.
Right now the build scripts work out of the box for macOS and Linux. But it does not seem to work under Windows.
The text was updated successfully, but these errors were encountered: