lementec fabien wrote:
>
> I would have some questions if you dont mind:
>
> 0. Why dont you use --stack-auto at compile time?
> is it implied by another param? If this is not the case,
> isnt there reentrancy problems
>   
To be honest, I don't remember why I didn't use --stack-auto. It seems
obvious that it should be used.
You can modify the Makefile (see SDCC_CFLAGS in the Makefile) and add
this option to see if all work as expected.

> 1. where are you config bytes? I use my own, but
> I dont see any file related to these in your Demo?
>   
All I've done are located in the following directories:
$(FREERTOS)/Demo/PIC18_SDCC
$(FREERTOS)/Source/include/portable.h
$(FREERTOS)/Source/portable/SDCC/PIC18
There is a file $(FREERTOS)/Source/portable/SDCC/PIC18/pic18memoy.h,
where i define heap size and
linker scripts for supported devices are in $(FREERTOS)/Demo/PIC18_SDCC/lkr.
Selection for proper linker script, device used, etc. are done in the
Demo Makefile.
> 2. why did they reject your port? Having such a kernel
> avaiable for the pic and compiling with a free compiler
> benefits both sdcc and freertos communities, right?
> I saw they have an unsupported/ directory in Demo,
> why your port isnt present here at least?
>   

Richard Barry accepted the port and promised to add it into FreeRTOS,
but this never happened.
> 3. are you aware of any restriction regarding your code?
> Dont you think it would be useful for others to know
> about it, and having a more exposed git repo?
>   

Please feel free to clone the repository, make it available any where
you think it should be and maintain it.
I have no restriction in the use of the code, as long as it is used
under the term of GPL
(by the way you can remove the "all rights reserved" it seems to not to
be compatible with GPL anymore).

Regards,

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to