Spark Logic

maple mini under eclipse + Nightly arduino eclipse plugin / linux

Before change make a backup. :)
plugin: http://eclipse.baeyens.it/nightly-linux.html

file: Arduino_STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog /STM32F1STM32F1Microcontrollers and processors…w I am not able to compile. Error message: “C:\arduino-1.6.12\hardware\Arduino_STM32\ STM32F1 \cores\maple/boards.h:39:25: fatal error: board/board.h: No such file or directory” I…View in hardware catalog /platform.txt

add lines:
build.use_archiver=false
build.system.path={runtime.platform.path}/system
bootloader.tool=maple_upload
change lines:
tools.maple_upload.path.linux={runtime.platform.path}/../tools/linux
compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/

file: Arduino_STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog /tools/linux/MapleMapleDevelopment and computing boards…expensive short of buying in bulk. many resort to usb-serial converters. today comes leaflabs maple , stm32duino it is ‘disruptive’ in a similar light, user customizable usb is no…View in hardware catalog _upload
before ${DFU_UTIL} line:

DIR=$( cd “$( dirname “${BASH_SOURCE[0]}” )” && pwd )
$DIR/reset.py
sleep 1

change line:
${DFU_UTIL} -d ${usbID} -a ${altID} -D ${binfile} -R

reset.py: https://github.com/leaflabs/libmaple/bl … s/reset.py

enjoy :)

some outputs:
compile: http://pastebin.com/3dzqgBfz
download: http://pastebin.com/NCtTsiJ2
settings: http://kepfeltoltes.hu/150613/fz_www.ke … es.hu_.png

Replies15

Sat Jun 13, 2015 5:16 am

Hello Pepe!

Could you perhaps elaborate on what this is about? if I read you right you are saying the latest Arduino Eclipse build plus the changes below makes things work for us with STM32F1STM32F1Microcontrollers and processors…w I am not able to compile. Error message: “C:\arduino-1.6.12\hardware\Arduino_STM32\ STM32F1 \cores\maple/boards.h:39:25: fatal error: board/board.h: No such file or directory” I…View in hardware catalog ? That would be great news…

I will give it a go anyway.

Sat Jun 13, 2015 5:30 am

Hello!

Yes, some changes, compile and download working with STM32F1STM32F1Microcontrollers and processors…w I am not able to compile. Error message: “C:\arduino-1.6.12\hardware\Arduino_STM32\ STM32F1 \cores\maple/boards.h:39:25: fatal error: board/board.h: No such file or directory” I…View in hardware catalog (Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog with bootloader 2.0 tested).

Sat Jun 13, 2015 9:50 am

Very interesting, I will give it a go!

Unfortunately I have to wrestle windows (too many other build tools for projects there), but it
will be worth it if I can get good clean builds happening there.

My main reason for looking for eclipse support is debugging integration – I am amazed the Arduino
projects have got this far without better hardware debug support – not that its simple.
Life would be so much easier if they would do their builds in a more stable location rather than their
randomised build directory.

My eclipse foo must be weak today, even using the daily full eclipse build (windows, 32 bit) I cannot
get it to list any arduino targets other than the standard ones tonight, so obviously I am missing something.
With your project or making a new project, I cannot get a suitable board that I can select..

Using the current hourly Arduino build also.. (hourly? really? seems insane ;) )

Will continue to to fight the good fight however :)

Sat Jun 13, 2015 1:24 pm

This method is working, since some people here on the forum are using it.
Personally, I’ve received my STLink earlier this week, I gave it a try, and it was working.

Sun Jun 14, 2015 10:08 am

Yes, ST-LINKST-LINKModules, instruments and finished devices…ot add the serial usb device… suspect flashing failed…. Do I need to debrick it with st-link ? (which I don’t have lol) BennehBoy Mon Jan 23, 2017 8:11 pm NM managed to rescue it…View in hardware catalog (and segger J-LinkJ-LinkModules, instruments and finished devices… try, and it was working. stuartw Sun Jun 14, 2015 10:08 am Yes, st-link (and segger j-link , which I prefer but both are functional) certainly works well for debugging stm32. The…View in hardware catalog , which I prefer but both are functional) certainly works well for debugging STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog .

The step forward I am looking for (and I know a few others here seem to be also) is to have one single dev environment
that allows edit, build, upload, and debug with major delays between the stages. I have some hopes this project may lead
to that :)

