split USE_USB from USE_CEMI_SERVER

This commit is contained in:
Thomas Kunze 2019-12-28 09:54:02 +01:00
parent e2fd20ab9a
commit 1465cb558c
5 changed files with 10 additions and 5 deletions

View File

@ -25,6 +25,6 @@ lib_deps =
build_flags =
-DMEDIUM_TYPE=2
-DUSE_CEMI_SERVER
-DUSE_USB
-DUSE_TINYUSB
-Wno-unknown-pragmas

View File

@ -33,7 +33,7 @@ lib_deps =
build_flags =
-DMEDIUM_TYPE=2
-DUSE_CEMI_SERVER
-DUSE_USB
-DUSE_TINYUSB
-Wno-unknown-pragmas

View File

@ -10,7 +10,12 @@
#define GPIO_GDO0_PIN 24 // GPIO 24 (GPIO_GEN5) -> WiringPi: 5 -> Pin number on header: 18
#endif
//#define USE_CEMI_SERVER
#define USE_RF
#define USE_TP
#define USE_IP
//#define USE_USB
//#define USE_CEMI_SERVER
#ifdef USE_USB
#define USE_CEMI_SERVER
#endif

View File

@ -1,5 +1,5 @@
#include "config.h"
#ifdef USE_CEMI_SERVER
#ifdef USE_USB
#include "bits.h"
#include "usb_tunnel_interface.h"

View File

@ -1,7 +1,7 @@
#pragma once
#include "config.h"
#ifdef USE_CEMI_SERVER
#ifdef USE_USB
#include <stdint.h>
class CemiServer;