1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/build_system/kconfig/main.c

46 lines
912 B
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 for Kconfig configuration
*
* @author Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
*
* @}
*/
#include <stdio.h>
#include <stdint.h>
#include "app.h"
#include "kernel_defines.h"
#include "external_module_1.h"
#include "external_module_2.h"
#include "external_pkg_1.h"
#include "external_pkg_2.h"
int main(void)
{
puts(CONFIG_APP_MSG_1_TEXT);
if (IS_ACTIVE(CONFIG_APP_MSG_2)) {
puts("MSG_2 is active");
}
puts(CONFIG_EXTERNAL_MODULE_1_MESSAGE);
puts(CONFIG_EXTERNAL_MODULE_2_MESSAGE);
puts(CONFIG_EXTERNAL_PKG_1_MESSAGE);
puts(CONFIG_EXTERNAL_PKG_2_MESSAGE);
return 0;
}