i thought i’d do my usual mods to the STM32 example of digital blink. Went into examples, no Arduino_STM32 examples entry.
after firtling about abit with a re-install of Arduino, i changed the board from Due to f103c8 and checked examples, all as expected.
stephen
What version of the IDE are you running
had me puzzled and scratching head
as an aside:
if i only ever use stlink and boot0/boot1 both zero, i only have to press reset or cycle power; correct?
and if i want to program via uart1, than i need to move boot0 to 1; correct?
that’s for the system boot loader, does it time out and then jump to run the flash?
stephen
grep is running; 5m … whilst it is, anyone know how to look for multiple strings in a file, ok egrep as i posted in a thread
this could take a while … 10m
[edit]
Arduino_STM32/Arduino-1.6.9-r0/arduino-core/src/processing/app/Platform.java: File dataFolder = new File(home, ".arduino169r0");
it’s not difficult to build, follow the instructions. i don’t know java, c and c++ bits of. three or four assembly ones.
minor’ish point, i’m on debian 8 x64, so all the support software is already to hand.
it was my way of running multiple arduino versions without cross contamination in the preferences file.
you say portable, is that a windows re-definition of something?
stephen
I believe that in Linux and OSX is the same but I don’t know if the directory must be called “portable” or “Portable”.
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
Sometimes it happens that instead of using the portable sketchbook folder it uses the folder in your home folder. Just manually open a sketch in the portable folder and it works again.
