2 ms·
Most examples I looked at were just a few lines. None of them showed multi-tasking, nor using sensors or similar SPI/I2C communication or similar. Looking at t
by magicalhippo 8y ago
Most examples I looked at were just a few lines. None of them showed multi-tasking, nor using sensors or similar SPI/I2C communication or similar.
Looking at the source code it seemed very Arduino-like in the sense that there's few knobs to turn, which is nice for simple stuff but means you'll have to go straight to registers for anything beyond.
Overall a bit hard to get a feel for what it could do.
- x3ro 8y agoGood point. Most of the examples are simply wrappers around core features of RIOT, such as gnrc (its network stack). For a larger snippet, this is a UDP server, for example: https://github.com/RIOT-OS/RIOT/blob/master/examples/posix_sockets/udp.c https://github.com/RIOT-OS/RIOT/blob/master/examples/posix_s... There's also the pkg directory (https://github.com/RIOT-OS/RIOT/tree/master/pkg https://github.com/RIOT-OS/RIOT/tree/master/pkg) which incorporates a bunch of third-party libraries and projects without a significant amount of code changes (see the patches/ directory in each pkg). Maybe this gives a good impression of what it takes to port things to RIOT.