Skip to content

Commit 0a69a87

Browse files
authored
Merge pull request #430 from andreagilardoni/se05x-support
boards: adding se05x enable to digital-pin-gpios
2 parents 6db4853 + 1a341f3 commit 0a69a87

6 files changed

Lines changed: 13 additions & 4 deletions

File tree

variants/arduino_nicla_vision_stm32h747xx_m7/arduino_nicla_vision_stm32h747xx_m7.overlay

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@
205205
<&gpiog 1 GPIO_ACTIVE_HIGH>, /* D3 PG_1 */
206206
<&gpioe 3 GPIO_ACTIVE_HIGH>, /* Red LED PE_3 */
207207
<&gpioc 13 GPIO_ACTIVE_HIGH>, /* Green LED PC_13 */
208-
<&gpiof 4 GPIO_ACTIVE_HIGH>; /* Blue LED PF_4 */
208+
<&gpiof 4 GPIO_ACTIVE_HIGH>, /* Blue LED PF_4 */
209+
<&gpiog 0 GPIO_ACTIVE_HIGH>; /* SE05X_EN */
209210

210211
adc-pin-gpios = <&gpioc 4 GPIO_ACTIVE_HIGH>, /* A0 PC_4 */
211212
<&gpiof 13 GPIO_ACTIVE_HIGH>, /* A1 PF_13 */
@@ -244,4 +245,4 @@
244245

245246
/* Include common flash filesystem configuration */
246247
qspi_flash: &n25q128a1 {};
247-
#include "../common/arduino_flash_fs.dtsi"
248+
#include "../common/arduino_flash_fs.dtsi"

variants/arduino_nicla_vision_stm32h747xx_m7/variant.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@
2323

2424
#define SDA 0
2525
#define SCL 0
26+
27+
#define SE05X_ENABLE_GPIO (7u)

variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.overlay

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,9 @@
291291
<&ioport2 6 GPIO_ACTIVE_HIGH>, /* D88 | SDHI D2 */
292292
<&ioport2 5 GPIO_ACTIVE_HIGH>, /* D89 | SDHI D3 */
293293
<&ioport4 15 GPIO_ACTIVE_HIGH>, /* D90 | SDHI CD */
294-
<&ioport4 14 GPIO_ACTIVE_HIGH>; /* D91 | SDHI WP */
294+
<&ioport4 14 GPIO_ACTIVE_HIGH>, /* D91 | SDHI WP */
295295

296+
<&ioport0 10 GPIO_ACTIVE_HIGH>; /* SE05X_EN | */
296297

297298

298299
builtin-led-gpios = <&ioport4 0 GPIO_ACTIVE_LOW>,

variants/arduino_portenta_c33_r7fa6m5bh3cfc/variant.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
*/
66

77
#pragma once
8+
9+
#define SE05X_ENABLE_GPIO (92u)

variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ qspi_flash: &mx25l12833f {};
360360

361361
<&gpiok 5 0>, /* LEDR */
362362
<&gpiok 6 0>, /* LEDG */
363-
<&gpiok 7 0>; /* LEDB */
363+
<&gpiok 7 0>, /* LEDB */
364+
<&gpioi 12 0>; /* SE05X_EN */
364365

365366
builtin-led-gpios = <&gpiok 6 0>,
366367
<&gpiok 5 0>,

variants/arduino_portenta_h7_stm32h747xx_m7/variant.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@
1212
#define SS 0
1313
#define SDA 0
1414
#define SCL 0
15+
16+
#define SE05X_ENABLE_GPIO (26u)

0 commit comments

Comments
 (0)