Forum Replies Created
-
AuthorPosts
-
August 15, 2016 at 18:42 in reply to: Installing VisualGDB 5.2 Preview 1 changes a lot of settings #8864supportKeymaster
Hi,
Normally VisualGDB tries to import all C++ formatting settings from regluar VS. Because those vary between different VS versions, the importing logic is quite complex and may have bugs. If you could give us an example of a specific setting that is not imported properly, we should be able to fix it.
supportKeymasterHi,
The 4.8.3 toolchain indeed looks quite old. Furthermore, the problem might be caused by an incompatible default VFP setting in your toolchain.
VisualGDB actually comes with a newer one (can be installed from the wizard of from here), so we would recommend using it instead.
supportKeymasterHi,
You can always upgrade to the Custom edition by following this link: http://sysprogs.com/splm/mykey
supportKeymasterHi,
We would recommend using the External Memories feature of VisualGDB 5.1 for that (required Custom edition or higher). It will manage the linker scripts for you automatically and should avoid such problems.
supportKeymasterThe ‘end’ symbol is used to specify the beginning of heap, so defining it after SDRAM will break the malloc() functionality.
Hence we would recommend defining ‘end’ so that it actually points at the end of data in RAM.
supportKeymasterHi,
Yes, as long as you are using the Custom edition or higher, you can describe your SDRAM on the External Memories page of VisualGDB Project Properties as described here and VisualGDB will show its utilization automatically.
supportKeymasterHi,
Please try the new v5.2 Preview 2. It contains a workaround against this and also adds a context menu to the memory window to create data breakpoints.
supportKeymasterHi,
Looks like your cocos package was not downloaded properly. Please try removing and reinstalling it.
supportKeymasterHi,
It’s hard to say why the project has no BSPSubdirectory tag, but adding it should solve the problem.
The MCUDefinition location should not be related to the compiler location. Perhaps you have changed the toolchain location instead?
supportKeymasterHi,
Good to know it works. We actually have out-of-the-box support for embedded unit tests in VisualGDB 5.2 Preview1. You can read more about it here: https://sysprogs.com/w/the-new-unit-test-support-in-visualgdb-5-2/
supportKeymasterHi,
This depends on the exact library you want to integrate. For most cases it should be sufficient to just add their sources to your project and setup the include search paths so that the compiler can find the corresponding header files.
August 11, 2016 at 18:04 in reply to: Installing VisualGDB 5.2 Preview 1 changes a lot of settings #8773supportKeymasterHi,
If you are using version 5.2, it has been renamed to “Manage VisualGDB Packages”.
supportKeymasterHi,
Sorry for confusion. If you set the BSPSubdirectory field as described above, it will be using relative paths, e.g.
<BSPSubdirectory>BSP</BSPSubdirectory>...<MCUDefinitionFile>test.xml</MCUDefinitionFile>
Then VisualGDB will automatically use the <Project Directory>\BSP\test.xml path.
If you need a more specific example, we would recommend creating a normal BSP-based project, converting it to a stand-alone one and having a quick look into the generated mcu.xml file. It will not have any absolute paths hardcoded.
August 10, 2016 at 04:42 in reply to: Installing VisualGDB 5.2 Preview 1 changes a lot of settings #8765supportKeymasterHi,
Does ARM_TOOLCHAIN expand properly when you open cmd.exe and run “echo %ARM_TOOLCHAIN%”? If not, perhaps the toolchain is not configured as relocatable on that computer? You can mark it as relocatable via Tools->Embedded Tools Manager.
You can add the NRF52 macro directly to the Preprocessor Macros field on the Build Settings page. This will affect both building and IntelliSense.
supportKeymasterHi,
VisualGDB actually tests that the toolchain matches your target system by trying to build a simple application, uploading it and running it.
If you disable the option to test the toolchain in the wizard, you can skip specifying the connection.
-
AuthorPosts