| | 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)
|
|
| | Re: math.h
|
|
Oh note : you need to compile with -lfloat your kernel if you want to include it into kernel just add -lfloat to $LIBS in the Makefile.kernel nanobapt (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|
|
| | math.h
|
|
Hello all, I've written some math usefull library ! here is my work. It's not really optimized and I'm afraid cause I see the memory place down ... If someone want help me ... Have fun nanobapt /*test.c*/ #include <math.h> #include <conio.h> int (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Upgrade RCX?
|
|
(...) take a look at Robobricks (URL) also playing around with such an idea, but smaller (most devices should fit in a 2*4 brick) and faster (115 kBaud bus). My first notes can be seen here (URL) regards, Stef Mientki (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
|
|
| | Re: brickos-0.2.6.10 .text is not within region ram
|
|
Hi Bernhard, Apparently the kernel is getting too big! By defining CONF_DSENSOR_MUX, enough extra code was generated to make the kernel exceed 12K. If you go to Makefile.user in the main BrickOS directory, change the following lines: # Base (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|
|
| | brickos-0.2.6.10 .text is not within region ram
|
|
I changed in /boot/config.h the //#define CONF_DSENSOR_MUX //!< sensor multiplexor TO #define CONF_DSENSOR_MUX //!< sensor multiplexor Enviroment: Latest Version: Cygwin 1.3.22-1 WIN2000 brickos-0.2.6.10 + gcc-2.95.2 + binutils-2.10.1 + Hitachi (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: firmdl3: delete firmware failed
|
|
(...) see Thread (URL) (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Upgrade RCX?
|
|
Has anyone ever tried to upgrade the memory in the RCX? ( External RAM that is ). What about upgrade the CPU to 60kbyte PROM version? No need to use expanded mode, then a ton of I/O would be available... Anyone thought about building a RCX (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
|
|
| | Re: firmdl3: delete firmware failed
|
|
You answered this question to the exact same person too :-P (...) (22 years ago, 3-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: firmdl3: delete firmware failed
|
|
(...) Arg i've answered .... in an other message nanobapt (22 years ago, 2-May-03, to lugnet.robotics.rcx.legos)
|
|
| | firmdl3: delete firmware failed
|
|
Hello, Has anyone run into this problem? Running this command: firmdl3 legOS.srec results in this message: firmdl3: delet firmware failed Theresa (22 years ago, 2-May-03, to lugnet.robotics.rcx.legos)
|