Hi Vasile,

That is because the 16f1825 has more data space.

16f1823 has 128 bytes
16f1825 has 1024 bytes

🙂

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens vsurducan 
<[email protected]>
Verzonden: dinsdag 12 november 2024 18:56
Aan: [email protected] <[email protected]>
Onderwerp: Re: [jallib] sample compilation with "out of data space" error

Hi Rob,
yep, it compiles with no errors with "disable re-use of variables" deselected.

However the paired sample,  16f1825_nrf905.jal can be compiled without errors 
with "disable re-use of variables" selected...
So this feature remains a big unknown...:)
thx


On Tue, Nov 12, 2024 at 7:41 PM Rob CJ 
<[email protected]<mailto:[email protected]>> wrote:
Hi Vasile,

I know why that is. I saw in one of your screenshots of JALEdit that you 
selected to disable re-use of variables.

You have to enable that otherwise it runs out of dataspace. The default of the 
compiler (I use Visual Studio and compile with the default settings) is that it 
re-uses variables.

And that brings me to another change I need to make. I need to include that in 
the sample program.

Kind regards,

Rob

________________________________
Van: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> namens vsurducan 
<[email protected]<mailto:[email protected]>>
Verzonden: maandag 11 november 2024 14:40
Aan: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Onderwerp: [jallib] sample compilation with "out of data space" error

Hi Rob,
I've tried to compile today the 16f1823_nrf905.jal taken from the jallib-1.9.0 
pack.
Compiler reported "out of data space error!" which seems like the compiler got 
tricked by something.
The same result using any older compiler down to jallib-1.4.0 pack.
If I change in the sample file the microcontroller definition from 16f1823.jal 
to 16f1825.jal, it compiles without error.
However, I recall that I was able to compile this sample a while ago without 
errors.
Any ideas? Thx.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/CAM%2Bj4qtYk5dMJx_idUFDZT688uatro9Le%2Bn%2BhPbqKf7mDdH0mg%40mail.gmail.com<https://groups.google.com/d/msgid/jallib/CAM%2Bj4qtYk5dMJx_idUFDZT688uatro9Le%2Bn%2BhPbqKf7mDdH0mg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/GVXP195MB16371D523EB916AB9E2AAD77E6592%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM<https://groups.google.com/d/msgid/jallib/GVXP195MB16371D523EB916AB9E2AAD77E6592%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/CAM%2Bj4qtHfnfRr5DzgcKTzs1ZOyE%3D2mfjmHGuUCgR%3DHjc%2Bq0M2A%40mail.gmail.com<https://groups.google.com/d/msgid/jallib/CAM%2Bj4qtHfnfRr5DzgcKTzs1ZOyE%3D2mfjmHGuUCgR%3DHjc%2Bq0M2A%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/GVXP195MB16373B980B51C24D265225B5E6592%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.

Reply via email to