diff --git a/docs/docs/development/hardware-integration/shift-registers.md b/docs/docs/development/hardware-integration/shift-registers.md index 81ba51bf..051987ce 100644 --- a/docs/docs/development/hardware-integration/shift-registers.md +++ b/docs/docs/development/hardware-integration/shift-registers.md @@ -102,16 +102,11 @@ If you are making a shield, add a `/boards/.over ### Enable SPI -Add the following line to your board's configuration files: +Add the following line to `.defconfig`, inside of your device's `if` block: -```kconfig title="/boards/.conf" -CONFIG_SPI=y -``` - -If you're editing your board's files directly, you should alternatively enable it like so: - -```kconfig title="/_defconfig" -CONFIG_SPI=y +```kconfig title=".defconfig" +config SPI + default y ``` ### Shift Register SPI Device