mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +01:00 
			
		
		
		
	Only compile CC1310 source code if #define DeviceFamily_CC13X0
This commit is contained in:
		
							parent
							
								
									4fa3b24b36
								
							
						
					
					
						commit
						49f8c38353
					
				| @ -1,3 +1,5 @@ | ||||
| #ifdef DeviceFamily_CC13X0 | ||||
| 
 | ||||
| #include <cstdio> | ||||
| #include <cstdarg> | ||||
| #include <cstring> | ||||
| @ -567,3 +569,5 @@ void attachInterrupt(uint32_t pin, IsrFuncPtr callback, uint32_t mode) | ||||
|     IntMasterEnable(); | ||||
| #endif | ||||
| } | ||||
| 
 | ||||
| #endif // DeviceFamily_CC13X0
 | ||||
| @ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef DeviceFamily_CC13X0 | ||||
| 
 | ||||
| #include <ti/drivers/NVS.h> | ||||
| #include <ti/drivers/UART.h> | ||||
| #include <ti/drivers/dpl/ClockP.h> | ||||
| @ -41,3 +43,5 @@ class CC1310Platform : public Platform | ||||
|     UART_Handle uart; | ||||
|     NVS_Handle nvsHandle; | ||||
| }; | ||||
| 
 | ||||
| #endif //DeviceFamily_CC13X0
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user