The design is to have two places for .py libraries: src/lib/ is for
system libraries applicable to all platforms, and src/platform/
<yourplatform>/ is for platform-specific libraries. You put the .py
file in the desired directory, then modify the Makefile to process
your file at build time.
!!Dean
> --
> You are subscribed to the "python-on-a-chip" (or p14p for short)
> Google Group.
> Site: http://groups.google.com/group/python-on-a-chip
Its compiled and working fine but when i try to add some small script(~2KB) with some functionality in the same way as above mentioned its failing. I mean on ipm>> prompt if i try to load that new module added i am not getting required output.
For example in src/lib folder i have added another file called sample.py and i imported this file in main.py as above mentioned and after connectiong through serial cable i will run ipm command from tools/ directory as follows:
"python ipm.py -s com4" this command will redirect to ipm>> prompt and from that prompt if i try to load the sample module i am not getting any results and some times its halting..
Will somebody help me in this scenario and please guide me on how to add new script file to p14p modules and how to get that new file functionality from ipm prompt??
Thanks in advacne
Basha