Closed wimrijnders closed 4 years ago
Hi @wimrijnders,
I'd very much like these changes, but there too many conflicts with VPM refactoring work so this PR will have to wait.
OK crap.
I'll do the following: revert the source code changes and just keep in the makefile changes. I'll disable the -Wall
option or it will drive you crazy. I'll do that at a later time after you're done.
My poor little Pi 1 is struggling to build. The Pi 3 is my official backup machine, so methinks it's time to start up the Pi 2 again....should save some build time.
EDIT: Oh, screw it. The Pi 3 is now officially not my backup server any more.
EDIT2: Aargh! Forgot about the conflict with OpenGL
. Back to configuring the Pi 2, then. :cry:.
@mn416 OK reverted the Library files.
This is the first time I reverted only certain files in a commit to versions of several commits ago (TIL), so I hope I did it right. Would you mind reviewing?
I am sad to say that my Pi 2 appears to be dead. Just a little sad, since it's not exactly an expensive thing to brick. But it would havve been nice if I had a Pi 1 2 and 3 to test.
It worked for about a minute and then....nothing.
Perhaps you have an idea to fix this? It might be a recurring problem. I've tried switching bootable SD , cards, no success.
EDIT: I removed it from its case, put the vacuum cleaner on it, and clickclacked the SD card a ridiculous amount of times. Behold, it has risen from the dead! Will given it hostname zombie
.
EDIT2: And on subsequent restart it bricks again :cry:. But I got a bit further this time. It won't start up if HDMI is connected.
This adds switches for debug mode, for more strict testing of the code and for enabling IDE debugging.
In particular,
-Wall
has been added. Changes have been made to the code so that all displayed warnings are handled.Further:
run_all
to the Makefile. This is intended to be an internal target, for running all the examples. The goal is to check if there are any errors during runtime when running any example.help
is now at the top of the makefile, so that it is guaranteed to run when justmake
is invoked. In addition, it is now one of the first things you see when you open the makefile.TOOLS
andEXAMPLES
.