/PIC32LuaMZ

Moar MZ, Moar Power. Lua for the PIC32MZ.

Primary LanguageC

PIC32LuaMZ

Lua for PIC32MZ Processors.

After all that experiences and fun with Lua on PIC32(MX) MCUs (see github.com/FMMT666/PIC32Lua), we're back with a 200MHz, 512bK RAM edition:

Lua for the PIC32MZ \o/

Upcoming attraction, nothing to see here (for now ;-).


REQUIREMENTS

Although I created some custom boards, this software comes configured for the PIC32MZ EC Starter Kit, which basically contains:

  • PIC32MZ2048ECH144 MCU
  • 24MHz external oscillator
  • ...

If you own that, you'll only need MPLab-X and the XC32 compiler.


NEXT STEPS

  • interfaces for in- and output (serial, USB, ...)
  • upgrading to a recent Lua version (not sure whether v5.3.3 is "too modern")
  • ports
  • all the other stuff from here
  • ...

THOUGHTS, NOTES AND RANTS

2016/07/31

As predicted years ago, Microchip completely dropped "PLIB", its peripheral library and went "full Harmony".
Currently, I see a lot of functionality, even pretty basic one, not working correctly, mostly because of wrong defines for the EC chips, but for more complicated features, namely TCP/IP or USB stacks, there's no way around this...

So as it seems, I'm going to give it a try, although I expect code changes for every upcoming Harmony relase...

(And one day, they're going to drop that one too :-)


CHANGES

V0.10, 2013/xx/xx

- NEW: compiling, executing, but no IOs or user interaction possible
  (That wasn't actually true. It didn't work ;-)

V0.11, 2016/07/30

- NEW: compiling, really executing, but no IOs or user interaction possible

Have fun
FMMT666(ASkr)