EasyManuals Logo

Renesas RA6M5 Quick Start Guide

Renesas RA6M5
35 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #28 background imageLoading...
Page #28 background image
Renesas RA Family EK-RA6M5Quick Start Guide
R20QS0021EG0101 Rev.1.01 Page 28 of 33
Apr.15.21
5.4 DHCP and Static IP settings
To modify the Ethernet based sample to enable/disable DHCP use the FreeRTOS+TCP setting in the stack.
The FSP Configuration view must be active to access the stack items properties.
Figure 35. DHCP Setting in FreeRTOS + TCP Stack
If DHCP is disabled, set the static IP address, net-mask and gateway address, to suit your local network.
In File: src\net_thread_entry.c
/* Static IP configuration, when DHCP mode is not used for the Example Project.
* Must be populated by the user according to the Network Settings of your LAN.
* “HOST-PC” and TARGET must be in the same “SUBNET” to access the web browser.
* This sample address taken from the LAN where it is tested.
*/
#define STATIC_IP_MAC_ADDRESS {0x00, 0x11, 0x22, 0x33, 0x44, 0x55}
#define STATIC_IP_ADDRESS {192, 168, 0, 10}
#define STATIC_IP_NET_MASK {255, 255, 255, 0}
#define STATIC_IP_GATEWAY_ADDRESS {192, 168, 0, 1}
#define STATIC_IP_DNS_SERVER_ADDRESS {194, 168, 0, 1}

Table of Contents

Other manuals for Renesas RA6M5

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RA6M5 and is the answer not in the manual?

Renesas RA6M5 Specifications

General IconGeneral
BrandRenesas
ModelRA6M5
CategoryMicrocontrollers
LanguageEnglish

Related product manuals