---
title: "How to make Surf 5 Project in Keil 5"
url: "https://maker.wiznet.io/TheoIm/projects/how-to-make-surf-5-project-in-keil-5/"
markdown_url: "https://maker.wiznet.io/TheoIm/projects/how-to-make-surf-5-project-in-keil-5/md"
type: "WCC: WIZnet Created Content"
author: "theo"
author_url: "https://maker.wiznet.io/TheoIm/"
original_author: "Theo"
published: "2024-02-07"
language: "en"
tags: ["surf5-contest-ref"]
hardware: ["WIZnet W7500"]
likes: 6
views: 3164
comments: 2
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# How to make Surf 5 Project in Keil 5

> How to make Surf 5 Project in Keil 5

Original author: Theo

## Components

- **WIZnet W7500** x 1 ([docs](https://docs.wiznet.io/Product/Chip/MCU/W7500))
- Software: **ARM KEIL5** ([docs](https://www2.keil.com/mdk5))

## Article

## Surf 5 Github Link[​](https://docs.wiznet.io/Product/Open-Source-Hardware/surf5/getting-started/fw-examples#surf-5-github-link)

If you haven't downloaded the Surf 5 project yet, Click the link below to access GitHub and download it.

[Surf 5 Github Link](https://github.com/Wiznet/W7500x-Surf5/tree/main)

---

## How to make Surf 5 Project in Keil 5[​](https://docs.wiznet.io/Product/Open-Source-Hardware/surf5/getting-started/fw-examples#how-to-make-surf-5-project-in-keil-5)

### 1. Download Keil 5 & Compiler for Keil 5[​](https://docs.wiznet.io/Product/Open-Source-Hardware/surf5/getting-started/fw-examples#1-download-keil-5--compiler-for-keil-5)

If you haven't installed the Keil 5 development environment and the compiler for Keil 5 (version 5.37 or later) yet, click the link below to install them first.

[Install Keil 5 for Surf 5](https://docs.wiznet.io/Product/Open-Source-Hardware/surf5/getting-started/install-keil-guide)

### 2. Set-up Compiler in Keil 5[​](https://docs.wiznet.io/Product/Open-Source-Hardware/surf5/getting-started/fw-examples#2-set-up-compiler-in-keil-5)

**Step 1**

Run Keil 5 and click on the "Project' -> 'Manage' -> 'Project Items..." tab at the top.

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup1.png)

**Step 2**

Click the "..." button under the 'Folders/Extensions' tab.

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup2.png)

**Step 3**

Click the "Add another ARM Compiler Version to List..." button.

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup3.png)

**Step 4**

Set the path to the installed compiler for the latest version of Keil 5 (version 5.37 or later). If you haven't installed the compiler for the latest version of Keil 5, refer to [[Install Keil 5 for Surf 5](https://docs.wiznet.io/Product/Open-Source-Hardware/surf5/getting-started/install-keil-guide)].

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup4.png)

**Step 5**

Verify that the compiler has been added and click the "Close" button.

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup5.png)

**Step 6**

Press the "OK" button to complete the compiler path setup.

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup6.png)

### 3. Build Surf 5 Project in Keil 5[​](https://docs.wiznet.io/Product/Open-Source-Hardware/surf5/getting-started/fw-examples#3-build-surf-5-project-in-keil-5)

**Step 1**

within the 'Project' tab at the top, click on "Open Project..."

![](https://maker.wiznet.io/upload/ckeditor5/467543117%5F1712660137%2Epng)

**Step 2**

Open the project by selecting "Project.uvproj" from the path "...\w7500x-surf5\Projects\W7500x_StdPeriph_Templates\MDK" where the project files exist in the Surf 5 library.

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup8.png)

**Step 3**

Within the 'Project' tab at the top, click on "Options for Target 'W7500x'..."

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup9.png)

**Step 4**

Go to the "Target" tab at the top, set the ARM Compiler under Code Generation to "V5.06 update 7 (build 960)", and click the "OK" button

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup10.png)

**Step 5**

In the Keil 5 project, click on "main.c" in the "User" folder to open the file.

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup12.png)

**Step 6**

Press the "F7" button to complete the build.

![](https://docs.wiznet.io/img/osh/surf5/keil5_setup11.png)

---

Source: https://maker.wiznet.io/TheoIm/projects/how-to-make-surf-5-project-in-keil-5/
