joelmatteotti / tuxfirmware

New firmware for TuxDroid (more infos here: http://forum.tuxdroid-community.org/viewtopic.php?id=197)
GNU General Public License v2.0
5 stars 7 forks source link

fuxusb #2

Open nka11 opened 10 years ago

nka11 commented 10 years ago

Hi,

I'm reading in http://sourceforge.net/p/tuxdroid-commun/code/HEAD/tree/firmware/fuxusb/trunk/ :

This firmware can't be compiled with an open source compiler

Is that still true ? can't we use sdcc ?

joelmatteotti commented 10 years ago

Hi

I've already asked this question there is a long time to Ks156 (the firmware guy from Kysoh) and his answer is:

"To compile fuxusb you need Keil, there was at the time an open source compiler for 8051, but do nothing with good results. The code is mainly optimized for the rapidity with using the Keil instructions. I don't know if another compiler can get to working without problem."

nka11 commented 10 years ago

Situation may have changed since that time, no ? And he said he didn't know...

Anyway, i have my answer, an sdcc binary have chances to run properly on fux, maybe with unoptimized code.

If I describe you what I'm trying, you may tell me if it's necessary to dive into fux firmware : I would like to get a serial line from tuxcore to the computer for reading and debugging, just like the arduino's Serial.print function. I guess it's possible using the wire from tux to fux but i don't know if i have to reprogram fux to read and report to USB the information.

joelmatteotti commented 10 years ago

Don't have the time to check but I think it's not impossible to do that.