Skip to content

Commit 4fd7154

Browse files
authored
Merge pull request #2478 from mtkrtk/master
[Renesas RZ/A1H] Enable SPI1 on P6_4 ~ P6_7
2 parents 0231f61 + 667acca commit 4fd7154

File tree

1 file changed

+4
-0
lines changed
  • hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H

1 file changed

+4
-0
lines changed

hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/spi_api.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
static const PinMap PinMap_SPI_SCLK[] = {
2626
{P10_12, SPI_0, 4},
2727
{P4_4 , SPI_1, 2},
28+
{P6_4 , SPI_1, 7},
2829
{P11_12, SPI_1, 2},
2930
{P8_3 , SPI_2, 3},
3031
{P5_0 , SPI_3, 8},
@@ -34,6 +35,7 @@ static const PinMap PinMap_SPI_SCLK[] = {
3435
static const PinMap PinMap_SPI_SSEL[] = {
3536
{P10_13, SPI_0, 4},
3637
{P4_5 , SPI_1, 2},
38+
{P6_5 , SPI_1, 7},
3739
{P11_13, SPI_1, 2},
3840
{P8_4 , SPI_2, 3},
3941
{P5_1 , SPI_3, 8},
@@ -43,6 +45,7 @@ static const PinMap PinMap_SPI_SSEL[] = {
4345
static const PinMap PinMap_SPI_MOSI[] = {
4446
{P10_14, SPI_0, 4},
4547
{P4_6 , SPI_1, 2},
48+
{P6_6 , SPI_1, 7},
4649
{P11_14, SPI_1, 2},
4750
{P8_5 , SPI_2, 3},
4851
{P5_2 , SPI_3, 8},
@@ -52,6 +55,7 @@ static const PinMap PinMap_SPI_MOSI[] = {
5255
static const PinMap PinMap_SPI_MISO[] = {
5356
{P10_15, SPI_0, 4},
5457
{P4_7 , SPI_1, 2},
58+
{P6_7 , SPI_1, 7},
5559
{P11_15, SPI_1, 2},
5660
{P8_6 , SPI_2, 3},
5761
{P5_3 , SPI_3, 8},

0 commit comments

Comments
 (0)