mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
25e67e019e
It can be desirable to not have the boot message printed each time (e.g. logs are transferred over a wireless link on battery) while still retaining the ability to receive INFO level logs. This adds the option to disable the boot-up message (and also to customize it if that is desireable).
60 lines
1.2 KiB
C
60 lines
1.2 KiB
C
/*
|
|
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
|
|
* 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 core_internal
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief prototypes for kernel initialization
|
|
*
|
|
* @author Oliver Hahm <oliver.hahm@inria.fr>
|
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
|
*/
|
|
|
|
#ifndef KERNEL_INIT_H
|
|
#define KERNEL_INIT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @defgroup core_init_config Core initialization compile configuration
|
|
* @ingroup config
|
|
* @{
|
|
*/
|
|
#ifdef DOXYGEN
|
|
|
|
/**
|
|
* @brief Enable this to disable printing a message on bootup.
|
|
*/
|
|
#define CONFIG_SKIP_BOOT_MSG
|
|
|
|
/**
|
|
* @brief The message printed by RIOT before calling the main() function, when
|
|
* @ref CONFIG_SKIP_BOOT_MSG is not set.
|
|
*/
|
|
#define CONFIG_BOOT_MSG_STRING
|
|
|
|
#endif /* DOXYGEN */
|
|
/** @} */
|
|
|
|
/**
|
|
* @brief Initializes scheduler and creates main and idle task
|
|
*/
|
|
void kernel_init(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* KERNEL_INIT_H */
|
|
/** @} */
|