Re: [Sdcc-user] Nordic nRF24 support?

2010-04-14 Thread C. Scott Ananian
On Wed, Apr 14, 2010 at 4:19 PM, Maarten Brock wrote: > Are you sure it doesn't write to DPTR1 when you set DPS to 1 and then > perform MOV DPTR,#0 ? B.t.w. SDCC only uses dual datapointers in the I'll have to test that. The Nordic documentation is not very clear. =( > alternative crtxinit.asm

[Sdcc-user] Nordic nRF24 support?

2010-04-14 Thread C. Scott Ananian
Has anyone worked on making sdcc play nicely with the Nordic Semiconductor nRF24 series of 8051 microcontrollers? In particular, they have a dual DPTR mechanism which isn't quite the same as the one SDCC uses (setting DPS seems to change the location used for @DPTR instructions, but it doesn't cha

[Sdcc-user] How to disable pdata?

2010-04-14 Thread C. Scott Ananian
I'm compiling for a target (Nordic nRF24LU1) which doesn't support pdata access -- no equivalent to an XPAGE SFR. What's the best way to disable this feature in SDCC and ensure that my code doesn't accidentally get an XPAGE reference? Currently my plan is to replace crtpagesfr.asm with an empty s