mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +01:00 
			
		
		
		
	compiling again.
This commit is contained in:
		
							parent
							
								
									09a3fe13c9
								
							
						
					
					
						commit
						628970a53d
					
				| @ -1,7 +1,7 @@ | |||||||
| #include "knx_facade.h" | #include "knx/knx_facade.h" | ||||||
| 
 | 
 | ||||||
| #include "knx/bau091A.h" | #include "knx/coupler/bau091A.h" | ||||||
| #include "knx/bau2920.h" | #include "knx/coupler/bau2920.h" | ||||||
| 
 | 
 | ||||||
| #include "knx/bits.h" | #include "knx/bits.h" | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | |||||||
| @ -1,10 +1,10 @@ | |||||||
| #include <knx.h> | #include <knx.h> | ||||||
| 
 | 
 | ||||||
| #include "knx/bau57B0.h" | #include "knx/ip/bau57B0.h" | ||||||
| #include "knx/bau27B0.h" | #include "knx/rf/bau27B0.h" | ||||||
| #include "knx/bau07B0.h" | #include "knx/tp/bau07B0.h" | ||||||
| 
 | 
 | ||||||
| #include "knx/group_object_table_object.h" | #include "knx/interface_object/group_object_table_object.h" | ||||||
| #include "knx/bits.h" | #include "knx/bits.h" | ||||||
| #include <time.h> | #include <time.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
|  | |||||||
| @ -16,8 +16,8 @@ namespace py = pybind11; | |||||||
| 
 | 
 | ||||||
| #include "knx/bits.h" | #include "knx/bits.h" | ||||||
| #include "knx/platform/linux_platform.h" | #include "knx/platform/linux_platform.h" | ||||||
| #include "knx/bau57B0.h" | #include "knx/ip/bau57B0.h" | ||||||
| #include "knx/group_object_table_object.h" | #include "knx/interface_object/group_object_table_object.h" | ||||||
| 
 | 
 | ||||||
