avr-hal icon indicating copy to clipboard operation
avr-hal copied to clipboard

Compile avr-hal on windows 10?

Open MarkuBu opened this issue 2 years ago • 10 comments

What do I need to install on Windows 10 to be able to compile avr-hal?

Winavr? Current Arduino toolchain? PlatformIO? Is that even possible?

MarkuBu avatar Apr 06 '22 08:04 MarkuBu

I have no clue... Maybe check the other issues labeled windows?

Rahix avatar Apr 06 '22 08:04 Rahix

They are only related to ravedude.

MarkuBu avatar Apr 06 '22 08:04 MarkuBu

On Wed, Apr 06, 2022 at 01:21:08AM -0700, MarkuBu wrote:

They are only related to ravedude.

Then start.

Yes, you will encounter obstacles. Take http://www.catb.org/~esr/faqs/smart-questions.html as detour.

stappersg avatar Apr 06 '22 08:04 stappersg

install msys2 and install mingw-w64-x86_64-avr-gcc package

add C:\msys64\usr\bin and C:\msys64\mingw64\bin to your PATH

edit: also avrdude package is named mingw-w64-x86_64-avrdude

djdisodo avatar Jun 14 '22 17:06 djdisodo

@djdisodo, if you want you can add a short section to the README with details on installing all the dependencies needed on windows.

Rahix avatar Jun 16 '22 07:06 Rahix

@Rahix https://github.com/Rahix/avr-hal/wiki/Setting-up-environment

djdisodo avatar Jun 16 '22 16:06 djdisodo

image

@Rahix https://github.com/Rahix/avr-hal/wiki/Setting-up-environment

image

yeah, an empty page

@djdisodo please, pretty please, make some effort to say what you want to say. Some examples:

  • Hello @Rahix please visit the wiki page that I created (and about to "save"), it is work in progress for a section in the README.md.
  • Hello @Rahix what is your idea about a wiki on github,com?
  • @Rahix I understood that how to compile on Microsoft Windows 10 should not only documented in an issue. I also understood that when I make a pull request against README.md that I get credit for it. But despite having a github.com account, I don't know how to make something what github.com calls a pull request. So please do not wait for me.

stappersg avatar Jun 16 '22 16:06 stappersg

@stappersg i fixed typo in the link right after

djdisodo avatar Jun 16 '22 17:06 djdisodo

@stappersg i fixed typo in the link right after

Ah, environment vs enviromment

What about

add a short section to the README with details on installing all the dependencies needed on windows.

?

stappersg avatar Jun 17 '22 10:06 stappersg

I think we can just add a link to the wiki page in the README now, that'll be enough.

Rahix avatar Jun 17 '22 10:06 Rahix

I think with things like #349 hitting, it's time to close this issue.

Rahix avatar Oct 08 '22 22:10 Rahix