# PSoC™ 6S2 Peripherals Interfacing (GPIO)

## *Adding the BDH's Code Template Repository*

### **🖥️** For windows&#x20;

#### 👉  *Open modus-shell 1.3.1*

<figure><img src="https://1856353139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MClo3nC-1US0rbK8Qau%2Fuploads%2Fl7s3DU5Vww9JNqv7gC5t%2Fimage.png?alt=media&#x26;token=9da69500-6197-4e99-a991-c50906b43bbd" alt=""><figcaption><p>modus-shell</p></figcaption></figure>

#### 👉  *And follow the below steps*

```
cd ~/.modustoolbox/
```

<figure><img src="https://1856353139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MClo3nC-1US0rbK8Qau%2Fuploads%2F7v0JeEETaPFiRUbARLwX%2Fimage.png?alt=media&#x26;token=50539995-9591-456f-ad19-36cf9a978b78" alt=""><figcaption></figcaption></figure>

```
echo 'https://raw.githubusercontent.com/Advance-Innovation-Centre-AIC/mtb2-bdh-academy-manifests/master/bdh-academy-super-manifest.xml' > ~/.modustoolbox/manifest.loc
```

<figure><img src="https://1856353139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MClo3nC-1US0rbK8Qau%2Fuploads%2FkIY4nT3bMUGiraEs53UH%2Fimage.png?alt=media&#x26;token=fa160b8c-d64b-4d04-bd7b-bfa19743cbcd" alt=""><figcaption></figcaption></figure>

***

### **💻  For MacOS**

#### 👉  *Open terminal*

<figure><img src="https://1856353139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MClo3nC-1US0rbK8Qau%2Fuploads%2FtsJI7ljKoBIDLPTI1Bmy%2Fimage.png?alt=media&#x26;token=16b36806-36b1-4c9a-acfa-3e3f5967d5bd" alt="" width="188"><figcaption></figcaption></figure>

#### 👉  *Adding the BDH Code Template*

```
$ cd 
$ cd ~/.modustoolbox/
$ echo 'https://raw.githubusercontent.com/Advance-Innovation-Centre-AIC/mtb2-bdh-academy-manifests/master/bdh-academy-super-manifest.xml' > ~/.modustoolbox/manifest.loc
```

<figure><img src="https://1856353139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MClo3nC-1US0rbK8Qau%2Fuploads%2F9ymhHc42YPHuEdc6w9uN%2Fimage.png?alt=media&#x26;token=122b7933-6af7-4d7b-96fd-4fa6f663cf00" alt=""><figcaption></figcaption></figure>

***
