Forum Replies Created
-
AuthorPosts
-
August 20, 2021 at 03:31 in reply to: IntelliSense.props automatic soft/hard fp predefined macrfo #31175itxsParticipant
I ve done it by myself, there is a patched version of C:\SysGCC\arm-eabi\IntelliSense.props in the attachment
Attachments:
You must be logged in to view attached files.December 6, 2018 at 13:41 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22987itxsParticipantYou right, no problem with that.
I found another: when visual studio writes “5 references” after i scroll window up and back, but actually filterMA have only 3 references in project. If I click on this text “5 references”, then switch information to “Calls” and then back to “References”, the text updates to “3 references”, that is right for my project. Maybe if I scroll window it counts all strings in popup window, include hierachical nodes.
Attachments:
You must be logged in to view attached files.November 26, 2018 at 10:28 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22889itxsParticipantYes, it works! Thanks!
Why “Updating cache” restarts if I changed one symbol in code, or write ” “? Its slow for that frequently calling. How to tell it that it should preprocess only changes of all code, not entire code files?
November 23, 2018 at 06:41 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22831itxsParticipantHi, I created an example project based on HAL LEDBlink. It reproduce advanced clang intellisense bug, and I think, it associated with cyrillic symbols in code comments.
To reproduce bug behavior you should:
- Write big multiline code block (>15 strings), there is need to make some strings unique to show wrong highlighting.
- Write russian comment on top or middle of that code block
- Close the file with [X] button on visual studio tabs, in promt window (Save file?) choose “Yes”.
- Open another file
- Open first file and try put cursor on line in big multiline code block.
- Highlighted entity or string does not match with line of cursor position.
I send my test project in archive.
- This reply was modified 6 years, 1 month ago by itxs.
- This reply was modified 6 years, 1 month ago by itxs.
Attachments:
You must be logged in to view attached files.November 21, 2018 at 08:51 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22795itxsParticipantReopening file dont solve problem, switching to another intellisense engine and back dont solve problem. Reopening VisualStudio dont soilve problem. Problem starts in 217 line of code with cursor/highlight difference equal to 1. In according to consecutively written lines block size, the difference changes form 1 to 8. When I put cursor on single string, it will not highlight, because second string that should be highlighted not exist.
The problem seen only in one big file (700 lines of code, 50 commented lines). I put screenshots with problem.
UPDATE: Now I was distracted by another job for 15 minutes and the problem somehow miraculously disappeared even in big files.
Attachments:
You must be logged in to view attached files.November 20, 2018 at 14:46 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22776itxsParticipantI found another error in Clang, When clang finish project analyze, it sometimes highlights a field on 8 text lines below than cursor position line. As you see, I put cursor on “PneumaticSystem_AirPressure”, but clang highlight “EmEngineOilPressure”. If in that situation I change cursor position, highlighted line also changes its position accordingly to (cursor position + 8) lines. Generally, language plugin works fine, it quickly show popup with >2600 links of “uint8_t” type.
Attachments:
You must be logged in to view attached files.November 14, 2018 at 10:13 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22703itxsParticipantHow to disable that dotted style text when I use clang advanced Intellisense? It is very uncomfortable.
Attachments:
You must be logged in to view attached files.November 12, 2018 at 10:44 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22673itxsParticipantThanks a lot! I was able to run and debug my firmware with hard FP, both MSBuild and GNU Make systems. The problem was that one of TouchGFX hadrware file dont includes “stm32f7xx_hal.h”, but includes “stm32f7xx_sdram.h”, etc. Another problem was that I not add USE_FREERTOS8 to project macro definitions.
Also, i found a bug: if i try to abort flash downloading by clicking cancel button after some time, if file is too big, VS will crash. In that situation the file was big because I forgot to call your arm-eabi-objcopy.exe that I now use to divide output .elf to two files: binary for internal flash and binary for external microSD card, and delete big external flash constant data from .elf file. Now I finished it by your Custom build steps->After building, where I set up 4 different objcopy executes. Please add feature to save all custom build steps in one file, not only in many single action files (one file to one action) because its easy to get confused here, and add warning message if filenames match. Also I noticed that MSBuild is faster than GNU Make isnt it? I would like to write an article on porting the TouchGFX project on VisualGDB (also as an example of porting complex projects to VGDB).
-
AuthorPosts