<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>After installing, asking, and reading i succeeded 
in compiling the firmware:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I found that the project cannot be build by eclipse 
(managed make functionality is not available).<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Iam working on a windows platform; so i created 
some batch files; the code is compiled but not yet linked (-c 
option)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>C:\Documents and 
Settings\Dhr. Maas\workspace\OzyFirmware-wjt\Initial\src</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>sdcc --verbose -o".\compiled\\" -c -I"C:\Program 
Files\SDCC\lib" -I"..\include" hpsdr_main.c <BR>sdcc --verbose -o".\compiled\\" 
-c -I"C:\Program Files\SDCC\lib" -I"..\include" sdr1kctl.c <BR>sdcc --verbose 
-o".\compiled\\" -c -I"C:\Program Files\SDCC\lib" -I"..\include" hpsdr_common.c 
<BR>sdcc --verbose -o".\compiled\\" -c -I"C:\Program Files\SDCC\lib" 
-I"..\include" fpga_load.c <BR>sdcc --verbose -o".\compiled\\" -c -I"C:\Program 
Files\SDCC\lib" -I"..\include" eeprom_io.c <BR>sdcc --verbose -o".\compiled\\" 
-c -I"C:\Program Files\SDCC\lib" -I"..\include" board_specific.c <BR>copy 
.\compiled\*.rel .<BR>copy .\compiled\*.lst .<BR>pause</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>C:\Documents and Settings\Dhr. 
Maas\workspace\OzyFirmware-wjt\Initial\src\lib</FONT></DIV>
<DIV><FONT face=Arial size=2>sdcc --verbose -o".\compiled\\" -c -I"C:\Program 
Files\SDCC\lib" -I"..\..\include" delay.c <BR>sdcc --verbose -o".\compiled\\" -c 
-I"C:\Program Files\SDCC\lib" -I"..\..\include" fx2utils.c <BR>sdcc --verbose 
-o".\compiled\\" -c -I"C:\Program Files\SDCC\lib" -I"..\..\include" i2c.c 
<BR>sdcc --verbose -o".\compiled\\" -c -I"C:\Program Files\SDCC\lib" 
-I"..\..\include" isr.c <BR>sdcc --verbose -o".\compiled\\" -c -I"C:\Program 
Files\SDCC\lib" -I"..\..\include" spi.c <BR>sdcc --verbose -o".\compiled\\" -c 
-I"C:\Program Files\SDCC\lib" -I"..\..\include" timer.c <BR>sdcc --verbose 
-o".\compiled\\" -c -I"C:\Program Files\SDCC\lib" -I"..\..\include" 
usb_common.c<BR>copy .\compiled\*.rel .<BR>copy .\compiled\*.lst 
.<BR>pause</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3><FONT 
face=Arial size=2>Compiling asm code:</FONT></DIV>
<DIV><FONT face=Arial size=2>C:\Documents and Settings\Dhr. 
Maas\workspace\OzyFirmware-wjt\Initial\src\asm</FONT><BR><FONT face=Arial 
size=2>asx8051 -losg vectors.asm<BR>asx8051 -losg _startup.asm<BR>asx8051 -losg 
usb_descriptors_X1.asm</FONT><BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here we are linking the objects:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>C:\Documents and Settings\Dhr. 
Maas\workspace\OzyFirmware-wjt\tools</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2># bit of a hack becasue I can't seem to get the 
input file order for obj modules <BR># correct using standard eclipse -- 
vectors.rel MUST be the first object in the link list </FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>echo 'Executing custom-link.zsh' <BR>sdcc --verbose 
-L"C:\Program Files\SDCC\lib" --no-xinit-opt --xram-loc 0x2000 --xram-size 
0x2000 --code-size 0x2000 -Wl -b" USBDESCSEG = 0xE000" 
-o"ozyfw-pa3gsb.hex"  .\..\Initial\src\asm\vectors.rel 
.\..\Initial\src\asm/_startup.rel 
.\..\Initial\src\asm\usb_descriptors_X1.rel   
.\..\Initial\src\lib\delay.rel .\..\Initial\src\lib\fx2utils.rel 
.\..\Initial\src\lib\i2c.rel .\..\Initial\src\lib\isr.rel 
.\..\Initial\src\lib\spi.rel .\..\Initial\src\lib\timer.rel 
.\..\Initial\src\lib\usb_common.rel  .\..\Initial\src\board_specific.rel 
.\..\Initial\src\eeprom_io.rel .\..\Initial\src\fpga_load.rel 
.\..\Initial\src\hpsdr_common.rel .\..\Initial\src\hpsdr_main.rel  
.\..\Initial\src\sdr1kctl.rel</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>pause<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hope this helps others; maybe someone knows how to 
setup eclipse to build the firmware from the eclipse environment.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Johan PA3GSB</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></FONT></FONT></BODY></HTML>