| | gcc-3.3 - multi-line string literals
|
|
GCC 3.3 has made multi-line string literals a syntax error. (They were deprecated from 3.0). This is very annoying, because they made lots of sense for things like inline asms, and brickOS has lots of them. Below are patches which append \n\ to the (...) (22 years ago, 17-May-03, to lugnet.robotics.rcx.legos)
|
|
| | brickos-0.2.6.10 CONF_DSENSOR_MUX problem
|
|
After I have done the changes desribed in thread: (URL) brickos-0.2.6.10 .text is not within region ram now i can compile the kernel with CONF_DSENSOR_MUX. But the DSENSOR_MUX does not work. I have checked this item with an osciloscope on the (...) (22 years ago, 15-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: usb & lnpd
|
|
(...) hi! (...) nothing to do with his patches... (...) hm, that did work for me. (...) i will send you my patches. have fun! flo. (22 years ago, 9-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: usb & lnpd
|
|
Mason, As fas as I know the usb support under linux it's not finished, some part (such as receiving works, but it's not transparent, as if you had the serial tower). You can check the current satus at: (URL) way would be to run cygwin under windows (...) (22 years ago, 9-May-03, to lugnet.robotics.rcx.legos)
|
|
| | usb & lnpd
|
|
Hi. I 've got a ris 2.0 with usb tower and about two weeks ago for the first time dll and firmdl work with legos 2.5 with instructions found at: (URL) tried with the patch legos-0.2.6-linux-us...stdl-sched with legos.0.2.6 but it don't work at all. (...) (22 years ago, 9-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: TIME STAMP for a LNP distributed robot
|
|
Thanks Mark for your idea, it's better to have a different global time than the one of the kernel. Best Regards, CarlosLuis Rendon M. "Mark Riley" <markril@hotmail.com> wrote in message news:HEIyDt.16s5@lugnet.com... (...) (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: TIME STAMP for a LNP distributed robot
|
|
BTW, make sure you include: #include <time.h> Otherwise, get_system_up_time() will only return 16 bits! Mark (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: TIME STAMP for a LNP distributed robot
|
|
Hi, The sys_time variable is the basic timekeeper for BrickOS. It is a 32-bit integer that is incremented every millisecond by the kernel. In older versions of the kernel you could access the variable directly, however, in 0.2.6.10 and later you (...) (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|
|
| | TIME STAMP for a LNP distributed robot
|
|
Hi, I'd like to make a basic implementation of a time stamp on a distributed schame, using Lamport's algorithm. It states basically that when a node receives a message, it get the time stamp that's contained on it, and compares with it's own, if the (...) (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: brickos-0.2.6.10 .text is not within region ram
|
|
(...) Dear Mark I will check the demo programs and more stuff. If i'm not wrong it looks to me that now we have 16K for the kernel ( c000-b000) = 4Kb more. If i got the results, i'm coming back to the forum. best regards Bernhard (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|