support

Forum Replies Created

Viewing 15 posts - 6,706 through 6,720 (of 7,671 total)
  • Author
    Posts
  • in reply to: PLL Setting for USB CDC Question #6692
    support
    Keymaster

    Hi,

    Normally the USB clock needs to be 48 MHz. Please use the STM32CubeMX tool to validate your clock parameters:

    You can read here about integrating code generated by STM32CubeMX into VisualGDB projects.

     

    in reply to: problems with cross-complie visualgdb and QT base #6691
    support
    Keymaster

    Hi,

    Please try installing the Qt addin: https://wiki.qt.io/Visual_Studio_Add-in

    in reply to: problems with cross-complie visualgdb and QT base #6684
    support
    Keymaster

    Hi,

    We have investigated the problem. Looks like our Beaglebone toolchain is missing one important file. We will update it soon.

    As a workaround please create a file called ld.so.conf in  d:/sysgcc/beagledebian/arm-linux-gnueabihf/sysroot/etc and put the following contents there:

    # Multiarch support
    /lib/arm-linux-gnueabihf
    /usr/lib/arm-linux-gnueabihf
    # libc default configuration
    /usr/local/lib
    support
    Keymaster

    Please use comma instead of space after the -Wa option, i.e.:

    1. Modify the .c file rule this way:​
      ​$(BINARYDIR)/%.o : %.c $(all_make_files) |$(BINARYDIR)
          $(CC) $(CFLAGS) -c $< -o $@ -MD -MF $(@:.o=.dep) -Wa,-adhlns=$(@:.o=.lst)
    2. Change the contents of the SOURCEFILES statement (e.g. remove one file) so that VisualGDB regenerates the rules your Makefile.
    3. Build your project.​
    in reply to: STM32CubeMx Project with VisualGDB? #6681
    support
    Keymaster

    Hi,

    We have simplified the integration with STM32CubeMX in VisualGDB 5.0 Beta 3 and added a detailed tutorial showing how to use it: http://visualgdb.com/tutorials/arm/stm32/cube/

    in reply to: problems with cross-complie visualgdb and QT base #6679
    support
    Keymaster

    Do those files (e.g. libSM.so.6) exist in your toolchain’s sysroot? If yes, what is the directory containing them?

    support
    Keymaster

    Hi,

    Please try adding the flags directly to the targets and target templates, e.g.:

    $(BINARYDIR)/%.o : %.cpp $(all_make_files) |$(BINARYDIR)
        $(CXX) $(CXXFLAGS) -c $< -o $@ -MD -MF $(@:.o=.dep) <add your flags here>

     

    in reply to: VisualGDB with QT issue #6673
    support
    Keymaster

    Looks like you are missing some libraries in your project properties. Search the sysroot\usr\lib directory for files containing the undefined symbols from the error message and add the found library names (without ‘lib’ prefix and extension) to the library list in VisualGDB Project Properties.

    Regarding real-time IntelliSense, you can try enabling Tools->Options->C/C++(VisualGDB)->Advanced->Code Completion->Suggest names while typing. If this is not what you meant, please provide us with a better example of what you are trying to achieve.

    in reply to: Number of Machines #6672
    support
    Keymaster

    Please contact our sales at sales@sysprogs.com for details about the number of machines.

    in reply to: clr #6671
    support
    Keymaster

    The Visual Studio compiler and GCC are not 100% compatible when it comes to complex C++ templates. You may need to adjust your code so that both compilers can handle this (the problem is well-known, so googling for specific errors should easily get the fixing instructions).

    You can specify -std=c++11 or -std=c++14 in CFLAGS on the Makefile Settings page of VisualGDB Project Properties.

    in reply to: gdb project can't see file #6670
    support
    Keymaster

    Hi,

    Please add the directory containing the missing header file to the “Include Directories” field on the Makefile Settings page of VisualGDB Project Properties. Adding the file to the Solution Explorer simply makes it easier to open, but does not affect search paths used by the #include<> directives.

    in reply to: Incorrect syntax highlighting (VS Dark Theme) #6669
    support
    Keymaster

    Yes, this has been fixed in Beta 3.

    in reply to: Various problems with Android NDK #6668
    support
    Keymaster

    Hi,

    Please ensure that the jni folder is located directly inside the “C:\Users\nzmora\AndroidStudioProjects\CameraProcessor\app” folder.

    If this does not help, please share a tree of all files (cmd /c tree /f > tree.txt) in the project directory.

    in reply to: rm, cp #6667
    support
    Keymaster

    This does not indicate an error. It just means that those tools are not present in your toolchain and VisualGDB will use the Windows equivalents. In fact, VisualGDB 5.0+ does not show the ‘X’ even if the tools are missing, as this sometimes causes confusion.

    in reply to: Display Pointer as Array? #6666
    support
    Keymaster

    Hi,

    VisualGDB uses a different syntax for displaying pointers as arrays. Please use the following expression:

    *foo@length
Viewing 15 posts - 6,706 through 6,720 (of 7,671 total)