Redbear Blend2: Change SPI0 SCK to non-multiplexed pin D9/P0_2 This closes #217
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/8a6b33bb Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/8a6b33bb Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/8a6b33bb Branch: refs/heads/develop Commit: 8a6b33bb5845252ffe39437b651da7a7b9c889dc Parents: 35ed009 Author: El Jeffo <mir...@x2o.net> Authored: Fri Mar 31 02:01:53 2017 +0900 Committer: William San Filippo <wi...@runtime.io> Committed: Thu Mar 30 16:59:21 2017 -0700 ---------------------------------------------------------------------- hw/bsp/rb-blend2/src/hal_bsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/8a6b33bb/hw/bsp/rb-blend2/src/hal_bsp.c ---------------------------------------------------------------------- diff --git a/hw/bsp/rb-blend2/src/hal_bsp.c b/hw/bsp/rb-blend2/src/hal_bsp.c index 6d66bdc..7c2afc6 100644 --- a/hw/bsp/rb-blend2/src/hal_bsp.c +++ b/hw/bsp/rb-blend2/src/hal_bsp.c @@ -60,7 +60,7 @@ static const struct nrf52_uart_cfg os_bsp_uart1_cfg = { * and is handled outside the SPI routines. */ static const struct nrf52_hal_spi_cfg os_bsp_spi0m_cfg = { - .sck_pin = 25, + .sck_pin = 20, .mosi_pin = 23, .miso_pin = 24, }; @@ -68,7 +68,7 @@ static const struct nrf52_hal_spi_cfg os_bsp_spi0m_cfg = { #if MYNEWT_VAL(SPI_0_SLAVE) static const struct nrf52_hal_spi_cfg os_bsp_spi0s_cfg = { - .sck_pin = 25, + .sck_pin = 20, .mosi_pin = 23, .miso_pin = 24, .ss_pin = 22,