Hi everyone,
As I have mentioned, I am hoping to get a pic24 port of v10 up and running. Rather than starting with Bryan Jones' pic24 port from v09, I am trying to start with the v10 posix64 platform (although I am certainly attempting to benefit from his earlier port). For the time being, I have not implemented a plat_loadCodeObject function. Once I understand things a bit better, I am hoping to implement one that loads marshaled modules from a micro SD card. The main.py and main.c are taken directly from the posix64 platform (i.e., main.py just imports and runs ipm). When I attempt to build the pic24 platform that I have made, I get the following warning when it builds marshal.c:
src/platform/pic24/build/vm/marshal.c: In function 'load_int':
src/platform/pic24/build/vm/marshal.c:53: warning: left shift count >= width of type
src/platform/pic24/build/vm/marshal.c:53: warning: left shift count >= width of type
During the final linking step, it gives me the following undefined reference errors to marshal_load and marshal_dump in pm_generated_objs.o:
src/platform/pic24/build/pm_generated_objs.o(.text+0xbbe): In function `no131':
/Users/bminch/Code/python-on-a-chip/src/platform/pic24/build/pm_generated_objs.c:66: undefined reference to `marshal_load'
src/platform/pic24/build/pm_generated_objs.o(.text+0x12a4): In function `no217':
/Users/bminch/Code/python-on-a-chip/src/platform/pic24/build/pm_generated_objs.c:46: undefined reference to `marshal_load'
src/platform/pic24/build/pm_generated_objs.o(.text+0x12d8): In function `no218':
/Users/bminch/Code/python-on-a-chip/src/platform/pic24/build/pm_generated_objs.c:68: undefined reference to `marshal_dump'
Both of these functions are certainly present in marshal.c and prototyped in marshal.h, and marshal.o was included when the static library archiver created libpmvm.a. Does anyone have any ideas about what might be going on here?
Thanks,
Brad.