| | NXT Programming with C Question Alexis Morris
|
| | Hi there: I've been trying to find a method of coding the NXT using C, however the existing languages available, such as RobotC, or NBC/NXC etc all seem to be C-like languages and not ANSI C. This seems to be the trend, but does anyone know why (...) (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
| | |
| | | | Re: NXT Programming with C Question Ralph Hempel
|
| | | | (...) There's no reason you can't compile straight ANSI C and run it on the NXT. I was doing it last year and ran an ATMEL sample program that turned the NXT into the world's most expensive 256K (not M) Flash drive :-) The hard part is using the (...) (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
| | | | |
| | | | | | Re: NXT Programming with C Question Alexis Morris
|
| | | | | (...) Hi Thanks for the fast response, I think I'll have a look at the pbLua firmware. What I am working towards is a method of running Haskell programs on the NXT by converting to C bytecodes first. (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
| | | | | |
| | | | Re: NXT Programming with C Question Brian Davis
|
| | | | (...) I suspect it could, but I'm not sure that's an approach you want to take. For one thing, there's the question of how to address and handle all the special HW that is attached to the ARM inside the NXT... and furthermore communicate with the (...) (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
| | | | |
| | | | | | Re: NXT Programming with C Question Alexis Morris
|
| | | | (...) Hi there, Thanks for venturing those reasons. I had been thinking that with the release of the NXT firmware that there may be options to compile code that worked directly with the firmware. Cheers (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
| | | | |
| | | | | | RE: NXT Programming with C Question
|
| | | | (...) Ralph and Brian have provided good input that parallels my experience. Here's a little more information. If you have access to the IAR tools you can compile the NXT firmware available in the NXT SDK from LEGO "out of the box". I believe there (...) (18 years ago, 20-May-07, to lugnet.robotics.nxt.nxthacking)
|
| | | | |