mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +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 = | ||||
|   -DMEDIUM_TYPE=2 | ||||
|   -DUSE_CEMI_SERVER | ||||
|   -DUSE_USB | ||||
|   -DUSE_TINYUSB | ||||
|   -Wno-unknown-pragmas | ||||
|  | ||||
| @ -33,7 +33,7 @@ lib_deps = | ||||
| 
 | ||||
| build_flags = | ||||
|   -DMEDIUM_TYPE=2 | ||||
|   -DUSE_CEMI_SERVER | ||||
|   -DUSE_USB | ||||
|   -DUSE_TINYUSB | ||||
|   -Wno-unknown-pragmas | ||||
| 
 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| #include "config.h" | ||||
| #ifdef USE_CEMI_SERVER | ||||
| #ifdef USE_USB | ||||
| 
 | ||||
| #include "bits.h" | ||||
| #include "usb_tunnel_interface.h" | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #ifdef USE_CEMI_SERVER | ||||
| #ifdef USE_USB | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| class CemiServer; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user