> > Yes, I saw it too, that's why I wrote the comment. > In doubt, see what's locally change, by "svn diff thefile". If you don't want those changes anymore, just "svn revert thefile".
If you "svn commit", without specifying any files, svn will commit *all* the > files that have been modified. If you "svn commit thefile", it'll commit > only the "thefile" (as you guessed). Do you use the first or the second form > ? I personally mostly use the second, always specifying files. And I always > "svn status", even "svn diff" to know what I'll commit. > > First, because a project has both a sample and a lib, often in quite > different directories. It's tedious to switch back 'n forth. > Then you'll have to be very careful. And you can commit files in both "include" and "sample" with the second form. > > Add/trunk/unvalidated/include/jal/rtc_isr_tmr0.jaldiff > > IMHO, this shoud not go to "jal" map, but in "external/rtc" > > It is internal! You could argue that TMR0 is a peripheral, but it is not > referenced as that in the datasheets (it does not have a peripheral > interrrupt flag, for instance). > Well, it's about rtc, isr and timer. So external, internal or peripheral... What is the most important ? rtc, isr or timer ? Do you think replacing asm code by jal code could really be problem ? > (btw, is this a way to have RTC without an RTC dedicated chip ? > > Yes, it is. So it should not go in external. > I could argue that serial_software allows doing serial without builtin usart... though it still remains in peripheral map. > > Modify/trunk/unvalidated/include/peripheral/usart/serial_hardware.jaldiff > > Already discussed, back to previous version. > > > Add/trunk/unvalidated/sample/by_device/16f876a/sample_rtc_lcd.jaldiff > > This sample won't compile, there's no now.jal lib. And I understand that > now.jal is generated, so it contains the current "now". I think this is more > part of a project than a lib. At least, you should put a default now.jal, > highly documented. Remember, all samples should compile without errors. > > > I've added now.jal, and timest.py also. I just forgot last night. Hey, this > is an unvalidated tree, right? > Sure ! But it's "unvalidated", not "uncompilable" :) Once I have my buildbot configured, I expect the "unvalidated" to be quite stable, this reduces entropy. > > Would it be possible to have the same sample, using your ISR, but without a > now.jal usage ? Something like a second counter ? > > > An RTC without proper timesetting is like a car without wheels: it defeats > the purpose. > The sample should be as simple as possible. I know this is sometime hard to do. What I don't like is we now have a timerset.py script, which is only dedicated to write a now.jal file, only for this sample. This is a very specific need. And makes me think it's more about a project than a sample. Remember: samples are here to show the basic usage of a lib. What do you want to show in this sample ? rtc_isr_timr0 or now.jal ? Just my 0.02$... > Either you set the time at compiling, or you do via buttons and a screen. I > have this code too, but it needs a keyboard as well. I thought it would be > too complicated for a sample. > Yeah, probably too complicated. Seb -- Sébastien Lelong http://www.sirloon.net http://sirbot.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