| LinuxPlatform* platform = 0; | LinuxPlatform* platform = 0; | ||||||
| Bau57B0* bau = 0; | Bau57B0* bau = 0; | ||||||
|  | |||||||
| @ -147,24 +147,10 @@ set(SOURCES | |||||||
| ./knx/network_layer/network_layer_entity.h | ./knx/network_layer/network_layer_entity.h | ||||||
| ./knx/network_layer/npdu.cpp | ./knx/network_layer/npdu.cpp | ||||||
| ./knx/network_layer/npdu.h | ./knx/network_layer/npdu.h | ||||||
| ./knx/platform/arduino_platform.cpp |  | ||||||
| ./knx/platform/arduino_platform.h |  | ||||||
| ./knx/platform/cc1310_platform.cpp |  | ||||||
| ./knx/platform/cc1310_platform.h |  | ||||||
| ./knx/platform/esp32_platform.cpp |  | ||||||
| ./knx/platform/esp32_platform.h |  | ||||||
| ./knx/platform/esp_platform.cpp |  | ||||||
| ./knx/platform/esp_platform.h |  | ||||||
| ./knx/platform/linux_platform.cpp | ./knx/platform/linux_platform.cpp | ||||||
| ./knx/platform/linux_platform.h | ./knx/platform/linux_platform.h | ||||||
| ./knx/platform/platform.cpp | ./knx/platform/platform.cpp | ||||||
| ./knx/platform/platform.h | ./knx/platform/platform.h | ||||||
| ./knx/platform/rp2040_arduino_platform.cpp |  | ||||||
| ./knx/platform/rp2040_arduino_platform.h |  | ||||||
| ./knx/platform/samd_platform.cpp |  | ||||||
| ./knx/platform/samd_platform.h |  | ||||||
| ./knx/platform/stm32_platform.cpp |  | ||||||
| ./knx/platform/stm32_platform.h |  | ||||||
| ./knx/rf/bau27B0.cpp | ./knx/rf/bau27B0.cpp | ||||||
| ./knx/rf/bau27B0.h | ./knx/rf/bau27B0.h | ||||||
| ./knx/rf/rf_data_link_layer.cpp | ./knx/rf/rf_data_link_layer.cpp | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| #include "bau091A.h" | #include "bau091A.h" | ||||||
| 
 | 
 | ||||||
| #include "bits.h" | #include "../bits.h" | ||||||
| 
 | 
 | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
|  | |||||||
| @ -1,8 +1,8 @@ | |||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #include "bau_systemB_coupler.h" | #include "bau_systemB_coupler.h" | ||||||
|  | #include "router_object.h" | ||||||
| #include "../config.h" | #include "../config.h" | ||||||
| #include "../interface_object/router_object.h" |  | ||||||
| #include "../ip/ip_parameter_object.h" | #include "../ip/ip_parameter_object.h" | ||||||
| #include "../ip/ip_data_link_layer.h" | #include "../ip/ip_data_link_layer.h" | ||||||
| #include "../tp/tpuart_data_link_layer.h" | #include "../tp/tpuart_data_link_layer.h" | ||||||
|  | |||||||
| @ -3,7 +3,7 @@ | |||||||
| #include "../config.h" | #include "../config.h" | ||||||
| 
 | 
 | ||||||
| #include "bau_systemB_coupler.h" | #include "bau_systemB_coupler.h" | ||||||
| #include "tpuart_data_link_layer.h" | #include "../tp/tpuart_data_link_layer.h" | ||||||
| #if defined(DeviceFamily_CC13X0) | #if defined(DeviceFamily_CC13X0) | ||||||
|     #include "../rf/rf_physical_layer_cc1310.h" |     #include "../rf/rf_physical_layer_cc1310.h" | ||||||
| #else | #else | ||||||
|  | |||||||
| @ -1,8 +1,8 @@ | |||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #include "../knx_types.h" | #include "../knx_types.h" | ||||||
| #include "network_layer.h" | #include "../network_layer/network_layer.h" | ||||||
| #include "transport_layer.h" | #include "../transport_layer/transport_layer.h" | ||||||
| 
 | 
 | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,7 +1,7 @@ | |||||||
| #include "group_object.h" | #include "group_object.h" | ||||||
| 
 | 
 | ||||||
| #include "datapoint_types.h" | #include "datapoint_types.h" | ||||||
| #include "../interface_objects/group_object_table_object.h" | #include "../interface_object/group_object_table_object.h" | ||||||
| #include "../bits.h" | #include "../bits.h" | ||||||
| 
 | 
 | ||||||
| #include <cstring> | #include <cstring> | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #include "../inteface_object/device_object.h" | #include "../interface_object/device_object.h" | ||||||
| #include "../platform/platform.h" | #include "../platform/platform.h" | ||||||
| 
 | 
 | ||||||
| #define KNXIP_MULTICAST_PORT 3671 | #define KNXIP_MULTICAST_PORT 3671 | ||||||
|  | |||||||
| @ -1,9 +1,8 @@ | |||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #include "knx_ip_frame.h" | #include "knx_ip_frame.h" | ||||||
| #include "../cemi_frame.h" |  | ||||||
| #include "knx_ip_ch.h" | #include "knx_ip_ch.h" | ||||||
| 
 | #include "../datalink_layer/cemi_frame.h" | ||||||
| class KnxIpTunnelingRequest : public KnxIpFrame | class KnxIpTunnelingRequest : public KnxIpFrame | ||||||
| { | { | ||||||
|     public: |     public: | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| #include "../platform.h" | #include "platform.h" | ||||||
| 
 | 
 | ||||||
| #include "Arduino.h" | #include "Arduino.h" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -6,7 +6,7 @@ | |||||||
| #include <ti/drivers/UART.h> | #include <ti/drivers/UART.h> | ||||||
| #include <ti/drivers/dpl/ClockP.h> | #include <ti/drivers/dpl/ClockP.h> | ||||||
| 
 | 
 | ||||||
| #include "../platform.h" | #include ".platform.h" | ||||||
| 
 | 
 | ||||||
| class CC1310Platform : public Platform | class CC1310Platform : public Platform | ||||||
| { | { | ||||||
|  | |||||||
| @ -28,11 +28,11 @@ | |||||||
| #include <poll.h>             // Needed for GPIO edge detection
 | #include <poll.h>             // Needed for GPIO edge detection
 | ||||||
| #include <sys/time.h>         // Needed for delayMicroseconds()
 | #include <sys/time.h>         // Needed for delayMicroseconds()
 | ||||||
| 
 | 
 | ||||||
| #include "../device_object.h" | #include "../interface_object/device_object.h" | ||||||
| #include "../address_table_object.h" | #include "../interface_object/address_table_object.h" | ||||||
| #include "../association_table_object.h" | #include "../interface_object/association_table_object.h" | ||||||
| #include "../group_object_table_object.h" | #include "../interface_object/group_object_table_object.h" | ||||||
| #include "../application_program_object.h" | #include "../interface_object/application_program_object.h" | ||||||
| #include "../ip/ip_parameter_object.h" | #include "../ip/ip_parameter_object.h" | ||||||
| #include "../bits.h" | #include "../bits.h" | ||||||
| #include "../ip/ip_host_protocol_address_information.h" | #include "../ip/ip_host_protocol_address_information.h" | ||||||
|  | |||||||
| @ -2,7 +2,7 @@ | |||||||
| 
 | 
 | ||||||
| #ifdef __linux__ | #ifdef __linux__ | ||||||
| 
 | 
 | ||||||
| #include "../platform.h" | #include "platform.h" | ||||||
| #include <string> | #include <string> | ||||||
| 
 | 
 | ||||||
| extern int gpio_direction(int pin, int dir); | extern int gpio_direction(int pin, int dir); | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| #include "platform.h" | #include "platform.h" | ||||||
| 
 | 
 | ||||||
| #include "bits.h" | #include "../bits.h" | ||||||
| 
 | 
 | ||||||
| #include <cstring> | #include <cstring> | ||||||
| #include <cstdlib> | #include <cstdlib> | ||||||
|  | |||||||
| @ -2,7 +2,7 @@ | |||||||
| 
 | 
 | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <stddef.h> | #include <stddef.h> | ||||||
| #include "save_restore.h" | #include "../util/save_restore.h" | ||||||
| 
 | 
 | ||||||
| #ifndef KNX_FLASH_CALLBACK | #ifndef KNX_FLASH_CALLBACK | ||||||
|     #ifndef KNX_FLASH_SIZE |     #ifndef KNX_FLASH_SIZE | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| #include "bau27B0.h" | #include "bau27B0.h" | ||||||
| 
 | 
 | ||||||
| #include "bits.h" | #include "../bits.h" | ||||||
| 
 | 
 | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
|  | |||||||
| @ -1,8 +1,14 @@ | |||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #include "../config.h" | #if defined(DeviceFamily_CC13X0) | ||||||
|  |         #include "rf_physical_layer_cc1310.h" | ||||||
|  | #else | ||||||
|  |         #include "rf_physical_layer_cc1101.h" | ||||||
|  | #endif | ||||||
|  | 
 | ||||||
|  | #include "../config.h" | ||||||
|  | #include "../datalink_layer/data_link_layer.h" | ||||||
| 
 | 
 | ||||||
| #include "..datalink_layer/data_link_layer.h" |  | ||||||
| 
 | 
 | ||||||
| #include <cstdint> | #include <cstdint> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -4,7 +4,7 @@ | |||||||
| 
 | 
 | ||||||
| #include "rf_data_link_layer.h" | #include "rf_data_link_layer.h" | ||||||
| #include "../bits.h" | #include "../bits.h" | ||||||
| #include "../platform.h" | #include "../platform/platform.h" | ||||||
| 
 | 
 | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| #include "bau07B0.h" | #include "bau07B0.h" | ||||||
| 
 | 
 | ||||||
| #include "bits.h" | #include "../bits.h" | ||||||
| 
 | 
 | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
|  | |||||||
| @ -1,27 +1,27 @@ | |||||||
| #include "tp_frame.h" | #include "tp_frame.h" | ||||||
| 
 | 
 | ||||||
| #include "bits.h" | #include "../bits.h" | ||||||
| 
 | 
 | ||||||
|         void TpFrame::printIt() const | void TpFrame::printIt() const | ||||||
|         { | { | ||||||
|             print_ia(source()); |     print_ia(source()); | ||||||
|             print(" -> "); |     print(" -> "); | ||||||
| 
 | 
 | ||||||
|             if (isGroupAddress()) |     if (isGroupAddress()) | ||||||
|                 print_ga(destination()); |         print_ga(destination()); | ||||||
|             else |     else | ||||||
|                 print_ia(destination()); |         print_ia(destination()); | ||||||
| 
 | 
 | ||||||
|             print(" ["); |     print(" ["); | ||||||
|             print((flags() & TP_FRAME_FLAG_INVALID) ? 'I' : '_');   // Invalid
 |     print((flags() & TP_FRAME_FLAG_INVALID) ? 'I' : '_');   // Invalid
 | ||||||
|             print((flags() & TP_FRAME_FLAG_EXTENDED) ? 'E' : '_');  // Extended
 |     print((flags() & TP_FRAME_FLAG_EXTENDED) ? 'E' : '_');  // Extended
 | ||||||
|             print((flags() & TP_FRAME_FLAG_REPEATED) ? 'R' : '_');  // Repeat
 |     print((flags() & TP_FRAME_FLAG_REPEATED) ? 'R' : '_');  // Repeat
 | ||||||
|             print((flags() & TP_FRAME_FLAG_ECHO) ? 'T' : '_');      // Send by me
 |     print((flags() & TP_FRAME_FLAG_ECHO) ? 'T' : '_');      // Send by me
 | ||||||
|             print((flags() & TP_FRAME_FLAG_ADDRESSED) ? 'D' : '_'); // Recv for me
 |     print((flags() & TP_FRAME_FLAG_ADDRESSED) ? 'D' : '_'); // Recv for me
 | ||||||
|             print((flags() & TP_FRAME_FLAG_ACK_NACK) ? 'N' : '_');  // ACK + NACK
 |     print((flags() & TP_FRAME_FLAG_ACK_NACK) ? 'N' : '_');  // ACK + NACK
 | ||||||
|             print((flags() & TP_FRAME_FLAG_ACK_BUSY) ? 'B' : '_');  // ACK + BUSY
 |     print((flags() & TP_FRAME_FLAG_ACK_BUSY) ? 'B' : '_');  // ACK + BUSY
 | ||||||
|             print((flags() & TP_FRAME_FLAG_ACK) ? 'A' : '_');       // ACK
 |     print((flags() & TP_FRAME_FLAG_ACK) ? 'A' : '_');       // ACK
 | ||||||
|             print("] "); |     print("] "); | ||||||
|             printHex("( ", data(), size(), false); |     printHex("( ", data(), size(), false); | ||||||
|             print(")"); |     print(")"); | ||||||
|         } | } | ||||||
| @ -1,6 +1,6 @@ | |||||||
| #include "tpdu.h" | #include "tpdu.h" | ||||||
| 
 | 
 | ||||||
| #include "cemi_frame.h" | #include "../datalink_layer/cemi_frame.h" | ||||||
| #include "../bits.h" | #include "../bits.h" | ||||||
| 
 | 
 | ||||||
| TPDU::TPDU(uint8_t* data, CemiFrame& frame): _data(data), _frame(frame) | TPDU::TPDU(uint8_t* data, CemiFrame& frame): _data(data), _frame(frame) | ||||||
|  | |||||||
| @ -4,7 +4,7 @@ | |||||||
| #include "../network_layer/network_layer.h" | #include "../network_layer/network_layer.h" | ||||||
| #include "../platform/platform.h" | #include "../platform/platform.h" | ||||||
| #include "../util/logger.h" | #include "../util/logger.h" | ||||||
| #include "bits.h" | #include "../bits.h" | ||||||
| 
 | 
 | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user