mirror of
https://github.com/thelsing/knx.git
synced 2025-01-30 00:19:01 +01:00
split USE_USB from USE_CEMI_SERVER
This commit is contained in:
parent
e2fd20ab9a
commit
1465cb558c
@ -25,6 +25,6 @@ lib_deps =
|
|||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
-DMEDIUM_TYPE=2
|
-DMEDIUM_TYPE=2
|
||||||
-DUSE_CEMI_SERVER
|
-DUSE_USB
|
||||||
-DUSE_TINYUSB
|
-DUSE_TINYUSB
|
||||||
-Wno-unknown-pragmas
|
-Wno-unknown-pragmas
|
||||||
|
@ -33,7 +33,7 @@ lib_deps =
|
|||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
-DMEDIUM_TYPE=2
|
-DMEDIUM_TYPE=2
|
||||||
-DUSE_CEMI_SERVER
|
-DUSE_USB
|
||||||
-DUSE_TINYUSB
|
-DUSE_TINYUSB
|
||||||
-Wno-unknown-pragmas
|
-Wno-unknown-pragmas
|
||||||
|
|
||||||
|
@ -10,7 +10,12 @@
|
|||||||
#define GPIO_GDO0_PIN 24 // GPIO 24 (GPIO_GEN5) -> WiringPi: 5 -> Pin number on header: 18
|
#define GPIO_GDO0_PIN 24 // GPIO 24 (GPIO_GEN5) -> WiringPi: 5 -> Pin number on header: 18
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define USE_CEMI_SERVER
|
|
||||||
#define USE_RF
|
#define USE_RF
|
||||||
#define USE_TP
|
#define USE_TP
|
||||||
#define USE_IP
|
#define USE_IP
|
||||||
|
//#define USE_USB
|
||||||
|
//#define USE_CEMI_SERVER
|
||||||
|
#ifdef USE_USB
|
||||||
|
#define USE_CEMI_SERVER
|
||||||
|
#endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#ifdef USE_CEMI_SERVER
|
#ifdef USE_USB
|
||||||
|
|
||||||
#include "bits.h"
|
#include "bits.h"
|
||||||
#include "usb_tunnel_interface.h"
|
#include "usb_tunnel_interface.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#ifdef USE_CEMI_SERVER
|
#ifdef USE_USB
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
class CemiServer;
|
class CemiServer;
|
||||||
|
Loading…
Reference in New Issue
Block a user