I also use the Cypress PSoCPSoCMicrocontrollers and processors… choice depends on your own requirements. Note. You may also want to add the Cypress PSoC devices to the list as well, as although they are not programmed via the Arduino IDE, I t…View in hardware catalog devices, and they have their own more integrated system (which they really have to given the
hardware complexity of their customised secondary hardware), and some very good libraries, however there is definitely
also an advantage in having access to some of the community that surrounds Arduino (and also STM32duino, which is
very impressive in its growth and functionality, I cannot thank Roger, and others, enough for what they are doing).

The literal flood of cheap and functional boards based on the STM family is a huge resource, but some of the tools do need
to mature a little to really open it up – and good build/debug integration is I believe critical to that.

Or, perhaps I am just getting old and lazy, and command line gdb is just too hard these days ;) I really do hope to get
a good stack working under eclipse, to help my tired old lazy bones.

It feels like it is getting close!

Tue Jun 16, 2015 3:45 am

Eclipse CDT Standalone debugger, Windows version, is supposed to be available at the end of June.

So there may be an option to shell out from the IDE to that debugger.

At the moment that debugger is only available on Linux (and possibly OSX), so I’m holding off investigating how to integrate it until its truely cross platform. I’ve tried to use some other GUI debuggers but they only seem available on Linux.

Most people expect the IDE its self to communicate with the debugger, but the IDE team don’t have that as top of their list at the moment.

Wed Jul 15, 2015 8:29 am

Link is broken.

Forbidden

You don’t have permission to access /nightly/ on this server.

Wed Jul 15, 2015 9:35 am

tekk wrote:Link is broken.

Forbidden

You don’t have permission to access /nightly/ on this server.

Wed Jul 15, 2015 12:04 pm

My settings screen for Arduino in Eclipse looks different:
http://s13.postimg.org/r5xx296ev/Screen … _00_22.png

What changes have to be done for Windows?
Thanks.

EDIT:
My goal is to flash Black Magic ProbeBlack Magic ProbeModules, instruments and finished devices…_DISABLE_DEBUG=1 -DSERIAL_USB -DGENERIC_BOOTLOADER menu.upload_method.BMPMethod=BMP ( Black Magic Probe ) menu.upload_method.BMPMethod.upload.protocol=gdb_bmp menu.upload_method.B…View in hardware catalog firmware onto my Blue PillBlue PillDevelopment and computing boards…as become my new favorite board. I am calling it “blue pad” and it is kind of super “ blue pill ”. Pito Thu Jul 27, 2017 8:53 pm [victor_pv – Thu Jul 27, 2017 3:58 pm] – Just for…View in hardware catalog and then debug visually with eclipse.
I haven’t figured out way to make STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog toolchain work under eclipse.

Mon Jul 20, 2015 7:21 pm

I gave this a shot last weekend, and could not get it working properly. It did work for AVRAVRMicrocontrollers and processors…Arduino\libraries\U8glib\U8glib.cpp, C:\Program Files (x86)\Arduino\hardware\arduino\ avr \cores\arduino\HardwareSerial.h, C:\Program Files (x86)\Arduino/Blink3.ino, D:\Users\me\A…View in hardware catalog , but not for STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog . Some times I would get errors saying there is no project to compile, other times an error with make.
Has anyone used it successfully in Windows for the STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog with our core?
If some, what needs to be added/changed?

Thu Sep 03, 2015 3:27 pm

Pardon my ignorance but where can I find the downloads for Eclipse IDE nightly builds? And latest CDT would be nice too to get

Tue Sep 15, 2015 12:29 pm

Hello,

I am new to this forum so bear with me for my troubles.

I recently configured the STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog files with the Arduino 1.6.5 IDE and it works fine.
I have been using the Arduino Eclipse IDE from baeyens for quite a while and have gotten accustomed to it. So when I try to configure the STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog (more specifically, Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog in my case), It seems to have trouble with the data types uint8_t, uint16_t… etc.. I discovered I am unable to locate the files stdint.h, stdlib.h, stdio.h or string.h.

Can anyone help me out with this?
Thanks

Tue Sep 15, 2015 1:46 pm

Inside your Arduino IDE folder, there are located in something like hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/arm-none-eabi/include/

Mon Apr 18, 2016 9:37 am

Hello Pepe,
could you write order step by step how it is possible to compile basic example Blink for Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog +Nightly arduinoeclipse / linux. I have a new topic similar as yours in another thread (http://www.stm32duino.com/viewtopic.php?f=41&t=1023).

Thank you Pepe.

Tomas

Post a reply

Optional · up to 10 MiB