OT: NXC generating ARM code?
Posted: 07 Feb 2012, 00:21
I split this post off the original topic to avoid flooding it with OT replies.
https://sourceforge.net/apps/phpbb/mind ... =10#p12099
The missing parts are dynamically linked supporting libraries for the NXC API and a loader/linker to resolve the symbols. But then, I'd suspect ROBOTC or other alternative firmware is already doing something similar for their own API libraries? (Disclaimer: I have not used ROBOTC).
The question is whether it is worth John's effort to support such a configuration.
https://sourceforge.net/apps/phpbb/mind ... =10#p12099
The firmware's role is to be able to run user programs. If John's firmware executes ARM7 machine code, then it is probably better just to use a ARM cross-compiler and download the ARM code directly to the NXT (which can be done today using NxOS).doc-helmut wrote: admittedly OT: But if that's too much effort, what about not investing time for that but instead use your free time for writing a non-Lego compatible firmware which e.g. generates genuine ARM7 machine code?
(of course with a close to 100% ANSI compatible C compiler for the Bricxcc IDE, and maybe using a bootloader RAM to keep the std fw on the NXT - but the latter is not a must)
The missing parts are dynamically linked supporting libraries for the NXC API and a loader/linker to resolve the symbols. But then, I'd suspect ROBOTC or other alternative firmware is already doing something similar for their own API libraries? (Disclaimer: I have not used ROBOTC).
The question is whether it is worth John's effort to support such a configuration.