1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00
Go to file
Robin 4729bea46e
stm32_eth: Multiple Improvements of the original codebase
stm32eth: Move to stm32_common periph
cpu/stm32_periph_eth: Rebase to current master branch

- Update DMA to use new vendor headers
- Update send to use iolist. It looks like the packet headers are now transfered as seperate iolist entries which results in the eth periph sending each header as own packet. To fix this a rather ugly workaround is used where the whole iolist content is first copied to a static buffer. This will be fixed soon in another commit
- If MAC is set to zero use luid to generate one
- Small code style fixes

cpu/stm312f7: Add periph config for on-board ethernet
boards/nucleo-f767zi: Add config for on board ethernet
tests/stm32_eth_lwip: Remove board restriction
boards/common/nucleo: Add luid module if stm32 ethernet is used
tests/stm32_eth_gnrc: Add Testcase for gnrc using the stm32 eth periph
stm32_eth: Rework netdev driver layour
tests/stm32_eth_*: Use netdev driver header file for prototypes
stm32_eth: Add auto init for stm32 eth netdev driver
boards/stm32: Enable ethernet conf for nucleo boards
stm32_eth_auto_init: Add dont be pendantic flag
stm32_eth: Remove dma specific stuff from periph_cpu.h

Looks like this was implemented in PR #9171 and 021697ae94 with the same interface.

stm32_eth: Remove eth feature from stm32f4discovery boards
stm32_eth: Migrate to stm32 DMA API
stm32_eth: Add iolist to module deps
stm32_eth: Rework send function to use iolist
stm32_eth: Fix ci build warnings
stm32_eth: Fix bug introduced with iolist usage
stm32_eth: Remove redundant static buffer
stm32_eth: Fix feature dependencies
stm32_eth: Fix wrong header guard name
stm32_eth: Implement correct l2 netstats interface
stm32_eth: Rename public functions to stm32_eth_*
stm32_eth: Fix doccheck
stm32_eth: Move register DEFINE to appropriate header file
stm32_eth: remove untested configuration for f446ze boards
stm32_eth: Move periph configuration struct to stm32_common
stm32_eth: Fix naming of eth_phy_read and eth_phy_write
stm32_eth: Remove obsolete test applications
2019-07-04 15:27:26 +02:00
.github ISSUE_TEMPLATE: update Versions section 2019-05-24 17:14:06 +02:00
boards stm32_eth: Multiple Improvements of the original codebase 2019-07-04 15:27:26 +02:00
bootloaders/riotboot bootloader/README: fix typos 2019-05-23 12:08:01 +02:00
core core: Fix undefined behaviour in C11 atomics 2019-05-15 15:47:43 +02:00
cpu stm32_eth: Multiple Improvements of the original codebase 2019-07-04 15:27:26 +02:00
dist Merge pull request #11695 from cladmi/pr/buildsystem_sanity_check/bug/never_returns_error 2019-06-26 11:58:11 +02:00
doc Merge pull request #10162 from danpetry/doc/rdm1-RIOT-design-goals 2019-05-09 11:04:24 +02:00
drivers stm32_eth: Multiple Improvements of the original codebase 2019-07-04 15:27:26 +02:00
examples Merge pull request #11768 from aabadie/pr/boards/lobaro_lorabox 2019-07-04 09:19:26 +02:00
makefiles makefiles/vars.inc.mk: update doc on CPU/CPU_MODEL definition 2019-07-01 17:23:14 +02:00
pkg pkg: remove not needed git-downloaded dependencies 2019-06-28 09:38:44 +02:00
sys stm32_eth: Multiple Improvements of the original codebase 2019-07-04 15:27:26 +02:00
tests stm32_eth: Multiple Improvements of the original codebase 2019-07-04 15:27:26 +02:00
.bandit codacy: disable complaining about python assert 2019-03-01 13:43:37 +01:00
.drone.yml .drone.yml: remove mcu groups from the build test matrix 2019-06-14 11:32:15 +02:00
.gitattributes git: handle patch files as binary 2015-12-04 11:46:33 +01:00
.gitignore .gitignore: add .mypy_cache/ 2019-06-28 22:57:38 +02:00
.mailmap git: mailmap: deduplicate @jia200x 2017-11-02 19:46:01 +01:00
.murdock Merge pull request #11762 from kaspar030/add_termdeps_target 2019-07-04 11:57:34 +02:00
.travis.yml .travis.yml: provide base branch to static tests 2019-01-15 13:42:28 +01:00
CODE_OF_CONDUCT.md github: add Code of Conduct 2017-12-08 09:10:01 +01:00
CONTRIBUTING.md CONTRIBUTING: update print toolchain versions command 2019-05-24 17:14:06 +02:00
doc.txt doc: add configurations Doxygen group 2018-12-14 13:39:44 +01:00
LICENSE * updated LICENSE file from GPL to LPGL 2013-06-18 17:19:53 +02:00
LOSTANDFOUND.md LOSTANDFOUND.md: document removal of gnrc_pktbuf_duplicate_upto() 2019-07-03 15:37:27 +02:00
MAINTAINING.md Merge pull request #9973 from miri64/doc/enh/multi-review 2018-10-01 15:56:18 +02:00
Makefile makefiles/boards.inc.mk: list boards variables 2019-06-07 16:32:04 +02:00
Makefile.base Makefile.base: define 'clean' as .PHONY 2018-08-22 16:25:37 +02:00
Makefile.dep Merge pull request #11769 from haukepetersen/opt_softdevice_feature 2019-07-04 11:23:30 +02:00
Makefile.features Makefile.features: include CPU/Makefile.features when CPU is defined 2019-07-01 17:23:14 +02:00
Makefile.include Merge pull request #11762 from kaspar030/add_termdeps_target 2019-07-04 11:57:34 +02:00
README.md Documentation: update README with new architectures supported 2019-03-26 16:44:47 +01:00
release-notes.txt release-notes.txt: Add info on frdm-k64f failures 2019-04-26 18:21:12 +02:00
uncrustify-riot.cfg uncrustify: split lines at 80 chars 2019-03-04 16:14:57 +01:00
Vagrantfile vagrant: sync host time 2018-01-26 15:58:06 +01:00

