Hi,

The problem is that portable.h does not include portmacro.h from
nanostack/platform/nano/include directory. That is the problem with
nanostack distribution, not sdcc.

This will make it work. But will not yet use code banking.
There are some changes needed in the makefiles to tell the linker in
which bank to put which file.
I'll post that changes on Sunday.

Regards,
Peter



On 10/18/07, Frieder Ferlemann <[EMAIL PROTECTED]> wrote:
> Hi Peter,
>
> Peter Kuhar schrieb:
> > This is a follow up from the previous e-mails about code banking.
> > 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,
>
> Thanks! I downloaded and installed sdcc-src-2.7.0-cc2430-banked-devel.tar.gz
> which went without a glitch (openSUSE)
>
> > 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
>
> I seem to be stuck with an error message though:
> ../../FreeRTOS/Source/include/portable.h:214: syntax error: token -> '*' ; 
> column 16
>
> How did I produce that one? I downloaded and unpacked nanostack,
> and downloaded and unpacked FreeRTOSV4.4.0.zip
> in the nanostack directory. Then changed directory to
> nanostack/Examples/nano_example_n120 and run "make" there.
>
> > Would this be possible to include in the main branch?
>
> I'm not familiar enough with these parts of the compiler
> so I hope someone else chimes in:)
>
> Greetings,
>
> Frieder
>
> -------------------------------------------------------------------------
> 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
>


-- 
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