Yes, this fix was the reason for RC4.

Diego, can you please confirm if the "all in one" approach is a valid work around?

#pragma config EBTRB=OFF, EBTR3=OFF, EBTR2=OFF, EBTR1=OFF

Borut


On Mon, Jul 9, 2012 at 4:53 PM, Diego Herranz <diegoherranz@diegoherranz.com> wrote:
It looks related to this patch apllied in #8008: http://sourceforge.net/tracker/?func=detail&aid=3539804&group_id=599&atid=100599 


On Mon, Jul 9, 2012 at 3:38 PM, Diego Herranz <diegoherranz@diegoherranz.com> wrote:
I find an error with PIC16 code. I think that it is related with fuses and CONFIG. RC3 works fine, though.

I get the following errors:
[..]
test.asm:4892:Error[152]   Executable code and data must be defined in an appropriate section.
test.asm:4895:Error[152]   Executable code and data must be defined in an appropriate section.
test.asm:4896:Error[152]   Executable code and data must be defined in an appropriate section.
[...]

Comparing the asm files produced by RC3 and RC4:

test_RC3.asm
[...]
; ; Starting pCode block
CONFIG EBTRB=OFF
; ; Starting pCode block
CONFIG EBTR3=OFF
; ; Starting pCode block
CONFIG EBTR2=OFF
; ; Starting pCode block
CONFIG EBTR1=OFF
[...]

test_RC4.asm
[...]
; ; Starting pCode block
CONFIG EBTRB=OFF
code
; ; Starting pCode block
CONFIG EBTR3=OFF
code
; ; Starting pCode block
CONFIG EBTR2=OFF
code
; ; Starting pCode block
CONFIG EBTR1=OFF
code
; ; Starting pCode block
CONFIG EBTR0=OFF
code
[...]

Thanks!


On Mon, Jul 9, 2012 at 9:56 AM, Borut Ražem <borut.razem@gmail.com> wrote:
Probably you already guessed that I meant sdcc 3.2.0 release packages
which are just renamed 3.2.0 RC4 packages.

Borut

On 09. 07. 2012 09:26, Borut Ražem wrote:
> Dear sdcc users and developers,
>
> the sdcc 3.1.0 release packages are prepared and uploaded to the SF
> File Release system https://sourceforge.net/projects/sdcc/files/.
> Packages are the same as for sdcc 3.1.0 RC3: I just renamed them.
>
> Please download, install and test them on different platforms and
> report both success and failures ASAP. I don't have much (any) time
> for installing and testing, so I really need your help!
>
> I plan to make an official release announce today in the late evening
> UTC+1 if everything goes well.
>
> Borut



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
sdcc-devel mailing list
sdcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-devel