Forum Replies Created
February 1, 2017 at 22:53 in reply to: including startup_stm32*.c in project without absolute path #10278
I see that
VisualGDB Project Properties -> Embedded Project tab -> Regenerate MCU files
re-includes it in the project, using the same absolute path.
What’s the recommended workflow with this? As is, it seems to me that it’ll break for every new user that checks it out of source control, until they click Regenerate themselves. And then multiple users working on the project simultaneously will have to maintain different versions of the project file…
We do realize the importance of the feature, however when it was enabled, it was used by less than 1% of users and was causing constant disruptions due to mail server issues. If you want to get instant notifications per email, please consider using the support form.
How about if you make it opt-in? Also, you skipped right over my on-page notification idea.
All else being equal, I prefer the forum over private email, since other users can help and be helped.
As we rely on an existing forum engine, we have to live with some limitations imposed by it, like lack of efficient mechanism of attaching images. We understand the inconvenience caused by it and we may eventually address it, but currently we are prioritizing work on VisualGDB features over this.
Thanks for the info, and I agree with your prioritization on this.
- This reply was modified 3 years, 5 months ago by bmcdonnell_psi.
You can actually view a list of your threads and comments by clicking on your username (or via this link).
Clicking my username from the upper right corner takes me to https://sysprogs.com/w/wp-admin/profile.php, not the page you linked to. Is something wrong on the website?
Regarding emails, we had it enabled previously, but unfortunately many mail servers treat such notifications as spam, so we started getting many “invalid email address” notifications and had to disable this.
Many other forums do this just fine. Surely there is a solution…?
Please realize the importance of this feature. The lack of notifications makes users have to remember to check back repeatedly for responses, which interrupts workflow, and increases time to issue resolution. Users may also forget, which will increase the number of unresolved issues. And if someone else posts on a thread after the user thinks his/her issue is resolved, the OP will never see the follow-up.
At absolute bare minimum, without emails, there should be notifications on the webpage when logged in, with links to the new stuff.
We will consider adding support for attaching images, but currently it’s disabled to improve forum responsiveness.
How does this affect forum responsiveness?
For any future readers, I recently got this error, but not for that reason. I had
uint8_t *pBuf = (uint8_t *)buffer;
I got the error when I put
pBuf,128in the Watch window, having forgotten that it’s just a pointer, not the actual array. So I watched
That works, thanks.
On further inspection, I think part of the issue is that the source files for my main project don’t reside in the same folder as the project file (.vcxproj), nor in a subfolder beneath it.
However, in the new test project I created, the library source files are not grouped in folders, which makes quite a mess. In fact, I suppose the cause is the same as I described above – source files located not within/beneath the project file folder.
Is it possible to show some of the organization with such files? If so, is it desirable?January 10, 2017 at 23:20 in reply to: printf() linker error – "undefined reference to `_sbrk'" #10025
Actually, it’s not just for number conversions. Maybe for every time there’s a format string followed by one or more var args? I’m not totally sure the circumstances.
Well, I never figured out how to change my existing project to using copied libraries, but I created a new project that does, and got that to work.
Please add instructions on how to use copied libraries to your tutorial (linked in OP).
Are you sure you have removed the reference to the HAL framework on the Embedded Frameworks page of VisualGDB Project Properties?
Yes, as pictured below.
please send us your .vxcproj and the nrf5x.xml file
Where do I find that XML file?
The only files VisualGDB will use from APPDATA in this case would be the startup file and the linker script as they should be compatible with all versions of HAL.
As I described above, that’s not what happened. It continued to look for all of the HAL files in APPDATA, despite me having changed the paths in the project files. When I’d put the cursor on a HAL function call, and press F12 (go to definition), it would open up the file from APPDATA, not from the path I had changed it to. Why isn’t this working?
you can remove the reference to the STM32 HAL framework via VisualGDB Project Properties and add the source files from CubeMX manually.
I tried that, but it was still looking in the AppData VisualGDB folders, and I was getting build errors. Is it because I used a filter with the same name (“HAL”)?
That works, thanks.
Thanks for replying and clarifying.
If there is a reason why you would prefer running the tests on Windows side, please let us know. We will be happy to add support for this if it proves more usable in some cases.
I don’t have hardware yet, so I couldn’t run on target if I wanted to. Even if we did have hardware, it is preferable not to require it in order to run the unit tests.
Personally, my experience with unit tests is that it’s usually for application code, so it should be fairly platform-independent. So yes, consider this a feature request from me. 🙂
Could I set up off-target unit tests for the application code of my bare-metal project using the Linux project wizard?