Seidleroni

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • in reply to: "Before Building" custom step – "PATH" missing? #26137

    Seidleroni
    Participant

    After spending an inordinate amount of time on this, I fixed the issue by deleting my PreBuild action and then recreating it. Attached is an image comparing the vgdbsettings file change that made it happen. What could cause this? Is this just a stupid error on my part?

    Attachments:
    You must be logged in to view attached files.
    in reply to: "Before Building" custom step – "PATH" missing? #26132

    Seidleroni
    Participant

    So by doing this, here is the hierarchy and breakdown:

    • devenv.exe (Path is present)
      • MSBuild.exe (Path is *not present*)
        • vgagent.exe (Path is *not present*)
          • cmd.exe (Path is *not present*)
            • notepad.exe (Path is *not present*)

    What are the next steps to work around this?

    in reply to: "Before Building" custom step – "PATH" missing? #26110

    Seidleroni
    Participant

    None of the other variables get overridden, just ‘path’ which is now empty. I noticed that if I open the project via Visual Studio (Start–>Visual Studio 2017, and then doing File->Open->Solution), I now have access to ‘path’. If I have *never* opened it that way, but only just opened it by double-clicking the solution, then the path is missing.

    Way to reproduce (for me):

    1. Take a working project
    2. Copy and paste the project (so it creates a new folder. can be in the same directory.)
    3. Double-click the solution
    4. Create a pre-build batch file that just has “set” or “python -h” in it.
    5. Build the project
    6. The project will not show path as a system env variable. It will also complain about not being able to find python (due to missing path).
    7. Open Visual Studio Start->Visual Studio 2017
    8. Open solution
    9. Build project again. Now you will see that it does have the path variable and “python -h” shows the appropriate python help info.

    Can you reproduce it with this? You can try one of your own projects, but be sure to do a copy/paste.

     

    • This reply was modified 2 months, 1 week ago by  Seidleroni.
    in reply to: problem importing CubeMX FreeRTOS project #25236

    Seidleroni
    Participant

    In case someone comes across this in the future like I did, here is what you need to do:

    -Include the cmsis_os.c/.h files from “\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS”

    -Add the port.c and portmacro.h files from “\Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM7\r0p1”

     


    Seidleroni
    Participant

    I understand, but I hope you do add it in the future as it would be very very useful.

    in reply to: Rename Preview Should Go To Line #23875

    Seidleroni
    Participant

    Awesome, new build works great. The syntax highlighting as part of variable renaming preview is not that big of a deal.

    in reply to: Fast Semihosting Freezing on One Machine #22717

    Seidleroni
    Participant

    I just submitted the PO so it should be renewed today or tomorrow. I fixed the issue by uninstalling/reinstalling visual studio and then VisualGDB. Just reinstalling VS didn’t fix it for some reason. I also deleted and reinstalled all the VGDB packages as well. Now it is all set.

    in reply to: Fast Semihosting Freezing on One Machine #22712

    Seidleroni
    Participant

    I tried using a Nucleo board with the onboard ST Link and I am having the same problem (working on desktop, not on laptop). Is there anything that is PC specific that could allow programming to work but not Fast Semihosting? I didn’t mention it before, but I am able to run the project without a problem if I comment out my printf statements.

    in reply to: Clang IntelliSense with Visual Assist? #22165

    Seidleroni
    Participant

    Here is a fairly comprehensive list of what I use in Visual Assist on a daily basis and would love to have as part of Clang IntelliSense:

    1. Syntax Highlighting (colors listed are those spec’ed by Visual Assist, but presumably should be configurable):
      1. Gold for <span style=”text-decoration: underline;”>classes</span>, <span style=”text-decoration: underline;”>structs</span>, <span style=”text-decoration: underline;”>interfaces</span>, <span style=”text-decoration: underline;”>namespaces</span>, <span style=”text-decoration: underline;”>typedefs</span>
      2. DarkKhaki for <span style=”text-decoration: underline;”>variables</span>
      3. BD63C5 for <span style=”text-decoration: underline;”>Enums</span>, <span style=”text-decoration: underline;”>preprocessor macros</span>
      4. FF8000 for <span style=”text-decoration: underline;”>functions</span> and <span style=”text-decoration: underline;”>methods</span>
    2. Quick Search global symbol cache “Find Symbol” (Alt+Shift+S in VA)
    3. Open File in Solution (Alt+Shift+O)
    4. Toggle between source + header (Alt+O)
    5. Go to implementation (Alt+G)
    6. List Methods in File (Alt+M)
    7. Find References (Alt+Shift+F). Finds all references for that symbol, even when it is used in an inherited class.

    I’ve resorted to using VisualGDB without Clang IntelliSense, and with Visual Assist enabled for navigation, plus Resharper for their amazing Static Analysis. I don’t mind the expense of having these three components, but the lack of interoperability with each other and Clang IntelliSense is a bit of a bother. Basically I had to disable Clang IntelliSense, and disable Resharper for live Code Analysis. I just use Resharper for Code Inspection which finds more than your Static Analysis, but that could likely be how it is configured through the GUI. Happy to discuss further.

    • This reply was modified 1 year, 2 months ago by  Seidleroni.
    in reply to: Clang IntelliSense with Visual Assist? #22158

    Seidleroni
    Participant

    Nevermind, you are right. Resharper syntax highlighting doesn’t work properly with Clang IntelliSense enabled.

    in reply to: Clang IntelliSense with Visual Assist? #22154

    Seidleroni
    Participant

    Downloading the latest version of Resharper, it looks like it now works with VisualGDB (look at release notes here). The reason I’m looking into Visual Assist and Resharper is for the ease of navigation and syntax highlighting.

    in reply to: Clang IntelliSense with Visual Assist? #22116

    Seidleroni
    Participant

    I have emailed back and forth with Visual Asist. They are aware of this issue; no idea if/when it will be fixed. Does Resharper work well with VisualGDB or does it have its own issues as well?


    Seidleroni
    Participant

    Works great now, thanks.

    in reply to: FastSemihosting and InstrumentingProfiler Warnings #21450

    Seidleroni
    Participant

    That resolved all of the warnings, thank you very much.


    Seidleroni
    Participant

    I am using the latest STM32 BSP, which shows up as 4.7. It doesn’t show that there are new versions. It shows that I have these versions in the SDKVersions.txt (below) Do I need to be using the STM32F7Cube HAL in my project for this to work?

     

    STM32Cube_FW_F0_V1.9.0
    STM32Cube_FW_F1_V1.6.0
    STM32Cube_FW_F2_V1.7.0
    STM32Cube_FW_F3_V1.9.0
    STM32Cube_FW_F4_V1.21.0
    STM32Cube_FW_F7_V1.11.0
    STM32Cube_FW_H7_V1.2.0
    STM32Cube_FW_L0_V1.10.0
    STM32Cube_FW_L1_V1.8.0
    STM32Cube_FW_L4_V1.11.0
    STM32F0xx_StdPeriph_Lib_V1.5.0
    STM32F10x_StdPeriph_Lib_V3.5.0
    STM32F2xx_StdPeriph_Lib_V1.1.0
    STM32F30x_DSP_StdPeriph_Lib_V1.2.3
    STM32F37x_DSP_StdPeriph_Lib_V1.0.0
    STM32F4xx_DSP_StdPeriph_Lib_V1.8.0
    STM32L1xx_StdPeriph_Lib_V1.3.1

Viewing 15 posts - 1 through 15 (of 27 total)