1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/native/board_config.c
2015-09-27 18:58:30 +02:00

50 lines
938 B
C

/**
* Native Board config.h implementation
*
* No functionality implemented at the moment.
*
* Copyright (C) 2014 Ludwig Knüpfer <ludwig.knuepfer@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 native_board
* @{
* @file
* @author Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>
* @}
*/
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
#include "config.h"
#include "native_internal.h"
#define ENABLE_DEBUG (0)
#include "debug.h"
/**
* XXX: loading not implemented
*/
void config_load(void)
{
DEBUG("config_load()\n");
sysconfig.id = _native_id;
return;
}
/**
* XXX: storing not implemented
*/
uint8_t config_save(void)
{
printf("XXX: config_save(): not implemented - your config will vanish on process termination\n");
return 1;
}