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.
|
|
|
|
*
|
2015-09-27 18:58:30 +02:00
|
|
|
* Copyright (C) 2014 Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>
|
2013-03-06 10:48:14 +01:00
|
|
|
*
|
2014-07-31 19:45:27 +02: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
|
2015-09-27 18:58:30 +02:00
|
|
|
* @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>
|
2014-01-08 15:47:37 +01:00
|
|
|
#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"
|
2014-01-08 15:47:37 +01:00
|
|
|
|
|
|
|
#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)
|
|
|
|
{
|
2014-01-08 15:47:37 +01:00
|
|
|
DEBUG("config_load()\n");
|
|
|
|
|
2014-05-16 15:40:06 +02:00
|
|
|
sysconfig.id = _native_id;
|
2014-01-08 15:47:37 +01:00
|
|
|
|
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;
|
|
|
|
}
|