VS Arduino | |
Visual Micro >> General Board >> memset/memcpy error
https://www.visualmicro.com/forums/YaBB.pl?num=1531121492 Message started by milesf on Jul 9th, 2018 at 7:31am |
Title: memset/memcpy error Post by milesf on Jul 9th, 2018 at 7:31am
Hi,
Looks like the general board had a crash and lost the posts? Just reviving this one anyway. So the memset/memcpy command creates a red line under the first variable. I am using the arduino zero native board downloaded from the arduino IDE. Latest version. Any more info, let me know. I dont think I got to read the last post you did on the previous thread. Thanks |
Title: Re: memset/memcpy error Post by Visual Micro on Jul 9th, 2018 at 12:18pm
Yes it did thanks for the re-post will add to the next release
Please try this release 1807.9 https://1drv.ms/u/s!AsT00oFsGAmRlrY2QCT2Aq9zUXImpQ |
Title: Re: memset/memcpy error Post by milesf on Jul 12th, 2018 at 10:35am
Hi Tim,
Thanks but problem still there. See attached pic. Thanks |
Title: Re: memset/memcpy error Post by Visual Micro on Jul 12th, 2018 at 11:32am
Hi
In __vm\project_name.vsarduino.h you will see an intellisense fix for memset Please add a a new text file to the same folder called vs-intellisense-fix.h Then build. Then add an overload to vs-intellisense-fix.h that resolves the red squiggles. Then let me know what it is so I can review/patch all the overloads for intellisense. The issue is that the core uses _EXTFUNC for many methods which vs doesn't like at the moment Thanks very much. |
Title: Re: memset/memcpy error Post by Visual Micro on Jul 13th, 2018 at 6:47pm
Hi milesf
Can you please post the code you are using including any definition of variables used when calling memset. It might be the zero/samd toolchain has changed dramatically in which case we can usually switch to an alternative visual studio engine but this one might be a simple one. If it's simple I will make the change and put in a new build for you. There are a number of other functions similar to memset that will also need to change so should be a decent improvements. Thanks ps: you don't put your prototypes in a function you just paste them into the intellisense-fix file and save it. Visual Micro then uses it in background so it's not real code. However if you answer above questions I will update visual micro save you having to understand this. Thanks |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |