Forum Replies Created
-
AuthorPosts
-
November 23, 2018 at 00:01 in reply to: MbedOS Projects referencing to external mbed-os directory #22823
support
KeymasterHi,
Sorry, this is still queued. Please allow another 3-5 business days for this.
support
KeymasterHi,
Are you using the latest v5.4 Preview 10? The Keil support is not available in earlier builds.
November 22, 2018 at 07:06 in reply to: Importing existing IAR project does not move the files? #22810support
KeymasterHi,
Sorry, this is by design – the files are indeed referenced in-place. If you would like to copy them instead, please try making a copy of the entire project and selecting “Move VS project to the imported project directory”. This will have the same effect – the VS project will end up in the same directory with a separate copy of the source files.
support
KeymasterHi,
It looks like a problem with debug symbols. Please follow this tutorial to diagnose it.
support
KeymasterHi,
Given the low cost of the modern MCU evaluation boards, we would advise simply running the unit tests on the hardware. To make the board available to the build server, we could supply a small tool for “sharing” the boards – you should be able to run it on a machine with one or more boards attached, and then configure the build server to run the tests on those boards remotely.
In order to run the tests without any hardware at all, you would need to refactor your code, introducing an abstraction layer so that most of the common logic can run in a Windows (or Linux) process as well as on the device. Another option would be to modify QEmu to emulate the STM32 peripherals (we use it internally for VisualGDB integration tests), however it would be relatively complex and exposing the evaluation boards to the build server should be much easier.
November 21, 2018 at 20:03 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22803support
KeymasterHi,
Thanks for the detailed description. Most likely this is caused by some invisible characters near the line breaks that are interpreted differently by VS and by Clang.
If you ever get this problem again, you might be able to reduce it as follows:
- Add a line “void testfunc();” at the beginning of the source file (after #include-s)
- Replace each of the problematic line contents (without touching the area near the ending of the line) with a call to testfunc().
- Confirm that the problem persists.
- Delete all lines between the declaration of testfunc() and the problematic lines, and also all lines after it
- Remove references to your #include-d files.
If the problem can be still reproduced after reducing it to the test code, simply send us the repro file and we will check for the characters causing it and should be able to add a workaround.
support
KeymasterHi,
Yes, please try right-clicking on the project in Solution Explorer and select “Reload Project”.
November 21, 2018 at 03:55 in reply to: Intellisense Light bulb: "… is missing build generated headers" #22793support
KeymasterHi,
That is specific to ESP-IDF projects; until you build it for the first time, it will be missing the configuration header, so IntelliSense will show random errors and will fail to understand valid code constructs, hence VisualGDB shows a warning. Just building the project for the first time should get rid of this.
support
KeymasterHi,
This looks like a problem on the Windows side (the Linux target doesn’t need to access the Windows paths). Please double-check your file permissions or try using a different Windows folder for the project.
support
KeymasterHi,
Thanks for pointing this out – it turned out to be a bug introduced by the recently added Keil/RTX integration.
Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.10.2587.msi
support
KeymasterHi,
Please try updating to Preview 10. It includes a few fixes to the Arduino logic.
November 20, 2018 at 21:26 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22786support
KeymasterHi,
It looks like VisualGDB loses synchronization between the source file contents in the VS editor and the contents as seen by the Clang engine.
Could you please check if closing the source file and reopening it solve the problem? Also is it specific to a certain source file, or does it occur randomly across the entire code base?
November 20, 2018 at 21:22 in reply to: Print Memory usage report in function of linker sections #22785support
KeymasterHi,
Thanks for sharing this. We have added an option to the Linker properties under the VS properties for this setting to our development branch. It will be included in the upcoming VisualGDB beta.
support
KeymasterHi,
This error means that the remote file is either missing, or inaccessible. Please double-check that it exists by running the “stat <path>” command via SSH.
If the file is indeed missing, please try building the project first.
support
KeymasterHi,
Yes, VisualGDB can view the ESP32 hardware registers with J-Link, however this is not fully integrated into the Arduino workflow yet.
We have made it easier in this build though: http://sysprogs.com/files/tmp/VisualGDB-5.4.10.2586.msi
Please download our regular ESP32 toolchain and then point the hardware register viewer at the <SysGCC>\esp32\esp32-bsp\registers.xml file. This will import the register definitions from the regular ESP32 toolchain into your Arduino project.
-
AuthorPosts