Skeleton for embedded

I'm developing code for an embedded system that uses a mini-python interpreter. It has a collection of system calls that it provides to the python code that I would like to have PyCharm recognize as I write code - names, arguments, etc. I've tried creating a skeleton for this, but it doesn't appear to do anything.
2 comments
Comment actions Permalink
What specifically do you think should be happening that is not? Are you doing something like the following? Perhaps you could post a minimal source example that illustrates what you're trying to do.

(skel.py)
def foo():
    ...

(main.py)
from skel import foo

foo() # <-- is foo not being recognized here by the completion?
prettyPrint();
0
Comment actions Permalink
Here's the problem: in our environment, I can't "from skel import foo" b/c that will cause that code to be compiled and sent to the embedded system. If necessary, I'll do that for writing code and then comment out the "from" when I send the code to the execution environment. I was hoping there was a way to use skeletons (as opposed to included routine definitions) that would serve the same purpose. This is like any "library" that I invoke - I can't define the routines in a "from" b/c they'll get compiled.
0

Please sign in to leave a comment.