Undefined identifier 'SETUP_TYPE'

10 views
Skip to first unread message

david sun

unread,
Sep 25, 2018, 8:10:21 PM9/25/18
to FPGALink Users
Hi 
I am learning how to make a cypress .hex file from the libfpgalink. 

my goal is to get a FX2LP firmware that can load FPGA through JTAG. 

my questions
1. is it a correct operation to run make at the /c/makestuff/libs/libfpgalink/firmware/fx2?
2. if 1 is positive, where should "SETUP_TYPE" to be defined?

Sincerely,

David Sun



david_sun@DAVIDS-T3500$ pwd
/c/makestuff/libs/libfpgalink/firmware/fx2
david_sun@DAVIDS-T3500$ make
sdcc -DDATE=0x20140524 -mmcs51 --code-size 0x1e00 --xram-loc 0xe000 --xram-size 0x0200 -Wl"-b DSCR_AREA=0x1e00" -Wl"-b I
NT2JT=0x1f00"  -c --disable-warning 85 -I sdcc -I../../../../3rd/fx2lib/include -I../../../../common app.c
app.c:60: warning 112: function 'RENUMERATE_UNCOND' implicit declaration
app.c:60: warning 84: 'auto' variable 'RENUMERATE_UNCOND' may be used before initialization
app.c:60: warning 84: 'auto' variable 'RENUMERATE_UNCOND' may be used before initialization
app.c:229: error 20: Undefined identifier 'SETUP_TYPE'
app.c:268: error 20: Undefined identifier 'SETUP_TYPE'
app.c:280: error 20: Undefined identifier 'SETUP_TYPE'
app.c:291: error 20: Undefined identifier 'SETUP_TYPE'
app.c:300: error 20: Undefined identifier 'SETUP_TYPE'
app.c:320: error 20: Undefined identifier 'SETUP_TYPE'
app.c:347: error 20: Undefined identifier 'SETUP_TYPE'
app.c:366: error 20: Undefined identifier 'SETUP_TYPE'
make: *** [app.rel] Error 1
david_sun@DAVIDS-T3500$
Reply all
Reply to author
Forward
0 new messages