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

50 lines
938 B
C
Raw Normal View History

2013-03-06 10:48:14 +01:00
/**
* Native Board config.h implementation
*
2013-03-13 21:45:28 +01:00
* No functionality implemented at the moment.
*
* Copyright (C) 2014 Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>
2013-03-06 10:48:14 +01:00
*
* 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.
2013-03-06 10:48:14 +01:00
*
2013-03-13 21:45:28 +01:00
* @ingroup native_board
2013-03-06 10:48:14 +01:00
* @{
* @file
* @author Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>
2013-03-06 10:48:14 +01:00
* @}
*/
2013-03-06 01:10:50 +01:00
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
2013-03-06 01:10:50 +01:00
2013-12-16 17:54:58 +01:00
#include "config.h"
2013-03-06 01:10:50 +01:00
2014-05-13 16:53:36 +02:00
#include "native_internal.h"
#define ENABLE_DEBUG (0)
#include "debug.h"
2013-03-13 21:45:28 +01:00
/**
* XXX: loading not implemented
*/
2013-03-06 01:10:50 +01:00
void config_load(void)
{
DEBUG("config_load()\n");
2014-05-16 15:40:06 +02:00
sysconfig.id = _native_id;
2013-03-06 01:10:50 +01:00
return;
}
2013-03-13 21:45:28 +01:00
/**
* XXX: storing not implemented
*/
2013-03-06 01:10:50 +01:00
uint8_t config_save(void)
{
printf("XXX: config_save(): not implemented - your config will vanish on process termination\n");
return 1;
}