# Generate Code based on Configuration

#### Generate the configuration of the drivers

To generate the configuration of the drivers, go to the Peripherals Tab. Click on the icon in the top right and in the "Open perspective" popup, select "Pins".

<figure><img src="https://2412084329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L9GLtaxrQtBdBRsFIJB%2Fuploads%2F9lzSYBFMEWPOtdQ5ALlU%2Fimage-4.png?alt=media&#x26;token=9ed3cbbd-2afa-49e3-8fdc-b549a8c44d74" alt=""><figcaption></figcaption></figure>

In the new perspective, choose the right project, click on "Update Code" and wait for the configuration to be completed.

<figure><img src="https://2412084329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L9GLtaxrQtBdBRsFIJB%2Fuploads%2F8m7jscqL3gho6ZQCvN5M%2Fimage-5.png?alt=media&#x26;token=01b492e8-5711-47f8-ad0f-5961135ebc25" alt=""><figcaption></figcaption></figure>

To return to the previous perspective, click again on the "Open Perspective" icon on the top right, and choose the "Develop (default)" option.

<figure><img src="https://2412084329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L9GLtaxrQtBdBRsFIJB%2Fuploads%2FYaMQGCH0DgyiybLqnI4q%2Fimage-6.png?alt=media&#x26;token=862d4320-9491-4ee1-a2c3-c2a6ad48f0d9" alt=""><figcaption></figcaption></figure>
