ccbuluo / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Implement ipm using marshal system in v10 #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Need to redesign and re-implement ipm anew using the recently added marshal 
system.

Original issue reported on code.google.com by dwhall...@gmail.com on 24 Jul 2011 at 6:21

GoogleCodeExporter commented 9 years ago
- Added ipm argument to SConstruct which prints instructions to run ipm.
- Wrote new _read_and_load() func in src/lib/ipm.py which receives bytes and 
runs them through the marshal load() function.  This obviates importing 
pmMarshal, saves 1 function call in the ipm loop and allows immediate release 
of the ipm payload string.
- src/lib/ipm.py added to the default build for posix.
- src/platform/posix/main.py changed to run ipm strictly.
- src/tools/ipm.py changed to use pmMarshal to generate serialized payload; 
removed the required argument path/to/pmfeatures.py; prefix the ipm transaction 
with a 16-bit size-of-payload.

Original comment by dwhall...@gmail.com on 26 Jul 2011 at 3:27

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 319012a65f35.

Original comment by dwhall...@gmail.com on 26 Jul 2011 at 3:27