repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
RIOT
RIOT-master/dist/tools/zep_dispatch/topogen.c
/* * Copyright (C) 2021 Benjamin Valentin * * This file is subject to the terms and conditions of the GNU General Public * License v2. See the file LICENSE for more details. */ #include <stdbool.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <unistd.h> ...
6,174
24.411523
86
c
RIOT
RIOT-master/dist/tools/dose/dose.c
/* * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de> * Copyright (C) 2022 Benjamin Valentin <benjamin.valentin@ml-pa.com> * * This file is subject to the terms and conditions of the GNU General Public * License v2. See the file LICENSE for more details. */ #include <errno.h> #include <stdbool.h> #inclu...
11,961
25.004348
84
c
RIOT
RIOT-master/dist/tools/riotboot_gen_hdr/main.c
/* * Copyright (C) 2017 Kaspar Schleiser <kaspar@schleiser.de> * 2018 Inria * * This file is subject to the terms and conditions of the GNU General Public * License v2. See the file LICENSE for more details. */ /** * @file * @brief Header generation tool for RIOT firmware images * * @auth...
797
20.567568
77
c
RIOT
RIOT-master/dist/tools/riotboot_gen_hdr/genhdr.c
/* * Copyright (c) 2016 Inria * 2017 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU General Public * License v2. See the file LICENSE for more details. * */ /** * @author Francisco Acosta <francisco.acosta@inria.fr> * @author Kasp...
2,815
23.486957
91
c
RIOT
RIOT-master/dist/tools/riotboot_gen_hdr/common.h
/* * Copyright (C) 2017 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU General Public * License v2. See the file LICENSE for more details. */ #ifndef COMMON_H #define COMMON_H #include <stddef.h> #ifdef __cplusplus extern "C" { #endif /** * @brief Writ...
708
21.15625
77
h
RIOT
RIOT-master/dist/tools/benchmark_udp/main.c
/* * Copyright (C) 2021 ML!PA Consulting GmbH * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for * more details. */ /** * @ingroup tools * @{ * * @file * * @author Benjamin Valentin <benjamin.val...
7,676
26.714801
92
c
RIOT
RIOT-master/dist/tools/fixdep/fixdep.c
/* * "Optimize" a list of dependencies as spit out by gcc -MD * for the kernel build * =========================================================================== * * Author Kai Germaschewski * Copyright 2002 by Kai Germaschewski <kai.germaschewski@gmx.de> * * This software may be used and distributed...
9,844
23.308642
78
c
RIOT
RIOT-master/dist/tools/ethos/ethos.c
/* * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU General Public * License v2. See the file LICENSE for more details. */ #include <errno.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <netinet/in.h> #include <lin...
18,070
27.368917
101
c
RIOT
RIOT-master/dist/tools/uhcpd/uhcpd.c
/* * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU General Public * License v2. See the file LICENSE for more details. */ #define UHCP_MCAST_ADDR "ff15::ABCD" #include <stdlib.h> #include <string.h> #include <unistd.h> #include <stdio.h>...
4,482
24.764368
116
c
RIOT
RIOT-master/dist/tools/uhcpd/log.h
/* * Copyright (C) 2020 ML!PA Consulting GmbH * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup core_util * @{ * * @file * @brief System logging dummy header *...
1,070
21.787234
72
h
RIOT
RIOT-master/tests/fault_handler/main.c
/* * Copyright (C) 2015 Eistec AB * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Minimal test application for triggering a hard...
1,777
30.192982
88
c
RIOT
RIOT-master/tests/riotboot/main.c
/* * Copyright (C) 2018 Inria * Federico Pellegrin <fede@evolware.org> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @b...
2,366
22.67
78
c
RIOT
RIOT-master/tests/core/cond_order/main.c
/* * Copyright (C) 2018 University of California, Berkeley * Copyright (C) 2016 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ *...
2,462
24.65625
79
c
RIOT
RIOT-master/tests/core/thread_cooperation/main.c
/* * Copyright (C) 2014-2017 Hamburg University of Applied Sciences * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief riot thread test appli...
2,354
21.009346
82
c
RIOT
RIOT-master/tests/core/thread_flags/main.c
/* * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief simple thread flags test ...
3,031
25.137931
75
c
RIOT
RIOT-master/tests/core/mutex_order/main.c
/* * Copyright (C) 2016 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for testing mu...
1,635
21.410959
79
c
RIOT
RIOT-master/tests/core/thread_flags_xtimer/main.c
/* * Copyright (C) 2017 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup tests * @{ * * @file * @brief Test waking up a thread using t...
1,528
22.166667
80
c
RIOT
RIOT-master/tests/core/thread_msg/main.c
/* * Copyright (C) 2013 Christian Mehlis <mehlis@inf.fu-berlin.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Thread test application...
2,465
21.833333
77
c
RIOT
RIOT-master/tests/core/thread_stack_alignment/main.c
/* * Copyright (C) 2022 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Thread stack alignment tes...
3,164
28.579439
79
c
RIOT
RIOT-master/tests/core/thread_msg_bus/main.c
/* * Copyright (C) 2020 ML!PA Consulting GmbH * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Message bus test application * * @au...
3,381
21.697987
76
c
RIOT
RIOT-master/tests/core/thread_msg_block_race/main.c
/* * Copyright (C) 2019 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Thread race condition test application ...
2,961
24.534483
81
c
RIOT
RIOT-master/tests/core/mutex_cancel/main.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application...
1,838
21.9875
73
c
RIOT
RIOT-master/tests/core/mutex_unlock_and_sleep/main.c
/* * Copyright (C) 2014-2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief simple test application for atomic mutex unlock...
1,917
22.390244
80
c
RIOT
RIOT-master/tests/core/deferred_yield_higher/main.c
/* * Copyright (C) 2021 Inria * 2021 Freie Universität Berlin * 2021 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /*...
1,119
20.132075
76
c
RIOT
RIOT-master/tests/core/sched_change_priority/main.c
/* * Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application...
2,727
25.745098
85
c
RIOT
RIOT-master/tests/core/thread_flood/main.c
/* * Copyright (C) 2015-2017 Hamburg University of Applied Sciences * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Thread flooding test. ...
1,554
21.867647
70
c
RIOT
RIOT-master/tests/core/bitarithm_timings/main.c
/* * Copyright (C) 2014 René Kijewski <rene.kijewski@fu-berlin.de> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any l...
3,632
24.765957
109
c
RIOT
RIOT-master/tests/core/irq_disable_restore/main.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief irq_disable_rest...
2,979
24.913043
78
c
RIOT
RIOT-master/tests/core/thread_msg_block_w_queue/main.c
/* * Copyright (C) 2014 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Thread test application * * @author Chr...
1,735
22.146667
83
c
RIOT
RIOT-master/tests/core/thread_zombie/main.c
/* * Copyright (C) 2019 Freie Universität Berlin, * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Thread test application * * ...
7,610
26.879121
86
c
RIOT
RIOT-master/tests/core/rmutex/main.c
/* * Copyright (C) 2016 Theobroma Systems Design & Consulting GmbH * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test applicat...
2,367
24.462366
89
c
RIOT
RIOT-master/tests/core/thread_msg_seq/main.c
/* * Copyright (C) 2013 Christian Mehlis <mehlis@inf.fu-berlin.de> * (C) 2014 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingr...
1,900
23.688312
105
c
RIOT
RIOT-master/tests/core/msg_send_receive/main.c
/* * Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test msg_sen...
2,473
22.561905
91
c
RIOT
RIOT-master/tests/core/sched_testing/main.c
/* * Copyright (C) 2014 Oliver Hahm <oliver.hahm@inria.fr> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * @file * @brief Test thread_yield() * @...
1,074
21.87234
83
c
RIOT
RIOT-master/tests/core/thread_priority_inversion/main.c
/* * Copyright (C) 2017 Technische Universität Berlin * 2021 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests *...
4,954
25.783784
98
c
RIOT
RIOT-master/tests/core/irq_cpp/irq.h
/* * Copyright (C) 2021 Jens Wetterich <jens@wetterich-net.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @brief Dummy irq header to allow mocking. Prevent...
669
20.612903
96
h
RIOT
RIOT-master/tests/core/msg_avail/main.c
/* * Copyright (C) 2015 Nick van IJzendoorn <nijzendoorn@engineering-spirit.nl> * 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @...
1,499
22.076923
77
c
RIOT
RIOT-master/tests/core/thread_float/main.c
/* * Copyright (C) 2017 OTA keys S.A. * 2021 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file ...
3,161
26.495652
84
c
RIOT
RIOT-master/tests/core/thread_msg_block_wo_queue/main.c
/* * Copyright (C) 2014 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Thread test application * * @author Chr...
1,665
22.8
83
c
RIOT
RIOT-master/tests/core/msg_queue_capacity/main.c
/* * Copyright (C) 2015 Nick van IJzendoorn <nijzendoorn@engineering-spirit.nl> * 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @...
1,308
20.816667
81
c
RIOT
RIOT-master/tests/drivers/mag3110/main.c
/* * Copyright (C) 2014 Freie Universität Berlin * Copyright (C) 2014 PHYTEC Messtechnik GmbH * 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ing...
1,405
22.04918
78
c
RIOT
RIOT-master/tests/drivers/tsl4531x/main.c
/* * Copyright (C) 2016 Inria * Copyright (C) 2018 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test ap...
3,810
31.02521
91
c
RIOT
RIOT-master/tests/drivers/at/main.c
/* * Copyright (C) 2018 OTA keys S.A. * 2018 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief AT module test applic...
6,772
20.778135
105
c
RIOT
RIOT-master/tests/drivers/dht/main.c
/* * Copyright (C) 2015 Ludwig Knüpfer, Christian Mehlis * 2016-2017 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * ...
1,507
22.2
83
c
RIOT
RIOT-master/tests/drivers/ds3231/main.c
/* * Copyright (C) 2020 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the DS3231...
8,041
21.15427
79
c
RIOT
RIOT-master/tests/drivers/adt7310/main.c
/* * Copyright (C) 2015 Eistec AB * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the ADT7310 accelerometer dri...
3,397
22.434483
98
c
RIOT
RIOT-master/tests/drivers/esp_eth/main.c
/* * Copyright (C) 2022 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for ESP ethernet peripheral...
1,479
20.764706
69
c
RIOT
RIOT-master/tests/drivers/ds18/main.c
/* * Copyright (C) 2018 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the DS18B20 1-Wire temperat...
1,634
22.028169
75
c
RIOT
RIOT-master/tests/drivers/my9221/main.c
/* * Copyright (C) 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the MY9221 LED controll...
2,292
25.056818
69
c
RIOT
RIOT-master/tests/drivers/tps6274x/main.c
/* * Copyright (C) 2017 RWTH Aachen, Josua Arndt, Steffen Robertz * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application fo...
1,433
27.68
107
c
RIOT
RIOT-master/tests/drivers/encx24j600/main.c
/* * Copyright (C) 2022 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for ENCX24J600 ethernet dev...
1,555
21.882353
70
c
RIOT
RIOT-master/tests/drivers/nrfmin/main.c
/* * Copyright (C) 2019 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test for the Nordic specific nr...
1,046
22.795455
75
c
RIOT
RIOT-master/tests/drivers/bmx280/main.c
/* * Copyright (C) 2016 Kees Bakker, SODAQ * 2018 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @br...
3,466
30.234234
74
c
RIOT
RIOT-master/tests/drivers/ft5x06/main.c
/* * Copyright (C) 2021 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the ft5x06 touch driver * *...
2,243
23.933333
78
c
RIOT
RIOT-master/tests/drivers/srf02/main.c
/* * Copyright (C) 2014 Hamburg University of Applied Sciences * 2015 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @...
3,527
23.164384
80
c
RIOT
RIOT-master/tests/drivers/bh1900nux/main.c
/* * Copyright (C) 2020 Nalys * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the BH1900NUX Temperature sen...
1,178
20.833333
78
c
RIOT
RIOT-master/tests/drivers/disp_dev/main.c
/* * Copyright (C) 2020 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Generic display device test application * * @author ...
1,880
21.939024
69
c
RIOT
RIOT-master/tests/drivers/mhz19/main.c
/* * Copyright (C) 2018 Koen Zandberg <koen@bergzand.net> * Copyright (C) 2018 Beduino Master Projekt - University of Bremen * Copyright (C) 2020 Bas Stottelaar <basstottelaar@gmail.com> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in t...
1,925
21.137931
69
c
RIOT
RIOT-master/tests/drivers/at86rf2xx_aes/main.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application...
8,111
33.084034
75
c
RIOT
RIOT-master/tests/drivers/at24cxxx/main.c
/* * Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief AT24CXXX test applicati...
4,882
25.977901
78
c
RIOT
RIOT-master/tests/drivers/sgp30/main.c
/* * Copyright (C) 2021 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief SGP30 driver test application * * @author F...
1,429
21.34375
77
c
RIOT
RIOT-master/tests/drivers/epd_bw_spi_disp_dev/main.c
/* * Copyright (C) 2019 Silke Hofstra * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the black/white e-paper S...
2,021
22.788235
80
c
RIOT
RIOT-master/tests/drivers/ads101x/main.c
/* * Copyright (C) 2017 OTA keys S.A. * 2018 Acutam Automation, LLC * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief T...
2,860
22.072581
79
c
RIOT
RIOT-master/tests/drivers/pir/main.c
/* * Copyright (C) 2014 Freie Universität Berlin * Copyright (C) 2018 UC Berkeley * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief T...
2,214
23.611111
82
c
RIOT
RIOT-master/tests/drivers/ili9341/main.c
/* * Copyright (C) 2018 Koen Zandberg <koen@bergzand.net> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for l...
2,438
25.225806
82
c
RIOT
RIOT-master/tests/drivers/hd44780/main.c
/* * Copyright (C) 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for Arduino LCM1602C LCD *...
1,309
21.20339
69
c
RIOT
RIOT-master/tests/drivers/mrf24j40/main.c
/* * Copyright (C) 2022 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for MRF24J40 IEEE 802.15.4 ...
2,182
24.682353
93
c
RIOT
RIOT-master/tests/drivers/itg320x/main.c
/* * Copyright (C) 2018 Gunar Schorcht * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @brief Test application for InvenSense ITG320X 3-axis gyroscope *...
3,008
25.866071
79
c
RIOT
RIOT-master/tests/drivers/lc709203f/main.c
/* * Copyright (C) 2017 RWTH Aachen, Josua Arndt, Steffen Robertz * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * @file * @brief test application ...
1,850
29.344262
90
c
RIOT
RIOT-master/tests/drivers/vl6180x/main.c
/* * Copyright (C) 2021 Gunar Schorcht * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @brief Test application for ST VL6180X Ranging and Ambient Light S...
9,198
33.713208
94
c
RIOT
RIOT-master/tests/drivers/stmpe811/main.c
/* * Copyright (C) 2019 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the STMPE811 touchscreen controll...
1,939
23.25
79
c
RIOT
RIOT-master/tests/drivers/ina2xx/main.c
/* * Copyright (C) 2015 Eistec AB * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the INA2XX sensor driver * ...
2,781
25.495238
78
c
RIOT
RIOT-master/tests/drivers/mtd_at24cxxx/main.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file */ #include <string.h> #include <errno.h> #include "...
3,331
26.089431
75
c
RIOT
RIOT-master/tests/drivers/tsl2561/main.c
/* * Copyright (C) 2016 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the TSL2561 Lux sensor * * @aut...
1,420
20.861538
73
c
RIOT
RIOT-master/tests/drivers/nrf802154/main.c
/* * Copyright (C) 2022 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for NRF802154 IEEE 802.15.4...
1,668
21.863014
74
c
RIOT
RIOT-master/tests/drivers/mtd_at25xxx/main.c
/* * Copyright (C) 2020 ML!PA Consulting GmbH * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file */ #include <string.h> #include <errno.h> #include "embUnit.h" #inclu...
3,161
24.095238
91
c
RIOT
RIOT-master/tests/drivers/cc2538_rf/main.c
/* * Copyright (C) 2022 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for CC2538_RF IEEE 802.15.4...
1,665
21.821918
74
c
RIOT
RIOT-master/tests/drivers/soft_spi/main.c
/* * Copyright (C) 2017 Hamburg University of Applied Sciences * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup tests * @{ * * @file * @brief Application for testi...
2,038
27.319444
83
c
RIOT
RIOT-master/tests/drivers/pcf857x/main.c
/* * Copyright (C) 2018 Gunar Schorcht * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @brief Test application for Texas Instruments PCF857X I2C I/O expa...
12,872
28.593103
80
c
RIOT
RIOT-master/tests/drivers/lpd8808/main.c
/* * Copyright (C) 2016 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the LPD880...
1,885
21.188235
70
c
RIOT
RIOT-master/tests/drivers/motor_driver/main.c
/* * Copyright (C) 2018 Gilles DOFFE <g.doffe@gmail.com> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief High-level driver for D...
3,028
24.453782
78
c
RIOT
RIOT-master/tests/drivers/cst816s/main.c
/* * Copyright (C) 2020 Koen Zandberg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the CST816S touch scr...
1,475
20.705882
75
c
RIOT
RIOT-master/tests/drivers/dfplayer/main.c
/* * Copyright (C) 2019 Marian Buschsieweke * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application of the DFPlayer Mini driver...
4,073
23.25
78
c
RIOT
RIOT-master/tests/drivers/si70xx/main.c
/* * Copyright (C) 2016 Bas Stottelaar <basstottelaar@gmail.com> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test applicatio...
1,996
23.060241
79
c
RIOT
RIOT-master/tests/drivers/apds99xx_full/main.c
/* * Copyright (C) 2018 Gunar Schorcht * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @brief Test application for Vishay APDS99XX proximity and ambient ...
4,820
32.020548
87
c
RIOT
RIOT-master/tests/drivers/seesaw_soil/main.c
/* * Copyright (C) 2020 Viktor Gal * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the Adafruit Seesaw Soil...
1,412
20.738462
82
c
RIOT
RIOT-master/tests/drivers/enc28j60/main.c
/* * Copyright (C) 2022 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for ENC28J60 ethernet devic...
1,531
21.529412
69
c
RIOT
RIOT-master/tests/drivers/ccs811/main.c
/* * Copyright (C) 2018 Gunar Schorcht * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @brief Test application for the AMS CCS811 device driver * @autho...
1,898
25.375
72
c
RIOT
RIOT-master/tests/drivers/pca9633/main.c
/* * Copyright (C) 2020 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @brief Test application for the PCA9633 I2C PWM controll...
13,324
26.530992
92
c
RIOT
RIOT-master/tests/drivers/sdp3x/main.c
/* * Copyright (C) 2019 Jan Schlichter 2020 Nishchay Agrawal * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief ...
2,365
24.170213
74
c
RIOT
RIOT-master/tests/drivers/sx127x/main.c
/* * Copyright (C) 2016 Unwired Devices <info@unwds.com> * 2017 Inria Chile * 2017 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup t...
14,712
24.722028
86
c
RIOT
RIOT-master/tests/drivers/bmp180/main.c
/* * Copyright (C) 2016 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the BMP180 pressure and temperatu...
2,730
28.365591
85
c
RIOT
RIOT-master/tests/drivers/si114x/main.c
/* * Copyright (C) 2016-2018 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the Si114x UV, IR, visib...
1,832
24.458333
77
c
RIOT
RIOT-master/tests/drivers/aip31068/main.c
/* * Copyright (C) 2020 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @brief Test application for the AIP31068 I2C LCD control...
18,552
26.203812
103
c
RIOT
RIOT-master/tests/drivers/sdcard_spi/main.c
/* * Copyright (C) 2016 Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief ...
15,259
38.228792
106
c
RIOT
RIOT-master/tests/drivers/bh1750/main.c
/* * Copyright (C) 2016 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the BH1750...
1,166
21.018868
78
c
RIOT
RIOT-master/tests/drivers/ds1307/main.c
/* * Copyright (C) 2017 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the DS1307...
4,009
25.20915
84
c
RIOT
RIOT-master/tests/drivers/shtcx/main.c
/* * Copyright (C) 2017 RWTH Aachen, Steffen Robertz, Josua Arndt * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application fo...
1,504
22.888889
78
c
RIOT
RIOT-master/tests/drivers/at25xxx/main.c
/* * Copyright (C) 2019 ML!PA Consulting GmbH * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for the AT25XXX E...
3,299
29.841121
109
c
RIOT
RIOT-master/tests/drivers/cc110x/main.c
/* * Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application...
4,837
32.597222
81
c