Skip to content

stm32-community/stm32-enc28j60

Repository files navigation

stm32-enc28j60

STM32 ENC28J60 ethernet driver, ported for CMake using stm32-cmake and stm32-base

An implementation of ENC28J60 driver for STM32 MCU. Tested only on sending UDP packets and only on MCUs STM32F091xC, STM32F030x6, STM32F103xB and STM32F401VE.

You need to copy stm32*_hal_conf.h of your MCU to inc folder to make it work.

If you need to use another STM32 MCU then don't forget to edit file inc/stm32includes.h.

How to use it

  • Either just copy it into your project and set up your project to be built with this library.
  • Or use the stm32-cmake (see the next section).

CMake

This project based on stm32-cmake, read it's readme and install, then set appropriate environment variables, see stm32-env-example.ps1

The project comes with a template of a cmake configuration, so that it builds as library that can be linked using CMake in other STM32 projects. Use variables defined in CMakeLists.txt to enable, disable and configure internet modules.

To make it work for your MCU family and model you must change MCU_FAMILY and MCU_MODEL CMake variables.

Examples

About

An ENC28J60 (cheap ethernet module) library for STM32 projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •