i just added a ‘portable’ dir to the binary package installation.
a sketchbook with a sub dir of libraries is created in there on first use, additionally installing the stm32 compiler using the board manager package with m3 in the name puts all the packaging, staging stuff and a preferences.txt in there as well. logical if it’s going walkies.
it updates that ‘new’ preferences.txt with the sketchbook dir name from the original preferences.txt
now to be truly portable, i’ll need to install Arduino_STM32 into a hardware dir below portable/sketchbook?
saving a new sketch for either nano or maple boards opens to my /home/stephen/sketchbook, not really portable.
moving my sketchbook/hardware/Arduino_STM32 to under portable looses the stm32 board types.
<edit>
until i moved the hardware/Arduino_STM32 directory back to it’s ‘proper’ place, i lost the Arduino_STM32 examples menu entry
</edit>
stephen