Search Results
Search results 141-160 of 175.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Actually, it's not limited to just the definitions redirected via macros as described. I frequently find that 'Got To Declaration' won't even work on a "simple", un-obfuscated definition. The behaviour doesn't seem to be entirely consistent: sometimes it does work, often it doesn't. I've not been able to spot any pattern in when it does & doesn't work (other than with the macro stuff). I get a similar problem with header file names: usually, after selecting a header file name in a #include, 'Go …
-
Your picture is not clear enough to read. Probably better to post the errors by copying & pasting the text. Whenever it gives you "Multiple definition" errors, it also tells you where all the definitions were found - so go and examine each one, and decide which to keep and which is erroneous. BTW: a common cause of "Multiple definition" errors is having variable definitions in header files - you should have only the declarations in the headers. c-faq.com/decl/decldef.html So-called include guard…
-
Quote from TxCodeMonkey: “a blank line after each NRF_LOG_*() executed on the target. ” You aren't including newlines on the ends of your strings, are you? You don't need to do that: each log is automatically put on a line of its own - no need for an explicit newline at the end. So, of course, if you do put an explicit newline at the end of a string, you will get double spacing!
-
Have you tried it with an ST-Link? If you get the same with an ST-Link (or other debug probe), that would suggest that it's not to do with the J-Link ...
-
Quote from zainka: “SES ... was making a copy of the files in the project root ” You must have missed something! My SES Projects have source files spread over a folder tree in the filesystem. When you create a New Folder in the 'Project Explorer', there is a 'Recurse into subdirectories' option - have you tried that ... ?
-
Nordic are very fond of this kind of thing: C Source Code (12 lines)ie, renaming functions via #defines. So, for example, in my code I might call nrf_drv_gpiote_init: C Source Code (2 lines) If I do either 'Go To Definition' or 'Go To Declaration' on that call, they both end up at the #define C Source Code (2 lines)Which is all fine and correct. But, if I select nrfx_gpiote_in_init on that #define line, then 'Go To Declaration' will go to the definition - not the declaration: C Source Code (8 li…
-
The J-Link BASE and PLUS each have a 'Compact' version. shop.segger.com/J_Link_BASE_Compact_p/8.19.00.htm shop.segger.com/J_Link_PLUS_Compact_p/8.19.28.htm Are these fully functionally, electrically, and software compatible? Is the Target connector the same? Is there any chance that 3rd-party tools / IDEs might not (correctly) recognise the 'Compact' versions? This thread doesn't quite cover the full question: [SOLVED] J-Link BASE vs Compact
-
As noted in the other thread, it looks like this could be due to a problem with the USB link ...