Forum Replies Created
-
AuthorPosts
-
supportKeymaster
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.
supportKeymasterHi,
Please try installing the Qt addin: https://wiki.qt.io/Visual_Studio_Add-in
supportKeymasterHi,
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
July 6, 2015 at 19:32 in reply to: STM32 Makefile add -Wa -adhlns… to create assembler listing. #6683supportKeymasterPlease use comma instead of space after the -Wa option, i.e.:
- 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)
- Change the contents of the SOURCEFILES statement (e.g. remove one file) so that VisualGDB regenerates the rules your Makefile.
- Build your project.
supportKeymasterHi,
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/
supportKeymasterDo those files (e.g. libSM.so.6) exist in your toolchain’s sysroot? If yes, what is the directory containing them?
July 3, 2015 at 22:33 in reply to: STM32 Makefile add -Wa -adhlns… to create assembler listing. #6675supportKeymasterHi,
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>
supportKeymasterLooks 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.
supportKeymasterPlease contact our sales at sales@sysprogs.com for details about the number of machines.
supportKeymasterThe 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.
supportKeymasterHi,
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.
supportKeymasterYes, this has been fixed in Beta 3.
supportKeymasterHi,
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.
supportKeymasterThis 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.
supportKeymasterHi,
VisualGDB uses a different syntax for displaying pointers as arrays. Please use the following expression:
*foo@length
- Modify the .c file rule this way:
-
AuthorPosts