Skip to content

Commit

Permalink
boards: make adafruit feather_connector.dtsi common
Browse files Browse the repository at this point in the history
This files is repeated in multiple boards. Move it to common and include it from there.

There are 9 additional boards that define this directly inside their dts which I haven't touched, but could use this too.

Signed-off-by: Jacob Winther <[email protected]>
  • Loading branch information
jacobw committed Aug 31, 2024
1 parent 91a1e70 commit bb0270f
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 185 deletions.
2 changes: 1 addition & 1 deletion boards/actinius/icarus/actinius_icarus_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
};

/* Include file with mappings and aliases for feather compatibility */
#include "feather_connector.dtsi"
#include <adafruit/feather_connector.dtsi>

/* Include partition configuration file */
#include "actinius_icarus_partition_conf.dtsi"
45 changes: 0 additions & 45 deletions boards/actinius/icarus/feather_connector.dtsi

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
/dts-v1/;
#include <atmel/samd21.dtsi>
#include <atmel/samx2xx18.dtsi>
#include <adafruit/feather_connector.dtsi>
#include "adafruit_feather_m0_basic_proto-pinctrl.dtsi"
#include "feather_connector.dtsi"

/ {
model = "Adafruit Feather M0 Basic Proto";
Expand Down
8 changes: 0 additions & 8 deletions boards/adafruit/feather_m0_basic_proto/feather_connector.dtsi

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
/dts-v1/;
#include <atmel/samd21.dtsi>
#include <atmel/samx2xx18.dtsi>
#include <adafruit/feather_connector.dtsi>
#include "adafruit_feather_m0_lora-pinctrl.dtsi"
#include "feather_connector.dtsi"

/ {
model = "Adafruit Feather M0 LoRa";
Expand Down
8 changes: 0 additions & 8 deletions boards/adafruit/feather_m0_lora/feather_connector.dtsi

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include "feather_connector.dtsi"
#include "adafruit_feather_nrf52840-pinctrl.dtsi"
#include <adafruit/feather_connector.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include "adafruit_feather_nrf52840-pinctrl.dtsi"

/ {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/dts-v1/;
#include <st/f4/stm32f405Xg.dtsi>
#include <st/f4/stm32f405rgtx-pinctrl.dtsi>
#include "feather_connector.dtsi"
#include <adafruit/feather_connector.dtsi>

/ {
model = "Adafruit Feather STM32F405 Express";
Expand Down
39 changes: 0 additions & 39 deletions boards/adafruit/feather_stm32f405/feather_connector.dtsi

This file was deleted.

38 changes: 0 additions & 38 deletions boards/adafruit/nrf52_adafruit_feather/feather_connector.dtsi

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/dts-v1/;
#include <nordic/nrf52832_qfaa.dtsi>
#include "feather_connector.dtsi"
#include <adafruit/feather_connector.dtsi>
#include "nrf52_adafruit_feather-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>

Expand Down
39 changes: 0 additions & 39 deletions boards/blues/swan_r5/feather_connector.dtsi

This file was deleted.

2 changes: 1 addition & 1 deletion boards/blues/swan_r5/swan_r5.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/dts-v1/;
#include <st/l4/stm32l4r5Xi.dtsi>
#include <st/l4/stm32l4r5z(g-i)yx-pinctrl.dtsi>
#include "feather_connector.dtsi"
#include <adafruit/feather_connector.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>

/ {
Expand Down
File renamed without changes.

0 comments on commit bb0270f

Please sign in to comment.