Skip to content

Commit 0928797

Browse files
dojyorinmbrossard
authored andcommitted
nrf52840_hic: Add board: SSCI ISP1807 Breakout (https://ssci.to/6454)
1 parent afecdbd commit 0928797

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

source/hic_hal/nordic/nrf52840/IO_Config.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,25 @@ COMPILER_ASSERT(DAPLINK_HIC_ID == DAPLINK_HIC_ID_NRF52840);
7777
#define I2C_SCL_PIN NRF_GPIO_PIN_MAP(0, 5) // I2C SCL
7878
#define I2C_SDA_PIN NRF_GPIO_PIN_MAP(0, 4) // I2C SDA
7979

80+
#elif defined(SSCI_ISP1807)
81+
82+
#define GPIO_LED_ACTIVE_STATE 0
83+
#define RESET_BUTTON_PULL NRF_GPIO_PIN_PULLUP
84+
#define PIN_SWCLK NRF_GPIO_PIN_MAP(0, 26) // SWD CLK
85+
#define PIN_SWDIO NRF_GPIO_PIN_MAP(0, 14) // SWD IO
86+
#define PIN_nRESET NRF_GPIO_PIN_MAP(0, 25) // nRESET
87+
#undef LED_RUNNING // Target Running LED
88+
#undef LED_CONNECTED // Connected LED
89+
#define LED_HID NRF_GPIO_PIN_MAP(0, 6) // USB HID LED
90+
#define LED_MSC NRF_GPIO_PIN_MAP(0, 6) // USB MSC LED
91+
#define LED_CDC NRF_GPIO_PIN_MAP(0, 6) // USB CDC LED
92+
#undef LED_PWR // Power LED
93+
#define RESET_BUTTON NRF_GPIO_PIN_MAP(1, 6) // SW_RESET
94+
#define UART_TX_PIN NRF_GPIO_PIN_MAP(0, 13) // UART TX
95+
#define UART_RX_PIN NRF_GPIO_PIN_MAP(0, 17) // UART RX
96+
#define I2C_SCL_PIN NRF_GPIO_PIN_MAP(0, 15) // I2C SCL
97+
#define I2C_SDA_PIN NRF_GPIO_PIN_MAP(0, 8) // I2C SDA
98+
8099
#else
81100

82101
// Default PIN assignment (not finalized based on nRF52833)

0 commit comments

Comments
 (0)