Hi Seb,

On May 6, 7:23 am, Sebastien Lelong <[email protected]>
wrote:

>
> > As to why you wanted to rewrite spi_init to use your new routines, I
> > have no idea.
>
> Because SD card lib doesn't have to deal directly with SPI registers (direct
> access to device file == device file layer) but instead ask SPI lib to set
> it (access to SPI lib == spi lib layer). That's why I was talking about
> different layers. This done, it's now easy to use SD card with MSSP1, MSSP2
> or SPI software, because actual registers are hidden behind a procedure.
> That's why we did this.
>

Apparently we continue to mis-communicate -- you keep explaining about
mssp2 and software-spi features, which are wonderful I am sure.  But I
am not challenging that at all--  I'm just wanting to to restore the
spi_init() routine back to its original form -- it will still work
fine with mssp2.

>
> OK, I understand that. but I also didn't want to put my name as author on
> spi_master_hw2.jal: even if you didn't create this file, you're still the
> author in some way.

No, you created a new file that didn't exist before.  It is a
derivative work, and you can and should credit the original but it is
your work and presumably you will handle support issues, not me.

>
> Sure you do, you can, and you're highly recommended to do so ! And I'm happy
> you did as I'm sure we'll finally end with something better ! But don't ask
> to revert it back in the name of "I have programs out there, I don't want to
> test them again, don't change anything!". This really isn't in the jallib
> spirit, being able to change, to improve, modify API, etc.. is something we
> claimed here at jallib from the very beginning, I really don't want this
> project to become fossilized because of an existing code base.
>

Hmm, you make a good case...  I'll see what boards I have that might
do CANbus testing on hand.



William

-- 
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.

Reply via email to