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 <kurte@rockisland.com>
This commit is contained in:
parent
e1cfd098a2
commit
94c759d84e
@ -1,4 +1,4 @@
|
||||
identifier: arduino_nano_33_ble//sense
|
||||
identifier: arduino_nano_33_ble/nrf52840/sense
|
||||
name: Arduino Nano 33 BLE Sense
|
||||
type: mcu
|
||||
arch: arm
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
<4 0 &gpio1 15 0>, /* D4 */
|
||||
<5 0 &gpio1 13 0>, /* D5 */
|
||||
<6 0 &gpio1 14 0>, /* D6 */
|
||||
<7 0 &gpio0 9 0>, /* D7 */
|
||||
<8 0 &gpio0 10 0>, /* D8 */
|
||||
<7 0 &gpio0 23 0>, /* D7 */
|
||||
<8 0 &gpio0 21 0>, /* D8 */
|
||||
<9 0 &gpio0 27 0>, /* D9 */
|
||||
<10 0 &gpio1 2 0>, /* D10 */
|
||||
<11 0 &gpio1 1 0>, /* D11 / SPI-MOSI */
|
||||
@ -27,10 +27,10 @@
|
||||
<15 0 &gpio0 5 0>, /* D15 / A1 */
|
||||
<16 0 &gpio0 30 0>, /* D16 / A2 */
|
||||
<17 0 &gpio0 29 0>, /* D17 / A3 */
|
||||
<18 0 &gpio0 14 0>, /* D18 / A4 / I2C-SDA */
|
||||
<19 0 &gpio0 15 0>, /* D19 / A5 / I2C-SCL */
|
||||
<18 0 &gpio0 31 0>, /* D18 / A4 / I2C-SDA */
|
||||
<19 0 &gpio0 2 0>, /* D19 / A5 / I2C-SCL */
|
||||
<20 0 &gpio0 28 0>, /* D20 / A6 */
|
||||
<21 0 &gpio1 3 0>; /* D21 / A7 */
|
||||
<21 0 &gpio0 3 0>; /* D21 / A7 */
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ static int board_init(void)
|
||||
return res;
|
||||
}
|
||||
|
||||
return gpio_pin_configure_dt(&user_led, GPIO_OUTPUT_INACTIVE);
|
||||
return gpio_pin_configure_dt(&user_led, GPIO_OUTPUT_HIGH);
|
||||
}
|
||||
|
||||
SYS_INIT(board_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user