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/tests/drivers/cc110x/sc_cc110x.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.
*/
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.... | 8,752 | 29.820423 | 79 | c |
RIOT | RIOT-master/tests/drivers/sx126x/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 sx126x/llcc68 radio drive... | 9,105 | 24.94302 | 93 | c |
RIOT | RIOT-master/tests/drivers/mpu9x50/main.c | /*
* Copyright (C) 2015 Freie Universität Berlin
* 2019 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 T... | 3,289 | 32.232323 | 88 | c |
RIOT | RIOT-master/tests/drivers/ltc4150/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... | 8,251 | 29.007273 | 97 | c |
RIOT | RIOT-master/tests/drivers/soft_uart/main.c | /*
* Copyright (C) 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
* @{
*
* @file
* @brief Manual test application for UAR... | 7,641 | 25.534722 | 90 | c |
RIOT | RIOT-master/tests/drivers/ws281x/main.c | /*
* Copyright 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 for the WS281x RGB LED driver
... | 3,475 | 29.491228 | 79 | c |
RIOT | RIOT-master/tests/drivers/dsp0401/main.c | /*
* Copyright (C) 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 tests
* @{
*
* @file
* @brief Test application for the DSP0401 4 digit display.
*
... | 2,015 | 26.243243 | 95 | c |
RIOT | RIOT-master/tests/drivers/nrf24l01p_lowlevel/main.c | /*
* Copyright (C) 2014 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 Test application for ... | 7,387 | 21.732308 | 89 | c |
RIOT | RIOT-master/tests/drivers/vcnl40x0/main.c | /*
* Copyright (C) 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 tests
* @{
*
* @file
* @brief Test application for the VNCL40X0 proximity and ambien... | 1,609 | 23.393939 | 85 | c |
RIOT | RIOT-master/tests/drivers/sm_pwm_01c/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 SM_PWM_01C driver
*
* @author ... | 1,627 | 25.258065 | 80 | c |
RIOT | RIOT-master/tests/drivers/at86rf215/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 AT86RF215 IEEE 802.15.4... | 6,354 | 23.442308 | 92 | c |
RIOT | RIOT-master/tests/drivers/at86rf215/init_dev.h | /*
* 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 Device-specific test header file AT86RF215 IEEE ... | 804 | 20.184211 | 82 | h |
RIOT | RIOT-master/tests/drivers/lsm303dlhc/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 Test application for the LSM303DLHC... | 1,997 | 24.615385 | 78 | c |
RIOT | RIOT-master/tests/drivers/sht3x/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 Sensirion SHT30/SHT31/SHT35 device... | 1,459 | 22.174603 | 82 | c |
RIOT | RIOT-master/tests/drivers/pn532/main.c | /*
* Copyright (C) 2016 TriaGnoSys 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 PN532 NFC reader
*... | 3,377 | 24.78626 | 99 | c |
RIOT | RIOT-master/tests/drivers/ph_oem/main.c | /*
* Copyright (C) 2019 University of Applied Sciences Emden / Leer
*
* 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... | 7,911 | 26.377163 | 88 | c |
RIOT | RIOT-master/tests/drivers/bq2429x/_util.h | /*
* Copyright (C) 2020 Locha Inc
*
* 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 Util functions for test application for the BQ24298x device
* ... | 5,218 | 23.502347 | 80 | h |
RIOT | RIOT-master/tests/drivers/bq2429x/main.c | /*
* Copyright (C) 2020 Locha Inc
*
* 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 BQ24298x device driver
* @author ... | 10,748 | 25.540741 | 78 | c |
RIOT | RIOT-master/tests/drivers/ad7746/main.c | /*
* Copyright (C) 2019 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 AD7746 capacitance-to-d... | 2,186 | 22.771739 | 72 | c |
RIOT | RIOT-master/tests/drivers/hsc/main.c | /*
* Copyright (C) 2020 Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)
*
* 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... | 1,772 | 22.64 | 82 | c |
RIOT | RIOT-master/tests/drivers/hmc5883l/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 HMC5883L 3-axis digital compass
*... | 3,793 | 27.526316 | 85 | c |
RIOT | RIOT-master/tests/drivers/mtd_mapper/main.c | /*
* Copyright (C) 2020 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 mtd_mapper module test... | 9,569 | 23.538462 | 103 | c |
RIOT | RIOT-master/tests/drivers/hdc1000/main.c | /*
* Copyright (C) 2014-2017 Freie Universität Berlin
* Copyright (C) 2014 PHYTEC Messtechnik 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
* @{
*
* @f... | 1,430 | 21.015385 | 78 | c |
RIOT | RIOT-master/tests/drivers/hm330x/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 HM330X driver test application
*
* @author ... | 3,413 | 26.983607 | 110 | c |
RIOT | RIOT-master/tests/drivers/ata8520e/main.c | /*
* Copyright (C) 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 tests
* @{
*
* @file
* @brief Test application for the ATA8520E Sigfox module
*
* ... | 4,918 | 30.532051 | 96 | c |
RIOT | RIOT-master/tests/drivers/mpl3115a2/main.c | /*
* Copyright (C) 2014 Freie Universität Berlin
* Copyright (C) 2014 PHYTEC Messtechnik 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
* @b... | 1,649 | 24 | 83 | c |
RIOT | RIOT-master/tests/drivers/nrf24l01p_ng/nrf24ctl.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 Tool to configur... | 12,945 | 38.111782 | 79 | c |
RIOT | RIOT-master/tests/drivers/nrf24l01p_ng/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 ... | 970 | 21.581395 | 70 | c |
RIOT | RIOT-master/tests/drivers/lis3dh/main.c | /*
* Copyright (C) 2015 Eistec AB
* 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 Tes... | 3,481 | 21.907895 | 86 | c |
RIOT | RIOT-master/tests/drivers/feetech/main.c | /*
* Copyright (C) 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.
*/
#include "feetech.h"
#include "shell.h"
#include "stdio_uart.h"
#include "container.h"
#include <stdio.h>
#in... | 9,843 | 23.921519 | 98 | c |
RIOT | RIOT-master/tests/drivers/rn2xx3/main.c | /*
* Copyright (C) 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 tests
* @{
*
* @file
* @brief Test application for RN2483/RN2903 LoRa module dri... | 14,535 | 31.302222 | 90 | c |
RIOT | RIOT-master/tests/drivers/si1133/main.c | /*
* Copyright (C) 2020 iosabi
*
* 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 Si1133 UV, IR and visibl... | 5,622 | 34.36478 | 80 | c |
RIOT | RIOT-master/tests/drivers/pca9685/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 PCA9685 I2C PWM controller
* @aut... | 7,847 | 26.344948 | 92 | c |
RIOT | RIOT-master/tests/drivers/sps30/main.c | /*
* Copyright (C) 2020 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 Sensirion SPS30 device... | 6,081 | 31.351064 | 77 | c |
RIOT | RIOT-master/tests/drivers/lm75/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 drivers_lm75
*
* @{
* @file
* @brief Test program for the driver... | 4,532 | 28.822368 | 100 | c |
RIOT | RIOT-master/tests/drivers/saul/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 the SAUL interface of devices by... | 1,320 | 20.655738 | 79 | c |
RIOT | RIOT-master/tests/drivers/nvram_spi/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 SPI NVRAM driver
*
* @a... | 6,626 | 25.614458 | 82 | c |
RIOT | RIOT-master/tests/drivers/srf08/main.c | /*
* Copyright (C) 2014 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 Test application for ... | 1,852 | 22.75641 | 77 | c |
RIOT | RIOT-master/tests/drivers/dac_dds/main.c | /*
* Copyright (C) 2020 Beuth Hochschule für Technik 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 DAC (audio) test app... | 6,941 | 21.612378 | 79 | c |
RIOT | RIOT-master/tests/drivers/sds011/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 SDS011 Laser Dust ... | 6,158 | 24.987342 | 84 | c |
RIOT | RIOT-master/tests/drivers/tmp00x/main.c | /*
* Copyright (C) 2014 Freie Universität Berlin
* Copyright (C) 2014 PHYTEC Messtechnik GmbH
* 2017 - 2019 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.
*/
/**
... | 1,733 | 24.5 | 83 | c |
RIOT | RIOT-master/tests/drivers/scd30/main.c | /*
* Copyright (C) 2020 Puhang Ding
* 2020 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 drivers_... | 2,768 | 30.11236 | 77 | c |
RIOT | RIOT-master/tests/drivers/grove_ledbar/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 Grove ledbar
*
* ... | 1,567 | 22.757576 | 82 | c |
RIOT | RIOT-master/tests/drivers/mq3/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 Test application for the MQ-3 alcoh... | 1,306 | 20.080645 | 80 | c |
RIOT | RIOT-master/tests/drivers/lis2dh12/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 Test application for LIS2DH12 acce... | 8,988 | 22.655263 | 88 | c |
RIOT | RIOT-master/tests/drivers/sht2x/main.c | /*
* Copyright (C) 2016 Kees Bakker, SODAQ
*
* 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 SHT2x temperatur... | 3,074 | 24.204918 | 81 | c |
RIOT | RIOT-master/tests/drivers/dynamixel/main.c | /*
* Copyright (C) 2017 Inira
*
* 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.
*/
#include "dynamixel.h"
#include "shell.h"
#include "stdio_uart.h"
#include "board.h"
#include "periph/gpio.h"
... | 10,036 | 23.069544 | 82 | c |
RIOT | RIOT-master/tests/drivers/dose/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 DOSE driver
*
* @auth... | 1,453 | 20.072464 | 69 | c |
RIOT | RIOT-master/tests/drivers/st7735/main.c | /*
* Copyright (C) 2018 Koen Zandberg <koen@bergzand.net>
* 2021 Francisco Molina
*
* 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... | 2,540 | 25.747368 | 82 | c |
RIOT | RIOT-master/tests/drivers/stm32_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 STM32 ethernet peripher... | 1,326 | 20.063492 | 69 | c |
RIOT | RIOT-master/tests/drivers/apa102/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 APA102... | 3,227 | 22.057143 | 74 | c |
RIOT | RIOT-master/tests/drivers/ds75lx/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 DS75LX temperature sensor
*
... | 1,459 | 20.791045 | 69 | c |
RIOT | RIOT-master/tests/drivers/mma8x5x/main.c | /*
* Copyright (C) 2014 Freie Universität Berlin
* Copyright (C) 2014 PHYTEC Messtechnik 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
* @b... | 1,234 | 20.293103 | 70 | c |
RIOT | RIOT-master/tests/drivers/mtd_flashpage/main.c | /*
* Copyright (C) 2016 OTA keys S.A.
*
* 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"
#include "mtd.... | 8,715 | 34.868313 | 118 | c |
RIOT | RIOT-master/tests/drivers/hih6130/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 HIH6130 sensor driver
*
... | 1,666 | 21.226667 | 69 | c |
RIOT | RIOT-master/tests/drivers/epd_bw_spi/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,228 | 24.044944 | 80 | c |
RIOT | RIOT-master/tests/drivers/io1_xplained/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 Atmel IO1 Xplained extension
... | 3,000 | 26.53211 | 79 | c |
RIOT | RIOT-master/tests/drivers/touch_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 touch device test application
*
* @author ... | 1,899 | 21.352941 | 80 | c |
RIOT | RIOT-master/tests/drivers/cc2420/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 CC2420 IEEE 802.15.4 de... | 1,623 | 22.2 | 71 | c |
RIOT | RIOT-master/tests/drivers/bme680/main.c | /*
* Copyright (C) 2018 Mesotic SAS
* 2020 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
* @{
*
* @file
* @brief Test ap... | 3,667 | 29.823529 | 80 | c |
RIOT | RIOT-master/tests/drivers/hts221/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 HTS221 humidity and temperature sensor drive... | 1,484 | 22.951613 | 78 | c |
RIOT | RIOT-master/tests/drivers/qmc5883l/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 application for the QMC5883L... | 4,107 | 26.205298 | 74 | c |
RIOT | RIOT-master/tests/drivers/ccs811_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 the AMS CCS811 device driver
* @autho... | 2,727 | 25.485437 | 94 | c |
RIOT | RIOT-master/tests/drivers/at86rf2xx/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 AT86RF2XX IEEE 802.15.4... | 3,118 | 26.121739 | 87 | c |
RIOT | RIOT-master/tests/drivers/lsm6dsl/main.c | /*
* Copyright (C) 2017 OTA keys S.A.
* 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 applica... | 2,615 | 24.398058 | 80 | c |
RIOT | RIOT-master/tests/drivers/bmx055/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 Bosch BMX055... | 1,364 | 21.75 | 74 | c |
RIOT | RIOT-master/tests/drivers/lpsxxx/main.c | /*
* Copyright (C) 2014 Freie Universität Berlin
* 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 ap... | 1,390 | 22.183333 | 76 | c |
RIOT | RIOT-master/tests/drivers/l3gxxxx/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 L3Gxxxx 3-axis gyroscope sensor fa... | 7,387 | 29.912134 | 89 | c |
RIOT | RIOT-master/tests/drivers/apds99xx/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 ... | 2,700 | 27.431579 | 87 | c |
RIOT | RIOT-master/tests/drivers/kw2xrf/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 KW2XRF IEEE 802.15.4 de... | 4,857 | 25.11828 | 89 | c |
RIOT | RIOT-master/tests/drivers/ethos/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 ethernet-over-serial dr... | 1,545 | 21.405797 | 80 | c |
RIOT | RIOT-master/tests/drivers/sht1x/main.c | /*
* Copyright (C) 2018 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... | 5,610 | 31.247126 | 79 | c |
RIOT | RIOT-master/tests/drivers/tcs37727/main.c | /*
* Copyright (C) 2015 PHYTEC Messtechnik GmbH
* 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
... | 1,383 | 22.457627 | 78 | c |
RIOT | RIOT-master/tests/drivers/mfrc522/main.c | /*
* Copyright (C) 2021 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 MFRC522 controller
* @author H... | 6,924 | 21.854785 | 85 | c |
RIOT | RIOT-master/tests/drivers/isl29125/main.c | /*
* Copyright 2015 Ludwig Knüpfer
* Copyright 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 fo... | 2,905 | 27.772277 | 84 | c |
RIOT | RIOT-master/tests/drivers/w5100/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 W5100 ethernet device d... | 1,491 | 20.941176 | 69 | c |
RIOT | RIOT-master/tests/drivers/mtd_raw/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 Application for testing MTD implem... | 11,624 | 23.473684 | 102 | c |
RIOT | RIOT-master/tests/drivers/sx1280/main.c | /*
* Copyright (C) 2022 Inria
* Copyright (C) 2020-2022 Université Grenoble Alpes
*
* 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 ... | 9,458 | 23.892105 | 93 | c |
RIOT | RIOT-master/tests/drivers/mcp47xx/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 Microchip MCP47xx DAC with I2C interfa... | 5,434 | 25.004785 | 81 | c |
RIOT | RIOT-master/tests/turo/main.c | /*
* Copyright (C) 2021 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 Utils Result Output test application
*
* @autho... | 6,616 | 21.660959 | 86 | c |
RIOT | RIOT-master/tests/sys/ztimer_overhead/main.c | /*
* Copyright (C) 2019 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 test
* @{
*
* @file
* @brief ztimer overhead te... | 2,200 | 26.5125 | 98 | c |
RIOT | RIOT-master/tests/sys/congure_reno/main.c | /*
* Copyright (C) 2021 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.
*/
/**
* @{
*
* @file
* @author Martine S. Lenders <m.lenders@fu-berlin.de>
*/
#include... | 4,935 | 25.255319 | 80 | c |
RIOT | RIOT-master/tests/sys/rng/main.c | /*
* Copyright (C) 2017 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 RNG testing tools.
*
* ... | 5,927 | 21.202247 | 76 | c |
RIOT | RIOT-master/tests/sys/rng/test.c | /*
* Copyright (C) 2017 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.
*/
#include <stdint.h>
#include <math.h>
#include <stdio.h>
#include "test.h"... | 10,976 | 22.555794 | 100 | c |
RIOT | RIOT-master/tests/sys/rng/test.h | /*
* Copyright (C) 2017 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.
*/
#ifndef TEST_H
#define TEST_H
#include <stdint.h>
#ifdef __cplusplus
exte... | 3,177 | 22.19708 | 89 | h |
RIOT | RIOT-master/tests/sys/od/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 Tests od module.
*
* @author ... | 1,074 | 23.431818 | 70 | c |
RIOT | RIOT-master/tests/sys/prng_sha256prng/main.c | /*
* Copyright (C) 2020 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.
*/
/**
*
* @file
* @brief Test cases for the SHA256PRNG pseudo random number generator
*
* @auth... | 2,617 | 27.456522 | 87 | c |
RIOT | RIOT-master/tests/sys/bloom_bytes/main.c | /*
* Copyright (C) 2013 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 Bloom filter test application
*
* @auth... | 3,040 | 22.944882 | 73 | c |
RIOT | RIOT-master/tests/sys/xtimer_now64_continuity/main.c | /*
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
* 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... | 1,557 | 22.969231 | 69 | c |
RIOT | RIOT-master/tests/sys/usbus_hid/main.c | /*
* Copyright (C) 2021 Nils Ollrogge
*
* 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
* @{
*
* @brief Tests for USB HID
*
* @author Nils... | 2,537 | 26.586957 | 95 | c |
RIOT | RIOT-master/tests/sys/posix_semaphore/main.c | /*
* Copyright (C) 2013 Christian Mehlis <mehlis@inf.fu-berlin.de>
* Copyright (C) 2013 René Kijewski <rene.kijewski@fu-berlin.de>
* Copyright (C) 2015 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 LIC... | 8,384 | 26.135922 | 95 | c |
RIOT | RIOT-master/tests/sys/events/main.c | /*
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
* 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
* @... | 6,186 | 27.911215 | 106 | c |
RIOT | RIOT-master/tests/sys/crypto/tests-crypto-helper.c | /*
* Copyright (C) 2018 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.
*/
#include <string.h>
#include "embUnit/embUnit.h"
#include "crypto/helper.h"
#define VALUE 0xAA... | 964 | 23.74359 | 69 | c |
RIOT | RIOT-master/tests/sys/crypto/main.c | /*
* Copyright (C) 2014 Philipp Rosenkranz
* Copyright (C) 2014 Nico von Geyso
*
* 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.
*/
#include "tests-crypto.h"
int main(void)
{
TESTS_START(... | 864 | 28.827586 | 69 | c |
RIOT | RIOT-master/tests/sys/crypto/tests-crypto-modes-ctr.c | /*
* Copyright (C) 2015 Nico von Geyso
*
* 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.
*/
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "embUnit.h"... | 8,704 | 32.480769 | 79 | c |
RIOT | RIOT-master/tests/sys/crypto/tests-crypto-modes-cbc.c | /*
* Copyright (C) 2015 Nico von Geyso
*
* 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.
*/
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "embUnit.h"... | 8,440 | 32.232283 | 79 | c |
RIOT | RIOT-master/tests/sys/crypto/tests-crypto-poly1305.c | /*
* Copyright (C) 2018 Freie Universität Berlin
* Copyright (C) 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.
*/
#include "embUnit/embUnit.h"
#include "tests-crypto.h"
#includ... | 13,987 | 45.317881 | 105 | c |
RIOT | RIOT-master/tests/sys/crypto/tests-crypto-chacha.c | /*
* Copyright (C) 2015 René Kijewski <rene.kijewski@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.
*/
#include "embUnit/embUnit.h"
#include "tests-crypto.h"
#include "crypto/... | 5,426 | 34.940397 | 75 | c |
RIOT | RIOT-master/tests/sys/crypto/tests-crypto-modes-ecb.c | /*
* Copyright (C) 2015 Nico von Geyso
*
* 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.
*/
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "embUnit.h"... | 8,192 | 31.383399 | 79 | c |
RIOT | RIOT-master/tests/sys/crypto/tests-crypto-chacha20poly1305.c | /*
* Copyright (C) 2018 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.
*/
#include "embUnit/embUnit.h"
#include "tests-crypto.h"
#include <stdio.h>
#include <stdint.h>
#include... | 3,701 | 38.806452 | 99 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.