Skip to content

Commit

Permalink
back to blackpill
Browse files Browse the repository at this point in the history
  • Loading branch information
bullwinkle3000 committed Jan 9, 2024
1 parent e9a4e5e commit 99e5dbd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
27 changes: 14 additions & 13 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions config/boards/shields/wyld_dm/wyld_dm_left.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,29 @@
//};

&pinctrl {
spi0_default: spi0_default {
blackpill_spi_default: blackpill_spi_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 8)>,
<NRF_PSEL(SPIM_MOSI, 0, 20)>,
<NRF_PSEL(SPIM_MISO, 0, 17)>;
psels = <NRF_PSEL(SPIM_SCK, 1, 8)>,
<NRF_PSEL(SPIM_MOSI, 0, 11)>,
<NRF_PSEL(SPIM_MISO, 0, 26)>;
};
};

spi0_sleep: spi0_sleep {
blackpill_spi_sleep: blackpill_spi_sleep {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 8)>,
<NRF_PSEL(SPIM_MOSI, 0, 20)>,
<NRF_PSEL(SPIM_MISO, 0, 17)>;
psels = <NRF_PSEL(SPIM_SCK, 1, 8)>,
<NRF_PSEL(SPIM_MOSI, 0, 11)>,
<NRF_PSEL(SPIM_MISO, 0, 26)>;
low-power-enable;
};
};
};

&spi0 {
&blackpill_spi {
status = "okay";
compatible = "nordic,nrf-spim";
pinctrl-0 = <&spi0_default>;
pinctrl-1 = <&spi0_sleep>;
pinctrl-0 = <&blackpill_spi_default>;
pinctrl-1 = <&blackpill_spi_sleep>;
pinctrl-names = "default", "sleep";
cs-gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;

Expand Down

0 comments on commit 99e5dbd

Please sign in to comment.