Subject:
|
Re: error in using brickOS under Bricx Command Center
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Thu, 6 Oct 2005 06:33:05 GMT
|
Viewed:
|
8075 times
|
| |
| |
> The content of the file helloworld.mak is
> ROOT=C:\cygwin\brickos
> KERNEL=$(ROOT)/boot/brickOS
> PROGRAMS=helloworld.lx
> DOBJECTS=
> all:: $(DOBJECTS) $(PROGRAMS)
> download:: all
> $(ROOT)/util/dll --program=1 --tty=usb --rcxaddr=0 $(PROGRAMS)
> set_addr::
> $(ROOT)/util/dll --tty=usb --rcxaddr=0 --node=-1
> include $(ROOT)/Makefile.common
> include $(ROOT)/Makefile.user
I am not experienced in running brickOS under Windows, but are you sure
you can mix the "/" and "\" in the path names? "\" is Windows style, "/"
is UNIX style. (That is why I do all my brickOSing with Linux)
> There is no folder like $(ROOT)/boot/brickOS
Why? I mean, why ../boot/brickOS? You should have a folder .../boot. In
this folder you find the kernel object files and the ready-to-download
brickOS.srec. I think KERNEL should bei $(ROOT)/boot/brickOS.srec (could
be $(KERNEL)\boot\brickOS.srec under Windows)
> bash helloworld.cmd
> produced temp.log whose size is zero.
Hm, you could change the .cmd to use make -n -f.... The -n switch tells
make not to do anything but to print what it thinks it has to do.
Regards,
Michael
|
|
Message is in Reply To:
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|