{"id":20990560,"url":"https://github.com/offa/stm32-eth","last_synced_at":"2025-07-18T20:36:24.443Z","repository":{"id":50111952,"uuid":"64939819","full_name":"offa/stm32-eth","owner":"offa","description":"Experimental C++ Ethernet driver for Stm32 boards using W5100.","archived":false,"fork":false,"pushed_at":"2025-07-14T16:53:28.000Z","size":2399,"stargazers_count":18,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T21:27:22.317Z","etag":null,"topics":["cmake","concepts","cpp","cpp20","cpputest","driver","embedded","ethernet","gsl","modern-cpp","socket","stm32","w5100"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/offa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-08-04T14:06:56.000Z","updated_at":"2025-07-14T16:53:33.000Z","dependencies_parsed_at":"2023-09-21T18:07:20.843Z","dependency_job_id":"493da522-2130-4437-a77e-4bd2e853546f","html_url":"https://github.com/offa/stm32-eth","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/offa/stm32-eth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offa%2Fstm32-eth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offa%2Fstm32-eth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offa%2Fstm32-eth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offa%2Fstm32-eth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/offa","download_url":"https://codeload.github.com/offa/stm32-eth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offa%2Fstm32-eth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265829157,"owners_count":23835089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","concepts","cpp","cpp20","cpputest","driver","embedded","ethernet","gsl","modern-cpp","socket","stm32","w5100"],"created_at":"2024-11-19T06:34:12.448Z","updated_at":"2025-07-18T20:36:24.174Z","avatar_url":"https://github.com/offa.png","language":"C","readme":"# [Stm32 Eth](https://github.com/offa/stm32-eth)\n\n[![CI](https://github.com/offa/stm32-eth/workflows/ci/badge.svg)](https://github.com/offa/stm32-eth/actions)\n[![GitHub release](https://img.shields.io/github/release/offa/stm32-eth.svg)](https://github.com/offa/stm32-eth/releases)\n[![License](https://img.shields.io/badge/license-GPLv3-yellow.svg)](LICENSE)\n![C++](https://img.shields.io/badge/c++-20-green.svg)\n\nEthernet connectivity for *Stm32F4* Boards using W5100 Ethernet controller.\n\n\n## • Requirements\n\n - [**CMake**](http://www.cmake.org/)\n - [**CppUTest**](https://github.com/cpputest/cpputest) – *(Optional)*\n - [**GNU ARM Embedded Toolchain**](https://developer.arm.com/open-source/gnu-toolchain/gnu-rm) (*arm-none-eabi-gcc*)\n\n\n## • Testing\n\nBuild and execute Unit Tests:\n\n```\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake\nmake unittest\n```\n\nExecuting tests using CTest: `make test` or `ctest`. For `unittest` it's possible to switch verbosity by CMake option.\n\n\n## • Integration Test\n\nIntegration Test for *Stm32F4* are enabled by the `INTEGRATIONTEST` option. The target `stm32-eth-it` is available as *ELF* (default) and *HEX*.\n\n\n## • Flashing (OpenOCD)\n\nBoth *ELF*- and *HEX*-files can be flashed using [***OpenOCD***](http://openocd.org/):\n\n```sh\n$ openocd -f stm32f4discovery.cfg\n```\n\n```sh\n$ telnet localhost 4444\n\u003e reset halt\n\u003e flash write_image erase \u003cfilename.[elf|hex]\u003e\n\u003e reset run\n```\n\n## • Wiring \u0026 Pin Assignment\n\n#### W5100 Wiring\n\nConnect ***Reset*** and ***3.3 V*** with **4.7 kΩ Resistor**.\n\n[![W5100 Pin Assignment](doc/W5100-Pin-Assignment-Scaled.png?raw=true)](doc/W5100-Pin-Assignment.png?raw=true)\n\n#### Stm32 Pin Assignment\n\n| Pin  | Stm32 |\n|:----:|:-----:|\n| MOSI | PB15  |\n| MISO | PB14  |\n| SCK  | PB13  |\n| SS   | PB12  |\n\n\n\n## License\n\n**GNU General Public License (GPL)**\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n\n### Third party licenses\n\nThe License does ***not*** apply to files of [*system*](system/) directory. Files included in the [*system*](system/) folder are licensed under different conditions – please refer to it's files for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffa%2Fstm32-eth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foffa%2Fstm32-eth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffa%2Fstm32-eth/lists"}