[SOLVED] No "Maple Mini" board in Arduino IDE boards menu

All distros
Post Reply
not0xor1
Posts: 4
Joined: Wed Jan 03, 2018 10:39 am

[SOLVED] No "Maple Mini" board in Arduino IDE boards menu

Post by not0xor1 » Wed Jan 03, 2018 11:25 am

Hi,

I'm new here and have no previous experience with STM32 boards (and no much experience with arduino ones).
I just got a couple of maple mini clones, Baite brand, from ebay and at the moment I just want to try some sketches to see if they work.

I'm running kubuntu 14.04 32bits and just updated Arduino IDE to 1.8.5 and as adviced here:
http://wiki.stm32duino.com/index.php?title=Maple_Mini
and here:
https://github.com/stm32duino/wiki/wiki/Getting-Started
https://github.com/stm32duino/wiki/wiki/Boards-Manager
I added STM32 boards to the IDE.

Unfortunately, after installation completed succesfully, I still do not have any "maple mini" board in the menu, but just Nucleo 32/64/144 and Discovery.

Looking for further informations, here https://github.com/stm32duino/Arduino_C ... -available I found:
"Next release ... MapleMini F103CB (on going)"

What does that mean???
Maple Mini support has been removed?

What could I do to solve the problem?
Thanks
Last edited by not0xor1 on Thu Jan 04, 2018 9:48 am, edited 1 time in total.

zmemw16
Posts: 1675
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: No "Maple Mini" board in Arduino IDE boards menu

Post by zmemw16 » Wed Jan 03, 2018 12:23 pm

you've installed the 'official' STM cores and those are for ST named boards.

i'm tempted to say re-install arduino 1.8.5, and delete the dot arduino15 directory first
in your home dir, create a sketchbook directory, run arduino and in preferences point to it.

Code: Select all

/home/fred/sketchbook/hardware/
exit arduino

one of the checks i do is
edit dot arduino15/preferences.txt - check if it references a COMn port in the lines starting "serial.".
if so delete the serial.* lines.

then what you need to do is go to
https://github.com/rogerclarkmelbourne?tab=repositories
and then to the wiki
https://github.com/rogerclarkmelbourne/ ... STM32/wiki

under the sketchbook directory i have library and hardware directories.
under the hardware dir is where to install the expanded zip file. rename the directory to Arduino_STM32
now you're the same playing field as us :)

start Arduino
board manager should now have the supported boards listed.
as you have Nucleo boards i'd then install as you originally did and they'll appear at the bottom of the boards drop down list.

stephen

not0xor1
Posts: 4
Joined: Wed Jan 03, 2018 10:39 am

Re: No "Maple Mini" board in Arduino IDE boards menu

Post by not0xor1 » Wed Jan 03, 2018 7:27 pm

Hi Stephen,

thanks for your reply
I just had to add the support for the stm32duino supported boards by adding the URL provided here:
http://wiki.stm32duino.com/index.php?ti ... er_package
I also updated the support for Arduino Due and ran the install.sh script in the hidden stm32duino directory, but unfortunately I got a wrong dfu-util version: "dfu-util: cannot execute binary file"

I opened the executable with a hex-editor and noticed it is linked to 64 bit libraries, so I have to find a 32 bit version of dfu-util or just wait until I update my PC to kubuntu 17.10-amd64.

... OK...I just downloaded Arduino_STM32-master.zip and noticed that there are 2 linux subdirs with hopefully both 32 and 64 bits executables.... I'll check tomorrow...

In any case thanks for your help

not0xor1
Posts: 4
Joined: Wed Jan 03, 2018 10:39 am

Re: [solved] No "Maple Mini" board in Arduino IDE boards menu

Post by not0xor1 » Thu Jan 04, 2018 9:54 am

OK
I deleted the dfu-util executables and rebuilt them from the included source directory:
~/.arduino15/packages/stm32duino/tools/stm32tools/2018.1.3/linux/src

now everything works as expected :D
so the problem was just wrong (linked to 64bits libraries) executables

thanks

User avatar
mrburnette
Posts: 2196
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: [solved] No "Maple Mini" board in Arduino IDE boards menu

Post by mrburnette » Thu Jan 04, 2018 3:26 pm

not0xor1 wrote:
Thu Jan 04, 2018 9:54 am
OK
I deleted the dfu-util executables and rebuilt them from the included source directory:
~/.arduino15/packages/stm32duino/tools/stm32tools/2018.1.3/linux/src

now everything works as expected :D
so the problem was just wrong (linked to 64bits libraries) executables

thanks
There were multiple problems.
I personally like (and use) Mr. Drown's core - it is a parallel of Roger's core but it is:
This branch is 31 commits ahead, 444 commits behind rogerclarkmelbourne:master.
Mr. Drown's is one of the forum's advanced members. Other members also have their own flavor of the STM32duino core.

So, you will not be using the forum's default core. Issues may crop-up or issues may be avoided depending on what you are doing.

The "master" forum core is here: https://github.com/rogerclarkmelbourne/Arduino_STM32
The matching WiKi is here: https://github.com/rogerclarkmelbourne/ ... STM32/wiki


Ray

Post Reply