Skip to content
Permalink
Browse files

boards: cc1352r1_launchxl: enable support for SPI

Enable support for the SPI peripheral on the CC1352R LaunchPad.

Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  • Loading branch information...
bwitherspoon authored and nashif committed Apr 26, 2019
1 parent b9cf58d commit d82febd2a377dd03e716bc5bbbce91d254eef310
@@ -9,4 +9,11 @@ if BOARD_CC1352R1_LAUNCHXL
config BOARD
default "cc1352r1_launchxl"

if SPI

config SPI_0
default y

endif # SPI

endif # BOARD_CC1352R1_LAUNCHXL
@@ -73,3 +73,12 @@
scl-pin = <4>;
sda-pin = <5>;
};

&spi0 {
status = "ok";
sck-pin = <10>;
mosi-pin = <9>;
miso-pin = <8>;
cs-pin = <11>;
cs-gpios = <&gpio0 11 0>;
};
@@ -11,3 +11,4 @@ toolchain:
supported:
- gpio
- i2c
- spi
@@ -50,6 +50,8 @@ features:
+-----------+------------+----------------------+
| I2C | on-chip | i2c |
+-----------+------------+----------------------+
| SPI | on-chip | spi |
+-----------+------------+----------------------+

Other hardware features are not supported by the Zephyr kernel.

0 comments on commit d82febd

Please sign in to comment.
You can’t perform that action at this time.