/*!
 * @file       readme.txt
 *
 * @brief      This file is routine instruction
 *
 * @version     V1.0.0
 *
 * @date        2022-11-15
 *
 * @attention
 *
 *  Copyright (C) 2022 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be useful and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions
 *  and limitations under the License.
 */

&par Example Description

This example shows how to create the TCP server based on the RT-Thread V3.1.5. Received and
send data to TCP Client by tcp assisatant.

phenomenon :
  - After initialization, You can see the system information on serial assisatant through UART4 or LCD screen.
  - you can connect and send data to the APM32F107 EVAL board by tcp assisatant.

notes: This example uses the RMII interface by default.Change "#define RMII_MODE" and "#define MII_MODE" 
comment to use different interface in board_DP83848.h.

Please install the following dependencies beforehand.
  - Pack/RealThread.RT-Thread.3.1.5.pack    RT-Thread Software Components

&par Hardware Description

runs on APM32F107_EVAL Devices
/** jumpers setting
*    ==========================================================================================+
*      Jumper |       MII mode configuration            |      RMII mode configuration         +
*    ==========================================================================================+
*      JP6    | 2-3 provide 25MHz clock by MCO(PA8)     |  2-3 provide 25MHz clock by MCO(PA8) +
*             | 1-2 provide 25MHz clock by ext. Crystal |                                      +
*     -----------------------------------------------------------------------------------------+
*      JP5    |          2-3                            |  1-2                                 +
*     -----------------------------------------------------------------------------------------+
*      JP4    |          Open                           |  Close                               +
*    ==========================================================================================+
*/

The UART4 is configured as follows:
  - TX:PC10, RX:PC11
  - BaudRate = 115200 baud
  - Word Length = 8 Bits
  - One Stop Bit
  - No parity
  - Hardware flow control disabled (RTS and CTS signals)
  - Receive and transmit enabled

&par Directory contents

  - ETH/ETH_RT-Thread_TcpServer/Source/apm32f4xx_int.c     Interrupt handlers
  - ETH/ETH_RT-Thread_TcpServer/Source/main.c              Main program
  - ETH/ETH_RT-Thread_TcpServer/Source/board_DP83848.c     provides functions for configurate DP83848

&par IDE environment

  - MDK-ARM V5.29
  - EWARM V8.50.4.26131

&par Hardware and Software environment

  - This example runs on APM32F107_EVAL Devices.
