simple runtime vs full SDK, when to use which one?
#1
Two questions regarding the SDK.
The readme at https://github.com/pulp-platform/pulpissimo says:

"We provide a simple runtime and a full featured runtime for PULPissimo. We recommend you try out first the minimal runtime and when you hit its limitations you can try the full runtime by installing the SDK."

1. What exactly are the limitations of the "simple runtime" vs the "full runtime SDK"? When to use which one?

2. How do you switch between the simple runtime and full runtime SDK? What is the proper way to uninstall the SDK? Just delete the pulp-sdk folder and git clone again?


Thanks!
Reply
#2
(01-21-2021, 12:37 PM)LarsKeuninckx Wrote: Two questions regarding the SDK.
The readme at https://github.com/pulp-platform/pulpissimo says:

"We provide a simple runtime and a full featured runtime for PULPissimo. We recommend you try out first the minimal runtime and when you hit its limitations you can try the full runtime by installing the SDK."

1. What exactly are the limitations of the "simple runtime" vs the "full runtime SDK"? When to use which one?


2. How do you switch between the simple runtime and full runtime SDK? What is the proper way to uninstall the SDK? Just delete the pulp-sdk folder and git clone again?



Thanks!
1.
The simple runtime is basically does the bare minimum to setup a c runtime. It initializes some hardware (fll, event unit), sets up the stack and calls main. Then you are on your own. You can build your own sw stack on top of it

The sdk is a bit more feature complete, giving you drivers and some minimal run to completion scheduler
2.
You can get the minimal runtime by calling `make pulp-runtime`
You can get the pulp sdk by calling `make build-pulp-sdk`
You could just delete pulp-sdk folder and call `make build-pulp-sdk` again in the root directory. So yes.
Reply
#3
Thank you for your answer Bluewww!

One more question:
does the simple runtime support stdio (printf) for Ibex at this time? I saw that the pulp-runtim-examples at https://github.com/pulp-platform/pulp-runtime-examples contains a 'hello' example.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)