berkutta / wch-ch32v307-lwip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WCH CH32V307 LwIP

Overview

This repository contains a LwIP and FreeRTOS implementation for the WCH CH32V307 MCU.

The LwIP Implementation is based on the Ethernet code in the official WCH repository WCH CH32V307V NetLib. The LwIP itself is custom and uses LwIP 2.2.0d

The FreeRTOS Implementation is based on the example in the official WCH repository WCH CH32V307V FreeRTOS.

This project doesn't use the Mounriver IDE. It uses the Mounriver Toolchain within a Makefile environment.

Build and Flash

  • Build with make
  • Flash with make flash

Usage

The IP Address is configured over DHCP. The LwIP httpd service is available on Port 80.

Debugging

  • Run openocd with make gdb

About

License:MIT License


Languages

Language:C 92.9%Language:Assembly 4.9%Language:Makefile 2.2%