Larswad / sd2iec_mega2560

SD2IEC adapted to work with Arduino mega 2560, with some other nice additions.
GNU General Public License v2.0
35 stars 14 forks source link

Why so complicated? #2

Open Grunewald17 opened 6 years ago

Grunewald17 commented 6 years ago

Im trying to use your Uno2IEC for 6 Hours on my Mac, but it never worked because you need XCode, you need QT, you need the Terminal, and it's not working. After 6 hours I have nothing, only because you gave no compiled MacOS Binarys to the users hands.

Same with sd2iec. Why the hell AVR and not Arduino IDE? I can not make the avr tool. I get tons of error messages. Sorry, but that is not easy, nothing of them.

Larswad commented 6 years ago

Hello Grunwald! I can certainly understand your frustration if you have struggled with this and came up empty handed, especially if you've spent six hours trying hard.

Now, to begin with I'd like to explain why I don't precompile any binaries. First of all, I don't have a Mac and with highest certainty I never will have one, so I can't build for that target simply for that reason. Then secondly, the nature of the uno2iec project is to enable people to learn how to create something with a few provided tools and a soldering iron. It is not meant to be complicated, rather contrary it is meant to be easy and fun. But I can't teach people about every single step of the way. Being able to install the tools is expected, that's at least to me basic knowledge required.

About using qt creator for macos, several users have tried that with success, there were a couple of bug reports early down the road but then I haven't heard anything about it not working.

So it should work if you set up the tool chain correctly. I don't know what extra stuff is required specifically for Mac when it comes to Qt (if you say xcode, then maybe so), but there are numerous guides on the web explaining how to do that. Especially the official qt pages.

The avr toolchain IS included in the arduino environment. You can probably compile the avr code for sd2iec using that as long as you use a terminal with the environment variables configured. Uno2iec DOES build directly from the arduino environment and if it doesn't maybe try an earlier version of the arduino IDE (maybe things have changed since I tried last).

The sd2iec project is not really a beginners project. It wasn't mine from the beginning, I have just made an avr mega port of it. However if you have either arduino or avr toolchain it should build easily without any problems, even on mac. There are guides on how to set the avr tools up in mac

Having all that said, I CAN help you if you're having trouble getting this working,but you have to give me more details! What errors are you seeing when compiling the avr code? Did you fail installing the qt creator environment? What happened more specifically?

Finally, if you want a more complete drive emulator I would recommend building the sd2iec rather than my own. Mine is a hobby project and I have still a lot of things left to make it complete with turbos and stuff. Sd2iec is much more competent and functional.

Please stay patient and you will succeed and the reward will be there...sooner or later.

Best regards Lars Wadefalk

⁣Skickat från TypeApp ​

Den 3 maj 2018 06:31, kI 06:31, Grunewald17 notifications@github.com skrev:

Im trying to use your Uno2IEC for 6 Hours on my Mac, but it never worked because you need XCode, you need QT, you need the Terminal, and it's not working. After 6 hours I have nothing, only because you gave no compiled MacOS Binarys to the users hands.

Same with sd2iec. Why the hell AVR and not Arduino IDE? I can not make the avr tool. I get tons of error messages. Sorry, but that is not easy, nothing of them.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/Larswad/sd2iec_mega2560/issues/2

lysol commented 4 years ago

I’d just like to leave a comment here that a useful thing that helped me understand just what the hell the Arduino IDE is doing behind the scenes. There’s an option that will show the command line output with calls to avrdude. A little bit of reading and I’d even say it’s not much more complicated than using the Arduino IDE, with the exception of the fuses, a thing I try to avoid messing with because the complexities of their settings leaves a likelihood of me screwing something up. but ultimately I think the only thing the docs could use here is some kind of quickstart and maybe a brief overview of what files do what. Otherwise the program structure is very good and I was able to get my board flashed with two commands, not including installing toolchains.