24q beta2

28 views
Skip to first unread message

Rob Hamerling

unread,
May 23, 2013, 9:45:52 AM5/23/13
to jal...@googlegroups.com

Hi guys,

The latest 2.4q beta compiler (22 May 2013) produces error/warning
messages with the following Jallib samples:

> 16f877a_stopwatch
> 16f877_stopwatch
> 18f27j53_sd_card_minix_read
> 18f4525_fat32_sd_card
> 18f4525_mp3_decoder_vs1053b_pata_hard_disk
> 18f4525_mp3_decoder_vs1053b_sd_card
> 18f4525_stopwatch
> 18f452_stopwatch
> 18f4550_stopwatch
> 18f4620_fat32_sd_card
> 18f4620_mp3_decoder_vs1053b_pata_hard_disk
> 18f4620_mp3_decoder_vs1053b_sd_card
> 18f4620_rtc_mcp7940
> 18f4620_stopwatch
> 18f67j50_memory_pointer
> 18f67j50_mp3_decoder_vs1053b_pata_hard_disk
> 18f67j50_mp3_decoder_vs1053b_sd_card
> 18f67j50_stopwatch

I trust that the authors of the involved libaries take care to provide
the necessary corrections.

Regards, Rob.


--
Rob Hamerling - http://www.robh.nl

Sebastien Lelong

unread,
May 24, 2013, 3:20:43 AM5/24/13
to jal...@googlegroups.com
Hi Rob,

As for my sd card minix sample, see my message on jallist: this is a "bug", at least a false warning. Ideally I would like this to be fixed if possible. If not, I'll see for a workaround.

I checked one of Matt's sample. Ex:

   var byte mode
   var byte reset at mode : 2

This construct isn't allowed anymore. What should be used ? I can't even understand what it means... 2 byte of a byte ?

Thanks
Seb



--
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 jallib+unsubscribe@googlegroups.com.
To post to this group, send email to jal...@googlegroups.com.
Visit this group at http://groups.google.com/group/jallib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.





--
Sébastien Lelong

mattschinkel

unread,
May 28, 2013, 9:56:18 PM5/28/13
to jal...@googlegroups.com
I have to try to find time for this. Please give me some time.

Seb, try:

var byte mode
var bit reset at mode : 2

Matt.

mattschinkel

unread,
Jun 2, 2013, 10:57:30 AM6/2/13
to jal...@googlegroups.com
My stopwatch samples no longer work with 2.4q.

I have changed

var byte*4 stopwatch_high_value at _stopwatch_counter : 16
to
var byte*4 stopwatch_high_value at _stopwatch_counter + 2

I'll have to look into this further and report to kyle.


Matt.

On Thursday, May 23, 2013 9:45:52 AM UTC-4, RobH wrote:

mattschinkel

unread,
Jun 3, 2013, 11:14:51 PM6/3/13
to jal...@googlegroups.com
I found a temporary fix. The above syntax does work correctly, but there is another issue. The program works as expected without pragma inline. I'll report to kyle.

I can commit this change for now, but buildbot will fail unless compiled with 2.4q.

--------------------------------------------------------------------------------
-- read the stopwatch (pseudo variable).
-- returns approximate time in micro seconds.
--------------------------------------------------------------------------------
function stopwatch'get() return byte*STOPWATCH_VAR_SIZE is
   -- pragma inline

   if STOPWATCH_VAR_SIZE == 2 then
      return word(stopwatch_read_time())
   else
      return dword(stopwatch_read_time())
   end if
end function

--------------------------------------------------------------------------------
-- read the stopwatch cycles (pseudo variable).
-- returns number of instructions cycles run.
--------------------------------------------------------------------------------
function stopwatch_cycles'get() return byte*STOPWATCH_VAR_SIZE is
   -- pragma inline

   if STOPWATCH_VAR_SIZE == 2 then
      return word(stopwatch_read_cycles())
   else
      return dword(stopwatch_read_cycles())
   end if
end function

Sebastien Lelong

unread,
Jun 6, 2013, 3:05:32 PM6/6/13
to jal...@googlegroups.com
Hi guys, Matt,

I can put latest 24q beta on buildbot. Just let me know, everything is ready !


Cheers
Seb


--
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 jallib+un...@googlegroups.com.

To post to this group, send email to jal...@googlegroups.com.
Visit this group at http://groups.google.com/group/jallib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Sébastien Lelong

Sebastien Lelong

unread,
Jun 6, 2013, 3:10:03 PM6/6/13
to jal...@googlegroups.com
ok, 24q is active, couldn't wait... Matt, buildbot will soon want your commits !

Cheers
Seb
--
Sébastien Lelong

mattschinkel

unread,
Jun 6, 2013, 9:11:28 PM6/6/13
to jal...@googlegroups.com
Hopefully buildbot will be happy now :)
Reply all
Reply to author
Forward
0 new messages