sakoman 0 Posted January 24, 2013 Share Posted January 24, 2013 Just finished a port of the picoc interpreter. The basics are working, now to add hooks to the Stellaris libraries in ROM . . . A brief video of picoc in action: bluehash 1 Quote Link to post Share on other sites
bluehash 1,581 Posted January 24, 2013 Share Posted January 24, 2013 Thanks! Quote Link to post Share on other sites
vinge.ven 0 Posted January 31, 2013 Share Posted January 31, 2013 hi, sakoman, I was just searching for a arm prot of picoc, and find your message.can you please share your porting? Or do you know any other porting(or information) of picoc in any arm base mcu, that I can get for reference? my email: vinge.ven@gmail.com. Quote Link to post Share on other sites
bluehash 1,581 Posted January 31, 2013 Share Posted January 31, 2013 I'd be grateful if you posted your code here for sharing. Keep us posted. Quote Link to post Share on other sites
sakoman 0 Posted January 31, 2013 Author Share Posted January 31, 2013 I was just searching for a arm prot of picoc, and find your message. The picoc source code is straight c code -- there is nothing you need for an ARM "port" other than a cross compiler! Adding basic support for your arm system should be quite simple -- at a minimum you need to provide functions that provide the equivalent of getc, putc, and gets. These should be simple hooks into the equivalent functions on your specific board. That will get you the interactive picoc that you saw in my demo. Going beyond the simple interactive mode is the challenging part, depending of course on how far you want to take things. Look in the platform subdirectory for example platform adaptations. Quote Link to post Share on other sites
sakoman 0 Posted January 31, 2013 Author Share Posted January 31, 2013 I'd be grateful if you posted your code here for sharing. Keep us posted. I'm still actively developing and debugging, so it is a bit premature. I plan to submit my changes upstream so that folks will get Stellaris support just by downloading the upstream source. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.