2020-06-06 11:22 AM
FYI: To run the cube on raspberry:
Download and install Oracle java 1.8.0, arm32 hard float
cd /opt; tar xvf jdk-8u251-linux-arm32-vfp-hflt.tar.gz
Download and unzip STM32CubeMX
unzip en.stm32cubemx_v5-6-1.zip
Start installer
/opt/jdk1.8.0_251/bin/java -jar ./SetupSTM32CubeMX-5.6.1.exe
Execute STM32CubeMX from install directory
/opt/jdk1.8.0_251/bin/java -jar ./STM32CubeMX
2020-06-07 12:14 AM
Next challenge: make STM32CubeIDE work by replacing the toolchain shipped with it with one compiled for the Pi, and openocd with a variant that turns the Pi into a debugger probe.
2020-06-07 02:35 AM
Thank you. Running openocd on raspberry using the gpio pins to connect to target is not a challenge; it is a command line option. Compiling cube generated sources on raspberry is installing arm-none-eabi-gcc and asking cubemx to generate output for "Makefile".