Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

USB CDC-ECM implementation for STM32F072

NotificationsYou must be signed in to change notification settings

majbthrd/stm32ecm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a second generation (and hopefully more useful) version of this project. The first was originally written due to the apparent dearth of open-source implementations of this class of device.

However, unlike the previous, this new version has embedded virtual DHCP, DNS, and web servers.

Utilizing a copy oflwIP 1.4.1 from thelrndis project, this is a CDC-ECM implementation for the STM32F072.

This is related toD21ecm, another CDC-ECM implementation (but for the Atmel SAMD21).

Note that this project functions with both Linux and Mac OS X Lion 10.7.5 hosts, but not with Mac OS X El Capitan 10.11.6 nor macOS High Sierra 10.13.16.

Alternatives

Note that my priority going forward is to add the same and additional capabilities toTinyUSB; TinyUSB has the added benefit of supporting many different processors.

Usage

TCP/IP is inherently a high memory user (at least in traditional embedded terms). However, by tweaking the options oflwIP, I have the implementation fitting within the 16kBytes of RAM and 128kBytes of FLASH available to the STM32F072.

Specifics

Look at main.c to get an idea of how the code could be modified. As written, one quantity (systick) is shown in real-time as "Device Time" on the embedded web server (192.168.7.1) and another three quantities (alpha, bravo, and charlie) are "User Controls" on the web page that cause app.c code to be executed.

Requirements for compiling

Rowley Crossworks for ARM is presently needed to compile this code.

All the code is gcc/clang compatible, and as time permits, other options may be added.

About

USB CDC-ECM implementation for STM32F072

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2026 Movatter.jp