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 68b4649bf bsp/pca10121: Init on board pins
68b4649bf is described below

commit 68b4649bf28d6eb9df1ff55c0b63de1f1b657b8a
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Sat May 3 21:26:17 2025 +0200

    bsp/pca10121: Init on board pins
    
    Add definition for SPI pins that are connected
    to SD card slot and cs47l63 codec.
    This will allow easy configuration without need
    to check product schematic.
    
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 hw/bsp/nordic_pca10121/include/bsp/bsp.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/hw/bsp/nordic_pca10121/include/bsp/bsp.h 
b/hw/bsp/nordic_pca10121/include/bsp/bsp.h
index baf59b2fa..259a688fe 100644
--- a/hw/bsp/nordic_pca10121/include/bsp/bsp.h
+++ b/hw/bsp/nordic_pca10121/include/bsp/bsp.h
@@ -94,7 +94,13 @@ extern uint8_t _ram_start;
 /* Other on board pin selection */
 
 #define PCA100121_SDCARD_CS_PIN         11
+#define PCA100121_SDCARD_SCK_PIN        8
+#define PCA100121_SDCARD_MOSI_PIN       9
+#define PCA100121_SDCARD_MISO_PIN       10
 #define PCA100121_CS47L63_CS_PIN        17
+#define PCA100121_CS47L63_SCK_PIN       8
+#define PCA100121_CS47L63_MOSI_PIN      9
+#define PCA100121_CS47L63_MISO_PIN      10
 #define PCA100121_CS47L63_RESET_PIN     18
 #define PCA100121_HW_CODEC_ON_BOARD_PIN 21
 

Reply via email to