This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 7778899f3 bsp/pca10056: Update SPI pins for Arduino
7778899f3 is described below
commit 7778899f3996a1f64f481bb7ad3b3bb48813a865
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Thu Jul 6 11:31:02 2023 +0200
bsp/pca10056: Update SPI pins for Arduino
Pins chosen for SPI master/slave are those used by
Arduino shields, however they were not assigned values
that match Arduino-like shields so each application
that wants to use standard shields (i.e. LCD) have
to assign pins to match.
With this change default SPI_0 pins are assigned values
corresponding to Arduino schema.
Signed-off-by: Jerzy Kasenberg <[email protected]>
---
hw/bsp/nordic_pca10056/syscfg.yml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/bsp/nordic_pca10056/syscfg.yml
b/hw/bsp/nordic_pca10056/syscfg.yml
index aab9c4d8f..fb9e7552a 100644
--- a/hw/bsp/nordic_pca10056/syscfg.yml
+++ b/hw/bsp/nordic_pca10056/syscfg.yml
@@ -36,12 +36,12 @@ syscfg.vals:
UART_0_PIN_RX: 8
UART_0_PIN_RTS: 5
UART_0_PIN_CTS: 7
- SPI_0_MASTER_PIN_SCK: 45
- SPI_0_MASTER_PIN_MOSI: 46
- SPI_0_MASTER_PIN_MISO: 47
- SPI_0_SLAVE_PIN_SCK: 45
- SPI_0_SLAVE_PIN_MOSI: 46
- SPI_0_SLAVE_PIN_MISO: 47
+ SPI_0_MASTER_PIN_SCK: 47
+ SPI_0_MASTER_PIN_MOSI: 45
+ SPI_0_MASTER_PIN_MISO: 46
+ SPI_0_SLAVE_PIN_SCK: 47
+ SPI_0_SLAVE_PIN_MOSI: 45
+ SPI_0_SLAVE_PIN_MISO: 46
SPI_0_SLAVE_PIN_SS: 44
I2C_0_PIN_SCL: 27
I2C_0_PIN_SDA: 26