12864 Modification
-
I read this whole thread and I was curious so I went to the places pointed out and nothing that I saw tells anyone if you need to recompile. A simple answer of yes or no would have been enough. It looks to me that the trend in the forums all over is to direct the person asking the question to some link.
-
@DueDue said in 12864 Modification:
It looks to me that the trend in the forums all over is to direct the person asking the question to some link.
it has the advantage of not duplicating information that may go stale. the downside is of course bit rot but for a closely coupled link like this forum or the associated github its better imo.
@DueDue said in 12864 Modification:
I read this whole thread and I was curious so I went to the places pointed out and nothing that I saw tells anyone if you need to recompile. A simple answer of yes or no would have been enough.
lol, the first thing you did as a brand new user? sure. welcome back and good luck with the 12864...
-
This thread is now locked. I'm sorry this has been necessary, but I want to wrap up the thread with the useful information for anyone following this thread.
@A-Former-User said in 12864 Modification:
question I have is, after the changes are made does the code need to be compiled?
Yes. Generally, RepRapFirmware is monolithic and does not need to be recompiled; you just use the pre-compiled firmware and upload it to your Duet. However, if you need to add/change functionality, and actually edit the firmware source code as in this thread, you WILL need to set up the software to edit and compile the firmware as described in this link: https://github.com/dc42/RepRapFirmware/blob/dev/BuildInstructions.md
@A-Former-User said in 12864 Modification:
One more question, if you add support for the 12864 will the adapter board still be needed?
Yes. Support for the 12864 comes in two parts; first support in firmware, and then some extra hardware, to level-shift the logic from 3.3V to 5V. The hardware and firmware support are already present in the Duet 2 Maestro version, but not in the Duet 2 WiFi/Ethernet.
@DueDue said in 12864 Modification:
It looks to me that the trend in the forums all over is to direct the person asking the question to some link.
If any question can be answered with a link to documentation, that is the correct approach to minimise time spent on support. If the link doesn't completely answer the question, the original poster can always come back and ask more questions, and if necessary the documentation can be updated/improved. That saves everyone time.
I think what went wrong here for the OP is that, by asking about editing the firmware, a level of knowledge was assumed by those answering. It might be simpler in Marlin (because it forces you to build the firmware every single time you want to change something, but at least the Arduino IDE is easy to set up), but for 99% of users, RepRapFirmware doesn't need to be compiled by the user; it is configured by editing a text file on the SD card, config.g. Setting up and using the build environment for RepRapFirmware is not trivial; I tried a couple of years ago, didn't get it working, haven't needed to try since. So the assumption is that, when someone asks about it, they know what they're doing. Asking questions such as "do I need to compile [after I've edited the firmware source files]" does rather make it sound like this may be a difficult task for the OP. It also seems like the OP skim-read (or didn't read) the links, so didn't quite appreciate the complexity of the task, eliciting the responses from more experienced users.
If anyone has issues with this thread, I'm happy to moderate it, but generally we let things stand. Send me a PM, but note support is not provided by PM.
Ian