Morning,
On 9 July 2014 08:59, Alan Wood folknology@gmail.com wrote:
- Hardware required (setups you know work currently with Zinc) I assume
just Mbed 17xx or STM32F4 discovery right now
The LPC1768 mbed board will do just fine. If you have a Freescale K20, you can try it also as it's been added to Zinc yesterday... The code for the ST chip currently needs some more work.
- Toochain setup for compiling
The ARM GCC toolchain is the one you want: https://launchpad.net/gcc-arm-embedded For the Rust compiler, please use the nightly version. Ping me on hangout if you find any issues.
You will need Ruby and rake installed as well, shouldn't matter which version. You the run this command to build the blink example:
rake PLATFORM=lpc17xx build_blink
To run unit tests use this:
rake PLATFORM=lpc17xx test
- Loading code/debugging target
To program the mbed board with blink example, copy build/app_blink.bin to the USB flash the usual way.
I haven't tried debugging on target yet, Rust works with gdb just fine though. I have debugged unit tests natively the other day.
That will help us with the on-ramp and testing to support your efforts.
More then happy!