From bb77fa700027cd78565a3c3d2b4386e6608ac442 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Mon, 13 May 2019 22:31:45 +0200 Subject: [PATCH] fix examples. Only reserve memory on tableobject if size > 0 --- examples/knx-bme680/knx-bme680.ino | 20 +- examples/knx-demo/knx-demo.ino | 176 ++-- examples/knx-sonoffS20/knx-sonoffS20.ino | 6 +- {visualstudio => knx-linux}/CMakeLists.txt | 9 +- knx-linux/ClassDiagram.cd | 95 ++ knx-linux/gcc_Debug.h | 889 +++++++++++++++++ knx-linux/gcc_Release.h | 895 ++++++++++++++++++ .../knx-linux-Debug.vgdbsettings | 329 ++++--- .../knx-linux-Release.vgdbsettings | 306 +++--- knx-linux/knx-linux.vcxproj | 144 +++ .../knx-linux.vcxproj.filters | 439 ++++----- src/knx/table_object.cpp | 5 +- src/knx_facade.cpp | 18 +- src/linux_platform.h | 1 + src/main.cpp | 9 +- visualstudio/knx-linux.vcxproj | 132 --- visualstudio/knx.sln | 82 +- 17 files changed, 2743 insertions(+), 812 deletions(-) rename {visualstudio => knx-linux}/CMakeLists.txt (83%) create mode 100644 knx-linux/ClassDiagram.cd create mode 100644 knx-linux/gcc_Debug.h create mode 100644 knx-linux/gcc_Release.h rename {visualstudio => knx-linux}/knx-linux-Debug.vgdbsettings (73%) rename {visualstudio => knx-linux}/knx-linux-Release.vgdbsettings (75%) create mode 100644 knx-linux/knx-linux.vcxproj rename {visualstudio => knx-linux}/knx-linux.vcxproj.filters (91%) delete mode 100644 visualstudio/knx-linux.vcxproj diff --git a/examples/knx-bme680/knx-bme680.ino b/examples/knx-bme680/knx-bme680.ino index 5ff5b52..4dbcadc 100644 --- a/examples/knx-bme680/knx-bme680.ino +++ b/examples/knx-bme680/knx-bme680.ino @@ -4,16 +4,16 @@ // create named references for easy access to group objects -#define goRawTemperature knx.getGroupObject(0) -#define goPressure knx.getGroupObject(1) -#define goRawHumidity knx.getGroupObject(2) -#define goGasResistance knx.getGroupObject(3) -#define goIaqEstimate knx.getGroupObject(4) -#define goIaqAccurace knx.getGroupObject(5) -#define goTemperature knx.getGroupObject(6) -#define goHumidity knx.getGroupObject(7) -#define goTriggerSample knx.getGroupObject(8) -#define goCo2Ppm knx.getGroupObject(9) +#define goRawTemperature knx.getGroupObject(1) +#define goPressure knx.getGroupObject(2) +#define goRawHumidity knx.getGroupObject(3) +#define goGasResistance knx.getGroupObject(4) +#define goIaqEstimate knx.getGroupObject(5) +#define goIaqAccurace knx.getGroupObject(6) +#define goTemperature knx.getGroupObject(7) +#define goHumidity knx.getGroupObject(8) +#define goTriggerSample knx.getGroupObject(9) +#define goCo2Ppm knx.getGroupObject(10) #define STATE_SAVE_PERIOD UINT32_C(360 * 60 * 1000) // 360 minutes - 4 times a day diff --git a/examples/knx-demo/knx-demo.ino b/examples/knx-demo/knx-demo.ino index d29688f..fae29b3 100644 --- a/examples/knx-demo/knx-demo.ino +++ b/examples/knx-demo/knx-demo.ino @@ -1,89 +1,89 @@ -#include - - -// create named references for easy access to group objects -#define goCurrent knx.getGroupObject(0) -#define goMax knx.getGroupObject(1) -#define goMin knx.getGroupObject(2) -#define goReset knx.getGroupObject(3) - -float currentValue = 0; -float maxValue = 0; -float minValue = RAND_MAX; -long lastsend = 0; - -void measureTemp() -{ - - long now = millis(); - if ((now - lastsend) < 2000) - return; - - lastsend = now; - int r = rand(); - currentValue = (r * 1.0) / (RAND_MAX * 1.0); - currentValue *= 100 * 100; - - // write new value to groupobject - goCurrent.objectWriteFloatDpt9(currentValue); - - if (currentValue > maxValue) - { - maxValue = currentValue; - goMax.objectWriteFloatDpt9(maxValue); - } - - if (currentValue < minValue) - { - minValue = currentValue; - goMin.objectWriteFloatDpt9(minValue); - } -} - -// callback from reset-GO -void resetCallback(GroupObject& go) -{ - if (go.objectReadBool()) - { - maxValue = 0; - minValue = 10000; - } -} - -void setup() -{ - SerialDBG.begin(115200); - - randomSeed(millis()); - - // read adress table, association table, groupobject table and parameters from eeprom - knx.readMemory(); - - // print values of parameters if device is already configured - if (knx.configured()) - { - // register callback for reset GO - goReset.callback(resetCallback); - - SerialDBG.print("Timeout: "); SerialDBG.println(knx.paramByte(0)); - SerialDBG.print("Zykl. senden: "); SerialDBG.println(knx.paramByte(1)); - SerialDBG.print("Min/Max senden: "); SerialDBG.println(knx.paramByte(2)); - SerialDBG.print("Aenderung senden: "); SerialDBG.println(knx.paramByte(3)); - SerialDBG.print("Abgleich: "); SerialDBG.println(knx.paramByte(4)); - } - - // start the framework. Will get wifi first. - knx.start(); -} - -void loop() -{ - // don't delay here to much. Otherwise you might lose packages or mess up the timing with ETS - knx.loop(); - - // only run the application code if the device was configured with ETS - if (!knx.configured()) - return; - - measureTemp(); +#include + + +// create named references for easy access to group objects +#define goCurrent knx.getGroupObject(1) +#define goMax knx.getGroupObject(2) +#define goMin knx.getGroupObject(3) +#define goReset knx.getGroupObject(4) + +float currentValue = 0; +float maxValue = 0; +float minValue = RAND_MAX; +long lastsend = 0; + +void measureTemp() +{ + + long now = millis(); + if ((now - lastsend) < 2000) + return; + + lastsend = now; + int r = rand(); + currentValue = (r * 1.0) / (RAND_MAX * 1.0); + currentValue *= 100 * 100; + + // write new value to groupobject + goCurrent.objectWriteFloatDpt9(currentValue); + + if (currentValue > maxValue) + { + maxValue = currentValue; + goMax.objectWriteFloatDpt9(maxValue); + } + + if (currentValue < minValue) + { + minValue = currentValue; + goMin.objectWriteFloatDpt9(minValue); + } +} + +// callback from reset-GO +void resetCallback(GroupObject& go) +{ + if (go.objectReadBool()) + { + maxValue = 0; + minValue = 10000; + } +} + +void setup() +{ + SerialDBG.begin(115200); + + randomSeed(millis()); + + // read adress table, association table, groupobject table and parameters from eeprom + knx.readMemory(); + + // print values of parameters if device is already configured + if (knx.configured()) + { + // register callback for reset GO + goReset.callback(resetCallback); + + SerialDBG.print("Timeout: "); SerialDBG.println(knx.paramByte(0)); + SerialDBG.print("Zykl. senden: "); SerialDBG.println(knx.paramByte(1)); + SerialDBG.print("Min/Max senden: "); SerialDBG.println(knx.paramByte(2)); + SerialDBG.print("Aenderung senden: "); SerialDBG.println(knx.paramByte(3)); + SerialDBG.print("Abgleich: "); SerialDBG.println(knx.paramByte(4)); + } + + // start the framework. Will get wifi first. + knx.start(); +} + +void loop() +{ + // don't delay here to much. Otherwise you might lose packages or mess up the timing with ETS + knx.loop(); + + // only run the application code if the device was configured with ETS + if (!knx.configured()) + return; + + measureTemp(); } diff --git a/examples/knx-sonoffS20/knx-sonoffS20.ino b/examples/knx-sonoffS20/knx-sonoffS20.ino index be90bbe..d1da050 100644 --- a/examples/knx-sonoffS20/knx-sonoffS20.ino +++ b/examples/knx-sonoffS20/knx-sonoffS20.ino @@ -4,9 +4,9 @@ #define RELAYPIN 12 // create named references for easy access to group objects -#define goSwitch knx.getGroupObject(0) -#define goBlock knx.getGroupObject(1) -#define goStatus knx.getGroupObject(2) +#define goSwitch knx.getGroupObject(1) +#define goBlock knx.getGroupObject(2) +#define goStatus knx.getGroupObject(3) // callback from switch-GO diff --git a/visualstudio/CMakeLists.txt b/knx-linux/CMakeLists.txt similarity index 83% rename from visualstudio/CMakeLists.txt rename to knx-linux/CMakeLists.txt index f000041..4b62690 100644 --- a/visualstudio/CMakeLists.txt +++ b/knx-linux/CMakeLists.txt @@ -4,8 +4,7 @@ cmake_minimum_required(VERSION 2.7) project(knx-linux) set(LIBRARIES_FROM_REFERENCES "") -add_executable(knx-linux ../src/knx/address_table_object.cpp ../src/knx/apdu.cpp ../src/knx/application_layer.cpp ../src/knx/application_program_object.cpp ../src/knx/association_table_object.cpp ../src/knx/bau.cpp ../src/knx/bau07B0.cpp ../src/knx/bau57B0.cpp ../src/knx/bau_systemB.cpp ../src/knx/bits.cpp ../src/knx/cemi_frame.cpp ../src/knx/data_link_layer.cpp ../src/knx/datapoint_types.cpp ../src/knx/device_object.cpp ../src/knx/group_object.cpp ../src/knx/group_object_table_object.cpp ../src/knx/interface_object.cpp ../src/knx/ip_data_link_layer.cpp ../src/knx/ip_parameter_object.cpp ../src/knx/memory.cpp ../src/knx/network_layer.cpp ../src/knx/npdu.cpp ../src/knx/table_object.cpp ../src/knx/tpdu.cpp ../src/knx/tpuart_data_link_layer.cpp ../src/knx/transport_layer.cpp main.cpp linux_platform.cpp) -target_link_libraries(knx-linux "${LIBRARIES_FROM_REFERENCES}") -set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wno-unknown-pragmas -Wno-switch") -set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-unknown-pragmas -Wno-switch") -include_directories(/usr/include/x86_64-linux-gnu) +add_executable(knx-linux ../src/knx/address_table_object.cpp ../src/knx/apdu.cpp ../src/knx/application_layer.cpp ../src/knx/application_program_object.cpp ../src/knx/association_table_object.cpp ../src/knx/bau.cpp ../src/knx/bau07B0.cpp ../src/knx/bau57B0.cpp ../src/knx/bau_systemB.cpp ../src/knx/bits.cpp ../src/knx/cemi_frame.cpp ../src/knx/data_link_layer.cpp ../src/knx/datapoint_types.cpp ../src/knx/device_object.cpp ../src/knx/group_object.cpp ../src/knx/group_object_table_object.cpp ../src/knx/interface_object.cpp ../src/knx/ip_data_link_layer.cpp ../src/knx/ip_parameter_object.cpp ../src/knx/memory.cpp ../src/knx/network_layer.cpp ../src/knx/npdu.cpp ../src/knx/table_object.cpp ../src/knx/tpdu.cpp ../src/knx/tpuart_data_link_layer.cpp ../src/knx/transport_layer.cpp ../src/knx/platform.cpp ../src/main.cpp ../src/linux_platform.cpp) +target_link_libraries(knx-linux "${LIBRARIES_FROM_REFERENCES}") +set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wno-unknown-pragmas -Wno-switch -g -O0") +set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-unknown-pragmas -Wno-switch -g -O0") diff --git a/knx-linux/ClassDiagram.cd b/knx-linux/ClassDiagram.cd new file mode 100644 index 0000000..7c6d866 --- /dev/null +++ b/knx-linux/ClassDiagram.cd @@ -0,0 +1,95 @@ + + + + + + IBAAAAAAQACAEAIAABAAAAgAAAAAAAAAAAAAAABAAEA= + knx\address_table_object.h + + + + + + AIAAAAAAAACAAAIAgCAAAAAgABAEAAAAAAAQQABAAAA= + knx\application_program_object.h + + + + + + AAAAAAAAAACAAgIAABAAQAgAAAEAAAAAAAAAAABAAEA= + knx\association_table_object.h + + + + + + AAACACEAAAGCIAKAQCAgAACgCECAAEIgAEgAAgJAAAA= + knx\device_object.h + + + + + + AAAAAEAACACAAgIAAhAATAgACAAAAAAAAAAAAABAAAA= + knx\group_object_table_object.h + + + + + + AAAAAAAAAAAAAAAAACAAAAAgAAAAAAAAAAAAABBAAAA= + knx\interface_object.h + + + + + + AAIACIAAYACAAKIAAGAQCAAgWAIAAAAGAAAAAABgAIA= + knx\ip_parameter_object.h + + + + + + AAIACIACBACAAIIAAGAASAgwyAAAAAAAAgAAAAJgAAA= + knx\table_object.h + + + + + + sKoIAAAAQIIxC4gUUEAIAAACiQEgAjQUFCCA5yEAIBw= + knx\bau.h + + + + + + ABIAAFAgAgIwCoAAUiCCQIDAiEBgADQQACAAAAKQABw= + knx\bau57B0.h + + + + + + BACCIBAAICAAICgAAABAgAAQAAAAAAgAAADAEAAAAhA= + linux_platform.h + + + + + + AAAAAAAAAACAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAA= + knx\save_restore.h + + + + + + AAACIBAAICAAIAAAAABAgAAAAAAAAAgAAADAEAAAAhA= + knx\platform.h + + + + \ No newline at end of file diff --git a/knx-linux/gcc_Debug.h b/knx-linux/gcc_Debug.h new file mode 100644 index 0000000..e4f1569 --- /dev/null +++ b/knx-linux/gcc_Debug.h @@ -0,0 +1,889 @@ +/* + This file is only used by IntelliSense (VisualStudio code suggestion system) + DO NOT INCLUDE THIS FILE FROM YOUR ACTUAL SOURCE FILES. + This file lists the preprocessor macros extracted from your GCC. + It is needed for IntelliSense to parse other header files correctly. +*/ +#if defined(_MSC_VER) || defined (__SYSPROGS_CODESENSE__) +#pragma clang diagnostic push + +#pragma clang diagnostic ignored "-Wreserved-id-macro" +#ifndef __DBL_MIN_EXP__ +#define __DBL_MIN_EXP__ (-1021) +#endif +#ifndef __cpp_attributes +#define __cpp_attributes 200809 +#endif +#ifndef __UINT_LEAST16_MAX__ +#define __UINT_LEAST16_MAX__ 0xffff +#endif +#ifndef __ATOMIC_ACQUIRE +#define __ATOMIC_ACQUIRE 2 +#endif +#ifndef __FLT_MIN__ +#define __FLT_MIN__ 1.17549435082228750797e-38F +#endif +#ifndef __GCC_IEC_559_COMPLEX +#define __GCC_IEC_559_COMPLEX 2 +#endif +#ifndef __cpp_aggregate_nsdmi +#define __cpp_aggregate_nsdmi 201304 +#endif +#ifndef __UINT_LEAST8_TYPE__ +#define __UINT_LEAST8_TYPE__ unsigned char +#endif +#ifndef __SIZEOF_FLOAT80__ +#define __SIZEOF_FLOAT80__ 16 +#endif +#ifndef __CHAR_BIT__ +#define __CHAR_BIT__ 8 +#endif +#ifndef __UINT8_MAX__ +#define __UINT8_MAX__ 0xff +#endif +#ifndef __WINT_MAX__ +#define __WINT_MAX__ 0xffffffffU +#endif +#ifndef __cpp_static_assert +#define __cpp_static_assert 200410 +#endif +#ifndef __ORDER_LITTLE_ENDIAN__ +#define __ORDER_LITTLE_ENDIAN__ 1234 +#endif +#ifndef __SIZE_MAX__ +#define __SIZE_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __WCHAR_MAX__ +#define __WCHAR_MAX__ 0x7fffffff +#endif +#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 +#endif +#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 +#endif +#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 +#endif +#ifndef __DBL_DENORM_MIN__ +#define __DBL_DENORM_MIN__ double(4.94065645841246544177e-324L) +#endif +#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 +#endif +#ifndef __GCC_ATOMIC_CHAR_LOCK_FREE +#define __GCC_ATOMIC_CHAR_LOCK_FREE 2 +#endif +#ifndef __GCC_IEC_559 +#define __GCC_IEC_559 2 +#endif +#ifndef __FLT_EVAL_METHOD__ +#define __FLT_EVAL_METHOD__ 0 +#endif +#ifndef __unix__ +#define __unix__ 1 +#endif +#ifndef __cpp_binary_literals +#define __cpp_binary_literals 201304 +#endif +#ifndef __GCC_ATOMIC_CHAR32_T_LOCK_FREE +#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 +#endif +#ifndef __x86_64 +#define __x86_64 1 +#endif +#ifndef __cpp_variadic_templates +#define __cpp_variadic_templates 200704 +#endif +#ifndef __UINT_FAST64_MAX__ +#define __UINT_FAST64_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __SIG_ATOMIC_TYPE__ +#define __SIG_ATOMIC_TYPE__ int +#endif +#ifndef __DBL_MIN_10_EXP__ +#define __DBL_MIN_10_EXP__ (-307) +#endif +#ifndef __FINITE_MATH_ONLY__ +#define __FINITE_MATH_ONLY__ 0 +#endif +#ifndef __cpp_variable_templates +#define __cpp_variable_templates 201304 +#endif +#ifndef __GNUC_PATCHLEVEL__ +#define __GNUC_PATCHLEVEL__ 0 +#endif +#ifndef __UINT_FAST8_MAX__ +#define __UINT_FAST8_MAX__ 0xff +#endif +#ifndef __DEC64_MAX_EXP__ +#define __DEC64_MAX_EXP__ 385 +#endif +#ifndef __UINT_LEAST64_MAX__ +#define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __SHRT_MAX__ +#define __SHRT_MAX__ 0x7fff +#endif +#ifndef __LDBL_MAX__ +#define __LDBL_MAX__ 1.18973149535723176502e+4932L +#endif +#ifndef __UINT_LEAST8_MAX__ +#define __UINT_LEAST8_MAX__ 0xff +#endif +#ifndef __GCC_ATOMIC_BOOL_LOCK_FREE +#define __GCC_ATOMIC_BOOL_LOCK_FREE 2 +#endif +#ifndef __UINTMAX_TYPE__ +#define __UINTMAX_TYPE__ long unsigned int +#endif +#ifndef __linux +#define __linux 1 +#endif +#ifndef __DEC32_EPSILON__ +#define __DEC32_EPSILON__ 1E-6DF +#endif +#ifndef __unix +#define __unix 1 +#endif +#ifndef __UINT32_MAX__ +#define __UINT32_MAX__ 0xffffffffU +#endif +#if !defined(__GXX_EXPERIMENTAL_CXX0X__) && defined(__SYSPROGS_CODESENSE__) +#define __GXX_EXPERIMENTAL_CXX0X__ 1 +#endif +#ifndef __LDBL_MAX_EXP__ +#define __LDBL_MAX_EXP__ 16384 +#endif +#ifndef __WINT_MIN__ +#define __WINT_MIN__ 0U +#endif +#ifndef __linux__ +#define __linux__ 1 +#endif +#ifndef __SCHAR_MAX__ +#define __SCHAR_MAX__ 0x7f +#endif +#ifndef __WCHAR_MIN__ +#define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) +#endif +#ifndef __DBL_DIG__ +#define __DBL_DIG__ 15 +#endif +#ifndef __GCC_ATOMIC_POINTER_LOCK_FREE +#define __GCC_ATOMIC_POINTER_LOCK_FREE 2 +#endif +#ifndef __SIZEOF_INT__ +#define __SIZEOF_INT__ 4 +#endif +#ifndef __SIZEOF_POINTER__ +#define __SIZEOF_POINTER__ 8 +#endif +#ifndef __GCC_ATOMIC_CHAR16_T_LOCK_FREE +#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 +#endif +#ifndef __USER_LABEL_PREFIX__ +#define __USER_LABEL_PREFIX__ +#endif +#ifndef __STDC_HOSTED__ +#define __STDC_HOSTED__ 1 +#endif +#ifndef __LDBL_HAS_INFINITY__ +#define __LDBL_HAS_INFINITY__ 1 +#endif +#ifndef __FLT_EPSILON__ +#define __FLT_EPSILON__ 1.19209289550781250000e-7F +#endif +#ifndef __GXX_WEAK__ +#define __GXX_WEAK__ 1 +#endif +#ifndef __LDBL_MIN__ +#define __LDBL_MIN__ 3.36210314311209350626e-4932L +#endif +#ifndef __DEC32_MAX__ +#define __DEC32_MAX__ 9.999999E96DF +#endif +#ifndef __INT32_MAX__ +#define __INT32_MAX__ 0x7fffffff +#endif +#ifndef __SIZEOF_LONG__ +#define __SIZEOF_LONG__ 8 +#endif +#ifndef __STDC_IEC_559__ +#define __STDC_IEC_559__ 1 +#endif +#ifndef __STDC_ISO_10646__ +#define __STDC_ISO_10646__ 201605L +#endif +#ifndef __DECIMAL_DIG__ +#define __DECIMAL_DIG__ 21 +#endif +#ifndef __gnu_linux__ +#define __gnu_linux__ 1 +#endif +#ifndef __LDBL_HAS_QUIET_NAN__ +#define __LDBL_HAS_QUIET_NAN__ 1 +#endif +#ifndef __GNUC__ +#define __GNUC__ 6 +#endif +#ifndef __GXX_RTTI +#define __GXX_RTTI 1 +#endif +#ifndef __pie__ +#define __pie__ 2 +#endif +#ifndef __MMX__ +#define __MMX__ 1 +#endif +#ifndef __cpp_delegating_constructors +#define __cpp_delegating_constructors 200604 +#endif +#ifndef __FLT_HAS_DENORM__ +#define __FLT_HAS_DENORM__ 1 +#endif +#ifndef __SIZEOF_LONG_DOUBLE__ +#define __SIZEOF_LONG_DOUBLE__ 16 +#endif +#ifndef __BIGGEST_ALIGNMENT__ +#define __BIGGEST_ALIGNMENT__ 16 +#endif +#ifndef __STDC_UTF_16__ +#define __STDC_UTF_16__ 1 +#endif +#ifndef __DBL_MAX__ +#define __DBL_MAX__ double(1.79769313486231570815e+308L) +#endif +#ifndef __cpp_raw_strings +#define __cpp_raw_strings 200710 +#endif +#ifndef __INT_FAST32_MAX__ +#define __INT_FAST32_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __DBL_HAS_INFINITY__ +#define __DBL_HAS_INFINITY__ 1 +#endif +#ifndef __INT64_MAX__ +#define __INT64_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __DEC32_MIN_EXP__ +#define __DEC32_MIN_EXP__ (-94) +#endif +#ifndef __INT_FAST16_TYPE__ +#define __INT_FAST16_TYPE__ long int +#endif +#ifndef __LDBL_HAS_DENORM__ +#define __LDBL_HAS_DENORM__ 1 +#endif +//VS2005-2012 treats all files as C++, while VS2013+ can treat C files correctly. +#if defined(_MSC_VER) && (_MSC_VER < 1800 || defined(__cplusplus)) +#undef __cplusplus +#define __cplusplus 201402L +#endif +#ifndef __cpp_ref_qualifiers +#define __cpp_ref_qualifiers 200710 +#endif +#ifndef __DEC128_MAX__ +#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL +#endif +#ifndef __INT_LEAST32_MAX__ +#define __INT_LEAST32_MAX__ 0x7fffffff +#endif +#ifndef __DEC32_MIN__ +#define __DEC32_MIN__ 1E-95DF +#endif +#ifndef __DEPRECATED +#define __DEPRECATED 1 +#endif +#ifndef __cpp_rvalue_references +#define __cpp_rvalue_references 200610 +#endif +#ifndef __DBL_MAX_EXP__ +#define __DBL_MAX_EXP__ 1024 +#endif +#ifndef __DEC128_EPSILON__ +#define __DEC128_EPSILON__ 1E-33DL +#endif +#ifndef __SSE2_MATH__ +#define __SSE2_MATH__ 1 +#endif +#ifndef __ATOMIC_HLE_RELEASE +#define __ATOMIC_HLE_RELEASE 131072 +#endif +#ifndef __PTRDIFF_MAX__ +#define __PTRDIFF_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __amd64 +#define __amd64 1 +#endif +#ifndef __STDC_NO_THREADS__ +#define __STDC_NO_THREADS__ 1 +#endif +#ifndef __ATOMIC_HLE_ACQUIRE +#define __ATOMIC_HLE_ACQUIRE 65536 +#endif +#ifndef __GNUG__ +#define __GNUG__ 6 +#endif +#ifndef __LONG_LONG_MAX__ +#define __LONG_LONG_MAX__ 0x7fffffffffffffffLL +#endif +#ifndef __SIZEOF_SIZE_T__ +#define __SIZEOF_SIZE_T__ 8 +#endif +#ifndef __cpp_rvalue_reference +#define __cpp_rvalue_reference 200610 +#endif +#ifndef __cpp_nsdmi +#define __cpp_nsdmi 200809 +#endif +#ifndef __SIZEOF_WINT_T__ +#define __SIZEOF_WINT_T__ 4 +#endif +#ifndef __cpp_initializer_lists +#define __cpp_initializer_lists 200806 +#endif +#ifndef __cpp_hex_float +#define __cpp_hex_float 201603 +#endif +#ifndef __GCC_HAVE_DWARF2_CFI_ASM +#define __GCC_HAVE_DWARF2_CFI_ASM 1 +#endif +#ifndef __GXX_ABI_VERSION +#define __GXX_ABI_VERSION 1010 +#endif +#ifndef __FLT_MIN_EXP__ +#define __FLT_MIN_EXP__ (-125) +#endif +#ifndef __cpp_lambdas +#define __cpp_lambdas 200907 +#endif +#ifndef __INT_FAST64_TYPE__ +#define __INT_FAST64_TYPE__ long int +#endif +#ifndef __DBL_MIN__ +#define __DBL_MIN__ double(2.22507385850720138309e-308L) +#endif +#ifndef __PIE__ +#define __PIE__ 2 +#endif +#ifndef __LP64__ +#define __LP64__ 1 +#endif +#ifndef __DECIMAL_BID_FORMAT__ +#define __DECIMAL_BID_FORMAT__ 1 +#endif +#ifndef __DEC128_MIN__ +#define __DEC128_MIN__ 1E-6143DL +#endif +#ifndef __REGISTER_PREFIX__ +#define __REGISTER_PREFIX__ +#endif +#ifndef __UINT16_MAX__ +#define __UINT16_MAX__ 0xffff +#endif +#ifndef __DBL_HAS_DENORM__ +#define __DBL_HAS_DENORM__ 1 +#endif +#ifndef __UINT8_TYPE__ +#define __UINT8_TYPE__ unsigned char +#endif +#ifndef __NO_INLINE__ +#define __NO_INLINE__ 1 +#endif +#ifndef __FLT_MANT_DIG__ +#define __FLT_MANT_DIG__ 24 +#endif +#ifndef __VERSION__ +#define __VERSION__ "6.3.0 20170516" +#endif +#ifndef __cpp_unicode_characters +#define __cpp_unicode_characters 200704 +#endif +#ifndef _STDC_PREDEF_H +#define _STDC_PREDEF_H 1 +#endif +#ifndef __cpp_decltype_auto +#define __cpp_decltype_auto 201304 +#endif +#ifndef __GCC_ATOMIC_INT_LOCK_FREE +#define __GCC_ATOMIC_INT_LOCK_FREE 2 +#endif +#ifndef __FLOAT_WORD_ORDER__ +#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ +#endif +#ifndef __STDC_IEC_559_COMPLEX__ +#define __STDC_IEC_559_COMPLEX__ 1 +#endif +#ifndef __DEC64_EPSILON__ +#define __DEC64_EPSILON__ 1E-15DD +#endif +#ifndef __ORDER_PDP_ENDIAN__ +#define __ORDER_PDP_ENDIAN__ 3412 +#endif +#ifndef __DEC128_MIN_EXP__ +#define __DEC128_MIN_EXP__ (-6142) +#endif +#ifndef __INT_FAST32_TYPE__ +#define __INT_FAST32_TYPE__ long int +#endif +#ifndef __UINT_LEAST16_TYPE__ +#define __UINT_LEAST16_TYPE__ short unsigned int +#endif +#ifndef unix +#define unix 1 +#endif +#ifndef __INT16_MAX__ +#define __INT16_MAX__ 0x7fff +#endif +#ifndef __cpp_rtti +#define __cpp_rtti 199711 +#endif +#ifndef __SIZE_TYPE__ +#define __SIZE_TYPE__ long unsigned int +#endif +#ifndef __UINT64_MAX__ +#define __UINT64_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __INT8_TYPE__ +#define __INT8_TYPE__ signed char +#endif +#ifndef __cpp_digit_separators +#define __cpp_digit_separators 201309 +#endif +#ifndef __ELF__ +#define __ELF__ 1 +#endif +#ifndef __GCC_ASM_FLAG_OUTPUTS__ +#define __GCC_ASM_FLAG_OUTPUTS__ 1 +#endif +#ifndef __FLT_RADIX__ +#define __FLT_RADIX__ 2 +#endif +#ifndef __INT_LEAST16_TYPE__ +#define __INT_LEAST16_TYPE__ short int +#endif +#ifndef __LDBL_EPSILON__ +#define __LDBL_EPSILON__ 1.08420217248550443401e-19L +#endif +#ifndef __GLIBCXX_BITSIZE_INT_N_0 +#define __GLIBCXX_BITSIZE_INT_N_0 128 +#endif +#ifndef __k8 +#define __k8 1 +#endif +#ifndef __SIG_ATOMIC_MAX__ +#define __SIG_ATOMIC_MAX__ 0x7fffffff +#endif +#ifndef __GCC_ATOMIC_WCHAR_T_LOCK_FREE +#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 +#endif +#ifndef __cpp_sized_deallocation +#define __cpp_sized_deallocation 201309 +#endif +#ifndef __SIZEOF_PTRDIFF_T__ +#define __SIZEOF_PTRDIFF_T__ 8 +#endif +#ifndef __x86_64__ +#define __x86_64__ 1 +#endif +#ifndef __DEC32_SUBNORMAL_MIN__ +#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF +#endif +#ifndef __INT_FAST16_MAX__ +#define __INT_FAST16_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __UINT_FAST32_MAX__ +#define __UINT_FAST32_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __UINT_LEAST64_TYPE__ +#define __UINT_LEAST64_TYPE__ long unsigned int +#endif +#ifndef __FLT_HAS_QUIET_NAN__ +#define __FLT_HAS_QUIET_NAN__ 1 +#endif +#ifndef __FLT_MAX_10_EXP__ +#define __FLT_MAX_10_EXP__ 38 +#endif +#ifndef __LONG_MAX__ +#define __LONG_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __DEC128_SUBNORMAL_MIN__ +#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL +#endif +#ifndef __FLT_HAS_INFINITY__ +#define __FLT_HAS_INFINITY__ 1 +#endif +#ifndef __cpp_unicode_literals +#define __cpp_unicode_literals 200710 +#endif +#ifndef __UINT_FAST16_TYPE__ +#define __UINT_FAST16_TYPE__ long unsigned int +#endif +#ifndef __DEC64_MAX__ +#define __DEC64_MAX__ 9.999999999999999E384DD +#endif +#ifndef __CHAR16_TYPE__ +#define __CHAR16_TYPE__ short unsigned int +#endif +#ifndef __PRAGMA_REDEFINE_EXTNAME +#define __PRAGMA_REDEFINE_EXTNAME 1 +#endif +#ifndef __SEG_FS +#define __SEG_FS 1 +#endif +#ifndef __INT_LEAST16_MAX__ +#define __INT_LEAST16_MAX__ 0x7fff +#endif +#ifndef __DEC64_MANT_DIG__ +#define __DEC64_MANT_DIG__ 16 +#endif +#ifndef __UINT_LEAST32_MAX__ +#define __UINT_LEAST32_MAX__ 0xffffffffU +#endif +#ifndef __SEG_GS +#define __SEG_GS 1 +#endif +#ifndef __GCC_ATOMIC_LONG_LOCK_FREE +#define __GCC_ATOMIC_LONG_LOCK_FREE 2 +#endif +#ifndef __INT_LEAST64_TYPE__ +#define __INT_LEAST64_TYPE__ long int +#endif +#ifndef __INT16_TYPE__ +#define __INT16_TYPE__ short int +#endif +#ifndef __INT_LEAST8_TYPE__ +#define __INT_LEAST8_TYPE__ signed char +#endif +#ifndef __DEC32_MAX_EXP__ +#define __DEC32_MAX_EXP__ 97 +#endif +#ifndef __INT_FAST8_MAX__ +#define __INT_FAST8_MAX__ 0x7f +#endif +#ifndef __INTPTR_MAX__ +#define __INTPTR_MAX__ 0x7fffffffffffffffL +#endif +#ifndef linux +#define linux 1 +#endif +#ifndef __cpp_range_based_for +#define __cpp_range_based_for 200907 +#endif +#ifndef __SSE2__ +#define __SSE2__ 1 +#endif +#ifndef __EXCEPTIONS +#define __EXCEPTIONS 1 +#endif +#ifndef __LDBL_MANT_DIG__ +#define __LDBL_MANT_DIG__ 64 +#endif +#ifndef __DBL_HAS_QUIET_NAN__ +#define __DBL_HAS_QUIET_NAN__ 1 +#endif +#ifndef __SIG_ATOMIC_MIN__ +#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) +#endif +#ifndef __code_model_small__ +#define __code_model_small__ 1 +#endif +#ifndef __cpp_return_type_deduction +#define __cpp_return_type_deduction 201304 +#endif +#ifndef __k8__ +#define __k8__ 1 +#endif +#ifndef __INTPTR_TYPE__ +#define __INTPTR_TYPE__ long int +#endif +#ifndef __UINT16_TYPE__ +#define __UINT16_TYPE__ short unsigned int +#endif +#ifndef __WCHAR_TYPE__ +#define __WCHAR_TYPE__ int +#endif +#ifndef __SIZEOF_FLOAT__ +#define __SIZEOF_FLOAT__ 4 +#endif +#ifndef __pic__ +#define __pic__ 2 +#endif +#ifndef __UINTPTR_MAX__ +#define __UINTPTR_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __DEC64_MIN_EXP__ +#define __DEC64_MIN_EXP__ (-382) +#endif +#ifndef __cpp_decltype +#define __cpp_decltype 200707 +#endif +#ifndef __INT_FAST64_MAX__ +#define __INT_FAST64_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __GCC_ATOMIC_TEST_AND_SET_TRUEVAL +#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 +#endif +#ifndef __FLT_DIG__ +#define __FLT_DIG__ 6 +#endif +#ifndef __UINT_FAST64_TYPE__ +#define __UINT_FAST64_TYPE__ long unsigned int +#endif +#ifndef __INT_MAX__ +#define __INT_MAX__ 0x7fffffff +#endif +#ifndef __amd64__ +#define __amd64__ 1 +#endif +#ifndef __INT64_TYPE__ +#define __INT64_TYPE__ long int +#endif +#ifndef __FLT_MAX_EXP__ +#define __FLT_MAX_EXP__ 128 +#endif +#ifndef __ORDER_BIG_ENDIAN__ +#define __ORDER_BIG_ENDIAN__ 4321 +#endif +#ifndef __DBL_MANT_DIG__ +#define __DBL_MANT_DIG__ 53 +#endif +#ifndef __cpp_inheriting_constructors +#define __cpp_inheriting_constructors 200802 +#endif +#ifndef __SIZEOF_FLOAT128__ +#define __SIZEOF_FLOAT128__ 16 +#endif +#ifndef __INT_LEAST64_MAX__ +#define __INT_LEAST64_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __DEC64_MIN__ +#define __DEC64_MIN__ 1E-383DD +#endif +#ifndef __WINT_TYPE__ +#define __WINT_TYPE__ unsigned int +#endif +#ifndef __UINT_LEAST32_TYPE__ +#define __UINT_LEAST32_TYPE__ unsigned int +#endif +#ifndef __SIZEOF_SHORT__ +#define __SIZEOF_SHORT__ 2 +#endif +#ifndef __SSE__ +#define __SSE__ 1 +#endif +#ifndef __LDBL_MIN_EXP__ +#define __LDBL_MIN_EXP__ (-16381) +#endif +#ifndef __INT_LEAST8_MAX__ +#define __INT_LEAST8_MAX__ 0x7f +#endif +#ifndef __SIZEOF_INT128__ +#define __SIZEOF_INT128__ 16 +#endif +#ifndef __LDBL_MAX_10_EXP__ +#define __LDBL_MAX_10_EXP__ 4932 +#endif +#ifndef __ATOMIC_RELAXED +#define __ATOMIC_RELAXED 0 +#endif +#ifndef __DBL_EPSILON__ +#define __DBL_EPSILON__ double(2.22044604925031308085e-16L) +#endif +#ifndef _LP64 +#define _LP64 1 +#endif +#ifndef __INT_LEAST32_TYPE__ +#define __INT_LEAST32_TYPE__ int +#endif +#ifndef __SIZEOF_WCHAR_T__ +#define __SIZEOF_WCHAR_T__ 4 +#endif +#ifndef __UINT64_TYPE__ +#define __UINT64_TYPE__ long unsigned int +#endif +#ifndef __INT_FAST8_TYPE__ +#define __INT_FAST8_TYPE__ signed char +#endif +#ifndef __GNUC_STDC_INLINE__ +#define __GNUC_STDC_INLINE__ 1 +#endif +#ifndef __DBL_DECIMAL_DIG__ +#define __DBL_DECIMAL_DIG__ 17 +#endif +#ifndef __STDC_UTF_32__ +#define __STDC_UTF_32__ 1 +#endif +#ifndef __FXSR__ +#define __FXSR__ 1 +#endif +#ifndef __DEC_EVAL_METHOD__ +#define __DEC_EVAL_METHOD__ 2 +#endif +#ifndef __cpp_runtime_arrays +#define __cpp_runtime_arrays 198712 +#endif +#ifndef __INTMAX_MAX__ +#define __INTMAX_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __cpp_alias_templates +#define __cpp_alias_templates 200704 +#endif +#ifndef __BYTE_ORDER__ +#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ +#endif +#ifndef __FLT_DENORM_MIN__ +#define __FLT_DENORM_MIN__ 1.40129846432481707092e-45F +#endif +#ifndef __INT8_MAX__ +#define __INT8_MAX__ 0x7f +#endif +#ifndef __PIC__ +#define __PIC__ 2 +#endif +#ifndef __UINT_FAST32_TYPE__ +#define __UINT_FAST32_TYPE__ long unsigned int +#endif +#ifndef __CHAR32_TYPE__ +#define __CHAR32_TYPE__ unsigned int +#endif +#ifndef __FLT_MAX__ +#define __FLT_MAX__ 3.40282346638528859812e+38F +#endif +#ifndef __cpp_constexpr +#define __cpp_constexpr 201304 +#endif +#ifndef __INT32_TYPE__ +#define __INT32_TYPE__ int +#endif +#ifndef __SIZEOF_DOUBLE__ +#define __SIZEOF_DOUBLE__ 8 +#endif +#ifndef __cpp_exceptions +#define __cpp_exceptions 199711 +#endif +#ifndef __INTMAX_TYPE__ +#define __INTMAX_TYPE__ long int +#endif +#ifndef __DEC128_MAX_EXP__ +#define __DEC128_MAX_EXP__ 6145 +#endif +#ifndef __ATOMIC_CONSUME +#define __ATOMIC_CONSUME 1 +#endif +#ifndef __GNUC_MINOR__ +#define __GNUC_MINOR__ 3 +#endif +#ifndef __GLIBCXX_TYPE_INT_N_0 +#define __GLIBCXX_TYPE_INT_N_0 __int128 +#endif +#ifndef __UINTMAX_MAX__ +#define __UINTMAX_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __DEC32_MANT_DIG__ +#define __DEC32_MANT_DIG__ 7 +#endif +#ifndef __DBL_MAX_10_EXP__ +#define __DBL_MAX_10_EXP__ 308 +#endif +#ifndef __LDBL_DENORM_MIN__ +#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L +#endif +#ifndef __cpp_generic_lambdas +#define __cpp_generic_lambdas 201304 +#endif +#ifndef __STDC__ +#define __STDC__ 1 +#endif +#ifndef __PTRDIFF_TYPE__ +#define __PTRDIFF_TYPE__ long int +#endif +#ifndef __ATOMIC_SEQ_CST +#define __ATOMIC_SEQ_CST 5 +#endif +#ifndef __UINT32_TYPE__ +#define __UINT32_TYPE__ unsigned int +#endif +#ifndef __UINTPTR_TYPE__ +#define __UINTPTR_TYPE__ long unsigned int +#endif +#ifndef __DEC64_SUBNORMAL_MIN__ +#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD +#endif +#ifndef __DEC128_MANT_DIG__ +#define __DEC128_MANT_DIG__ 34 +#endif +#ifndef __LDBL_MIN_10_EXP__ +#define __LDBL_MIN_10_EXP__ (-4931) +#endif +#ifndef __SSE_MATH__ +#define __SSE_MATH__ 1 +#endif +#ifndef __SIZEOF_LONG_LONG__ +#define __SIZEOF_LONG_LONG__ 8 +#endif +#ifndef __cpp_user_defined_literals +#define __cpp_user_defined_literals 200809 +#endif +#ifndef __GCC_ATOMIC_LLONG_LOCK_FREE +#define __GCC_ATOMIC_LLONG_LOCK_FREE 2 +#endif +#ifndef __LDBL_DIG__ +#define __LDBL_DIG__ 18 +#endif +#ifndef __FLT_DECIMAL_DIG__ +#define __FLT_DECIMAL_DIG__ 9 +#endif +#ifndef __UINT_FAST16_MAX__ +#define __UINT_FAST16_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __FLT_MIN_10_EXP__ +#define __FLT_MIN_10_EXP__ (-37) +#endif +#ifndef __GCC_ATOMIC_SHORT_LOCK_FREE +#define __GCC_ATOMIC_SHORT_LOCK_FREE 2 +#endif +#ifndef __UINT_FAST8_TYPE__ +#define __UINT_FAST8_TYPE__ unsigned char +#endif +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif +#ifndef __cpp_init_captures +#define __cpp_init_captures 201304 +#endif +#ifndef __ATOMIC_ACQ_REL +#define __ATOMIC_ACQ_REL 4 +#endif +#ifndef __ATOMIC_RELEASE +#define __ATOMIC_RELEASE 3 +#endif +#endif + +// --- Include directories begin --- // +///usr/include/c++/6 +///usr/include/x86_64-linux-gnu/c++/6 +///usr/include/c++/6/backward +///usr/lib/gcc/x86_64-linux-gnu/6/include +///usr/local/include +///usr/lib/gcc/x86_64-linux-gnu/6/include-fixed +///usr/include/x86_64-linux-gnu +///usr/include +// --- Include directories end --- // + + +// --- Library directories begin --- // +///usr/lib/gcc/x86_64-linux-gnu/6/ +///usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/ +///usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib/ +///lib/x86_64-linux-gnu/ +///lib/../lib/ +///usr/lib/x86_64-linux-gnu/ +///usr/lib/../lib/ +///usr/lib/gcc/x86_64-linux-gnu/6/../../../ +///lib/ +///usr/lib/ +// --- Library directories begin --- // + +#pragma clang diagnostic pop diff --git a/knx-linux/gcc_Release.h b/knx-linux/gcc_Release.h new file mode 100644 index 0000000..5f82ca2 --- /dev/null +++ b/knx-linux/gcc_Release.h @@ -0,0 +1,895 @@ +/* + This file is only used by IntelliSense (VisualStudio code suggestion system) + DO NOT INCLUDE THIS FILE FROM YOUR ACTUAL SOURCE FILES. + This file lists the preprocessor macros extracted from your GCC. + It is needed for IntelliSense to parse other header files correctly. +*/ +#if defined(_MSC_VER) || defined (__SYSPROGS_CODESENSE__) +#pragma clang diagnostic push + +#pragma clang diagnostic ignored "-Wreserved-id-macro" +#ifndef __DBL_MIN_EXP__ +#define __DBL_MIN_EXP__ (-1021) +#endif +#ifndef __cpp_attributes +#define __cpp_attributes 200809 +#endif +#ifndef __UINT_LEAST16_MAX__ +#define __UINT_LEAST16_MAX__ 0xffff +#endif +#ifndef __ATOMIC_ACQUIRE +#define __ATOMIC_ACQUIRE 2 +#endif +#ifndef __FLT_MIN__ +#define __FLT_MIN__ 1.17549435082228750797e-38F +#endif +#ifndef __GCC_IEC_559_COMPLEX +#define __GCC_IEC_559_COMPLEX 2 +#endif +#ifndef __cpp_aggregate_nsdmi +#define __cpp_aggregate_nsdmi 201304 +#endif +#ifndef __UINT_LEAST8_TYPE__ +#define __UINT_LEAST8_TYPE__ unsigned char +#endif +#ifndef __SIZEOF_FLOAT80__ +#define __SIZEOF_FLOAT80__ 16 +#endif +#ifndef __CHAR_BIT__ +#define __CHAR_BIT__ 8 +#endif +#ifndef __UINT8_MAX__ +#define __UINT8_MAX__ 0xff +#endif +#ifndef __WINT_MAX__ +#define __WINT_MAX__ 0xffffffffU +#endif +#ifndef __cpp_static_assert +#define __cpp_static_assert 200410 +#endif +#ifndef __ORDER_LITTLE_ENDIAN__ +#define __ORDER_LITTLE_ENDIAN__ 1234 +#endif +#ifndef __SIZE_MAX__ +#define __SIZE_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __WCHAR_MAX__ +#define __WCHAR_MAX__ 0x7fffffff +#endif +#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 +#endif +#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 +#endif +#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 +#endif +#ifndef __DBL_DENORM_MIN__ +#define __DBL_DENORM_MIN__ double(4.94065645841246544177e-324L) +#endif +#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 +#endif +#ifndef __GCC_ATOMIC_CHAR_LOCK_FREE +#define __GCC_ATOMIC_CHAR_LOCK_FREE 2 +#endif +#ifndef __GCC_IEC_559 +#define __GCC_IEC_559 2 +#endif +#ifndef __FLT_EVAL_METHOD__ +#define __FLT_EVAL_METHOD__ 0 +#endif +#ifndef __unix__ +#define __unix__ 1 +#endif +#ifndef __cpp_binary_literals +#define __cpp_binary_literals 201304 +#endif +#ifndef __GCC_ATOMIC_CHAR32_T_LOCK_FREE +#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 +#endif +#ifndef __x86_64 +#define __x86_64 1 +#endif +#ifndef __cpp_variadic_templates +#define __cpp_variadic_templates 200704 +#endif +#ifndef __UINT_FAST64_MAX__ +#define __UINT_FAST64_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __SIG_ATOMIC_TYPE__ +#define __SIG_ATOMIC_TYPE__ int +#endif +#ifndef __DBL_MIN_10_EXP__ +#define __DBL_MIN_10_EXP__ (-307) +#endif +#ifndef __FINITE_MATH_ONLY__ +#define __FINITE_MATH_ONLY__ 0 +#endif +#ifndef __cpp_variable_templates +#define __cpp_variable_templates 201304 +#endif +#ifndef __GNUC_PATCHLEVEL__ +#define __GNUC_PATCHLEVEL__ 0 +#endif +#ifndef __UINT_FAST8_MAX__ +#define __UINT_FAST8_MAX__ 0xff +#endif +#ifndef __DEC64_MAX_EXP__ +#define __DEC64_MAX_EXP__ 385 +#endif +#ifndef __UINT_LEAST64_MAX__ +#define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __SHRT_MAX__ +#define __SHRT_MAX__ 0x7fff +#endif +#ifndef __LDBL_MAX__ +#define __LDBL_MAX__ 1.18973149535723176502e+4932L +#endif +#ifndef __UINT_LEAST8_MAX__ +#define __UINT_LEAST8_MAX__ 0xff +#endif +#ifndef __GCC_ATOMIC_BOOL_LOCK_FREE +#define __GCC_ATOMIC_BOOL_LOCK_FREE 2 +#endif +#ifndef __UINTMAX_TYPE__ +#define __UINTMAX_TYPE__ long unsigned int +#endif +#ifndef __linux +#define __linux 1 +#endif +#ifndef __DEC32_EPSILON__ +#define __DEC32_EPSILON__ 1E-6DF +#endif +#ifndef __unix +#define __unix 1 +#endif +#ifndef __UINT32_MAX__ +#define __UINT32_MAX__ 0xffffffffU +#endif +#if !defined(__GXX_EXPERIMENTAL_CXX0X__) && defined(__SYSPROGS_CODESENSE__) +#define __GXX_EXPERIMENTAL_CXX0X__ 1 +#endif +#ifndef __LDBL_MAX_EXP__ +#define __LDBL_MAX_EXP__ 16384 +#endif +#ifndef __WINT_MIN__ +#define __WINT_MIN__ 0U +#endif +#ifndef __linux__ +#define __linux__ 1 +#endif +#ifndef __SCHAR_MAX__ +#define __SCHAR_MAX__ 0x7f +#endif +#ifndef __WCHAR_MIN__ +#define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) +#endif +#ifndef __DBL_DIG__ +#define __DBL_DIG__ 15 +#endif +#ifndef __GCC_ATOMIC_POINTER_LOCK_FREE +#define __GCC_ATOMIC_POINTER_LOCK_FREE 2 +#endif +#ifndef __SIZEOF_INT__ +#define __SIZEOF_INT__ 4 +#endif +#ifndef __SIZEOF_POINTER__ +#define __SIZEOF_POINTER__ 8 +#endif +#ifndef __GCC_ATOMIC_CHAR16_T_LOCK_FREE +#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 +#endif +#ifndef __USER_LABEL_PREFIX__ +#define __USER_LABEL_PREFIX__ +#endif +#ifndef __STDC_HOSTED__ +#define __STDC_HOSTED__ 1 +#endif +#ifndef __LDBL_HAS_INFINITY__ +#define __LDBL_HAS_INFINITY__ 1 +#endif +#ifndef __FLT_EPSILON__ +#define __FLT_EPSILON__ 1.19209289550781250000e-7F +#endif +#ifndef __GXX_WEAK__ +#define __GXX_WEAK__ 1 +#endif +#ifndef __LDBL_MIN__ +#define __LDBL_MIN__ 3.36210314311209350626e-4932L +#endif +#ifndef __DEC32_MAX__ +#define __DEC32_MAX__ 9.999999E96DF +#endif +#ifndef __INT32_MAX__ +#define __INT32_MAX__ 0x7fffffff +#endif +#ifndef __SIZEOF_LONG__ +#define __SIZEOF_LONG__ 8 +#endif +#ifndef __STDC_IEC_559__ +#define __STDC_IEC_559__ 1 +#endif +#ifndef __STDC_ISO_10646__ +#define __STDC_ISO_10646__ 201605L +#endif +#ifndef __DECIMAL_DIG__ +#define __DECIMAL_DIG__ 21 +#endif +#ifndef __gnu_linux__ +#define __gnu_linux__ 1 +#endif +#ifndef __LDBL_HAS_QUIET_NAN__ +#define __LDBL_HAS_QUIET_NAN__ 1 +#endif +#ifndef __GNUC__ +#define __GNUC__ 6 +#endif +#ifndef __GXX_RTTI +#define __GXX_RTTI 1 +#endif +#ifndef __pie__ +#define __pie__ 2 +#endif +#ifndef __MMX__ +#define __MMX__ 1 +#endif +#ifndef __cpp_delegating_constructors +#define __cpp_delegating_constructors 200604 +#endif +#ifndef __FLT_HAS_DENORM__ +#define __FLT_HAS_DENORM__ 1 +#endif +#ifndef __SIZEOF_LONG_DOUBLE__ +#define __SIZEOF_LONG_DOUBLE__ 16 +#endif +#ifndef __BIGGEST_ALIGNMENT__ +#define __BIGGEST_ALIGNMENT__ 16 +#endif +#ifndef __STDC_UTF_16__ +#define __STDC_UTF_16__ 1 +#endif +#ifndef __DBL_MAX__ +#define __DBL_MAX__ double(1.79769313486231570815e+308L) +#endif +#ifndef __cpp_raw_strings +#define __cpp_raw_strings 200710 +#endif +#ifndef __INT_FAST32_MAX__ +#define __INT_FAST32_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __DBL_HAS_INFINITY__ +#define __DBL_HAS_INFINITY__ 1 +#endif +#ifndef __INT64_MAX__ +#define __INT64_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __DEC32_MIN_EXP__ +#define __DEC32_MIN_EXP__ (-94) +#endif +#ifndef __INT_FAST16_TYPE__ +#define __INT_FAST16_TYPE__ long int +#endif +#ifndef __LDBL_HAS_DENORM__ +#define __LDBL_HAS_DENORM__ 1 +#endif +//VS2005-2012 treats all files as C++, while VS2013+ can treat C files correctly. +#if defined(_MSC_VER) && (_MSC_VER < 1800 || defined(__cplusplus)) +#undef __cplusplus +#define __cplusplus 201402L +#endif +#ifndef __cpp_ref_qualifiers +#define __cpp_ref_qualifiers 200710 +#endif +#ifndef __DEC128_MAX__ +#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL +#endif +#ifndef __INT_LEAST32_MAX__ +#define __INT_LEAST32_MAX__ 0x7fffffff +#endif +#ifndef __DEC32_MIN__ +#define __DEC32_MIN__ 1E-95DF +#endif +#ifndef __DEPRECATED +#define __DEPRECATED 1 +#endif +#ifndef __cpp_rvalue_references +#define __cpp_rvalue_references 200610 +#endif +#ifndef __DBL_MAX_EXP__ +#define __DBL_MAX_EXP__ 1024 +#endif +#ifndef __DEC128_EPSILON__ +#define __DEC128_EPSILON__ 1E-33DL +#endif +#ifndef __SSE2_MATH__ +#define __SSE2_MATH__ 1 +#endif +#ifndef __ATOMIC_HLE_RELEASE +#define __ATOMIC_HLE_RELEASE 131072 +#endif +#ifndef __PTRDIFF_MAX__ +#define __PTRDIFF_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __amd64 +#define __amd64 1 +#endif +#ifndef __STDC_NO_THREADS__ +#define __STDC_NO_THREADS__ 1 +#endif +#ifndef __ATOMIC_HLE_ACQUIRE +#define __ATOMIC_HLE_ACQUIRE 65536 +#endif +#ifndef __GNUG__ +#define __GNUG__ 6 +#endif +#ifndef __LONG_LONG_MAX__ +#define __LONG_LONG_MAX__ 0x7fffffffffffffffLL +#endif +#ifndef __SIZEOF_SIZE_T__ +#define __SIZEOF_SIZE_T__ 8 +#endif +#ifndef __cpp_rvalue_reference +#define __cpp_rvalue_reference 200610 +#endif +#ifndef __cpp_nsdmi +#define __cpp_nsdmi 200809 +#endif +#ifndef __SIZEOF_WINT_T__ +#define __SIZEOF_WINT_T__ 4 +#endif +#ifndef __cpp_initializer_lists +#define __cpp_initializer_lists 200806 +#endif +#ifndef __cpp_hex_float +#define __cpp_hex_float 201603 +#endif +#ifndef __GCC_HAVE_DWARF2_CFI_ASM +#define __GCC_HAVE_DWARF2_CFI_ASM 1 +#endif +#ifndef __GXX_ABI_VERSION +#define __GXX_ABI_VERSION 1010 +#endif +#ifndef __FLT_MIN_EXP__ +#define __FLT_MIN_EXP__ (-125) +#endif +#ifndef __cpp_lambdas +#define __cpp_lambdas 200907 +#endif +#ifndef __INT_FAST64_TYPE__ +#define __INT_FAST64_TYPE__ long int +#endif +#ifndef __DBL_MIN__ +#define __DBL_MIN__ double(2.22507385850720138309e-308L) +#endif +#ifndef __PIE__ +#define __PIE__ 2 +#endif +#ifndef __LP64__ +#define __LP64__ 1 +#endif +#ifndef __DECIMAL_BID_FORMAT__ +#define __DECIMAL_BID_FORMAT__ 1 +#endif +#ifndef __DEC128_MIN__ +#define __DEC128_MIN__ 1E-6143DL +#endif +#ifndef __REGISTER_PREFIX__ +#define __REGISTER_PREFIX__ +#endif +#ifndef __UINT16_MAX__ +#define __UINT16_MAX__ 0xffff +#endif +#ifndef __DBL_HAS_DENORM__ +#define __DBL_HAS_DENORM__ 1 +#endif +#ifndef __UINT8_TYPE__ +#define __UINT8_TYPE__ unsigned char +#endif +#ifndef __NO_INLINE__ +#define __NO_INLINE__ 1 +#endif +#ifndef __FLT_MANT_DIG__ +#define __FLT_MANT_DIG__ 24 +#endif +#ifndef __VERSION__ +#define __VERSION__ "6.3.0 20170516" +#endif +#ifndef __cpp_unicode_characters +#define __cpp_unicode_characters 200704 +#endif +#ifndef _STDC_PREDEF_H +#define _STDC_PREDEF_H 1 +#endif +#ifndef __cpp_decltype_auto +#define __cpp_decltype_auto 201304 +#endif +#ifndef __GCC_ATOMIC_INT_LOCK_FREE +#define __GCC_ATOMIC_INT_LOCK_FREE 2 +#endif +#ifndef __FLOAT_WORD_ORDER__ +#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ +#endif +#ifndef __STDC_IEC_559_COMPLEX__ +#define __STDC_IEC_559_COMPLEX__ 1 +#endif +#ifndef __DEC64_EPSILON__ +#define __DEC64_EPSILON__ 1E-15DD +#endif +#ifndef __ORDER_PDP_ENDIAN__ +#define __ORDER_PDP_ENDIAN__ 3412 +#endif +#ifndef __DEC128_MIN_EXP__ +#define __DEC128_MIN_EXP__ (-6142) +#endif +#ifndef __INT_FAST32_TYPE__ +#define __INT_FAST32_TYPE__ long int +#endif +#ifndef __UINT_LEAST16_TYPE__ +#define __UINT_LEAST16_TYPE__ short unsigned int +#endif +#ifndef unix +#define unix 1 +#endif +#ifndef __INT16_MAX__ +#define __INT16_MAX__ 0x7fff +#endif +#ifndef __cpp_rtti +#define __cpp_rtti 199711 +#endif +#ifndef __SIZE_TYPE__ +#define __SIZE_TYPE__ long unsigned int +#endif +#ifndef __UINT64_MAX__ +#define __UINT64_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __INT8_TYPE__ +#define __INT8_TYPE__ signed char +#endif +#ifndef __cpp_digit_separators +#define __cpp_digit_separators 201309 +#endif +#ifndef __ELF__ +#define __ELF__ 1 +#endif +#ifndef __GCC_ASM_FLAG_OUTPUTS__ +#define __GCC_ASM_FLAG_OUTPUTS__ 1 +#endif +#ifndef __FLT_RADIX__ +#define __FLT_RADIX__ 2 +#endif +#ifndef __INT_LEAST16_TYPE__ +#define __INT_LEAST16_TYPE__ short int +#endif +#ifndef __LDBL_EPSILON__ +#define __LDBL_EPSILON__ 1.08420217248550443401e-19L +#endif +#ifndef __GLIBCXX_BITSIZE_INT_N_0 +#define __GLIBCXX_BITSIZE_INT_N_0 128 +#endif +#ifndef __k8 +#define __k8 1 +#endif +#ifndef __SIG_ATOMIC_MAX__ +#define __SIG_ATOMIC_MAX__ 0x7fffffff +#endif +#ifndef __GCC_ATOMIC_WCHAR_T_LOCK_FREE +#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 +#endif +#ifndef __cpp_sized_deallocation +#define __cpp_sized_deallocation 201309 +#endif +#ifndef __SIZEOF_PTRDIFF_T__ +#define __SIZEOF_PTRDIFF_T__ 8 +#endif +#ifndef __x86_64__ +#define __x86_64__ 1 +#endif +#ifndef __DEC32_SUBNORMAL_MIN__ +#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF +#endif +#ifndef __INT_FAST16_MAX__ +#define __INT_FAST16_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __UINT_FAST32_MAX__ +#define __UINT_FAST32_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __UINT_LEAST64_TYPE__ +#define __UINT_LEAST64_TYPE__ long unsigned int +#endif +#ifndef __FLT_HAS_QUIET_NAN__ +#define __FLT_HAS_QUIET_NAN__ 1 +#endif +#ifndef __FLT_MAX_10_EXP__ +#define __FLT_MAX_10_EXP__ 38 +#endif +#ifndef __LONG_MAX__ +#define __LONG_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __DEC128_SUBNORMAL_MIN__ +#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL +#endif +#ifndef __FLT_HAS_INFINITY__ +#define __FLT_HAS_INFINITY__ 1 +#endif +#ifndef __cpp_unicode_literals +#define __cpp_unicode_literals 200710 +#endif +#ifndef __UINT_FAST16_TYPE__ +#define __UINT_FAST16_TYPE__ long unsigned int +#endif +#ifndef __DEC64_MAX__ +#define __DEC64_MAX__ 9.999999999999999E384DD +#endif +#ifndef __CHAR16_TYPE__ +#define __CHAR16_TYPE__ short unsigned int +#endif +#ifndef __PRAGMA_REDEFINE_EXTNAME +#define __PRAGMA_REDEFINE_EXTNAME 1 +#endif +#ifndef __SEG_FS +#define __SEG_FS 1 +#endif +#ifndef __INT_LEAST16_MAX__ +#define __INT_LEAST16_MAX__ 0x7fff +#endif +#ifndef __DEC64_MANT_DIG__ +#define __DEC64_MANT_DIG__ 16 +#endif +#ifndef __UINT_LEAST32_MAX__ +#define __UINT_LEAST32_MAX__ 0xffffffffU +#endif +#ifndef __SEG_GS +#define __SEG_GS 1 +#endif +#ifndef __GCC_ATOMIC_LONG_LOCK_FREE +#define __GCC_ATOMIC_LONG_LOCK_FREE 2 +#endif +#ifndef __INT_LEAST64_TYPE__ +#define __INT_LEAST64_TYPE__ long int +#endif +#ifndef __INT16_TYPE__ +#define __INT16_TYPE__ short int +#endif +#ifndef __INT_LEAST8_TYPE__ +#define __INT_LEAST8_TYPE__ signed char +#endif +#ifndef __DEC32_MAX_EXP__ +#define __DEC32_MAX_EXP__ 97 +#endif +#ifndef __INT_FAST8_MAX__ +#define __INT_FAST8_MAX__ 0x7f +#endif +#ifndef __INTPTR_MAX__ +#define __INTPTR_MAX__ 0x7fffffffffffffffL +#endif +#ifndef linux +#define linux 1 +#endif +#ifndef __cpp_range_based_for +#define __cpp_range_based_for 200907 +#endif +#ifndef __SSE2__ +#define __SSE2__ 1 +#endif +#ifndef __EXCEPTIONS +#define __EXCEPTIONS 1 +#endif +#ifndef __LDBL_MANT_DIG__ +#define __LDBL_MANT_DIG__ 64 +#endif +#ifndef __DBL_HAS_QUIET_NAN__ +#define __DBL_HAS_QUIET_NAN__ 1 +#endif +#ifndef __SIG_ATOMIC_MIN__ +#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) +#endif +#ifndef __code_model_small__ +#define __code_model_small__ 1 +#endif +#ifndef __cpp_return_type_deduction +#define __cpp_return_type_deduction 201304 +#endif +#ifndef __k8__ +#define __k8__ 1 +#endif +#ifndef __INTPTR_TYPE__ +#define __INTPTR_TYPE__ long int +#endif +#ifndef __UINT16_TYPE__ +#define __UINT16_TYPE__ short unsigned int +#endif +#ifndef __WCHAR_TYPE__ +#define __WCHAR_TYPE__ int +#endif +#ifndef __SIZEOF_FLOAT__ +#define __SIZEOF_FLOAT__ 4 +#endif +#ifndef __pic__ +#define __pic__ 2 +#endif +#ifndef __UINTPTR_MAX__ +#define __UINTPTR_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __DEC64_MIN_EXP__ +#define __DEC64_MIN_EXP__ (-382) +#endif +#ifndef __cpp_decltype +#define __cpp_decltype 200707 +#endif +#ifndef __INT_FAST64_MAX__ +#define __INT_FAST64_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __GCC_ATOMIC_TEST_AND_SET_TRUEVAL +#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 +#endif +#ifndef __FLT_DIG__ +#define __FLT_DIG__ 6 +#endif +#ifndef __UINT_FAST64_TYPE__ +#define __UINT_FAST64_TYPE__ long unsigned int +#endif +#ifndef __INT_MAX__ +#define __INT_MAX__ 0x7fffffff +#endif +#ifndef __amd64__ +#define __amd64__ 1 +#endif +#ifndef __INT64_TYPE__ +#define __INT64_TYPE__ long int +#endif +#ifndef __FLT_MAX_EXP__ +#define __FLT_MAX_EXP__ 128 +#endif +#ifndef __ORDER_BIG_ENDIAN__ +#define __ORDER_BIG_ENDIAN__ 4321 +#endif +#ifndef __DBL_MANT_DIG__ +#define __DBL_MANT_DIG__ 53 +#endif +#ifndef __cpp_inheriting_constructors +#define __cpp_inheriting_constructors 200802 +#endif +#ifndef __SIZEOF_FLOAT128__ +#define __SIZEOF_FLOAT128__ 16 +#endif +#ifndef __INT_LEAST64_MAX__ +#define __INT_LEAST64_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __DEC64_MIN__ +#define __DEC64_MIN__ 1E-383DD +#endif +#ifndef __WINT_TYPE__ +#define __WINT_TYPE__ unsigned int +#endif +#ifndef __UINT_LEAST32_TYPE__ +#define __UINT_LEAST32_TYPE__ unsigned int +#endif +#ifndef __SIZEOF_SHORT__ +#define __SIZEOF_SHORT__ 2 +#endif +#ifndef __SSE__ +#define __SSE__ 1 +#endif +#ifndef __LDBL_MIN_EXP__ +#define __LDBL_MIN_EXP__ (-16381) +#endif +#ifndef __INT_LEAST8_MAX__ +#define __INT_LEAST8_MAX__ 0x7f +#endif +#ifndef __SIZEOF_INT128__ +#define __SIZEOF_INT128__ 16 +#endif +#ifndef __LDBL_MAX_10_EXP__ +#define __LDBL_MAX_10_EXP__ 4932 +#endif +#ifndef __ATOMIC_RELAXED +#define __ATOMIC_RELAXED 0 +#endif +#ifndef __DBL_EPSILON__ +#define __DBL_EPSILON__ double(2.22044604925031308085e-16L) +#endif +#ifndef _LP64 +#define _LP64 1 +#endif +#ifndef __INT_LEAST32_TYPE__ +#define __INT_LEAST32_TYPE__ int +#endif +#ifndef __SIZEOF_WCHAR_T__ +#define __SIZEOF_WCHAR_T__ 4 +#endif +#ifndef __UINT64_TYPE__ +#define __UINT64_TYPE__ long unsigned int +#endif +#ifndef __INT_FAST8_TYPE__ +#define __INT_FAST8_TYPE__ signed char +#endif +#ifndef __GNUC_STDC_INLINE__ +#define __GNUC_STDC_INLINE__ 1 +#endif +#ifndef __DBL_DECIMAL_DIG__ +#define __DBL_DECIMAL_DIG__ 17 +#endif +#ifndef __STDC_UTF_32__ +#define __STDC_UTF_32__ 1 +#endif +#ifndef __FXSR__ +#define __FXSR__ 1 +#endif +#ifndef __DEC_EVAL_METHOD__ +#define __DEC_EVAL_METHOD__ 2 +#endif +#ifndef __cpp_runtime_arrays +#define __cpp_runtime_arrays 198712 +#endif +#ifndef __INTMAX_MAX__ +#define __INTMAX_MAX__ 0x7fffffffffffffffL +#endif +#ifndef __cpp_alias_templates +#define __cpp_alias_templates 200704 +#endif +#ifndef __BYTE_ORDER__ +#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ +#endif +#ifndef __FLT_DENORM_MIN__ +#define __FLT_DENORM_MIN__ 1.40129846432481707092e-45F +#endif +#ifndef __INT8_MAX__ +#define __INT8_MAX__ 0x7f +#endif +#ifndef __PIC__ +#define __PIC__ 2 +#endif +#ifndef __UINT_FAST32_TYPE__ +#define __UINT_FAST32_TYPE__ long unsigned int +#endif +#ifndef __CHAR32_TYPE__ +#define __CHAR32_TYPE__ unsigned int +#endif +#ifndef __FLT_MAX__ +#define __FLT_MAX__ 3.40282346638528859812e+38F +#endif +#ifndef __cpp_constexpr +#define __cpp_constexpr 201304 +#endif +#ifndef __INT32_TYPE__ +#define __INT32_TYPE__ int +#endif +#ifndef __SIZEOF_DOUBLE__ +#define __SIZEOF_DOUBLE__ 8 +#endif +#ifndef __cpp_exceptions +#define __cpp_exceptions 199711 +#endif +#ifndef __INTMAX_TYPE__ +#define __INTMAX_TYPE__ long int +#endif +#ifndef __DEC128_MAX_EXP__ +#define __DEC128_MAX_EXP__ 6145 +#endif +#ifndef __ATOMIC_CONSUME +#define __ATOMIC_CONSUME 1 +#endif +#ifndef __GNUC_MINOR__ +#define __GNUC_MINOR__ 3 +#endif +#ifndef __GLIBCXX_TYPE_INT_N_0 +#define __GLIBCXX_TYPE_INT_N_0 __int128 +#endif +#ifndef __UINTMAX_MAX__ +#define __UINTMAX_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __DEC32_MANT_DIG__ +#define __DEC32_MANT_DIG__ 7 +#endif +#ifndef __DBL_MAX_10_EXP__ +#define __DBL_MAX_10_EXP__ 308 +#endif +#ifndef __LDBL_DENORM_MIN__ +#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L +#endif +#ifndef __cpp_generic_lambdas +#define __cpp_generic_lambdas 201304 +#endif +#ifndef __STDC__ +#define __STDC__ 1 +#endif +#ifndef __PTRDIFF_TYPE__ +#define __PTRDIFF_TYPE__ long int +#endif +#ifndef __ATOMIC_SEQ_CST +#define __ATOMIC_SEQ_CST 5 +#endif +#ifndef __UINT32_TYPE__ +#define __UINT32_TYPE__ unsigned int +#endif +#ifndef __UINTPTR_TYPE__ +#define __UINTPTR_TYPE__ long unsigned int +#endif +#ifndef __DEC64_SUBNORMAL_MIN__ +#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD +#endif +#ifndef __DEC128_MANT_DIG__ +#define __DEC128_MANT_DIG__ 34 +#endif +#ifndef __LDBL_MIN_10_EXP__ +#define __LDBL_MIN_10_EXP__ (-4931) +#endif +#ifndef __SSE_MATH__ +#define __SSE_MATH__ 1 +#endif +#ifndef __SIZEOF_LONG_LONG__ +#define __SIZEOF_LONG_LONG__ 8 +#endif +#ifndef __cpp_user_defined_literals +#define __cpp_user_defined_literals 200809 +#endif +#ifndef __GCC_ATOMIC_LLONG_LOCK_FREE +#define __GCC_ATOMIC_LLONG_LOCK_FREE 2 +#endif +#ifndef __LDBL_DIG__ +#define __LDBL_DIG__ 18 +#endif +#ifndef __FLT_DECIMAL_DIG__ +#define __FLT_DECIMAL_DIG__ 9 +#endif +#ifndef __UINT_FAST16_MAX__ +#define __UINT_FAST16_MAX__ 0xffffffffffffffffUL +#endif +#ifndef __FLT_MIN_10_EXP__ +#define __FLT_MIN_10_EXP__ (-37) +#endif +#ifndef __GCC_ATOMIC_SHORT_LOCK_FREE +#define __GCC_ATOMIC_SHORT_LOCK_FREE 2 +#endif +#ifndef __UINT_FAST8_TYPE__ +#define __UINT_FAST8_TYPE__ unsigned char +#endif +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif +#ifndef __cpp_init_captures +#define __cpp_init_captures 201304 +#endif +#ifndef __ATOMIC_ACQ_REL +#define __ATOMIC_ACQ_REL 4 +#endif +#ifndef __ATOMIC_RELEASE +#define __ATOMIC_RELEASE 3 +#endif +#ifndef NDEBUG +#define NDEBUG 1 +#endif +#ifndef RELEASE +#define RELEASE 1 +#endif +#endif + +// --- Include directories begin --- // +///usr/include/c++/6 +///usr/include/x86_64-linux-gnu/c++/6 +///usr/include/c++/6/backward +///usr/lib/gcc/x86_64-linux-gnu/6/include +///usr/local/include +///usr/lib/gcc/x86_64-linux-gnu/6/include-fixed +///usr/include/x86_64-linux-gnu +///usr/include +// --- Include directories end --- // + + +// --- Library directories begin --- // +///usr/lib/gcc/x86_64-linux-gnu/6/ +///usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/ +///usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib/ +///lib/x86_64-linux-gnu/ +///lib/../lib/ +///usr/lib/x86_64-linux-gnu/ +///usr/lib/../lib/ +///usr/lib/gcc/x86_64-linux-gnu/6/../../../ +///lib/ +///usr/lib/ +// --- Library directories begin --- // + +#pragma clang diagnostic pop diff --git a/visualstudio/knx-linux-Debug.vgdbsettings b/knx-linux/knx-linux-Debug.vgdbsettings similarity index 73% rename from visualstudio/knx-linux-Debug.vgdbsettings rename to knx-linux/knx-linux-Debug.vgdbsettings index 8b32dfc..b58b78f 100644 --- a/visualstudio/knx-linux-Debug.vgdbsettings +++ b/knx-linux/knx-linux-Debug.vgdbsettings @@ -1,154 +1,177 @@ - - - Debug - - - - RemoteUnix - - - localhost - LinuxSubsystem - Linux - - - false - - localhost - LinuxSubsystem - Linux - - $(ProjectDir) - /home/tkunze/vgdb/knx-linux - - *.cpp - *.h - *.hpp - *.c - *.cc - *.cxx - *.mak - Makefile - *.txt - *.cmake - CMakeLists.txt - *.cmake - - true - true - - true - true - - false - false - false - false - false - $(ProjectDir) - - - - com.sysprogs.toolchain.default-gcc - - 0 - - - knx-linux.vcxproj - 0 - true - - - - - - - - - - - - - Default - - - - true - - - - - True - - true - false - - Enabled - true - true - true - - - - - - false - - - - - - - - - false - false - false - false - false - false - false - false - false - - false - false - false - false - false - false - true - false - None - false - false - main - true - false - false - false - 0 - - - - - - LANG - en_US.UTF-8 - - - - - $(TargetPath) - 2000 - - - false - Local - false - false - Auto - true - false - + + + Debug + + + + RemoteUnix + + + Suzail + SSH + tkunze + + + false + + Suzail + SSH + tkunze + + $(ProjectDir)\.. + /home/tkunze/vgdb/knx-linux + + *.cpp + *.h + *.hpp + *.c + *.cc + *.cxx + *.mak + Makefile + *.txt + *.cmake + CMakeLists.txt + *.cmake + + true + true + + true + true + + Outgoing + false + LocalCache + + + false + false + false + false + false + $(ProjectDir) + + + + com.sysprogs.toolchain.default-gcc + + 0 + + + knx-linux + DEBUG + Debug + knx-linux + + false + + BuildMachine + BuiltinShortcut + + $(ToolchainMake) + $(ToolchainMakeArgs) + $(BuildDir) + + + + false + + BuildMachine + BuiltinShortcut + + $(ToolchainCMake) + $(BuildDir) + + + true + false + false + false + b + + + + + + + + + + + + + Default + + + + true + + + + + True + + true + true + + Enabled + true + true + true + + true + ClangFormat + + + false + + + + + + + + + false + false + false + false + false + false + false + false + false + + false + false + false + false + false + false + true + false + None + false + false + main + true + false + false + false + 0 + + + $(TargetPath) + 2000 + + + false + Local + false + false + Auto + true + false + \ No newline at end of file diff --git a/visualstudio/knx-linux-Release.vgdbsettings b/knx-linux/knx-linux-Release.vgdbsettings similarity index 75% rename from visualstudio/knx-linux-Release.vgdbsettings rename to knx-linux/knx-linux-Release.vgdbsettings index d3e6100..3fbda9e 100644 --- a/visualstudio/knx-linux-Release.vgdbsettings +++ b/knx-linux/knx-linux-Release.vgdbsettings @@ -1,148 +1,160 @@ - - - Release - - - - RemoteUnix - - - localhost - LinuxSubsystem - Linux - - - false - - localhost - LinuxSubsystem - Linux - - $(ProjectDir) - /home/tkunze/vgdb/knx-linux - - *.cpp - *.h - *.hpp - *.c - *.cc - *.cxx - *.mak - Makefile - *.txt - *.cmake - CMakeLists.txt - *.cmake - - true - true - - true - true - - false - false - false - false - false - $(ProjectDir) - - - - com.sysprogs.toolchain.default-gcc - - 0 - - - knx-linux.vcxproj - 0 - true - - - - - - - - - - - - - Default - - - - true - - - - - Unknown - - true - false - - - - - false - - - - - - - - - false - false - false - false - false - false - false - false - false - - false - false - false - false - false - false - true - false - None - false - false - main - true - false - false - false - 0 - - - - - - LANG - en_US.UTF-8 - - - - - $(TargetPath) - 2000 - - - false - Local - false - false - Auto - true - false - + + + Release + + + + RemoteUnix + + + Suzail + SSH + tkunze + + + false + + Suzail + SSH + tkunze + + $(ProjectDir) + /home/tkunze/vgdb + + *.cpp + *.h + *.hpp + *.c + *.cc + *.cxx + *.mak + Makefile + *.txt + *.cmake + CMakeLists.txt + *.cmake + + true + true + true + true + + false + false + false + false + false + $(ProjectDir) + + + + com.sysprogs.toolchain.default-gcc + + 0 + + + + RELWITHDEBINFO + Release + + false + + BuildMachine + BuiltinShortcut + + $(ToolchainMake) + $(ToolchainMakeArgs) + $(BuildDir) + + + + false + + BuildMachine + BuiltinShortcut + + $(ToolchainCMake) + + + true + false + false + false + b + + + + + + + + + + + + + Default + + + + true + + + + Unknown + + true + true + true + + + + false + + + + + + + false + false + false + false + false + false + false + false + false + + false + false + false + false + false + false + true + false + None + false + false + main + true + false + false + false + 0 + + + $(TargetPath) + 2000 + + + false + Local + false + false + Auto + true + false + \ No newline at end of file diff --git a/knx-linux/knx-linux.vcxproj b/knx-linux/knx-linux.vcxproj new file mode 100644 index 0000000..1470801 --- /dev/null +++ b/knx-linux/knx-linux.vcxproj @@ -0,0 +1,144 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + 16.0 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61} + + + + Makefile + true + v142 + + + Makefile + false + v142 + + + com.sysprogs.toolchain.default-gcc + + + + + + + + + + + + + + + + + + $(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include\c++\6;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include\x86_64-linux-gnu\c++\6;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include\c++\6\backward;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0003\include;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0005\include;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0004\include-fixed;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include\x86_64-linux-gnu;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include;$(NMakeIncludeSearchPath) + $(ProjectDir)\gcc_Debug.h;$(VISUALGDB_DIR)\gcc_compat.h;$(NMakeForcedIncludes) + "$(VISUALGDB_DIR)\VisualGDB.exe" /build "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)" + "$(VISUALGDB_DIR)\VisualGDB.exe" /clean "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)" + "$(VISUALGDB_DIR)\VisualGDB.exe" /rebuild "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)" + $(ProjectDir)knx-linux-Debug.vgdbsettings + + + + __VisualGDB_CFG_Debug;$(NMakePreprocessorDefinitions) + + + $(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include\c++\6;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include\x86_64-linux-gnu\c++\6;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include\c++\6\backward;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0003\include;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0005\include;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0004\include-fixed;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include\x86_64-linux-gnu;$(LOCALAPPDATA)\VisualGDB\RemoteSourceCache\Suzail\0000\include;$(NMakeIncludeSearchPath) + $(ProjectDir)\gcc_Release.h;$(VISUALGDB_DIR)\gcc_compat.h;$(NMakeForcedIncludes) + __VisualGDB_CFG_Release;$(NMakePreprocessorDefinitions) + "$(VISUALGDB_DIR)\VisualGDB.exe" /build "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)" + "$(VISUALGDB_DIR)\VisualGDB.exe" /clean "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)" + "$(VISUALGDB_DIR)\VisualGDB.exe" /rebuild "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)" + $(ProjectDir)knx-linux-Release.vgdbsettings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/visualstudio/knx-linux.vcxproj.filters b/knx-linux/knx-linux.vcxproj.filters similarity index 91% rename from visualstudio/knx-linux.vcxproj.filters rename to knx-linux/knx-linux.vcxproj.filters index aeedfa7..fd7a629 100644 --- a/visualstudio/knx-linux.vcxproj.filters +++ b/knx-linux/knx-linux.vcxproj.filters @@ -1,220 +1,221 @@ - - - - - {7612a532-0bb6-4a82-917a-48cfa6410e4f} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {842f6d29-354f-47a8-bfd9-0fccf0ddf144} - h;hpp;hxx;hm;inl;inc;xsd - - - {c46b2f8f-4105-4638-af5c-09a641257065} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - {c818187b-4f9f-4ee9-86c3-d26e56e49bf9} - *.vgdbsettings - - - {169b6f5b-b022-4422-ace2-819bf2f5e883} - - - {4054619f-7b60-405c-96e8-311c464cf8de} - - - - - - VisualGDB settings - - - VisualGDB settings - - - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - Header files\knx - - - - - Source files\knx - - - Source files - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - - Source files\knx - - + + + + + {29de078d-e84a-4e6d-92cb-26384b285546} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {d598f99b-b8fc-4ed9-8a7e-0a047e95dd6a} + h;hpp;hxx;hm;inl;inc;xsd + + + {ca59d480-df76-48f4-984e-06d3c358cbc3} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + {b4d51fcc-4baa-41f7-a703-7beb0174c220} + + + {3dbcfef7-ce75-49d5-bb03-d72ec2dd20bd} + + + {726bfac3-c98a-4508-9595-11dab7ffc9d0} + + + + + Source files + + + VisualGDB settings + + + VisualGDB settings + + + + + Header files + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + Header files\knx + + + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files\knx + + + Source files + + + Source files + + \ No newline at end of file diff --git a/src/knx/table_object.cpp b/src/knx/table_object.cpp index 65d7446..f561985 100644 --- a/src/knx/table_object.cpp +++ b/src/knx/table_object.cpp @@ -102,7 +102,10 @@ uint8_t* TableObject::restore(uint8_t* buffer) if (_data) _platform.freeMemory(_data); - _data = _platform.allocMemory(_size); + if (_size > 0) + _data = _platform.allocMemory(_size); + else + _data = 0; buffer = popByteArray(_data, _size, buffer); diff --git a/src/knx_facade.cpp b/src/knx_facade.cpp index 0cb0db5..e43ff87 100644 --- a/src/knx_facade.cpp +++ b/src/knx_facade.cpp @@ -9,8 +9,8 @@ Bau57B0 bau(platform); #endif KnxFacade knx(bau); -void buttonUp() -{ +void buttonUp() +{ if (knx.progMode()) { digitalWrite(knx.ledPin(), LOW); @@ -23,7 +23,7 @@ void buttonUp() } } -KnxFacade::KnxFacade(BauSystemB& bau) : _bau(bau) +KnxFacade::KnxFacade(BauSystemB& bau) : _bau(bau) { manufacturerId(0xfa); _bau.addSaveRestore(this); @@ -116,12 +116,12 @@ void KnxFacade::version(uint16_t value) void KnxFacade::start() { - pinMode(_ledPin, OUTPUT); - - pinMode(_buttonPin, INPUT_PULLUP); - - attachInterrupt(_buttonPin, buttonUp, RISING); - enabled(true); + pinMode(_ledPin, OUTPUT); + + pinMode(_buttonPin, INPUT_PULLUP); + + attachInterrupt(_buttonPin, buttonUp, RISING); + enabled(true); } uint8_t* KnxFacade::paramData(uint32_t addr) diff --git a/src/linux_platform.h b/src/linux_platform.h index af9c98c..90b98d0 100644 --- a/src/linux_platform.h +++ b/src/linux_platform.h @@ -8,6 +8,7 @@ class LinuxPlatform: public Platform { using Platform::_memoryReference; + using Platform::memoryReference; public: LinuxPlatform(); diff --git a/src/main.cpp b/src/main.cpp index 624259b..0afddd5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -15,10 +15,10 @@ float maxValue = 0; float minValue = RAND_MAX; long lastsend = 0; -#define CURR bau.groupObjectTable().get(0) -#define MAX bau.groupObjectTable().get(1) -#define MIN bau.groupObjectTable().get(2) -#define RESET bau.groupObjectTable().get(3) +#define CURR bau.groupObjectTable().get(1) +#define MAX bau.groupObjectTable().get(2) +#define MIN bau.groupObjectTable().get(3) +#define RESET bau.groupObjectTable().get(4) void measureTemp() { @@ -31,6 +31,7 @@ void measureTemp() currentValue = (r * 1.0) / (RAND_MAX * 1.0); currentValue *= 100 * 100; + CURR.objectWrite(currentValue); if (currentValue > maxValue) diff --git a/visualstudio/knx-linux.vcxproj b/visualstudio/knx-linux.vcxproj deleted file mode 100644 index 68fb0b5..0000000 --- a/visualstudio/knx-linux.vcxproj +++ /dev/null @@ -1,132 +0,0 @@ - - - - - Debug - VisualGDB - - - Release - VisualGDB - - - - 15.0 - {819E55F9-05A8-454D-B771-4A99F775DD87} - - - - - GCC - - - - GCC - - - com.sysprogs.toolchain.default-gcc - - - - - - - - - - - - localhost-lxss - - - localhost-lxss - - - - /usr/include/x86_64-linux-gnu;%(ClCompile.AdditionalIncludeDirectories) - - - - - - - - /usr/include/x86_64-linux-gnu;%(ClCompile.AdditionalIncludeDirectories) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/visualstudio/knx.sln b/visualstudio/knx.sln index bdca709..6ccb7cb 100644 --- a/visualstudio/knx.sln +++ b/visualstudio/knx.sln @@ -1,9 +1,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 -VisualStudioVersion = 15.0.28010.2050 +VisualStudioVersion = 15.0.28307.572 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "knx-linux", "knx-linux.vcxproj", "{819E55F9-05A8-454D-B771-4A99F775DD87}" -EndProject Project("{803FD0C6-D64E-4E16-9DC3-1DAEC859A3D2}") = "knx-bme680", "knx-bme680.vgdbproj", "{58AFEECD-06E2-4BB7-A13F-E1D5DBAED13F}" EndProject Project("{803FD0C6-D64E-4E16-9DC3-1DAEC859A3D2}") = "knx-demo", "knx-demo.vgdbproj", "{6165CD6A-91A4-49FA-977A-48F22086CA8E}" @@ -14,6 +12,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "knxPython", "..\knxPython\k EndProject Project("{803FD0C6-D64E-4E16-9DC3-1DAEC859A3D2}") = "knx-sonoffS20", "knx-sonoffS20.vgdbproj", "{3DB3061B-09A3-4C8B-A197-CBEEB3336437}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "knx-linux", "..\knx-linux\knx-linux.vcxproj", "{456D87B3-1DFE-4724-BDEF-17E0FDB55A61}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Arduino Genuino Zero (Native USB Port) = Debug|Arduino Genuino Zero (Native USB Port) @@ -42,44 +42,6 @@ Global RelWithDebInfo|x86 = RelWithDebInfo|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {819E55F9-05A8-454D-B771-4A99F775DD87}.Debug|Arduino Genuino Zero (Native USB Port).ActiveCfg = Debug|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Debug|Mixed.ActiveCfg = Debug|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Debug|NodeMCU_1 0_(ESP-12E_Module).ActiveCfg = Debug|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Debug|VisualGDB.Build.0 = Debug|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Debug|x64.ActiveCfg = Debug|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Debug|x86.ActiveCfg = Debug|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|Arduino Genuino Zero (Native USB Port).ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|Arduino Genuino Zero (Native USB Port).Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|Mixed.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|Mixed.Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|NodeMCU_1 0_(ESP-12E_Module).ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|NodeMCU_1 0_(ESP-12E_Module).Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|VisualGDB.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|VisualGDB.Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|x64.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|x64.Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|x86.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.MinSizeRel|x86.Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Release|Arduino Genuino Zero (Native USB Port).ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Release|Mixed.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Release|NodeMCU_1 0_(ESP-12E_Module).ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Release|VisualGDB.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Release|VisualGDB.Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Release|x64.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.Release|x86.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|Arduino Genuino Zero (Native USB Port).ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|Arduino Genuino Zero (Native USB Port).Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|Mixed.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|Mixed.Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|NodeMCU_1 0_(ESP-12E_Module).ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|NodeMCU_1 0_(ESP-12E_Module).Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|VisualGDB.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|VisualGDB.Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|x64.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|x64.Build.0 = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|x86.ActiveCfg = Release|VisualGDB - {819E55F9-05A8-454D-B771-4A99F775DD87}.RelWithDebInfo|x86.Build.0 = Release|VisualGDB {58AFEECD-06E2-4BB7-A13F-E1D5DBAED13F}.Debug|Arduino Genuino Zero (Native USB Port).ActiveCfg = Debug|Arduino Genuino Zero (Native USB Port) {58AFEECD-06E2-4BB7-A13F-E1D5DBAED13F}.Debug|Arduino Genuino Zero (Native USB Port).Build.0 = Debug|Arduino Genuino Zero (Native USB Port) {58AFEECD-06E2-4BB7-A13F-E1D5DBAED13F}.Debug|Mixed.ActiveCfg = Debug|NodeMCU_1 0_(ESP-12E_Module) @@ -277,6 +239,44 @@ Global {3DB3061B-09A3-4C8B-A197-CBEEB3336437}.RelWithDebInfo|x64.Build.0 = Release|Generic ESP8266 Module {3DB3061B-09A3-4C8B-A197-CBEEB3336437}.RelWithDebInfo|x86.ActiveCfg = Release|Generic ESP8266 Module {3DB3061B-09A3-4C8B-A197-CBEEB3336437}.RelWithDebInfo|x86.Build.0 = Release|Generic ESP8266 Module + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Debug|Arduino Genuino Zero (Native USB Port).ActiveCfg = Debug|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Debug|Mixed.ActiveCfg = Debug|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Debug|NodeMCU_1 0_(ESP-12E_Module).ActiveCfg = Debug|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Debug|VisualGDB.ActiveCfg = Debug|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Debug|x64.ActiveCfg = Debug|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Debug|x86.ActiveCfg = Debug|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Debug|x86.Build.0 = Debug|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|Arduino Genuino Zero (Native USB Port).ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|Arduino Genuino Zero (Native USB Port).Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|Mixed.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|Mixed.Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|NodeMCU_1 0_(ESP-12E_Module).ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|NodeMCU_1 0_(ESP-12E_Module).Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|VisualGDB.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|VisualGDB.Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|x64.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|x64.Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|x86.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.MinSizeRel|x86.Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Release|Arduino Genuino Zero (Native USB Port).ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Release|Mixed.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Release|NodeMCU_1 0_(ESP-12E_Module).ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Release|VisualGDB.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Release|x64.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Release|x86.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.Release|x86.Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|Arduino Genuino Zero (Native USB Port).ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|Arduino Genuino Zero (Native USB Port).Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|Mixed.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|Mixed.Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|NodeMCU_1 0_(ESP-12E_Module).ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|NodeMCU_1 0_(ESP-12E_Module).Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|VisualGDB.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|VisualGDB.Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|x64.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|x64.Build.0 = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|x86.ActiveCfg = Release|Win32 + {456D87B3-1DFE-4724-BDEF-17E0FDB55A61}.RelWithDebInfo|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE