Skip to Content
Technical Articles
Author's profile photo Lars Hvam

Running some ABAP on a Raspberry Pi Zero

Back in 2018 I procured a Raspberry PI Zero W it is a single core 1GHz ARMv6 CPU with a whopping 512MB RAM, it is the slowest PC that I own, where I have peripherals that can connect to it.

Raspberry%20Pi%20Zero%20W

Raspberry Pi Zero W

Running a traditional ABAP system on it will probably not work? But we have workarounds like https://github.com/abaplint/transpiler and some code https://github.com/larshp/abap-advent-2020 which will run on it.

The transpiler requires at least NodeJS 12 to run, and support for ARMv6 was deprecated from NodeJS 12. Luckily unofficial builds exist, I followed the guide at https://hassancorrigan.com/blog/install-nodejs-on-a-raspberry-pi-zero/ to get it running.

Then run the following commands,

git clone https://github.com/larshp/abap-advent-2020

cd abap-advent-2020

npm install

npm test

And some ABAP code is running, very slow, very restricted functionality, but running 🙂

Running

Running

 

Assigned Tags

      9 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo DJ Adams
      DJ Adams

      Love this kind of stuff. Kudos Lars!

      Author's profile photo Lars Hvam
      Lars Hvam
      Blog Post Author

      Heavily inspired by your twitter post, to see if this would actually work

      Author's profile photo Mithun Kumar
      Mithun Kumar

      This is superbly interesting!

      Any ideas if this can run on the bigger Pi's as well? Atleast with the higher memory and processor capacities, it might be possible to have lesser restrictions and higher speeds of execution.

      Author's profile photo Lars Hvam
      Lars Hvam
      Blog Post Author

      Yea, sure, I just digged out the oldest and smallest Pi I have. Any of the newer ones will have GBs of memory, and ARMv8, which makes it easier and faster to run

      Author's profile photo Michael Keller
      Michael Keller

      I use an old Raspberry Pi as RetroPi. The thing is, I want to show my daugther (three and a half years old) computer games from the early to modern days. Starting with super awesome graphics and open world games wouldn't be a good idea. At least I think so. Therefore I showed her Girl's Garden. Collecting flowers is a nice play 🙂

      Author's profile photo Jörgen Lindqvist
      Jörgen Lindqvist

      Yes, this is awesome on so many levels...

      Author's profile photo Paul Hardy
      Paul Hardy

      Test

      Author's profile photo Marc Bernard
      Marc Bernard

      I suggest Star Trek TNG Mini Display for the UI, but I'm sure DJ will still use CLI after joining the federation

      Author's profile photo Lars Hvam
      Lars Hvam
      Blog Post Author

      Well, actually I have a HDMI 7" 800x480 Display, which I have not used, hmm