-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libraries: SPI: hanlde multiple SPI instances
Create multiple SPI instance if spis array contains plural elements. Declare these as 'SPI1', 'SPI2', ..., from second element of the array. (First element is already declare as 'SPI'.) This works if `spis` property defined. The property parse as SPI array declaration, to define SPI instance with the name of SPI, SPI1, SPI2... If `spis` is not defined but the DTS already defines `arduino-spi` and, use it to define first SPI instance. The `arduion-spi` is usually define with arduino_header in boards definitions. Signed-off-by: TOKITA Hiroshi <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters