I am using an RPi4 with Raspbian.
I am a linux novice.
I have tried to follow what seem to me to be pretty fragmented bits of help on what to do. Most of it has come from the git repo documents and MikeRed’s thread.
I have had some success, in that I have been able to compile and run an example on the pi, the palette-cycle one.
When I moved on to send it to the 32blit, although the process said it had worked, the 32blit now only shows a blank screen and is unresponsive to any keypresses.
At that point I thought I needed to compile the firmware and load it into the 32blit to recover it. So I trawled what documentation I could find on that and eventually did the following.
From within the 32blit-stm directory:
mkdir build.stm32
cd build.stm32
cmake … -DCMAKE_TOOLCHAIN_FILE=…/32blit.toolchain
The above worked with comments but no errors.
Now to build the firmware binary.
Yes, but how and where. Tried this in firmware, in firmware/flash-loader and in the above build.stm32 dir but no luck.
After more reading I tried this.
From the firmware directory:
mkdir build
cd build
cmake …
make
This got to 97% before failing saying CDCCommandHandler.h, referenced inflash-loader.hpp, did not exist. I rooted about and found that file with a bunch of other include files in 32blit-stm32/Inc.
But now I am stuck. My limited Linux experience means I don’t know what is wrong causing the compiler not to be able to find the “missing” h file(s).
I think for my level, there needs to be a simple guide that doesn’t assume any knowledge of how cmake and make work etc. Anyway, If anyone has any pointers they would be most welcome.