2013-06-18 17:21:38 +02:00
|
|
|
/**
|
2013-06-22 05:11:53 +02:00
|
|
|
* Auto initialization for used modules
|
2013-06-18 17:21:38 +02:00
|
|
|
*
|
|
|
|
* Copyright (C) 2013 INRIA.
|
|
|
|
*
|
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-06-18 17:21:38 +02:00
|
|
|
*
|
2018-06-01 13:19:39 +02:00
|
|
|
* @ingroup sys_autoinit
|
2013-06-18 17:21:38 +02:00
|
|
|
* @{
|
2015-05-22 07:34:41 +02:00
|
|
|
* @file
|
2013-06-18 17:21:38 +02:00
|
|
|
* @brief initializes any used module that has a trivial init function
|
|
|
|
* @author Oliver Hahm <oliver.hahm@inria.fr>
|
2015-04-29 21:17:07 +02:00
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
2013-06-18 17:21:38 +02:00
|
|
|
* @}
|
|
|
|
*/
|
2010-09-22 15:10:42 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
2013-10-27 17:23:25 +01:00
|
|
|
|
|
|
|
#include "auto_init.h"
|
|
|
|
|
2013-12-21 15:23:17 +01:00
|
|
|
#ifdef MODULE_SHT11
|
|
|
|
#include "sht11.h"
|
|
|
|
#endif
|
|
|
|
|
2013-10-27 17:23:25 +01:00
|
|
|
#ifdef MODULE_MCI
|
2011-12-12 17:50:22 +01:00
|
|
|
#include "diskio.h"
|
2013-10-27 17:23:25 +01:00
|
|
|
#endif
|
|
|
|
|
2015-08-14 15:56:47 +02:00
|
|
|
#ifdef MODULE_XTIMER
|
|
|
|
#include "xtimer.h"
|
|
|
|
#endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_SIXLOWPAN
|
|
|
|
#include "net/gnrc/sixlowpan.h"
|
2015-03-16 17:52:19 +01:00
|
|
|
#endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_IPV6
|
|
|
|
#include "net/gnrc/ipv6.h"
|
2015-03-03 22:20:21 +01:00
|
|
|
#endif
|
|
|
|
|
2014-11-21 23:10:06 +01:00
|
|
|
#ifdef MODULE_L2_PING
|
|
|
|
#include "l2_ping.h"
|
|
|
|
#endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_PKTBUF
|
|
|
|
#include "net/gnrc/pktbuf.h"
|
2015-07-24 17:29:29 +02:00
|
|
|
#endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_PKTDUMP
|
|
|
|
#include "net/gnrc/pktdump.h"
|
2015-03-25 23:51:35 +01:00
|
|
|
#endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_UDP
|
|
|
|
#include "net/gnrc/udp.h"
|
2015-04-24 15:08:36 +02:00
|
|
|
#endif
|
|
|
|
|
2016-02-04 14:37:35 +01:00
|
|
|
#ifdef MODULE_GNRC_TCP
|
|
|
|
#include "net/gnrc/tcp.h"
|
|
|
|
#endif
|
|
|
|
|
2015-11-15 20:58:39 +01:00
|
|
|
#ifdef MODULE_LWIP
|
|
|
|
#include "lwip.h"
|
|
|
|
#endif
|
|
|
|
|
2017-05-19 01:02:19 +02:00
|
|
|
#ifdef MODULE_OPENTHREAD
|
|
|
|
#include "ot.h"
|
|
|
|
#endif
|
|
|
|
|
2015-08-21 16:08:43 +02:00
|
|
|
#ifdef MODULE_FIB
|
|
|
|
#include "net/fib.h"
|
2015-05-19 09:54:14 +02:00
|
|
|
#endif
|
|
|
|
|
2016-10-29 21:20:22 +02:00
|
|
|
#ifdef MODULE_GCOAP
|
2017-01-15 12:18:04 +01:00
|
|
|
#include "net/gcoap.h"
|
2016-10-29 21:20:22 +02:00
|
|
|
#endif
|
|
|
|
|
2017-05-22 15:52:11 +02:00
|
|
|
#ifdef MODULE_GNRC_IPV6_NIB
|
|
|
|
#include "net/gnrc/ipv6/nib.h"
|
|
|
|
#endif
|
|
|
|
|
2018-04-05 11:14:13 +02:00
|
|
|
#ifdef MODULE_SKALD
|
|
|
|
#include "net/skald.h"
|
|
|
|
#endif
|
|
|
|
|
2016-10-06 15:57:31 +02:00
|
|
|
#ifdef MODULE_NDN_RIOT
|
|
|
|
#include "ndn-riot/ndn.h"
|
|
|
|
#endif
|
2017-05-22 15:52:11 +02:00
|
|
|
|
2013-07-25 21:55:49 +02:00
|
|
|
#define ENABLE_DEBUG (0)
|
2013-10-27 17:23:25 +01:00
|
|
|
#include "debug.h"
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2014-08-08 23:53:38 +02:00
|
|
|
void auto_init(void)
|
|
|
|
{
|
2017-08-30 23:49:30 +02:00
|
|
|
#ifdef MODULE_PRNG
|
2017-08-31 00:50:25 +02:00
|
|
|
void auto_init_random(void);
|
|
|
|
auto_init_random();
|
2015-11-27 13:42:40 +01:00
|
|
|
#endif
|
2015-08-14 15:56:47 +02:00
|
|
|
#ifdef MODULE_XTIMER
|
|
|
|
DEBUG("Auto init xtimer module.\n");
|
|
|
|
xtimer_init();
|
|
|
|
#endif
|
2014-08-08 23:53:38 +02:00
|
|
|
#ifdef MODULE_SHT11
|
|
|
|
DEBUG("Auto init SHT11 module.\n");
|
|
|
|
sht11_init();
|
|
|
|
#endif
|
|
|
|
#ifdef MODULE_MCI
|
|
|
|
DEBUG("Auto init mci module.\n");
|
2016-03-23 18:31:03 +01:00
|
|
|
mci_initialize();
|
2014-08-08 23:53:38 +02:00
|
|
|
#endif
|
2011-01-31 18:25:20 +01:00
|
|
|
#ifdef MODULE_PROFILING
|
|
|
|
extern void profiling_init(void);
|
|
|
|
profiling_init();
|
2010-09-22 15:10:42 +02:00
|
|
|
#endif
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_PKTBUF
|
|
|
|
DEBUG("Auto init gnrc_pktbuf module\n");
|
|
|
|
gnrc_pktbuf_init();
|
2015-07-24 17:29:29 +02:00
|
|
|
#endif
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_PKTDUMP
|
|
|
|
DEBUG("Auto init gnrc_pktdump module.\n");
|
|
|
|
gnrc_pktdump_init();
|
2015-03-25 23:51:35 +01:00
|
|
|
#endif
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_SIXLOWPAN
|
|
|
|
DEBUG("Auto init gnrc_sixlowpan module.\n");
|
|
|
|
gnrc_sixlowpan_init();
|
2015-03-16 17:52:19 +01:00
|
|
|
#endif
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_IPV6
|
|
|
|
DEBUG("Auto init gnrc_ipv6 module.\n");
|
|
|
|
gnrc_ipv6_init();
|
2015-03-03 22:20:21 +01:00
|
|
|
#endif
|
2015-08-17 15:41:29 +02:00
|
|
|
#ifdef MODULE_GNRC_UDP
|
2015-04-24 15:08:36 +02:00
|
|
|
DEBUG("Auto init UDP module.\n");
|
2015-08-17 15:41:29 +02:00
|
|
|
gnrc_udp_init();
|
2015-04-24 15:08:36 +02:00
|
|
|
#endif
|
2016-02-04 14:37:35 +01:00
|
|
|
#ifdef MODULE_GNRC_TCP
|
|
|
|
DEBUG("Auto init TCP module\n");
|
|
|
|
gnrc_tcp_init();
|
|
|
|
#endif
|
2015-11-15 20:58:39 +01:00
|
|
|
#ifdef MODULE_LWIP
|
|
|
|
DEBUG("Bootstraping lwIP.\n");
|
|
|
|
lwip_bootstrap();
|
|
|
|
#endif
|
2017-05-19 01:02:19 +02:00
|
|
|
#ifdef MODULE_OPENTHREAD
|
|
|
|
extern void openthread_bootstrap(void);
|
|
|
|
openthread_bootstrap();
|
|
|
|
#endif
|
2016-10-29 21:20:22 +02:00
|
|
|
#ifdef MODULE_GCOAP
|
|
|
|
DEBUG("Auto init gcoap module.\n");
|
|
|
|
gcoap_init();
|
|
|
|
#endif
|
2016-07-11 14:51:47 +02:00
|
|
|
#ifdef MODULE_DEVFS
|
|
|
|
DEBUG("Mounting /dev\n");
|
|
|
|
extern void auto_init_devfs(void);
|
|
|
|
auto_init_devfs();
|
|
|
|
#endif
|
2017-05-22 15:52:11 +02:00
|
|
|
#ifdef MODULE_GNRC_IPV6_NIB
|
|
|
|
DEBUG("Auto init gnrc_ipv6_nib module.\n");
|
|
|
|
gnrc_ipv6_nib_init();
|
|
|
|
#endif
|
2018-04-05 11:14:13 +02:00
|
|
|
#ifdef MODULE_SKALD
|
|
|
|
DEBUG("Auto init Skald\n");
|
|
|
|
skald_init();
|
|
|
|
#endif
|
2017-07-25 15:12:39 +02:00
|
|
|
#ifdef MODULE_RDCLI_COMMON
|
|
|
|
DEBUG("Auto init rdcli_common module\n");
|
|
|
|
extern void rdcli_common_init(void);
|
|
|
|
rdcli_common_init();
|
|
|
|
#endif
|
2017-07-24 17:42:26 +02:00
|
|
|
#ifdef MODULE_RDCLI_SIMPLE_STANDALONE
|
|
|
|
DEBUG("Auto init rdcli_simple module\n");
|
|
|
|
extern void rdcli_simple_run(void);
|
|
|
|
rdcli_simple_run();
|
|
|
|
#endif
|
2015-05-08 15:50:35 +02:00
|
|
|
|
2015-05-17 21:01:07 +02:00
|
|
|
/* initialize network devices */
|
2015-08-19 12:38:38 +02:00
|
|
|
#ifdef MODULE_AUTO_INIT_GNRC_NETIF
|
2015-05-08 15:50:35 +02:00
|
|
|
|
2015-08-09 21:24:55 +02:00
|
|
|
#ifdef MODULE_AT86RF2XX
|
|
|
|
extern void auto_init_at86rf2xx(void);
|
|
|
|
auto_init_at86rf2xx();
|
2015-05-08 15:50:35 +02:00
|
|
|
#endif
|
2015-05-08 15:51:26 +02:00
|
|
|
|
2016-12-31 12:24:28 +01:00
|
|
|
#ifdef MODULE_MRF24J40
|
|
|
|
extern void auto_init_mrf24j40(void);
|
|
|
|
auto_init_mrf24j40();
|
|
|
|
#endif
|
|
|
|
|
2016-04-14 13:48:17 +02:00
|
|
|
#ifdef MODULE_CC2420
|
|
|
|
extern void auto_init_cc2420(void);
|
|
|
|
auto_init_cc2420();
|
|
|
|
#endif
|
|
|
|
|
2015-04-08 19:54:00 +02:00
|
|
|
#ifdef MODULE_ENCX24J600
|
|
|
|
extern void auto_init_encx24j600(void);
|
|
|
|
auto_init_encx24j600();
|
|
|
|
#endif
|
|
|
|
|
2015-11-01 12:50:55 +01:00
|
|
|
#ifdef MODULE_ENC28J60
|
|
|
|
extern void auto_init_enc28j60(void);
|
|
|
|
auto_init_enc28j60();
|
|
|
|
#endif
|
|
|
|
|
2016-02-05 12:52:02 +01:00
|
|
|
#ifdef MODULE_ETHOS
|
|
|
|
extern void auto_init_ethos(void);
|
|
|
|
auto_init_ethos();
|
|
|
|
#endif
|
|
|
|
|
2017-07-18 14:39:03 +02:00
|
|
|
#ifdef MODULE_SLIPDEV
|
|
|
|
extern void auto_init_slipdev(void);
|
|
|
|
auto_init_slipdev();
|
2015-06-01 16:41:03 +02:00
|
|
|
#endif
|
|
|
|
|
2015-08-26 10:21:26 +02:00
|
|
|
#ifdef MODULE_CC110X
|
|
|
|
extern void auto_init_cc110x(void);
|
|
|
|
auto_init_cc110x();
|
|
|
|
#endif
|
|
|
|
|
2016-07-08 03:33:54 +02:00
|
|
|
#ifdef MODULE_CC2538_RF
|
|
|
|
extern void auto_init_cc2538_rf(void);
|
|
|
|
auto_init_cc2538_rf();
|
|
|
|
#endif
|
|
|
|
|
2015-05-08 15:51:26 +02:00
|
|
|
#ifdef MODULE_XBEE
|
|
|
|
extern void auto_init_xbee(void);
|
|
|
|
auto_init_xbee();
|
|
|
|
#endif
|
2015-05-17 21:01:07 +02:00
|
|
|
|
2015-05-17 15:21:49 +02:00
|
|
|
#ifdef MODULE_KW2XRF
|
|
|
|
extern void auto_init_kw2xrf(void);
|
|
|
|
auto_init_kw2xrf();
|
|
|
|
#endif
|
|
|
|
|
2017-02-15 13:07:34 +01:00
|
|
|
#ifdef MODULE_NETDEV_TAP
|
|
|
|
extern void auto_init_netdev_tap(void);
|
|
|
|
auto_init_netdev_tap();
|
2015-05-27 21:58:38 +02:00
|
|
|
#endif
|
|
|
|
|
2016-10-28 15:21:08 +02:00
|
|
|
#ifdef MODULE_SOCKET_ZEP
|
|
|
|
extern void auto_init_socket_zep(void);
|
|
|
|
auto_init_socket_zep();
|
|
|
|
#endif
|
|
|
|
|
2016-07-09 11:25:34 +02:00
|
|
|
#ifdef MODULE_NORDIC_SOFTDEVICE_BLE
|
|
|
|
extern void gnrc_nordic_ble_6lowpan_init(void);
|
|
|
|
gnrc_nordic_ble_6lowpan_init();
|
|
|
|
#endif
|
|
|
|
|
2016-11-11 11:09:35 +01:00
|
|
|
#ifdef MODULE_NRFMIN
|
|
|
|
extern void gnrc_nrfmin_init(void);
|
|
|
|
gnrc_nrfmin_init();
|
|
|
|
#endif
|
|
|
|
|
2016-08-05 14:44:38 +02:00
|
|
|
#ifdef MODULE_W5100
|
|
|
|
extern void auto_init_w5100(void);
|
|
|
|
auto_init_w5100();
|
|
|
|
#endif
|
|
|
|
|
2017-11-17 10:51:00 +01:00
|
|
|
#ifdef MODULE_SX127X
|
|
|
|
extern void auto_init_sx127x(void);
|
|
|
|
auto_init_sx127x();
|
|
|
|
#endif
|
|
|
|
|
2015-08-19 12:38:38 +02:00
|
|
|
#endif /* MODULE_AUTO_INIT_GNRC_NETIF */
|
2015-05-09 16:03:18 +02:00
|
|
|
|
2016-03-30 12:28:39 +02:00
|
|
|
#ifdef MODULE_GNRC_UHCPC
|
|
|
|
extern void auto_init_gnrc_uhcpc(void);
|
|
|
|
auto_init_gnrc_uhcpc();
|
|
|
|
#endif
|
|
|
|
|
2016-10-06 15:57:31 +02:00
|
|
|
/* initialize NDN module after the network devices are initialized */
|
|
|
|
#ifdef MODULE_NDN_RIOT
|
|
|
|
DEBUG("Auto init NDN module.\n");
|
|
|
|
ndn_init();
|
|
|
|
#endif
|
|
|
|
|
2015-11-18 16:13:33 +01:00
|
|
|
/* initialize sensors and actuators */
|
|
|
|
#ifdef MODULE_AUTO_INIT_SAUL
|
|
|
|
DEBUG("auto_init SAUL\n");
|
|
|
|
|
|
|
|
#ifdef MODULE_SAUL_GPIO
|
|
|
|
extern void auto_init_gpio(void);
|
|
|
|
auto_init_gpio();
|
|
|
|
#endif
|
2016-02-18 06:22:07 +01:00
|
|
|
#ifdef MODULE_SAUL_ADC
|
|
|
|
extern void auto_init_adc(void);
|
|
|
|
auto_init_adc();
|
|
|
|
#endif
|
2015-11-18 16:13:33 +01:00
|
|
|
#ifdef MODULE_LSM303DLHC
|
|
|
|
extern void auto_init_lsm303dlhc(void);
|
|
|
|
auto_init_lsm303dlhc();
|
|
|
|
#endif
|
|
|
|
#ifdef MODULE_LPS331AP
|
|
|
|
extern void auto_init_lps331ap(void);
|
|
|
|
auto_init_lps331ap();
|
|
|
|
#endif
|
|
|
|
#ifdef MODULE_ISL29020
|
|
|
|
extern void auto_init_isl29020(void);
|
|
|
|
auto_init_isl29020();
|
|
|
|
#endif
|
|
|
|
#ifdef MODULE_L3G4200D
|
|
|
|
extern void auto_init_l3g4200d(void);
|
|
|
|
auto_init_l3g4200d();
|
|
|
|
#endif
|
2016-02-13 09:43:31 +01:00
|
|
|
#ifdef MODULE_LIS3DH
|
|
|
|
extern void auto_init_lis3dh(void);
|
|
|
|
auto_init_lis3dh();
|
|
|
|
#endif
|
2017-11-07 15:03:18 +01:00
|
|
|
#ifdef MODULE_LIS3MDL
|
|
|
|
extern void auto_init_lis3mdl(void);
|
|
|
|
auto_init_lis3mdl();
|
|
|
|
#endif
|
2017-04-11 15:07:43 +02:00
|
|
|
#ifdef MODULE_MAG3110
|
|
|
|
extern void auto_init_mag3110(void);
|
|
|
|
auto_init_mag3110();
|
|
|
|
#endif
|
2016-11-22 10:56:55 +01:00
|
|
|
#ifdef MODULE_MMA8X5X
|
|
|
|
extern void auto_init_mma8x5x(void);
|
|
|
|
auto_init_mma8x5x();
|
2016-02-10 22:35:35 +01:00
|
|
|
#endif
|
2017-05-31 22:18:15 +02:00
|
|
|
#ifdef MODULE_MPL3115A2
|
|
|
|
extern void auto_init_mpl3115a2(void);
|
|
|
|
auto_init_mpl3115a2();
|
|
|
|
#endif
|
2017-11-07 22:57:03 +01:00
|
|
|
#ifdef MODULE_MPU9150
|
|
|
|
extern void auto_init_mpu9150(void);
|
|
|
|
auto_init_mpu9150();
|
|
|
|
#endif
|
2017-06-12 22:36:02 +02:00
|
|
|
#ifdef MODULE_GROVE_LEDBAR
|
|
|
|
extern void auto_init_grove_ledbar(void);
|
|
|
|
auto_init_grove_ledbar();
|
|
|
|
#endif
|
2016-07-18 23:05:17 +02:00
|
|
|
#ifdef MODULE_SI70XX
|
|
|
|
extern void auto_init_si70xx(void);
|
|
|
|
auto_init_si70xx();
|
|
|
|
#endif
|
2016-12-08 22:13:48 +01:00
|
|
|
#ifdef MODULE_BMP180
|
|
|
|
extern void auto_init_bmp180(void);
|
|
|
|
auto_init_bmp180();
|
|
|
|
#endif
|
2018-02-19 14:28:16 +01:00
|
|
|
#ifdef MODULE_BMX055
|
|
|
|
extern void auto_init_bmx055(void);
|
|
|
|
auto_init_bmx055();
|
|
|
|
#endif
|
2017-02-27 16:12:22 +01:00
|
|
|
#if defined(MODULE_BME280) || defined(MODULE_BMP280)
|
|
|
|
extern void auto_init_bmx280(void);
|
|
|
|
auto_init_bmx280();
|
2016-10-14 08:32:41 +02:00
|
|
|
#endif
|
2016-12-15 19:55:49 +01:00
|
|
|
#ifdef MODULE_JC42
|
|
|
|
extern void auto_init_jc42(void);
|
|
|
|
auto_init_jc42();
|
|
|
|
#endif
|
2017-01-18 22:12:57 +01:00
|
|
|
#ifdef MODULE_TSL2561
|
|
|
|
extern void auto_init_tsl2561(void);
|
|
|
|
auto_init_tsl2561();
|
|
|
|
#endif
|
2018-01-17 15:29:05 +01:00
|
|
|
#ifdef MODULE_PULSE_COUNTER
|
|
|
|
extern void auto_init_pulse_counter(void);
|
|
|
|
auto_init_pulse_counter();
|
|
|
|
#endif
|
2016-01-15 17:45:44 +01:00
|
|
|
#ifdef MODULE_HDC1000
|
|
|
|
extern void auto_init_hdc1000(void);
|
|
|
|
auto_init_hdc1000();
|
|
|
|
#endif
|
2018-04-18 23:44:50 +02:00
|
|
|
#ifdef MODULE_FXOS8700
|
|
|
|
extern void auto_init_fxos8700(void);
|
|
|
|
auto_init_fxos8700();
|
|
|
|
#endif
|
2017-11-21 09:41:25 +01:00
|
|
|
#ifdef MODULE_HTS221
|
|
|
|
extern void auto_init_hts221(void);
|
|
|
|
auto_init_hts221();
|
|
|
|
#endif
|
2017-01-30 16:47:26 +01:00
|
|
|
#ifdef MODULE_DHT
|
|
|
|
extern void auto_init_dht(void);
|
|
|
|
auto_init_dht();
|
|
|
|
#endif
|
2017-06-09 23:03:54 +02:00
|
|
|
#ifdef MODULE_TMP006
|
|
|
|
extern void auto_init_tmp006(void);
|
|
|
|
auto_init_tmp006();
|
|
|
|
#endif
|
2017-02-16 12:38:29 +01:00
|
|
|
#ifdef MODULE_TCS37727
|
|
|
|
extern void auto_init_tcs37727(void);
|
|
|
|
auto_init_tcs37727();
|
|
|
|
#endif
|
2017-02-27 21:58:52 +01:00
|
|
|
#ifdef MODULE_VEML6070
|
|
|
|
extern void auto_init_veml6070(void);
|
|
|
|
auto_init_veml6070();
|
|
|
|
#endif
|
2017-02-28 23:11:53 +01:00
|
|
|
#ifdef MODULE_IO1_XPLAINED
|
|
|
|
extern void auto_init_io1_xplained(void);
|
|
|
|
auto_init_io1_xplained();
|
|
|
|
#endif
|
2017-03-20 22:52:21 +01:00
|
|
|
#ifdef MODULE_ADXL345
|
|
|
|
extern void auto_init_adxl345(void);
|
|
|
|
auto_init_adxl345();
|
|
|
|
#endif
|
2017-03-16 16:44:04 +01:00
|
|
|
#ifdef MODULE_LSM6DSL
|
|
|
|
extern void auto_init_lsm6dsl(void);
|
|
|
|
auto_init_lsm6dsl();
|
|
|
|
#endif
|
2017-01-17 18:02:44 +01:00
|
|
|
#ifdef MODULE_ADCXX1C
|
|
|
|
extern void auto_init_adcxx1c(void);
|
|
|
|
auto_init_adcxx1c();
|
|
|
|
#endif
|
2018-04-04 23:30:48 +02:00
|
|
|
#ifdef MODULE_ADS101X
|
|
|
|
extern void auto_init_ads101x(void);
|
|
|
|
auto_init_ads101x();
|
|
|
|
#endif
|
2018-01-15 15:01:49 +01:00
|
|
|
#ifdef MODULE_LIS2DH12
|
|
|
|
extern void auto_init_lis2dh12(void);
|
|
|
|
auto_init_lis2dh12();
|
|
|
|
#endif
|
2017-03-23 14:12:01 +01:00
|
|
|
#ifdef MODULE_SI114X
|
|
|
|
extern void auto_init_si114x(void);
|
|
|
|
auto_init_si114x();
|
|
|
|
#endif
|
2015-11-18 16:13:33 +01:00
|
|
|
|
|
|
|
#endif /* MODULE_AUTO_INIT_SAUL */
|
2016-05-14 12:46:14 +02:00
|
|
|
|
|
|
|
#ifdef MODULE_AUTO_INIT_GNRC_RPL
|
|
|
|
|
|
|
|
#ifdef MODULE_GNRC_RPL
|
|
|
|
extern void auto_init_gnrc_rpl(void);
|
|
|
|
auto_init_gnrc_rpl();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* MODULE_AUTO_INIT_GNRC_RPL */
|
2016-10-31 14:37:28 +01:00
|
|
|
|
|
|
|
/* initialize storage devices */
|
|
|
|
#ifdef MODULE_AUTO_INIT_STORAGE
|
|
|
|
DEBUG("auto_init STORAGE\n");
|
|
|
|
|
|
|
|
#ifdef MODULE_SDCARD_SPI
|
|
|
|
extern void auto_init_sdcard_spi(void);
|
|
|
|
auto_init_sdcard_spi();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* MODULE_AUTO_INIT_STORAGE */
|
2016-11-23 19:05:35 +01:00
|
|
|
|
|
|
|
#ifdef MODULE_AUTO_INIT_CAN
|
|
|
|
DEBUG("auto_init CAN\n");
|
|
|
|
|
|
|
|
extern void auto_init_candev(void);
|
|
|
|
auto_init_candev();
|
|
|
|
|
|
|
|
#endif /* MODULE_AUTO_INIT_CAN */
|
2010-09-22 15:10:42 +02:00
|
|
|
}
|