[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] SDCC 3.0.0?

From: Michael Dickens
Subject: Re: [Discuss-gnuradio] SDCC 3.0.0?
Date: Mon, 22 Nov 2010 20:39:23 -0500

Looks like the 3.0 series changes SDCC itself.  Doing "make" in USRP (after 
building dependencies) using SDCC 3.0 results in:

Making all in lib
sdcc -mmcs51 --no-xinit-opt -I../../../../../usrp/firmware/include  -c 
../../../../../usrp/firmware/lib/delay.c -o delay.rel

../../../../../usrp/firmware/lib/delay.c:27: syntax error: token -> '_naked' ; 
column 21
../../../../../usrp/firmware/lib/delay.c:29: warning 197: keyword '_asm' is 
deprecated, use '__asm' instead
../../../../../usrp/firmware/lib/delay.c:31: warning 197: keyword '_endasm' is 
deprecated, use '__endasm' instead

Other keywords it wants to "__" include {at, sbit, xdata, and sfr}.

It doesn't seem like pursuing this path is useful since SDCC 2.4 through 2.9 
work just fine with the current USRP and UHD will be replacing it anyway.  
Seems like Josh's solution will be the most robust as a current solution, so 
that's what I'd vote for.

That said: the replacement 8051 assembler ("sdas8051") is used only in 
"usrp/firmware/src/usrp2/Makefile", but it does seem to work correctly. - MLD

reply via email to

[Prev in Thread] Current Thread [Next in Thread]