support

Forum Replies Created

Viewing 15 posts - 3,016 through 3,030 (of 7,823 total)
  • Author
    Posts
  • in reply to: How to prevent VGDB from reformatting arrays? #25045
    support
    Keymaster

    Hi,

    Please check whether the code formatting for your project is managed by clang-format, or the legacy formatting engine. If a formatting icon appears in the top right corner of the text editor, the file is managed by clang-format and the formatting behavior can be configured by clicking at this icon. For legacy formatting engine, you can use Tools->Options->Text Editor->C/C++ (VisualGDB)->Formatting.

    If you are not sure, please send us a screenshot of your Visual Studio window having the source file open and we will provide you with more detailed steps.

    in reply to: Bootloader Tutorial – build failed #25044
    support
    Keymaster

    Good to know the entry point works.

    Regarding bootloader.bin, please try enabling verbose logging via Tools->Options->Projects and Solutions->Build and Run->MSBuild Project Output Verbosity -> Diagnostic.

    This should produce a detailed build log showing the project build order and also when the .bin file is generated and when it is used by another project. If it doesn’t help, please feel free to post it here and we will try to help you get it to work.

    support
    Keymaster

    Hi,

    Sorry, we don’t have a ready-to-use driver for the Parallel NOR FLASH, however you should be able to create your own plugin for NOR FLASH based on our QSPI plugin (see this tutorial). You may also want to check with Segger support whether they have ready-to-use J-Link-specific plugins for this memory type.

    in reply to: Qt project with SUBDIRS type #25034
    support
    Keymaster

    Hi,

    The easiest way to create the project structure you described would be to create the regular Application projects and then edit the .pro files, manually switching their type to libraries.

    However for advanced Qt-based projects, we would advise using either MSBuild or CMake. Although this requires extra initial setup, such setup would be much more scalable due to better integration with VS.

    support
    Keymaster

    Please let us know how exactly you observe the difference in the behavior (see the 3-step description format). This should help us understand what is going on and suggest steps to fix it.

    in reply to: ESP32 w JTAG (tumpa) #25030
    support
    Keymaster

    Hi,

    Please try restarting your computer. If it doesn’t help, please try comparing the OpenOCD command lines used with Visual Studio Code and with VisualGDB. Ensure that you are using the same scripts and other command line arguments in both modes.

    If all the options are the same, please try running the VisualGDB’s OpenOCD manually with the command line shown in the log and then try connecting the esp32 GDB to it (target remote :<port>) and let us know what happens then.

     

    support
    Keymaster

    Hi,

    Normally, GCC would handle the system include directories automatically, so VisualGDB does not offer any special settings for overriding this.

    You could try adding the -nostdinc option to CFLAGS and then entering all include directories (system and regular) in the order you are trying to use, however we would advise against this, as such setup would be very fragile and could stop working if the internal directory structure of the toolchain changes in the next GCC version.

    in reply to: ESP8266 IDF Style and OTA for 1MB flash #25021
    support
    Keymaster

    Hi,

    This looks like something managed by the ESP8266 SDK itself and not by VisualGDB. Please consider asking on the Espressif’s forum instead.

    in reply to: VisualGDB with latest ARM Toolchain #25019
    support
    Keymaster

    We are aware of the -dumpversion switch, however the GNUARM toolchain location logic does not utilize it because the version does not affect anything other than the toolchain selector.

    You can override the version by manually editing the toolchain.xml file (either in the toolchain folder or under %LOCALAPPDATA%\VisualGDB\ToolchainProfiles after importing the toolchain. All other files containing the toolchain version are generated based on it.

    in reply to: VisualGDB with latest ARM Toolchain #25016
    support
    Keymaster

    Sorry, this is a side effect of the registry-based toolchain discovery. The toolchain should work correctly, however the tool versions shown in the toolchain selector will indeed be incorrect.

    As a workaround, please try importing the toolchain manually by clicking “Locate toolchain by finding the gdb executable” in the toolchain selector.

    in reply to: Bootloader Tutorial – build failed #25013
    support
    Keymaster

    In order to solve the build issues please double-check that the bootloader project is set as a build dependency for the main project (step 19 of the tutorial). Otherwise Visual Studio will try to build both projects in parallel and will indeed not work.

    To solve the entry point issue when debugging, please set the “reset after programming FLASH” checkbox in debug settings (step 23 of the same tutorial).

    in reply to: Bootloader Tutorial – build failed #25009
    support
    Keymaster

    Hi,

    Please check the built log (View->Output). It will show the output from ld.exe (GNU linker) that should contain more details about the cause of the error.

    support
    Keymaster

    Thanks for the very detailed description and repro steps.

    Unfortunately, this is a known limitation of VisualGDB. The “Nordic BSP Samples” are automatically converted from the samples included in the Nordic SDK and hence do not follow the regular embedded framework layout used by VisualGDB and would require manual adjustments after conversion to a stand-alone project.

    As a workaround, please try creating a project based on the regular VisualGDB-supplied samples that are fully compatible with the stand-alone project format.

    in reply to: No quick actions when IntelliSense engine is Clang #25005
    support
    Keymaster

    Sorry, “extract function” is not yet supported by Clang IntelliSense. It is planned for the next major VisualGDB release, however is not available yet.

    in reply to: Global Compiler Variables #25003
    support
    Keymaster

    Hi,

    Please use VisualGDB Project Properties -> Build -> Preprocessor Macros.

Viewing 15 posts - 3,016 through 3,030 (of 7,823 total)