Nightly CI status master IRC

                      ZZZZZZ
                    ZZZZZZZZZZZZ
                  ZZZZZZZZZZZZZZZZ
                 ZZZZZZZ     ZZZZZZ
                ZZZZZZ        ZZZZZ
                ZZZZZ          ZZZZ
                ZZZZ           ZZZZZ
                ZZZZ           ZZZZ
                ZZZZ          ZZZZZ
                ZZZZ        ZZZZZZ
                ZZZZ     ZZZZZZZZ       777        7777       7777777777
          ZZ    ZZZZ   ZZZZZZZZ         777      77777777    77777777777
      ZZZZZZZ   ZZZZ  ZZZZZZZ           777     7777  7777       777
    ZZZZZZZZZ   ZZZZ    Z               777     777    777       777
   ZZZZZZ       ZZZZ                    777     777    777       777
  ZZZZZ         ZZZZ                    777     777    777       777
 ZZZZZ          ZZZZZ    ZZZZ           777     777    777       777
 ZZZZ           ZZZZZ    ZZZZZ          777     777    777       777
 ZZZZ           ZZZZZ     ZZZZZ         777     777    777       777
 ZZZZ           ZZZZ       ZZZZZ        777     777    777       777
 ZZZZZ         ZZZZZ        ZZZZZ       777     777    777       777
  ZZZZZZ     ZZZZZZ          ZZZZZ      777     7777777777       777
   ZZZZZZZZZZZZZZZ            ZZZZ      777      77777777        777
     ZZZZZZZZZZZ               Z
        ZZZZZ

The friendly Operating System for IoT!

RIOT is a real-time multi-threading operating system that supports a range of devices that are typically found in the Internet of Things (IoT): 8-bit, 16-bit and 32-bit microcontrollers.

RIOT is based on the following design principles: energy-efficiency, real-time capabilities, small memory footprint, modularity, and uniform API access, independent of the underlying hardware (this API offers partial POSIX compliance).

RIOT is developed by an international open source community which is independent of specific vendors (e.g. similarly to the Linux community). RIOT is licensed with LGPLv2.1, a copyleft license which fosters indirect business models around the free open-source software platform provided by RIOT, e.g. it is possible to link closed-source code with the LGPL code.

FEATURES

RIOT is based on a microkernel architecture, and provides features including, but not limited to:

  • a preemptive, tickless scheduler with priorities
  • flexible memory management
  • high resolution, long-term timers
  • support 100+ boards based on AVR, MSP430, ESP8266, ESP32, MIPS, RISC-V, ARM7 and ARM Cortex-M
  • the native port allows to run RIOT as-is on Linux, BSD, and MacOS. Multiple instances of RIOT running on a single machine can also be interconnected via a simple virtual Ethernet bridge
  • IPv6
  • 6LoWPAN (RFC4944, RFC6282, and RFC6775)
  • UDP
  • RPL (storing mode, P2P mode)
  • CoAP
  • CCN-Lite
  • Sigfox
  • LoRaWAN

GETTING STARTED

  • You want to start the RIOT? Just follow our quickstart guide or try this tutorial. For specific toolchain installation, follow instructions in the getting started page.
  • The RIOT API itself can be built from the code using doxygen. The latest version of the documentation is uploaded daily to riot-os.org/api.

USING THE NATIVE PORT WITH NETWORKING

If you compile RIOT for the native cpu and include the netdev_tap module, you can specify a network interface like this: PORT=tap0 make term

SETTING UP A TAP NETWORK

There is a shell script in RIOT/dist/tools/tapsetup called tapsetup which you can use to create a network of tap interfaces.

USAGE

To create a bridge and two (or count at your option) tap interfaces:

./dist/tools/tapsetup/tapsetup [-c [<count>]]

CONTRIBUTE

To contribute something to RIOT, please refer to our contributing document.

MAILING LISTS

LICENSE

  • Most of the code developed by the RIOT community is licensed under the GNU Lesser General Public License (LGPL) version 2.1 as published by the Free Software Foundation.
  • Some external sources, especially files developed by SICS are published under a separate license.

All code files contain licensing information.

For more information, see the RIOT website:

https://www.riot-os.org