Skip to content

Commit 94c759d

Browse files
KurtEkartben
authored andcommitted
boards: arduino: nano_33_ble: Fix board pin map
Fix compliance check script. Arduino nano BLE - connector.dtsi pin corrections There were several pin mappings from Arduino pin to GPIO pin which were not correct. This includes Arduino pins: 7, 8, 18, 19, 21 Arduino NANO 33 BLE - init turn PWR LED on default Power LED light on. Signed-off-by: Kurt Eckhardt <[email protected]>
1 parent e1cfd09 commit 94c759d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

boards/arduino/nano_33_ble/arduino_nano_33_ble_nrf52840_sense.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
identifier: arduino_nano_33_ble//sense
1+
identifier: arduino_nano_33_ble/nrf52840/sense
22
name: Arduino Nano 33 BLE Sense
33
type: mcu
44
arch: arm

boards/arduino/nano_33_ble/arduino_nano_r3_connector.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<4 0 &gpio1 15 0>, /* D4 */
1717
<5 0 &gpio1 13 0>, /* D5 */
1818
<6 0 &gpio1 14 0>, /* D6 */
19-
<7 0 &gpio0 9 0>, /* D7 */
20-
<8 0 &gpio0 10 0>, /* D8 */
19+
<7 0 &gpio0 23 0>, /* D7 */
20+
<8 0 &gpio0 21 0>, /* D8 */
2121
<9 0 &gpio0 27 0>, /* D9 */
2222
<10 0 &gpio1 2 0>, /* D10 */
2323
<11 0 &gpio1 1 0>, /* D11 / SPI-MOSI */
@@ -27,10 +27,10 @@
2727
<15 0 &gpio0 5 0>, /* D15 / A1 */
2828
<16 0 &gpio0 30 0>, /* D16 / A2 */
2929
<17 0 &gpio0 29 0>, /* D17 / A3 */
30-
<18 0 &gpio0 14 0>, /* D18 / A4 / I2C-SDA */
31-
<19 0 &gpio0 15 0>, /* D19 / A5 / I2C-SCL */
30+
<18 0 &gpio0 31 0>, /* D18 / A4 / I2C-SDA */
31+
<19 0 &gpio0 2 0>, /* D19 / A5 / I2C-SCL */
3232
<20 0 &gpio0 28 0>, /* D20 / A6 */
33-
<21 0 &gpio1 3 0>; /* D21 / A7 */
33+
<21 0 &gpio0 3 0>; /* D21 / A7 */
3434
};
3535
};
3636

boards/arduino/nano_33_ble/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static int board_init(void)
2929
return res;
3030
}
3131

32-
return gpio_pin_configure_dt(&user_led, GPIO_OUTPUT_INACTIVE);
32+
return gpio_pin_configure_dt(&user_led, GPIO_OUTPUT_HIGH);
3333
}
3434

3535
SYS_INIT(board_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);

0 commit comments

Comments
 (0)