Hi,

I've posted the sdcc bankswitching code to
http://sourceforge.net/projects/ccflasher/
Patches and a sample app are included. Sample app works for cc2430,
but it should be simply modifiable to other 8051 chips.
The code is tested and works ok as far as I know.
I've be able to compile and run the nanostack from sensinode.
http://www.sensinode.com/top/newsdesk_info.php?newsdesk_id=23

Would this be possible to include in the main branch?

Thanks,
Peter

On 9/4/07, Peter Kuhar <[EMAIL PROTECTED]> wrote:
> 1.) parameter passing on stack and stack misalignment
> I'm trying to go around this problem, but I'm jet to  find  a solution.
>
> 2.) about linker generation code
> The current implementations uses a "template" proxy function written in asm
> and assembled to .rel.
> Linker then loads this "template" and replaces template symbols once for
> every proxy needed.
>
> The whole proxy code is in the template provided by the programmer( so you
> can switch the banks even with the serial port if you want to )
>
> -
> Peter
>
> --------------
> On Sep 3, 2007, at 12:30 PM, Maarten Brock wrote:
>  > In general I'm opposed to having the linker generate or modify any
>  > code. I
>  > think only substitution of labels should be allowed.
>
>  To put it briefly, I agree 100% here...it'd be a huge abstraction
>  violation. Code generation is purely the responsibility of the
>  compiler.
>
>  -Dave
>
>  --
>  Dave McGuire
>  Port Charlotte, FL
>  Farewell Ophelia, 9/22/1991 - 7/25/2007
>
>
>


-- 
http://www.pkuhar.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to