Move status and add assumption about bodge for adapter

This commit is contained in:
Nick Winans 2022-09-26 11:12:08 -05:00
parent 174885dbed
commit d7ea295346
4 changed files with 2 additions and 3 deletions

View file

@ -5,6 +5,7 @@
*/
&nice_view_spi {
status = "okay";
nice_view: ls0xx@0 {
compatible = "sharp,ls0xx";
label = "DISPLAY";

View file

@ -4,7 +4,7 @@ This shield is used as an adapter between the nice!view and existing shields/boa
To use this shield, you should add this shield to your list of shields *before* `nice_view`.
The nice!view will use the SDA/SCL pins of the OLED, and then the adapter expects a final pin to be "bodged" from your microcontroller to the nice!view CS pin.
The nice!view will use the SDA/SCL pins of the OLED, and then the adapter expects a final pin to be "bodged" from your microcontroller to the nice!view CS pin. This adapter assumes that the CS pin bodged is the `&pro_micro 1 pin` or "D1", which is the top left pin when looking at the front of the board. If you can't use this pin, you'll need to write your own definition for the `&nice_view_spi` bus.
```
west build -b nice_nano_v2 -- -DSHIELD="lily58_left nice_view_adapter nice_view"

View file

@ -6,7 +6,6 @@
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = <20>;
mosi-pin = <17>;
miso-pin = <25>;

View file

@ -6,7 +6,6 @@
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = <20>;
mosi-pin = <17>;
miso-pin = <25>;