I had to tweak some things to compile chad on Mac OS (Mojave).
The state wait in flash.c has a name conflict with the wait symbol defined in /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/wait.h which is on Mac OS somehow included by #include <stdlib.h>. I renamed wait to wait_.
In TFTsim.c the symbol NULL is not defined on Mac OS unless you #include <stdlib.h>.
In iomap.c Mac OS complains about unsignedness of the buffer buf. Thus the explicit type cast.
Hi Brad,
Nice work! I like it a lot.
I had to tweak some things to compile chad on Mac OS (Mojave).
The state
wait
inflash.c
has a name conflict with thewait
symbol defined in/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/wait.h
which is on Mac OS somehow included by#include <stdlib.h>
. I renamedwait
towait_
.In
TFTsim.c
the symbolNULL
is not defined on Mac OS unless you#include <stdlib.h>
.In
iomap.c
Mac OS complains about unsignedness of the bufferbuf
. Thus the explicit type cast.Keep going.
Regards, Ulli