Hi Matt,

On 10/09/30 07:20, mattschinkel wrote:

I see the pin names are different on PIC's that have more then one SPI
port. Can we add aliases to the device files? The same should be done
for I2C if it has not been done already.

alias pin_SDI is pin_SDI1
alias pin_SDO is pin_SDO1
alias pin_SCK is pin_SCK1
alias pin_SS is pin_SS1

alias pin_SDI_direction is pin_SDI1_direction
alias pin_SDO_direction is pin_SDO1_direction
alias pin_SCK_direction is pin_SCK1_direction
alias pin_SS_direction is pin_SS1_direction

I suppose this request is meant to allow the use of existing SDI (and I2C) libraries with the first of multiple SDI (and I2C) modules and seems analog to the way aliases are defined for the first USART of PICs with more than 1 USART. Reasonable and I don't expect it to be a big problem to implement. I'll see what I can do.

Please open an issue.

Regards, Rob.


--
R. Hamerling, Netherlands --- http://www.robh.nl

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