Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Florian
Active Contributor

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... :oops:

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..."

  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 raspberry" and type in a name ->Next
    1. FILES  Click ssh-files at the window "Configuration" -->Next
    2. PROCESSES Click processes.shell.linux at the window "Configuration" -->Next
    3. SHELLS Click ssh.shells at the window "Configuration" --> Next
    4. SSH TERMINALS  Click ssh-terminals at the window "Configuration --> 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 uses "pi" as shown

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

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 :smile: ).


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.

1 Comment
Labels in this area