Forum Replies Created
-
AuthorPosts
-
oto313Participant
Ok thanks I will wait for next release. Hope it will be soon.
oto313ParticipantHi,
I have problem when I switch to c++2a. It says for example “Error: unknown type name “‘BulkMotorSettings’; did you mean ‘std::BulkMotorSettings'” see attachment. For every type included from another file it says “Error: unknown type name ‘Class’; did you mean ‘std::Class”. When I switch back to c++17 it works as expected. Do you know where could be a problem? The project is compile successfully with c++17 and with c++2a. There is problem only with intellisense
Thanks
Attachments:
You must be logged in to view attached files.oto313ParticipantYeah in previous message I wrote that I figured it out. But even with correct clang format it does not work. The correct clang format in the attachment
Attachments:
You must be logged in to view attached files.oto313ParticipantI noticed that there was some error
[+0:18:05.330] Starting operation: Determining code formatting settings for C:\Users\otodu\Downloads\VisualGdbTest\VisualGdbTest.cpp
[+0:18:05.331] Error HRESULT E_FAIL has been returned from a call to a COM component. while trying load C:\Users\otodu\Downloads\VisualGdbTest\.clang-format
[+0:18:05.331] Stack trace:
[+0:18:05.331] Server stack trace:
[+0:18:05.331] at hs2.c(Byte[] b, Int32 a)
[+0:18:05.331] at sj3.d(String a)[+0:18:05.331] at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
[+0:18:05.331] at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
[+0:18:05.331] Exception rethrown at [0]:
[+0:18:05.331] at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
[+0:18:05.331] at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
[+0:18:05.331] at sj3.d(String a)
[+0:18:05.331] at wn1.t4.a()
[+0:18:05.331] Operation completed: Determining code formatting settings for C:\Users\otodu\Downloads\VisualGdbTest\VisualGdbTest.cpp [0 msec]Maybe there should be some warning that it cannot load .clang-format file
But even if i provide correct clang format file intellisense does not apply formatting settings from there
[+0:18:05.329] Indentation size: 3, will insert spaces
for example it uses indentation size 3 instead 2
Attachments:
You must be logged in to view attached files.oto313ParticipantImgur: The magic of the Internet
There are videos of all steps. I used a xbox gamebar on windows and it cannot record across multiple windows so its splitted into multiple videos. Used clang format is in the attachment.
There is some inconsistencies that the intellisense formatting does not use clang format rules. But format document works properly.
Thanks for help
Attachments:
You must be logged in to view attached files.oto313Participantoto313ParticipantBut I have targets that have only header files. I cannot create object library without source files.
oto313ParticipantHi, I tried freertos analysis on another project after some time. Now it is complaining about similar problem I guess. But I have linked ProfilerRTOS_FreeRTOS.c and used macro USE_FREERTOS
It says that
System.Exception: tskTaskControlBlock does not contain a member called pcTaskName
at c..ctor(String c, j a, Boolean d, DebugInfoBinding[] b)
at yj1..ctor(String b, EmbeddedDynamicAnalysisSettings a, String h, nj2 d, b g, j e, EmbeddedRTOSProfile f, Dictionary`2 c)
at si1.l()
at si1.h1_2(DebugCustomizationSettings a)
at xi1.l()
at rt1.c_2()
at VisualGDB.GDBDebugEngine.j1(nc b, z a)In embedded memory explorer I even see tskTaskControlBlock_pcTaskName_Offset variable. Where could be a problem?
Thanks.
oto313ParticipantOk now it shows
Debugging failed
Could not find tskTaskControlBlock_pcTaskName_Offset in o32
Exception details:
System.Exception: Could not find tskTaskControlBlock_pcTaskName_Offset in o32
at v12.g(String e, String b, c c, String f, h a, a d)
at cw1..ctor(String g, EmbeddedDynamicAnalysisSettings c, String a, qx d, c e, b921 f, EmbeddedRTOSProfile b, Dictionary
2 h)
at ig1.b1()
at ig1.x_2(DebugCustomizationSettings a)
at i11.f()
at VisualGDB.GDBDebugEngine.t1(ss1 a, m b)Thanks for response
oto313ParticipantHello, I have the same problem. I set flags like bfessler, but it still shows me the error related to anonymous struct members. It does not pass flags from settings. There is no -fms-extensions flag. I have CMake project.
–target=arm -mfloat-abi=soft -DHARDWARE_TYPE=HT_UNIVERSAL_BOARD -DHARDWARE_VERSION=2 -DSTM32L432KC -DSTM32L432xx -DSTM32L4xx -DDEBUG -D__SYSPROGS_CODESENSE__ -include C:\Program Files (x86)\Sysprogs\VisualGDB\gcc_compat.h -I C:\my\projects\Ris\src\Rac\interaction_devices\color_sensor\include -I C:\my\projects\Ris\src\Rac\interaction_devices\common\include -I C:\my\projects\Ris\src\Rac\interaction_devices\color_sensor -I C:\my\projects\Ris\src\Rac\library\third_party\freertos\Source\include -I C:\my\projects\Ris\src\Rac\library\third_party\freertos\Source\portable\GCC\ARM_CM4F -I C:\my\projects\Ris\src\Rac\library\third_party\freertos\Source\CMSIS_RTOS -I C:\my\projects\Ris\src\Rac\interaction_devices\common\include\freertos -I C:\my\projects\Ris\src\Rac\library\drivers\STM32L432KC\STM32L4xx_HAL_Driver\Inc -I C:\my\projects\Ris\src\Rac\library\drivers\STM32L432KC\CMSIS\Include -I C:\my\projects\Ris\src\Rac\library\drivers\STM32L432KC\CMSIS\Device\ST\STM32L4xx\Include -I C:\my\projects\Ris\src\Rac\library\drivers\STM32L432KC\include -I C:\my\projects\Ris\src\Rac\library\rac\include -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -Wall -std=gnu11 -Wl,-q -D__DBL_MIN_EXP__=(-1021) -D__HQ_FBIT__=15 -D__FLT32X_MAX_EXP__=1024 -D__UINT_LEAST16_MAX__=0xffff -D__ARM_SIZEOF_WCHAR_T=4 -D__ATOMIC_ACQUIRE=2 -D__SFRACT_IBIT__=0 -D__FLT_MIN__=1.1754943508222875e-38F -D__GCC_IEC_559_COMPLEX=0 -D__UFRACT_MAX__=0XFFFFP-16UR -D__UINT_LEAST8_TYPE__=unsigned char -D__DQ_FBIT__=63 -D__ARM_FEATURE_SAT=1 -D__ULFRACT_FBIT__=32 -D__SACCUM_EPSILON__=0x1P-7HK -D__CHAR_BIT__=8 -D__USQ_IBIT__=0 -D__UINT8_MAX__=0xff -D__ACCUM_FBIT__=15 -D__WINT_MAX__=0xffffffffU -D__FLT32_MIN_EXP__=(-125) -D__USFRACT_FBIT__=8 -D__ORDER_LITTLE_ENDIAN__=1234 -D__SIZE_MAX__=0xffffffffU -D__WCHAR_MAX__=0xffffffffU -D__LACCUM_IBIT__=32 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 -D__DBL_DENORM_MIN__=((double)4.9406564584124654e-324L) -D__GCC_ATOMIC_CHAR_LOCK_FREE=2 -D__GCC_IEC_559=0 -D__FLT32X_DECIMAL_DIG__=17 -D__FLT_EVAL_METHOD__=0 -D__LLACCUM_MAX__=0X7FFFFFFFFFFFFFFFP-31LLK -D__FLT64_DECIMAL_DIG__=17 -D__GCC_ATOMIC_CHAR32_T_LOCK_FREE=2 -D__FRACT_FBIT__=15 -D__UINT_FAST64_MAX__=0xffffffffffffffffULL -D__SIG_ATOMIC_TYPE__=int -D__UACCUM_FBIT__=16 -D__DBL_MIN_10_EXP__=(-307) -D__FINITE_MATH_ONLY__=0 -D__ARMEL__=1 -D__ARM_FEATURE_UNALIGNED=1 -D__LFRACT_IBIT__=0 -D__GNUC_PATCHLEVEL__=0 -D__FLT32_HAS_DENORM__=1 -D__LFRACT_MAX__=0X7FFFFFFFP-31LR -D__UINT_FAST8_MAX__=0xffffffffU -D__DEC64_MAX_EXP__=385 -D__INT_LEAST8_WIDTH__=8 -D__UINT_LEAST64_MAX__=0xffffffffffffffffULL -D__SA_FBIT__=15 -D__SHRT_MAX__=0x7fff -D__LDBL_MAX__=1.7976931348623157e+308L -D__ARM_FEATURE_IDIV=1 -D__FRACT_MAX__=0X7FFFP-15R -D__thumb2__=1 -D__UFRACT_FBIT__=16 -D__ARM_FP=4 -D__UFRACT_MIN__=0.0UR -D__UINT_LEAST8_MAX__=0xff -D__GCC_ATOMIC_BOOL_LOCK_FREE=2 -D__UINTMAX_TYPE__=long long unsigned int -D__LLFRACT_EPSILON__=0x1P-63LLR -D__DEC32_EPSILON__=1E-6DF -D__FLT_EVAL_METHOD_TS_18661_3__=0 -D__CHAR_UNSIGNED__=1 -D__UINT32_MAX__=0xffffffffUL -D__ULFRACT_MAX__=0XFFFFFFFFP-32ULR -D__TA_IBIT__=64 -D__LDBL_MAX_EXP__=1024 -D__WINT_MIN__=0U -D__ARM_ASM_SYNTAX_UNIFIED__=1 -D__INT_LEAST16_WIDTH__=16 -D__ULLFRACT_MIN__=0.0ULLR -D__SCHAR_MAX__=0x7f -D__WCHAR_MIN__=0U -D__DBL_DIG__=15 -D__GCC_ATOMIC_POINTER_LOCK_FREE=2 -D__LLACCUM_MIN__=(-0X1P31LLK-0X1P31LLK) -D__SIZEOF_INT__=4 -D__SIZEOF_POINTER__=4 -D__USACCUM_IBIT__=8 -D__USER_LABEL_PREFIX__ -D__STDC_HOSTED__=1 -D__LDBL_HAS_INFINITY__=1 -D__LFRACT_MIN__=(-0.5LR-0.5LR) -D__HA_IBIT__=8 -D__FLT32_DIG__=6 -D__TQ_IBIT__=0 -D__FLT_EPSILON__=1.1920928955078125e-7F -D__APCS_32__=1 -D__SHRT_WIDTH__=16 -D__USFRACT_IBIT__=0 -D__LDBL_MIN__=2.2250738585072014e-308L -D__STDC_UTF_16__=1 -D__FRACT_MIN__=(-0.5R-0.5R) -D__DEC32_MAX__=9.999999E96DF -D__DA_IBIT__=32 -D__ARM_SIZEOF_MINIMAL_ENUM=1 -D__FLT32X_HAS_INFINITY__=1 -D__INT32_MAX__=0x7fffffffL -D__UQQ_FBIT__=8 -D__INT_WIDTH__=32 -D__SIZEOF_LONG__=4 -D__UACCUM_MAX__=0XFFFFFFFFP-16UK -D__PTRDIFF_WIDTH__=32 -D__DECIMAL_DIG__=17 -D__LFRACT_EPSILON__=0x1P-31LR -D__FLT64_EPSILON__=2.2204460492503131e-16F64 -D__ULFRACT_MIN__=0.0ULR -D__INTMAX_WIDTH__=64 -D__ARM_PCS_VFP=1 -D__LDBL_HAS_QUIET_NAN__=1 -D__ULACCUM_IBIT__=32 -D__FLT64_MANT_DIG__=53 -D__UACCUM_EPSILON__=0x1P-16UK -D__GNUC__=7 -D__ULLACCUM_MAX__=0XFFFFFFFFFFFFFFFFP-32ULLK -D__HQ_IBIT__=0 -D__FLT_HAS_DENORM__=1 -D__SIZEOF_LONG_DOUBLE__=8 -D__BIGGEST_ALIGNMENT__=8 -D__FLT64_MAX_10_EXP__=308 -D__GNUC_STDC_INLINE__=1 -D__DQ_IBIT__=0 -D__DBL_MAX__=((double)1.7976931348623157e+308L) -D__ULFRACT_IBIT__=0 -D__INT_FAST32_MAX__=0x7fffffff -D__DBL_HAS_INFINITY__=1 -D__ACCUM_IBIT__=16 -D__DEC32_MIN_EXP__=(-94) -D__THUMB_INTERWORK__=1 -D__INTPTR_WIDTH__=32 -D__LACCUM_MAX__=0X7FFFFFFFFFFFFFFFP-31LK -D__FLT32X_HAS_DENORM__=1 -D__INT_FAST16_TYPE__=int -D__LDBL_HAS_DENORM__=1 -D__ARM_FEATURE_LDREX=7 -D__DEC128_MAX__=9.999999999999999999999999999999999E6144DL -D__INT_LEAST32_MAX__=0x7fffffffL -D__DEC32_MIN__=1E-95DF -D__ACCUM_MAX__=0X7FFFFFFFP-15K -D__DBL_MAX_EXP__=1024 -D__USACCUM_EPSILON__=0x1P-8UHK -D__WCHAR_WIDTH__=32 -D__FLT32_MAX__=3.4028234663852886e+38F32 -D__DEC128_EPSILON__=1E-33DL -D__SFRACT_MAX__=0X7FP-7HR -D__FRACT_IBIT__=0 -D__PTRDIFF_MAX__=0x7fffffff -D__UACCUM_MIN__=0.0UK -D__UACCUM_IBIT__=16 -D__FLT32_HAS_QUIET_NAN__=1 -D__LONG_LONG_MAX__=0x7fffffffffffffffLL -D__SIZEOF_SIZE_T__=4 -D__ULACCUM_MAX__=0XFFFFFFFFFFFFFFFFP-32ULK -D__SIZEOF_WINT_T__=4 -D__LONG_LONG_WIDTH__=64 -D__FLT32_MAX_EXP__=128 -D__SA_IBIT__=16 -D__ULLACCUM_MIN__=0.0ULLK -D__GXX_ABI_VERSION=1011 -D__UTA_FBIT__=64 -D__FLT_MIN_EXP__=(-125) -D__USFRACT_MAX__=0XFFP-8UHR -D__UFRACT_IBIT__=0 -D__ARM_FEATURE_QBIT=1 -D__INT_FAST64_TYPE__=long long int -D__FP_FAST_FMAF=1 -D__FLT64_DENORM_MIN__=4.9406564584124654e-324F64 -D__DBL_MIN__=((double)2.2250738585072014e-308L) -D__FLT32X_EPSILON__=2.2204460492503131e-16F32x -D__FLT64_MIN_EXP__=(-1021) -D__LACCUM_MIN__=(-0X1P31LK-0X1P31LK) -D__ULLACCUM_FBIT__=32 -D__GXX_TYPEINFO_EQUALITY_INLINE=0 -D__FLT64_MIN_10_EXP__=(-307) -D__ULLFRACT_EPSILON__=0x1P-64ULLR -D__USES_INITFINI__=1 -D__DEC128_MIN__=1E-6143DL -D__REGISTER_PREFIX__ -D__UINT16_MAX__=0xffff -D__DBL_HAS_DENORM__=1 -D__ACCUM_MIN__=(-0X1P15K-0X1P15K) -D__SQ_IBIT__=0 -D__FLT32_MIN__=1.1754943508222875e-38F32 -D__UINT8_TYPE__=unsigned char -D__UHA_FBIT__=8 -D__NO_INLINE__=1 -D__SFRACT_MIN__=(-0.5HR-0.5HR) -D__UTQ_FBIT__=128 -D__FLT_MANT_DIG__=24 -D__LDBL_DECIMAL_DIG__=17 -D__VERSION__=”7.2.0″ -D__ULLFRACT_FBIT__=64 -D__FRACT_EPSILON__=0x1P-15R -D__ULACCUM_MIN__=0.0ULK -D__UDA_FBIT__=32 -D__LLACCUM_EPSILON__=0x1P-31LLK -D__ARM_FEATURE_FMA=1 -D__GCC_ATOMIC_INT_LOCK_FREE=2 -D__FLT32_MANT_DIG__=24 -D__FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__ -D__USFRACT_MIN__=0.0UHR -D__UQQ_IBIT__=0 -D__SCHAR_WIDTH__=8 -D__DEC64_EPSILON__=1E-15DD -D__ORDER_PDP_ENDIAN__=3412 -D__DEC128_MIN_EXP__=(-6142) -D__UHQ_FBIT__=16 -D__LLACCUM_FBIT__=31 -D__FLT32_MAX_10_EXP__=38 -D__INT_FAST32_TYPE__=int -D__UINT_LEAST16_TYPE__=short unsigned int -D__INT16_MAX__=0x7fff -D__SIZE_TYPE__=unsigned int -D__UINT64_MAX__=0xffffffffffffffffULL -D__UDQ_FBIT__=64 -D__INT8_TYPE__=signed char -D__thumb__=1 -D__ELF__=1 -D__ULFRACT_EPSILON__=0x1P-32ULR -D__LLFRACT_FBIT__=63 -D__FLT_RADIX__=2 -D__INT_LEAST16_TYPE__=short int -D__ARM_ARCH_PROFILE=77 -D__LDBL_EPSILON__=2.2204460492503131e-16L -D__SACCUM_MAX__=0X7FFFP-7HK -D__SIG_ATOMIC_MAX__=0x7fffffff -D__GCC_ATOMIC_WCHAR_T_LOCK_FREE=2 -D__VFP_FP__=1 -D__SIZEOF_PTRDIFF_T__=4 -D__FLT32X_MANT_DIG__=53 -D__LACCUM_EPSILON__=0x1P-31LK -D__FLT32X_MIN_EXP__=(-1021) -D__DEC32_SUBNORMAL_MIN__=0.000001E-95DF -D__INT_FAST16_MAX__=0x7fffffff -D__FLT64_DIG__=15 -D__UINT_FAST32_MAX__=0xffffffffU -D__UINT_LEAST64_TYPE__=long long unsigned int -D__USACCUM_MAX__=0XFFFFP-8UHK -D__SFRACT_EPSILON__=0x1P-7HR -D__FLT_HAS_QUIET_NAN__=1 -D__FLT_MAX_10_EXP__=38 -D__LONG_MAX__=0x7fffffffL -D__DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL -D__FLT_HAS_INFINITY__=1 -D__USA_FBIT__=16 -D__UINT_FAST16_TYPE__=unsigned int -D__DEC64_MAX__=9.999999999999999E384DD -D__ARM_32BIT_STATE=1 -D__INT_FAST32_WIDTH__=32 -D__CHAR16_TYPE__=short unsigned int -D__PRAGMA_REDEFINE_EXTNAME=1 -D__SIZE_WIDTH__=32 -D__INT_LEAST16_MAX__=0x7fff -D__DEC64_MANT_DIG__=16 -D__INT64_MAX__=0x7fffffffffffffffLL -D__UINT_LEAST32_MAX__=0xffffffffUL -D__SACCUM_FBIT__=7 -D__FLT32_DENORM_MIN__=1.4012984643248171e-45F32 -D__GCC_ATOMIC_LONG_LOCK_FREE=2 -D__SIG_ATOMIC_WIDTH__=32 -D__INT_LEAST64_TYPE__=long long int -D__ARM_FEATURE_CLZ=1 -D__INT16_TYPE__=short int -D__INT_LEAST8_TYPE__=signed char -D__STDC_VERSION__=201112L -D__SQ_FBIT__=31 -D__DEC32_MAX_EXP__=97 -D__ARM_ARCH_ISA_THUMB=2 -D__INT_FAST8_MAX__=0x7fffffff -D__ARM_ARCH=7 -D__INTPTR_MAX__=0x7fffffff -D__QQ_FBIT__=7 -D__UTA_IBIT__=64 -D__FLT64_HAS_QUIET_NAN__=1 -D__FLT32_MIN_10_EXP__=(-37) -D__FLT32X_DIG__=15 -D__LDBL_MANT_DIG__=53 -D__SFRACT_FBIT__=7 -D__SACCUM_MIN__=(-0X1P7HK-0X1P7HK) -D__DBL_HAS_QUIET_NAN__=1 -D__FLT64_HAS_INFINITY__=1 -D__SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ – 1) -D__INTPTR_TYPE__=int -D__UINT16_TYPE__=short unsigned int -D__WCHAR_TYPE__=unsigned int -D__SIZEOF_FLOAT__=4 -D__THUMBEL__=1 -D__USQ_FBIT__=32 -D__UINTPTR_MAX__=0xffffffffU -D__INT_FAST64_WIDTH__=64 -D__DEC64_MIN_EXP__=(-382) -D__ULLACCUM_IBIT__=32 -D__FLT32_DECIMAL_DIG__=9 -D__INT_FAST64_MAX__=0x7fffffffffffffffLL -D__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1 -D__FLT_DIG__=6 -D__FLT32_HAS_INFINITY__=1 -D__UINT_FAST64_TYPE__=long long unsigned int -D__INT_MAX__=0x7fffffff -D__LACCUM_FBIT__=31 -D__USACCUM_MIN__=0.0UHK -D__UHA_IBIT__=8 -D__INT64_TYPE__=long long int -D__FLT_MAX_EXP__=128 -D__UTQ_IBIT__=0 -D__DBL_MANT_DIG__=53 -D__INT_LEAST64_MAX__=0x7fffffffffffffffLL -D__GCC_ATOMIC_CHAR16_T_LOCK_FREE=2 -D__DEC64_MIN__=1E-383DD -D__WINT_TYPE__=unsigned int -D__UINT_LEAST32_TYPE__=long unsigned int -D__SIZEOF_SHORT__=2 -D__ULLFRACT_IBIT__=0 -D__LDBL_MIN_EXP__=(-1021) -D__arm__=1 -D__FLT64_MAX__=1.7976931348623157e+308F64 -D__UDA_IBIT__=32 -D__WINT_WIDTH__=32 -D__INT_LEAST8_MAX__=0x7f -D__FLT32X_MAX_10_EXP__=308 -D__LFRACT_FBIT__=31 -D__LDBL_MAX_10_EXP__=308 -D__ATOMIC_RELAXED=0 -D__DBL_EPSILON__=((double)2.2204460492503131e-16L) -D__ARM_ARCH_7EM__=1 -D__ARM_FEATURE_SIMD32=1 -D__FLT64_MAX_EXP__=1024 -D__INT_LEAST32_TYPE__=long int -D__SIZEOF_WCHAR_T__=4 -D__UINT64_TYPE__=long long unsigned int -D__LLFRACT_MAX__=0X7FFFFFFFFFFFFFFFP-63LLR -D__TQ_FBIT__=127 -D__INT_FAST8_TYPE__=int -D__ULLACCUM_EPSILON__=0x1P-32ULLK -D__UHQ_IBIT__=0 -D__LLACCUM_IBIT__=32 -D__FLT64_HAS_DENORM__=1 -D__FLT32_EPSILON__=1.1920928955078125e-7F32 -D__DBL_DECIMAL_DIG__=17 -D__STDC_UTF_32__=1 -D__INT_FAST8_WIDTH__=32 -D__DEC_EVAL_METHOD__=2 -D__FLT32X_MAX__=1.7976931348623157e+308F32x -D__TA_FBIT__=63 -D__UDQ_IBIT__=0 -D__ORDER_BIG_ENDIAN__=4321 -D__ACCUM_EPSILON__=0x1P-15K -D__INTMAX_MAX__=0x7fffffffffffffffLL -D__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__ -D__FLT_DENORM_MIN__=1.4012984643248171e-45F -D__LLFRACT_IBIT__=0 -D__INT8_MAX__=0x7f -D__LONG_WIDTH__=32 -D__UINT_FAST32_TYPE__=unsigned int -D__CHAR32_TYPE__=long unsigned int -D__FLT_MAX__=3.4028234663852886e+38F -D__USACCUM_FBIT__=8 -D__INT32_TYPE__=long int -D__SIZEOF_DOUBLE__=8 -D__FLT_MIN_10_EXP__=(-37) -D__UFRACT_EPSILON__=0x1P-16UR -D__FLT64_MIN__=2.2250738585072014e-308F64 -D__INT_LEAST32_WIDTH__=32 -D__INTMAX_TYPE__=long long int -D__DEC128_MAX_EXP__=6145 -D__FLT32X_HAS_QUIET_NAN__=1 -D__ATOMIC_CONSUME=1 -D__GNUC_MINOR__=2 -D__INT_FAST16_WIDTH__=32 -D__UINTMAX_MAX__=0xffffffffffffffffULL -D__DEC32_MANT_DIG__=7 -D__FLT32X_DENORM_MIN__=4.9406564584124654e-324F32x -D__HA_FBIT__=7 -D__DBL_MAX_10_EXP__=308 -D__LDBL_DENORM_MIN__=4.9406564584124654e-324L -D__STDC__=1 -D__PTRDIFF_TYPE__=int -D__LLFRACT_MIN__=(-0.5LLR-0.5LLR) -D__ATOMIC_SEQ_CST=5 -D__DA_FBIT__=31 -D__UINT32_TYPE__=long unsigned int -D__FLT32X_MIN_10_EXP__=(-307) -D__ARM_ARCH_EXT_IDIV__=1 -D__UINTPTR_TYPE__=unsigned int -D__USA_IBIT__=16 -D__DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD -D__ARM_EABI__=1 -D__DEC128_MANT_DIG__=34 -D__LDBL_MIN_10_EXP__=(-307) -D__SIZEOF_LONG_LONG__=8 -D__ULACCUM_EPSILON__=0x1P-32ULK -D__SACCUM_IBIT__=8 -D__GCC_ATOMIC_LLONG_LOCK_FREE=1 -D__FLT32X_MIN__=2.2250738585072014e-308F32x -D__LDBL_DIG__=15 -D__FLT_DECIMAL_DIG__=9 -D__UINT_FAST16_MAX__=0xffffffffU -D__GCC_ATOMIC_SHORT_LOCK_FREE=2 -D__INT_LEAST64_WIDTH__=64 -D__ULLFRACT_MAX__=0XFFFFFFFFFFFFFFFFP-64ULLR -D__UINT_FAST8_TYPE__=unsigned int -D__USFRACT_EPSILON__=0x1P-8UHR -D__ULACCUM_FBIT__=32 -D__ARM_FEATURE_DSP=1 -D__QQ_IBIT__=0 -D__ATOMIC_ACQ_REL=4 -D__ATOMIC_RELEASE=3 -include C:\Program Files (x86)\Sysprogs\VisualGDB\gcc_compat.h -isystem c:\sysgcc\arm-eabi\lib\gcc\arm-eabi\7.2.0\include -isystem c:\sysgcc\arm-eabi\lib\gcc\arm-eabi\7.2.0\include-fixed -isystem c:\sysgcc\arm-eabi\arm-eabi\sys-include -isystem c:\sysgcc\arm-eabi\arm-eabi\include
oto313ParticipantThanks. Now it shows me the message “Could not detect any RTOS inside your project.RTOS analysis feature will not work”. I added include directory “AppData/Local/VisualGDB/EmbeddedEFPs/Profiles” and source files
<div>
<div>”AppData/Local/VisualGDB/EmbeddedEFPs/Profiler/FastSemihosting.cpp”</div>
<div>”AppData/Local/VisualGDB/EmbeddedEFPs/Profiler/ProfilerRTOS_FreeRTOS.c”</div>
<div>”AppData/Local/VisualGDB/EmbeddedEFPs/Profiler/InstrumentingProfiler.cpp”</div>
</div>
<div>Then I called function InitializeInstrumentingProfiler();</div>
<div></div>
<div>What else must I do to have working RTOS profiler?</div>oto313ParticipantI found one problem with importing CMake project. When you are filling in “Import CMake Project” field “Directory with CMakeLists.txt” the dialog allows only choose files CMakeLists.txt, not the whole folder. Then when you try to finish importing it fails when you choose some CMakeLists.txt. So you must fill path manually not via dialog.
Version of VisualGDB: 5.4 Preview 3, build 2193
oto313ParticipantHello,
that does not help. every time I did rebuild it does not pass flags from toolchain. When I run CMake for the second time it works. I even tried to a fresh import of CMake project and it does not help either. I realized that it is not VisualGDB fault and added “CACHE STRING “” FORCE” arguments to SET calls in toolchain file and now it works fine.
<div>
<div></div>
<div>thanks</div>
</div>oto313ParticipantWhen i change settings and build it works fine and pass right arguments, but when i click on rebuild it does not work.
-
AuthorPosts