Hi all,


as it is some time ago writing my last blog I thought it would be a good thing, to share something interesting for the holidays.


So I’m not going to share some good thoughts or what the past year has brought to us or to me.

That have done a lot of other and I don’t have to add to those blogs a thing. So what is this blog about. I bought a raspberry a few weeks ago and started to use it with different tutorials.

As I learned this year at sitmuc that a lot of us don’t take the time to build tool or better get used to the tools to handle things in an easy way. At that time I was a bit skeptical about this fact, but the last few weeks I recognized that this is also true for me.


I was so fascinated of my new playable raspberry with all the sensors and other things plugged in, that I really ignored the fact, that Putty is a nice Tool to connect remote systems in an easy way but is a terrible editor.


Luckily I recognized it some weeks later and started to use Eclipse. As you might know I’m really addicted to it and why not have all together in one place.  It’s not just awesome for ABAP, refactoring and ….ok, that’s offtopic… ๐Ÿ˜ณ

Inserting image...

Today I want to show you how to connect your raspberry to your eclipse installation and additional to that share with you the python-plugin to have the coding presented in a way you want.



Prerequisite:

You have a Eclipse-Installation running (No, have a look here: https://eclipse.org/ )



Let’s start with connecting the device:



  1. Open “Window” -> “Open Perspective” -> “Other…”

Image

  1. Choose “Remote System Explorer”
  2. Open “File” -> “New” -> “Other…”
  3. Choose “Remote System Explorer” -> “Connection”
  4. Set up remote connection type
  5. Click “Linux” –>Next
  6. Choose your entry you made before in step “Add your raspberryand type in a name ->Next
    1. FILES  Click ssh-files at the windowConfiguration –>Next
    2. PROCESSES Click processes.shell.linux at the windowConfiguration –>Next
    3. SHELLS Click ssh.shells at the windowConfiguration” –> Next
    4. SSH TERMINALS  Click ssh-terminals at the windowConfiguration –> Finish
      Now you should see at your left hand side your created connection
  7. Right click on the name and go to properties (Shortcut ALT+Enter๐Ÿ™‚ )
    1. Left hand side click on host and you can add the Default User ID. I think most of us usespias shown

Now your good to go and can connect to your raspberry via eclipse and browse the files.

Image

Next I will try to connect my eclipse to cross-debug on my raspberry. This will take a while cause of different reasons.

So that’s it. Maybe it’s just me, but I had my problems to start with it and didn’t find a good document which lead me through the whole process.


Right now I’m diving into the https://github.com/SAP/iot-starterkit and take my next steps (That is also the reason why I posted it in this space ๐Ÿ™‚ ).


I’m pretty sure I will get to the point I need debugging cause of a bigger project. After I have figured it out I will get back here and also share this setup with you.


If someone of you have a running setup and a guide how to get there I also would like to see a blog or even a link:-)


Cheers

Florian


BTW: I also installed the python-plugin to have a good looking code in front of me.

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. Hans-Joerg Alles

    Hello Florian,

    i downloaded the sources from Git. Running as Maven build with clean, install works except for the project com.sap.iot.starterkit.cert. There is a compilation error trying to find package sun.security.pkcs10 which should belong to JDK 7 ( but i didn’t find it until now ). The maven-compiler-plugin has a configuration for Java 8.

    Did you find out the same ? Any solutions ?

    Thanks

    Hans-Jรถrg Alles

     

    (0) 

Leave a Reply